Skip to content

Commit 0019ff5

Browse files
author
awstools
committedJan 29, 2024
docs(client-comprehend): Comprehend PII analysis now supports Spanish input documents.
1 parent 4769d4c commit 0019ff5

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed
 

‎clients/client-comprehend/src/models/models_0.ts

+6-4
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,7 @@ export interface ContainsPiiEntitiesRequest {
19451945

19461946
/**
19471947
* @public
1948-
* <p>The language of the input documents. Currently, English is the only valid language.</p>
1948+
* <p>The language of the input documents.</p>
19491949
*/
19501950
LanguageCode: LanguageCode | undefined;
19511951
}
@@ -5550,7 +5550,7 @@ export interface PiiEntitiesDetectionJobProperties {
55505550

55515551
/**
55525552
* @public
5553-
* <p>The language code of the input documents</p>
5553+
* <p>The language code of the input documents.</p>
55545554
*/
55555555
LanguageCode?: LanguageCode;
55565556

@@ -6210,7 +6210,8 @@ export interface DetectPiiEntitiesRequest {
62106210

62116211
/**
62126212
* @public
6213-
* <p>The language of the input documents. Currently, English is the only valid language.</p>
6213+
* <p>The language of the input text.
6214+
* Enter the language code for English (en) or Spanish (es).</p>
62146215
*/
62156216
LanguageCode: LanguageCode | undefined;
62166217
}
@@ -8689,7 +8690,8 @@ export interface StartPiiEntitiesDetectionJobRequest {
86898690

86908691
/**
86918692
* @public
8692-
* <p>The language of the input documents. Currently, English is the only valid language.</p>
8693+
* <p>The language of the input documents.
8694+
* Enter the language code for English (en) or Spanish (es).</p>
86938695
*/
86948696
LanguageCode: LanguageCode | undefined;
86958697

‎codegen/sdk-codegen/aws-models/comprehend.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -2291,7 +2291,7 @@
22912291
"LanguageCode": {
22922292
"target": "com.amazonaws.comprehend#LanguageCode",
22932293
"traits": {
2294-
"smithy.api#documentation": "<p>The language of the input documents. Currently, English is the only valid language.</p>",
2294+
"smithy.api#documentation": "<p>The language of the input documents.</p>",
22952295
"smithy.api#required": {}
22962296
}
22972297
}
@@ -4756,7 +4756,7 @@
47564756
"LanguageCode": {
47574757
"target": "com.amazonaws.comprehend#LanguageCode",
47584758
"traits": {
4759-
"smithy.api#documentation": "<p>The language of the input documents. Currently, English is the only valid language.</p>",
4759+
"smithy.api#documentation": "<p>The language of the input text. \n Enter the language code for English (en) or Spanish (es).</p>",
47604760
"smithy.api#required": {}
47614761
}
47624762
}
@@ -10070,7 +10070,7 @@
1007010070
"LanguageCode": {
1007110071
"target": "com.amazonaws.comprehend#LanguageCode",
1007210072
"traits": {
10073-
"smithy.api#documentation": "<p>The language code of the input documents</p>"
10073+
"smithy.api#documentation": "<p>The language code of the input documents.</p>"
1007410074
}
1007510075
},
1007610076
"DataAccessRoleArn": {
@@ -11674,7 +11674,7 @@
1167411674
"LanguageCode": {
1167511675
"target": "com.amazonaws.comprehend#LanguageCode",
1167611676
"traits": {
11677-
"smithy.api#documentation": "<p>The language of the input documents. Currently, English is the only valid language.</p>",
11677+
"smithy.api#documentation": "<p>The language of the input documents. \n Enter the language code for English (en) or Spanish (es).</p>",
1167811678
"smithy.api#required": {}
1167911679
}
1168011680
},

0 commit comments

Comments
 (0)
Please sign in to comment.