Skip to content

Commit

Permalink
docs(client-translate): Added DOCX word document support to Translate…
Browse files Browse the repository at this point in the history
…Document API
  • Loading branch information
awstools committed Jul 18, 2023
1 parent 282169b commit b1f296c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions clients/client-translate/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1764,13 +1764,20 @@ export interface Document {
* <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.
* <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>text/plain - The input data consists of unformatted text.
* <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>
*/
ContentType: string | undefined;
Expand Down
2 changes: 1 addition & 1 deletion codegen/sdk-codegen/aws-models/translate.json
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@
"ContentType": {
"target": "com.amazonaws.translate#ContentType",
"traits": {
"smithy.api#documentation": "<p>Describes the format of the document. You can specify one of the following:</p>\n <ul>\n <li>\n <p>text/html - The input data consists of HTML content. \n Amazon Translate translates only the text in the HTML element.</p>\n </li>\n <li>\n <p>text/plain - The input data consists of unformatted text. \n Amazon Translate translates every character in the content. </p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>Describes the format of the document. You can specify one of the following:</p>\n <ul>\n <li>\n <p>\n <code>text/html</code> - The input data consists of HTML content. \n Amazon Translate translates only the text in the HTML element.</p>\n </li>\n <li>\n <p>\n <code>text/plain</code> - The input data consists of unformatted text. \n Amazon Translate translates every character in the content. </p>\n </li>\n <li>\n <p>\n <code>application/vnd.openxmlformats-officedocument.wordprocessingml.document</code> - The \n input data consists of a Word document (.docx).</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
Expand Down

0 comments on commit b1f296c

Please sign in to comment.