Skip to content

Commit

Permalink
Merge pull request #2698 from aws/release
Browse files Browse the repository at this point in the history
Release v1.21.0
  • Loading branch information
aws-sdk-go-automation authored Jul 18, 2019
2 parents 262e4f3 + f062d23 commit 16736b0
Show file tree
Hide file tree
Showing 15 changed files with 413 additions and 156 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
Release v1.21.0 (2019-07-18)
===

### Service Client Updates
* `service/codedeploy`: Updates service documentation
* Documentation updates for codedeploy
* `service/comprehend`: Updates service API and documentation
* `service/ecs`: Updates service API and documentation
* This release of Amazon Elastic Container Service (Amazon ECS) introduces support for cluster settings. Cluster settings specify whether CloudWatch Container Insights is enabled or disabled for the cluster.
* `service/elasticache`: Updates service documentation
* Updates for Elasticache

### SDK Features
* `aws/session`: Add support for assuming role via Web Identity Token ([#2667](https://github.com/aws/aws-sdk-go/pull/2667))
* Adds support for assuming an role via the Web Identity Token. Allows for OIDC token files to be used by specifying the token path through the AWS_WEB_IDENTITY_TOKEN_FILE, and AWS_ROLE_ARN environment variables.

### SDK Bugs
* `aws/session`: Fix SDK AWS_PROFILE and static environment credential behavior ()
* Fixes the SDK's behavior when determining the source of credentials to load. Previously the SDK would ignore the AWS_PROFILE environment, if static environment credentials were also specified.
* If both AWS_PROFILE and static environment credentials are defined, the SDK will load any credentials from the shared config/credentials file for the AWS_PROFILE first. Only if there are no credentials defined in the shared config/credentials file will the SDK use the static environment credentials instead.
Release v1.20.21 (2019-07-17)
===

Expand Down
5 changes: 0 additions & 5 deletions CHANGELOG_PENDING.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
### SDK Features
* `aws/session`: Add support for assuming role via Web Identity Token ([#2667](https://github.com/aws/aws-sdk-go/pull/2667))
* Adds support for assuming an role via the Web Identity Token. Allows for OIDC token files to be used by specifying the token path through the AWS_WEB_IDENTITY_TOKEN_FILE, and AWS_ROLE_ARN environment variables.

### SDK Enhancements

### SDK Bugs
* `aws/session`: Fix SDK AWS_PROFILE and static environment credential behavior ()
* Fixes the SDK's behavior when determining the source of credentials to load. Previously the SDK would ignore the AWS_PROFILE environment, if static environment credentials were also specified.
* If both AWS_PROFILE and static environment credentials are defined, the SDK will load any credentials from the shared config/credentials file for the AWS_PROFILE first. Only if there are no credentials defined in the shared config/credentials file will the SDK use the static environment credentials instead.
2 changes: 1 addition & 1 deletion aws/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"

// SDKVersion is the version of this SDK
const SDKVersion = "1.20.21"
const SDKVersion = "1.21.0"
6 changes: 3 additions & 3 deletions models/apis/codedeploy/2014-10-06/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
}
},
"BlueInstanceTerminationOption": {
"base": "<p>Information about whether instances in the original environment are terminated when a blue/green deployment is successful.</p>",
"base": "<p>Information about whether instances in the original environment are terminated when a blue/green deployment is successful. <code>BlueInstanceTerminationOption</code> does not apply to Lambda deployments. </p>",
"refs": {
"BlueGreenDeploymentConfiguration$terminateBlueInstancesOnDeploymentSuccess": "<p>Information about whether to terminate instances in the original fleet during a blue/green deployment.</p>"
}
Expand Down Expand Up @@ -794,7 +794,7 @@
"Duration": {
"base": null,
"refs": {
"BlueInstanceTerminationOption$terminationWaitTimeInMinutes": "<p>The number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment. The maximum setting is 2880 minutes (2 days).</p>",
"BlueInstanceTerminationOption$terminationWaitTimeInMinutes": "<p>For an Amazon EC2 deployment, the number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.</p> <p> For an Amazon ECS deployment, the number of minutes before deleting the original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic from the original (blue) task set to a replacement (green) task set. </p> <p> The maximum setting is 2880 minutes (2 days). </p>",
"DeploymentReadyOption$waitTimeInMinutes": "<p>The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is not started manually. Applies only to the STOP_DEPLOYMENT option for actionOnTimeout</p>"
}
},
Expand Down Expand Up @@ -2151,7 +2151,7 @@
"TargetFilters": {
"base": null,
"refs": {
"ListDeploymentTargetsInput$targetFilters": "<p> A key used to filter the returned targets. </p>"
"ListDeploymentTargetsInput$targetFilters": "<p> A key used to filter the returned targets. The two valid values are:</p> <ul> <li> <p> <code>TargetStatus</code> - A <code>TargetStatus</code> filter string can be <code>Failed</code>, <code>InProgress</code>, <code>Pending</code>, <code>Ready</code>, <code>Skipped</code>, <code>Succeeded</code>, or <code>Unknown</code>. </p> </li> <li> <p> <code>ServerInstanceLabel</code> - A <code>ServerInstanceLabel</code> filter string can be <code>Blue</code> or <code>Green</code>. </p> </li> </ul>"
}
},
"TargetGroupInfo": {
Expand Down
12 changes: 11 additions & 1 deletion models/apis/comprehend/2017-11-27/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,9 @@
"EntityRecognizerMetadataEntityTypesListItem":{
"type":"structure",
"members":{
"Type":{"shape":"AnyLengthString"}
"Type":{"shape":"AnyLengthString"},
"EvaluationMetrics":{"shape":"EntityTypesEvaluationMetrics"},
"NumberOfTrainMentions":{"shape":"Integer"}
}
},
"EntityRecognizerProperties":{
Expand Down Expand Up @@ -1449,6 +1451,14 @@
"max":64,
"pattern":"[_A-Z0-9]+"
},
"EntityTypesEvaluationMetrics":{
"type":"structure",
"members":{
"Precision":{"shape":"Double"},
"Recall":{"shape":"Double"},
"F1Score":{"shape":"Double"}
}
},
"EntityTypesList":{
"type":"list",
"member":{"shape":"EntityTypesListItem"}
Expand Down
44 changes: 27 additions & 17 deletions models/apis/comprehend/2017-11-27/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,10 @@
"ClassifierEvaluationMetrics$F1Score": "<p>A measure of how accurate the classifier results are for the test data. It is derived from the <code>Precision</code> and <code>Recall</code> values. The <code>F1Score</code> is the harmonic average of the two scores. The highest score is 1, and the worst score is 0. </p>",
"EntityRecognizerEvaluationMetrics$Precision": "<p>A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones. </p>",
"EntityRecognizerEvaluationMetrics$Recall": "<p>A measure of how complete the recognizer results are for the test data. High recall means that the recognizer returned most of the relevant results.</p>",
"EntityRecognizerEvaluationMetrics$F1Score": "<p>A measure of how accurate the recognizer results are for the test data. It is derived from the <code>Precision</code> and <code>Recall</code> values. The <code>F1Score</code> is the harmonic average of the two scores. The highest score is 1, and the worst score is 0. </p>"
"EntityRecognizerEvaluationMetrics$F1Score": "<p>A measure of how accurate the recognizer results are for the test data. It is derived from the <code>Precision</code> and <code>Recall</code> values. The <code>F1Score</code> is the harmonic average of the two scores. The highest score is 1, and the worst score is 0. </p>",
"EntityTypesEvaluationMetrics$Precision": "<p>A measure of the usefulness of the recognizer results for a specific entity type in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones. </p>",
"EntityTypesEvaluationMetrics$Recall": "<p>A measure of how complete the recognizer results are for a specific entity type in the test data. High recall means that the recognizer returned most of the relevant results.</p>",
"EntityTypesEvaluationMetrics$F1Score": "<p>A measure of how accurate the recognizer results are for for a specific entity type in the test data. It is derived from the <code>Precision</code> and <code>Recall</code> values. The <code>F1Score</code> is the harmonic average of the two scores. The highest score is 1, and the worst score is 0. </p>"
}
},
"EntitiesDetectionJobFilter": {
Expand Down Expand Up @@ -537,9 +540,9 @@
}
},
"EntityRecognizerEvaluationMetrics": {
"base": "<p> Detailed information about the accuracy of an entity recognizer. </p>",
"base": "<p>Detailed information about the accuracy of an entity recognizer. </p>",
"refs": {
"EntityRecognizerMetadata$EvaluationMetrics": "<p> Detailed information about the accuracy of an entity recognizer.</p>"
"EntityRecognizerMetadata$EvaluationMetrics": "<p>Detailed information about the accuracy of an entity recognizer.</p>"
}
},
"EntityRecognizerFilter": {
Expand Down Expand Up @@ -598,10 +601,16 @@
"EntityTypesListItem$Type": "<p>Entity type of an item on an entity type list.</p>"
}
},
"EntityTypesEvaluationMetrics": {
"base": "<p>Detailed information about the accuracy of an entity recognizer for a specific entity type. </p>",
"refs": {
"EntityRecognizerMetadataEntityTypesListItem$EvaluationMetrics": "<p>Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types. </p>"
}
},
"EntityTypesList": {
"base": null,
"refs": {
"EntityRecognizerInputDataConfig$EntityTypes": "<p>The entity types in the input data for an entity recognizer.</p>"
"EntityRecognizerInputDataConfig$EntityTypes": "<p>The entity types in the input data for an entity recognizer. A maximum of 12 entity types can be used at one time to train an entity recognizer.</p>"
}
},
"EntityTypesListItem": {
Expand Down Expand Up @@ -683,6 +692,7 @@
"Entity$EndOffset": "<p>A character offset in the input text that shows where the entity ends. The offset returns the position of each UTF-8 code point in the string. A <i>code point</i> is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point. </p>",
"EntityRecognizerMetadata$NumberOfTrainedDocuments": "<p> The number of documents in the input data that were used to train the entity recognizer. Typically this is 80 to 90 percent of the input documents.</p>",
"EntityRecognizerMetadata$NumberOfTestDocuments": "<p> The number of documents in the input data that were used to test the entity recognizer. Typically this is 10 to 20 percent of the input documents.</p>",
"EntityRecognizerMetadataEntityTypesListItem$NumberOfTrainMentions": "<p>indicates the number of times the given entity name was seen in the training data. </p>",
"KeyPhrase$BeginOffset": "<p>A character offset in the input text that shows where the key phrase begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A <i>code point</i> is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.</p>",
"KeyPhrase$EndOffset": "<p>A character offset in the input text where the key phrase ends. The offset returns the position of each UTF-8 code point in the string. A <code>code point</code> is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.</p>",
"SyntaxToken$TokenId": "<p>A unique identifier for a token.</p>",
Expand All @@ -697,7 +707,7 @@
}
},
"InvalidFilterException": {
"base": "<p>The filter specified for the <code>ListDocumentClassificationJobs</code> operation is invalid. Specify a different filter.</p>",
"base": "<p>The filter specified for the operation is invalid. Specify a different filter.</p>",
"refs": {
}
},
Expand Down Expand Up @@ -848,22 +858,22 @@
"LanguageCode": {
"base": null,
"refs": {
"BatchDetectEntitiesRequest$LanguageCode": "<p>The language of the input documents. You can specify English (\"en\") or Spanish (\"es\"). All documents must be in the same language.</p>",
"BatchDetectKeyPhrasesRequest$LanguageCode": "<p>The language of the input documents. You can specify English (\"en\") or Spanish (\"es\"). All documents must be in the same language.</p>",
"BatchDetectSentimentRequest$LanguageCode": "<p>The language of the input documents. You can specify English (\"en\") or Spanish (\"es\"). All documents must be in the same language.</p>",
"CreateDocumentClassifierRequest$LanguageCode": "<p>The language of the input documents. You can specify English (\"en\") or Spanish (\"es\"). All documents must be in the same language.</p>",
"BatchDetectEntitiesRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary 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>",
"BatchDetectKeyPhrasesRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary 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>",
"BatchDetectSentimentRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary 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>",
"CreateDocumentClassifierRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary 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>",
"CreateEntityRecognizerRequest$LanguageCode": "<p> The language of the input documents. All documents must be in the same language. Only English (\"en\") is currently supported. </p>",
"DetectEntitiesRequest$LanguageCode": "<p>The language of the input documents. You can specify English (\"en\") or Spanish (\"es\"). All documents must be in the same language.</p>",
"DetectKeyPhrasesRequest$LanguageCode": "<p>The language of the input documents. You can specify English (\"en\") or Spanish (\"es\"). All documents must be in the same language.</p>",
"DetectSentimentRequest$LanguageCode": "<p>The language of the input documents. You can specify English (\"en\") or Spanish (\"es\"). All documents must be in the same language.</p>",
"DetectEntitiesRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary 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>",
"DetectKeyPhrasesRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary 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>",
"DetectSentimentRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary 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>",
"DocumentClassifierProperties$LanguageCode": "<p>The language code for the language of the documents that the classifier was trained on.</p>",
"EntitiesDetectionJobProperties$LanguageCode": "<p>The language code of the input documents.</p>",
"EntityRecognizerProperties$LanguageCode": "<p> The language of the input documents. All documents must be in the same language. Only English (\"en\") is currently supported.</p>",
"KeyPhrasesDetectionJobProperties$LanguageCode": "<p>The language code of the input documents.</p>",
"SentimentDetectionJobProperties$LanguageCode": "<p>The language code of the input documents.</p>",
"StartEntitiesDetectionJobRequest$LanguageCode": "<p>The language of the input documents. All documents must be in the same language. You can specify any of the languages supported by Amazon Comprehend: English (\"en\"), Spanish (\"es\"), French (\"fr\"), German (\"de\"), Italian (\"it\"), or Portuguese (\"pt\"). If custom entities recognition is used, this parameter is ignored and the language used for training the model is used instead.</p>",
"StartKeyPhrasesDetectionJobRequest$LanguageCode": "<p>The language of the input documents. You can specify English (\"en\") or Spanish (\"es\"). All documents must be in the same language.</p>",
"StartSentimentDetectionJobRequest$LanguageCode": "<p>The language of the input documents. You can specify English (\"en\") or Spanish (\"es\"). All documents must be in the same language.</p>"
"StartKeyPhrasesDetectionJobRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary 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>",
"StartSentimentDetectionJobRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary 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>"
}
},
"ListDocumentClassificationJobsRequest": {
Expand Down Expand Up @@ -1342,8 +1352,8 @@
"SyntaxLanguageCode": {
"base": null,
"refs": {
"BatchDetectSyntaxRequest$LanguageCode": "<p>The language of the input documents. You can specify English (\"en\") or Spanish (\"es\"). All documents must be in the same language.</p>",
"DetectSyntaxRequest$LanguageCode": "<p>The language code of the input documents. You can specify English (\"en\") or Spanish (\"es\").</p>"
"BatchDetectSyntaxRequest$LanguageCode": "<p>The language of the input documents. You can specify any of the primary 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>",
"DetectSyntaxRequest$LanguageCode": "<p>The language code of the input documents. You can specify any of the primary languages supported by Amazon Comprehend: German (\"de\"), English (\"en\"), Spanish (\"es\"), French (\"fr\"), Italian (\"it\"), or Portuguese (\"pt\").</p>"
}
},
"SyntaxToken": {
Expand Down Expand Up @@ -1477,7 +1487,7 @@
}
},
"UnsupportedLanguageException": {
"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 is accepted. For most other APIs, Amazon Comprehend accepts only English or Spanish text. </p>",
"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 is 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>",
"refs": {
}
},
Expand Down
Loading

0 comments on commit 16736b0

Please sign in to comment.