Skip to content

Commit cce99bf

Browse files
Release v1.37.29 (2021-03-11) (#3818)
Release v1.37.29 (2021-03-11) === ### Service Client Updates * `service/comprehend`: Updates service API and documentation * `service/medialive`: Updates service API and documentation * MediaLive supports the ability to apply a canned ACL to output sent to an AWS S3 bucket; supports ability to specify position for EBU-TT and TTML output captions converted from Teletext source. * `service/network-firewall`: Updates service documentation * `service/wafv2`: Updates service documentation
1 parent 60fb75b commit cce99bf

File tree

14 files changed

+937
-122
lines changed

14 files changed

+937
-122
lines changed

Diff for: CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
Release v1.37.29 (2021-03-11)
2+
===
3+
4+
### Service Client Updates
5+
* `service/comprehend`: Updates service API and documentation
6+
* `service/medialive`: Updates service API and documentation
7+
* MediaLive supports the ability to apply a canned ACL to output sent to an AWS S3 bucket; supports ability to specify position for EBU-TT and TTML output captions converted from Teletext source.
8+
* `service/network-firewall`: Updates service documentation
9+
* `service/wafv2`: Updates service documentation
10+
111
Release v1.37.28 (2021-03-10)
212
===
313

Diff for: aws/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ package aws
55
const SDKName = "aws-sdk-go"
66

77
// SDKVersion is the version of this SDK
8-
const SDKVersion = "1.37.28"
8+
const SDKVersion = "1.37.29"

Diff for: models/apis/comprehend/2017-11-27/api-2.json

+44-1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,21 @@
107107
{"shape":"InternalServerException"}
108108
]
109109
},
110+
"ContainsPiiEntities":{
111+
"name":"ContainsPiiEntities",
112+
"http":{
113+
"method":"POST",
114+
"requestUri":"/"
115+
},
116+
"input":{"shape":"ContainsPiiEntitiesRequest"},
117+
"output":{"shape":"ContainsPiiEntitiesResponse"},
118+
"errors":[
119+
{"shape":"InvalidRequestException"},
120+
{"shape":"TextSizeLimitExceededException"},
121+
{"shape":"UnsupportedLanguageException"},
122+
{"shape":"InternalServerException"}
123+
]
124+
},
110125
"CreateDocumentClassifier":{
111126
"name":"CreateDocumentClassifier",
112127
"http":{
@@ -1205,6 +1220,23 @@
12051220
},
12061221
"exception":true
12071222
},
1223+
"ContainsPiiEntitiesRequest":{
1224+
"type":"structure",
1225+
"required":[
1226+
"Text",
1227+
"LanguageCode"
1228+
],
1229+
"members":{
1230+
"Text":{"shape":"String"},
1231+
"LanguageCode":{"shape":"LanguageCode"}
1232+
}
1233+
},
1234+
"ContainsPiiEntitiesResponse":{
1235+
"type":"structure",
1236+
"members":{
1237+
"Labels":{"shape":"ListOfEntityLabels"}
1238+
}
1239+
},
12081240
"CreateDocumentClassifierRequest":{
12091241
"type":"structure",
12101242
"required":[
@@ -1812,6 +1844,13 @@
18121844
"EndOffset":{"shape":"Integer"}
18131845
}
18141846
},
1847+
"EntityLabel":{
1848+
"type":"structure",
1849+
"members":{
1850+
"Name":{"shape":"PiiEntityType"},
1851+
"Score":{"shape":"Float"}
1852+
}
1853+
},
18151854
"EntityRecognizerAnnotations":{
18161855
"type":"structure",
18171856
"required":["S3Uri"],
@@ -1943,7 +1982,7 @@
19431982
"EntityTypeName":{
19441983
"type":"string",
19451984
"max":64,
1946-
"pattern":"^(?:(?!\\\\n+|\\\\t+|\\\\r+|[\\r\\t\\n\\s,]).)+$"
1985+
"pattern":"^(?:(?!\\\\n+|\\\\t+|\\\\r+|[\\r\\t\\n,]).)+$"
19471986
},
19481987
"EntityTypesEvaluationMetrics":{
19491988
"type":"structure",
@@ -2303,6 +2342,10 @@
23032342
"type":"list",
23042343
"member":{"shape":"Entity"}
23052344
},
2345+
"ListOfEntityLabels":{
2346+
"type":"list",
2347+
"member":{"shape":"EntityLabel"}
2348+
},
23062349
"ListOfKeyPhrases":{
23072350
"type":"list",
23082351
"member":{"shape":"KeyPhrase"}

Diff for: models/apis/comprehend/2017-11-27/docs-2.json

+28-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"BatchDetectSentiment": "<p>Inspects a batch of documents and returns an inference of the prevailing sentiment, <code>POSITIVE</code>, <code>NEUTRAL</code>, <code>MIXED</code>, or <code>NEGATIVE</code>, in each one.</p>",
99
"BatchDetectSyntax": "<p>Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see <a>how-syntax</a>.</p>",
1010
"ClassifyDocument": "<p>Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint.</p>",
11+
"ContainsPiiEntities": "<p>Analyzes input text for the presence of personally identifiable information (PII) and returns the labels of identified PII entity types such as name, address, bank account number, or phone number.</p>",
1112
"CreateDocumentClassifier": "<p>Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories. For more information, see <a>how-document-classification</a>.</p>",
1213
"CreateEndpoint": "<p>Creates a model-specific endpoint for synchronous inference for a previously trained custom model </p>",
1314
"CreateEntityRecognizer": "<p>Creates an entity recognizer using submitted files. After your <code>CreateEntityRecognizer</code> request is submitted, you can check job status using the API. </p>",
@@ -284,6 +285,16 @@
284285
"refs": {
285286
}
286287
},
288+
"ContainsPiiEntitiesRequest": {
289+
"base": null,
290+
"refs": {
291+
}
292+
},
293+
"ContainsPiiEntitiesResponse": {
294+
"base": null,
295+
"refs": {
296+
}
297+
},
287298
"CreateDocumentClassifierRequest": {
288299
"base": null,
289300
"refs": {
@@ -732,6 +743,12 @@
732743
"ListOfEntities$member": null
733744
}
734745
},
746+
"EntityLabel": {
747+
"base": "<p>Specifies one of the label or labels that categorize the personally identifiable information (PII) entity being analyzed.</p>",
748+
"refs": {
749+
"ListOfEntityLabels$member": null
750+
}
751+
},
735752
"EntityRecognizerAnnotations": {
736753
"base": "<p>Describes the annotations associated with a entity recognizer.</p>",
737754
"refs": {
@@ -892,6 +909,7 @@
892909
"DocumentLabel$Score": "<p>The confidence score that Amazon Comprehend has this label correctly attributed.</p>",
893910
"DominantLanguage$Score": "<p>The level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>",
894911
"Entity$Score": "<p>The level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>",
912+
"EntityLabel$Score": "<p>The level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>",
895913
"KeyPhrase$Score": "<p>The level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>",
896914
"PartOfSpeechTag$Score": "<p>The confidence that Amazon Comprehend has that the part of speech was correctly identified.</p>",
897915
"PiiEntity$Score": "<p>The level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>",
@@ -1180,6 +1198,7 @@
11801198
"BatchDetectEntitiesRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.</p>",
11811199
"BatchDetectKeyPhrasesRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.</p>",
11821200
"BatchDetectSentimentRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.</p>",
1201+
"ContainsPiiEntitiesRequest$LanguageCode": "<p>The language of the input documents.</p>",
11831202
"CreateDocumentClassifierRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German (\"de\"), English (\"en\"), Spanish (\"es\"), French (\"fr\"), Italian (\"it\"), or Portuguese (\"pt\"). All documents must be in the same language.</p>",
11841203
"CreateEntityRecognizerRequest$LanguageCode": "<p> You can specify any of the following languages supported by Amazon Comprehend: English (\"en\"), Spanish (\"es\"), French (\"fr\"), Italian (\"it\"), German (\"de\"), or Portuguese (\"pt\"). All documents must be in the same language.</p>",
11851204
"DetectEntitiesRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.</p> <p>If your request includes the endpoint for a custom entity recognition model, Amazon Comprehend uses the language of your custom model, and it ignores any language code that you specify here.</p>",
@@ -1330,6 +1349,12 @@
13301349
"DetectEntitiesResponse$Entities": "<p>A collection of entities identified in the input text. For each entity, the response provides the entity text, entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection. </p> <p>If your request uses a custom entity recognition model, Amazon Comprehend detects the entities that the model is trained to recognize. Otherwise, it detects the default entity types. For a list of default entity types, see <a>how-entities</a>.</p>"
13311350
}
13321351
},
1352+
"ListOfEntityLabels": {
1353+
"base": null,
1354+
"refs": {
1355+
"ContainsPiiEntitiesResponse$Labels": "<p>The labels used in the document being analyzed. Individual labels represent personally identifiable information (PII) entity types.</p>"
1356+
}
1357+
},
13331358
"ListOfKeyPhrases": {
13341359
"base": null,
13351360
"refs": {
@@ -1512,6 +1537,7 @@
15121537
"PiiEntityType": {
15131538
"base": null,
15141539
"refs": {
1540+
"EntityLabel$Name": "<p>The name of the label.</p>",
15151541
"ListOfPiiEntityTypes$member": null,
15161542
"PiiEntity$Type": "<p>The entity's type.</p>"
15171543
}
@@ -1775,6 +1801,7 @@
17751801
"BatchItemError$ErrorMessage": "<p>A text description of the error.</p>",
17761802
"BatchSizeLimitExceededException$Message": null,
17771803
"ConcurrentModificationException$Message": null,
1804+
"ContainsPiiEntitiesRequest$Text": "<p>Creates a new document classification request to analyze a single document in real-time, returning personally identifiable information (PII) entity labels.</p>",
17781805
"DetectPiiEntitiesRequest$Text": "<p>A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.</p>",
17791806
"DocumentClass$Name": "<p>The name of the class.</p>",
17801807
"DocumentLabel$Name": "<p>The name of the label.</p>",
@@ -1990,7 +2017,7 @@
19902017
}
19912018
},
19922019
"UnsupportedLanguageException": {
1993-
"base": "<p>Amazon Comprehend can't process the language of the input text. For all custom entity recognition APIs (such as <code>CreateEntityRecognizer</code>), only English, Spanish, French, Italian, German, or Portuguese are accepted. For most other APIs, such as those for Custom Classification, Amazon Comprehend accepts text in all supported languages. For a list of supported languages, see <a>supported-languages</a>. </p>",
2020+
"base": "<p>Amazon Comprehend can't process the language of the input text. For custom entity recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted. For a list of supported languages, see <a>supported-languages</a>. </p>",
19942021
"refs": {
19952022
}
19962023
},

0 commit comments

Comments
 (0)