Skip to content

Commit 724d4f6

Browse files
author
AWS
committed
Amazon Translate Update: This release enables customers to use translation settings for formality customization in their synchronous translation output.
1 parent b5054ca commit 724d4f6

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Translate",
4+
"contributor": "",
5+
"description": "This release enables customers to use translation settings for formality customization in their synchronous translation output."
6+
}

services/translate/src/main/resources/codegen-resources/service-2.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,13 @@
442442
"type":"string",
443443
"enum":["KMS"]
444444
},
445+
"Formality":{
446+
"type":"string",
447+
"enum":[
448+
"FORMAL",
449+
"INFORMAL"
450+
]
451+
},
445452
"GetParallelDataRequest":{
446453
"type":"structure",
447454
"required":["Name"],
@@ -1358,6 +1365,7 @@
13581365
"TranslationSettings":{
13591366
"type":"structure",
13601367
"members":{
1368+
"Formality":{"shape":"Formality"},
13611369
"Profanity":{
13621370
"shape":"Profanity",
13631371
"documentation":"<p>Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output.</p> <p>To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.</p> <p>Amazon Translate does not detect profanity in all of its supported languages. For languages that support profanity detection, see <a href=\"https://docs.aws.amazon.com/translate/latest/dg/what-is.html#what-is-languages\">Supported Languages and Language Codes in the Amazon Translate Developer Guide</a>.</p>"

0 commit comments

Comments
 (0)