Skip to content

Commit

Permalink
Merge branch 'release-1.20.26' into develop
Browse files Browse the repository at this point in the history
* release-1.20.26:
  Bumping version to 1.20.26
  Update to latest models
  • Loading branch information
aws-sdk-python-automation committed Mar 11, 2021
2 parents 2f59b0e + 8ca87ca commit 30c3844
Show file tree
Hide file tree
Showing 8 changed files with 259 additions and 16 deletions.
22 changes: 22 additions & 0 deletions .changes/1.20.26.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"category": "``comprehend``",
"description": "Update comprehend client to latest version",
"type": "api-change"
},
{
"category": "``wafv2``",
"description": "Update wafv2 client to latest version",
"type": "api-change"
},
{
"category": "``medialive``",
"description": "Update medialive client to latest version",
"type": "api-change"
},
{
"category": "``network-firewall``",
"description": "Update network-firewall client to latest version",
"type": "api-change"
}
]
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
CHANGELOG
=========

1.20.26
=======

* api-change:``comprehend``: Update comprehend client to latest version
* api-change:``wafv2``: Update wafv2 client to latest version
* api-change:``medialive``: Update medialive client to latest version
* api-change:``network-firewall``: Update network-firewall client to latest version


1.20.25
=======

Expand Down
2 changes: 1 addition & 1 deletion botocore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import re
import logging

__version__ = '1.20.25'
__version__ = '1.20.26'


class NullHandler(logging.Handler):
Expand Down
64 changes: 62 additions & 2 deletions botocore/data/comprehend/2017-11-27/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,22 @@
],
"documentation":"<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>"
},
"ContainsPiiEntities":{
"name":"ContainsPiiEntities",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ContainsPiiEntitiesRequest"},
"output":{"shape":"ContainsPiiEntitiesResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"TextSizeLimitExceededException"},
{"shape":"UnsupportedLanguageException"},
{"shape":"InternalServerException"}
],
"documentation":"<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>"
},
"CreateDocumentClassifier":{
"name":"CreateDocumentClassifier",
"http":{
Expand Down Expand Up @@ -1429,6 +1445,32 @@
"documentation":"<p>Concurrent modification of the tags associated with an Amazon Comprehend resource is not supported. </p>",
"exception":true
},
"ContainsPiiEntitiesRequest":{
"type":"structure",
"required":[
"Text",
"LanguageCode"
],
"members":{
"Text":{
"shape":"String",
"documentation":"<p>Creates a new document classification request to analyze a single document in real-time, returning personally identifiable information (PII) entity labels.</p>"
},
"LanguageCode":{
"shape":"LanguageCode",
"documentation":"<p>The language of the input documents.</p>"
}
}
},
"ContainsPiiEntitiesResponse":{
"type":"structure",
"members":{
"Labels":{
"shape":"ListOfEntityLabels",
"documentation":"<p>The labels used in the document being analyzed. Individual labels represent personally identifiable information (PII) entity types.</p>"
}
}
},
"CreateDocumentClassifierRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -2538,6 +2580,20 @@
},
"documentation":"<p>Provides information about an entity. </p> <p> </p>"
},
"EntityLabel":{
"type":"structure",
"members":{
"Name":{
"shape":"PiiEntityType",
"documentation":"<p>The name of the label.</p>"
},
"Score":{
"shape":"Float",
"documentation":"<p>The level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>"
}
},
"documentation":"<p>Specifies one of the label or labels that categorize the personally identifiable information (PII) entity being analyzed.</p>"
},
"EntityRecognizerAnnotations":{
"type":"structure",
"required":["S3Uri"],
Expand Down Expand Up @@ -2783,7 +2839,7 @@
"EntityTypeName":{
"type":"string",
"max":64,
"pattern":"^(?:(?!\\\\n+|\\\\t+|\\\\r+|[\\r\\t\\n\\s,]).)+$"
"pattern":"^(?:(?!\\\\n+|\\\\t+|\\\\r+|[\\r\\t\\n,]).)+$"
},
"EntityTypesEvaluationMetrics":{
"type":"structure",
Expand Down Expand Up @@ -3399,6 +3455,10 @@
"type":"list",
"member":{"shape":"Entity"}
},
"ListOfEntityLabels":{
"type":"list",
"member":{"shape":"EntityLabel"}
},
"ListOfKeyPhrases":{
"type":"list",
"member":{"shape":"KeyPhrase"}
Expand Down Expand Up @@ -4800,7 +4860,7 @@
"members":{
"Message":{"shape":"String"}
},
"documentation":"<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>",
"documentation":"<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>",
"exception":true
},
"UntagResourceRequest":{
Expand Down
Loading

0 comments on commit 30c3844

Please sign in to comment.