Skip to content

Commit ef35e00

Browse files
AWSL-Applin
authored andcommitted
Amazon Translate Update: Added DOCX word document support to TranslateDocument API
1 parent 12fb225 commit ef35e00

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
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": "Added DOCX word document support to TranslateDocument API"
6+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@
533533
},
534534
"ContentType":{
535535
"shape":"ContentType",
536-
"documentation":"<p>Describes the format of the document. You can specify one of the following:</p> <ul> <li> <p>text/html - The input data consists of HTML content. Amazon Translate translates only the text in the HTML element.</p> </li> <li> <p>text/plain - The input data consists of unformatted text. Amazon Translate translates every character in the content. </p> </li> </ul>"
536+
"documentation":"<p>Describes the format of the document. You can specify one of the following:</p> <ul> <li> <p> <code>text/html</code> - The input data consists of HTML content. Amazon Translate translates only the text in the HTML element.</p> </li> <li> <p> <code>text/plain</code> - The input data consists of unformatted text. Amazon Translate translates every character in the content. </p> </li> <li> <p> <code>application/vnd.openxmlformats-officedocument.wordprocessingml.document</code> - The input data consists of a Word document (.docx).</p> </li> </ul>"
537537
}
538538
},
539539
"documentation":"<p>The content and content type of a document.</p>"

0 commit comments

Comments
 (0)