From 0019ff5f5a7fb46ea64aa5f35538ae03654ba589 Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 29 Jan 2024 22:15:53 +0000 Subject: [PATCH] docs(client-comprehend): Comprehend PII analysis now supports Spanish input documents. --- clients/client-comprehend/src/models/models_0.ts | 10 ++++++---- codegen/sdk-codegen/aws-models/comprehend.json | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/clients/client-comprehend/src/models/models_0.ts b/clients/client-comprehend/src/models/models_0.ts index cc757a43059d..6833dece80aa 100644 --- a/clients/client-comprehend/src/models/models_0.ts +++ b/clients/client-comprehend/src/models/models_0.ts @@ -1945,7 +1945,7 @@ export interface ContainsPiiEntitiesRequest { /** * @public - *

The language of the input documents. Currently, English is the only valid language.

+ *

The language of the input documents.

*/ LanguageCode: LanguageCode | undefined; } @@ -5550,7 +5550,7 @@ export interface PiiEntitiesDetectionJobProperties { /** * @public - *

The language code of the input documents

+ *

The language code of the input documents.

*/ LanguageCode?: LanguageCode; @@ -6210,7 +6210,8 @@ export interface DetectPiiEntitiesRequest { /** * @public - *

The language of the input documents. Currently, English is the only valid language.

+ *

The language of the input text. + * Enter the language code for English (en) or Spanish (es).

*/ LanguageCode: LanguageCode | undefined; } @@ -8689,7 +8690,8 @@ export interface StartPiiEntitiesDetectionJobRequest { /** * @public - *

The language of the input documents. Currently, English is the only valid language.

+ *

The language of the input documents. + * Enter the language code for English (en) or Spanish (es).

*/ LanguageCode: LanguageCode | undefined; diff --git a/codegen/sdk-codegen/aws-models/comprehend.json b/codegen/sdk-codegen/aws-models/comprehend.json index 631868b9e569..bfa70ed7dd93 100644 --- a/codegen/sdk-codegen/aws-models/comprehend.json +++ b/codegen/sdk-codegen/aws-models/comprehend.json @@ -2291,7 +2291,7 @@ "LanguageCode": { "target": "com.amazonaws.comprehend#LanguageCode", "traits": { - "smithy.api#documentation": "

The language of the input documents. Currently, English is the only valid language.

", + "smithy.api#documentation": "

The language of the input documents.

", "smithy.api#required": {} } } @@ -4756,7 +4756,7 @@ "LanguageCode": { "target": "com.amazonaws.comprehend#LanguageCode", "traits": { - "smithy.api#documentation": "

The language of the input documents. Currently, English is the only valid language.

", + "smithy.api#documentation": "

The language of the input text. \n Enter the language code for English (en) or Spanish (es).

", "smithy.api#required": {} } } @@ -10070,7 +10070,7 @@ "LanguageCode": { "target": "com.amazonaws.comprehend#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code of the input documents

" + "smithy.api#documentation": "

The language code of the input documents.

" } }, "DataAccessRoleArn": { @@ -11674,7 +11674,7 @@ "LanguageCode": { "target": "com.amazonaws.comprehend#LanguageCode", "traits": { - "smithy.api#documentation": "

The language of the input documents. Currently, English is the only valid language.

", + "smithy.api#documentation": "

The language of the input documents. \n Enter the language code for English (en) or Spanish (es).

", "smithy.api#required": {} } },