Skip to content

Commit

Permalink
Release v1.41.19 (2021-11-05) (#4162)
Browse files Browse the repository at this point in the history
Release v1.41.19 (2021-11-05)
===

### Service Client Updates
* `service/ec2`: Updates service API and documentation
  * DescribeInstances now returns customer-owned IP addresses for instances running on an AWS Outpost.
* `service/resourcegroupstaggingapi`: Updates service documentation
  * Documentation updates and improvements.
* `service/translate`: Updates service API and documentation
  • Loading branch information
aws-sdk-go-automation authored Nov 5, 2021
1 parent d507114 commit e292407
Show file tree
Hide file tree
Showing 11 changed files with 285 additions and 159 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Release v1.41.19 (2021-11-05)
===

### Service Client Updates
* `service/ec2`: Updates service API and documentation
* DescribeInstances now returns customer-owned IP addresses for instances running on an AWS Outpost.
* `service/resourcegroupstaggingapi`: Updates service documentation
* Documentation updates and improvements.
* `service/translate`: Updates service API and documentation

Release v1.41.18 (2021-11-04)
===

Expand Down
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.41.18"
const SDKVersion = "1.41.19"
4 changes: 4 additions & 0 deletions models/apis/ec2/2016-11-15/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -21430,6 +21430,10 @@
"shape":"String",
"locationName":"carrierIp"
},
"CustomerOwnedIp":{
"shape":"String",
"locationName":"customerOwnedIp"
},
"IpOwnerId":{
"shape":"String",
"locationName":"ipOwnerId"
Expand Down
1 change: 1 addition & 0 deletions models/apis/ec2/2016-11-15/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -15625,6 +15625,7 @@
"InstanceNetworkInterface$VpcId": "<p>The ID of the VPC.</p>",
"InstanceNetworkInterface$InterfaceType": "<p>Describes the type of network interface.</p> <p>Valid values: <code>interface</code> | <code>efa</code> | <code>trunk</code> </p>",
"InstanceNetworkInterfaceAssociation$CarrierIp": "<p>The carrier IP address associated with the network interface.</p>",
"InstanceNetworkInterfaceAssociation$CustomerOwnedIp": "<p>The customer-owned IP address associated with the network interface.</p>",
"InstanceNetworkInterfaceAssociation$IpOwnerId": "<p>The ID of the owner of the Elastic IP address.</p>",
"InstanceNetworkInterfaceAssociation$PublicDnsName": "<p>The public DNS name.</p>",
"InstanceNetworkInterfaceAssociation$PublicIp": "<p>The public IP address or Elastic IP address bound to the network interface.</p>",
Expand Down
54 changes: 27 additions & 27 deletions models/apis/resourcegroupstaggingapi/2017-01-26/docs-2.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion models/apis/translate/2017-07-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
{"shape":"UnsupportedLanguagePairException"},
{"shape":"InvalidRequestException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"InternalServerException"}
]
},
Expand Down Expand Up @@ -578,7 +579,8 @@
"type":"structure",
"required":["S3Uri"],
"members":{
"S3Uri":{"shape":"S3Uri"}
"S3Uri":{"shape":"S3Uri"},
"EncryptionKey":{"shape":"EncryptionKey"}
}
},
"ParallelDataArn":{
Expand Down
21 changes: 11 additions & 10 deletions models/apis/translate/2017-07-01/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"version": "2.0",
"service": "<p>Provides translation between one source language and another of the same set of languages.</p>",
"operations": {
"CreateParallelData": "<p>Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3. Parallel data files contain examples of source phrases and their translations from your translation memory. By adding parallel data, you can influence the style, tone, and word choice in your translation output.</p>",
"CreateParallelData": "<p>Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3. Parallel data files contain examples that show how you want segments of text to be translated. By adding parallel data, you can influence the style, tone, and word choice in your translation output.</p>",
"DeleteParallelData": "<p>Deletes a parallel data resource in Amazon Translate.</p>",
"DeleteTerminology": "<p>A synchronous action that deletes a custom terminology.</p>",
"DescribeTextTranslationJob": "<p>Gets the properties associated with an asycnhronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.</p>",
"DescribeTextTranslationJob": "<p>Gets the properties associated with an asynchronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.</p>",
"GetParallelData": "<p>Provides information about a parallel data resource.</p>",
"GetTerminology": "<p>Retrieves a custom terminology.</p>",
"ImportTerminology": "<p>Creates or updates a custom terminology, depending on whether or not one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. Currently, the only supported merge strategy is OVERWRITE, and so the imported terminology will overwrite an existing terminology of the same name.</p> <p>If you import a terminology that overwrites an existing one, the new terminology take up to 10 minutes to fully propagate and be available for use in a translation due to cache policies with the DataPlane service that performs the translations.</p>",
Expand Down Expand Up @@ -57,7 +57,7 @@
"ContentType": {
"base": null,
"refs": {
"InputDataConfig$ContentType": "<p>Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:</p> <ul> <li> <p> <code>text/html</code>: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the <code>html</code> element in each file.</p> </li> <li> <p> <code>text/plain</code>: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.</p> </li> <li> <p> <code>application/vnd.openxmlformats-officedocument.wordprocessingml.document</code>: The input data consists of one or more Word documents (.docx).</p> </li> <li> <p> <code>application/vnd.openxmlformats-officedocument.presentationml.presentation</code>: The input data consists of one or more PowerPoint Presentation files (.pptx).</p> </li> <li> <p> <code>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</code>: The input data consists of one or more Excel Workbook files (.xlsx).</p> </li> </ul> <important> <p>If you structure your input data as HTML, ensure that you set this parameter to <code>text/html</code>. By doing so, you cut costs by limiting the translation to the contents of the <code>html</code> element in each file. Otherwise, if you set this parameter to <code>text/plain</code>, your costs will cover the translation of every character.</p> </important>"
"InputDataConfig$ContentType": "<p>Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types:</p> <ul> <li> <p> <code>text/html</code>: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the <code>html</code> element in each file.</p> </li> <li> <p> <code>text/plain</code>: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input.</p> </li> <li> <p> <code>application/vnd.openxmlformats-officedocument.wordprocessingml.document</code>: The input data consists of one or more Word documents (.docx).</p> </li> <li> <p> <code>application/vnd.openxmlformats-officedocument.presentationml.presentation</code>: The input data consists of one or more PowerPoint Presentation files (.pptx).</p> </li> <li> <p> <code>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</code>: The input data consists of one or more Excel Workbook files (.xlsx).</p> </li> <li> <p> <code>application/x-xliff+xml</code>: The input data consists of one or more XML Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate supports only XLIFF version 1.2.</p> </li> </ul> <important> <p>If you structure your input data as HTML, ensure that you set this parameter to <code>text/html</code>. By doing so, you cut costs by limiting the translation to the contents of the <code>html</code> element in each file. Otherwise, if you set this parameter to <code>text/plain</code>, your costs will cover the translation of every character.</p> </important>"
}
},
"CreateParallelDataRequest": {
Expand Down Expand Up @@ -115,6 +115,7 @@
"refs": {
"CreateParallelDataRequest$EncryptionKey": null,
"ImportTerminologyRequest$EncryptionKey": "<p>The encryption key for the custom terminology being imported.</p>",
"OutputDataConfig$EncryptionKey": null,
"ParallelDataProperties$EncryptionKey": null,
"TerminologyProperties$EncryptionKey": "<p>The encryption key for the custom terminology.</p>"
}
Expand Down Expand Up @@ -154,7 +155,7 @@
"IamRoleArn": {
"base": null,
"refs": {
"StartTextTranslationJobRequest$DataAccessRoleArn": "<p>The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more nformation, see <a>identity-and-access-management</a>.</p>",
"StartTextTranslationJobRequest$DataAccessRoleArn": "<p>The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more information, see <a>identity-and-access-management</a>.</p>",
"TextTranslationJobProperties$DataAccessRoleArn": "<p>The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon Translate read access to the job's input data.</p>"
}
},
Expand Down Expand Up @@ -329,7 +330,7 @@
"ListTerminologiesRequest$NextToken": "<p>If the result of the request to ListTerminologies was truncated, include the NextToken to fetch the next group of custom terminologies. </p>",
"ListTerminologiesResponse$NextToken": "<p> If the response to the ListTerminologies was truncated, the NextToken fetches the next group of custom terminologies.</p>",
"ListTextTranslationJobsRequest$NextToken": "<p>The token to request the next page of results.</p>",
"ListTextTranslationJobsResponse$NextToken": "<p>The token to use to retreive the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
"ListTextTranslationJobsResponse$NextToken": "<p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
}
},
"OutputDataConfig": {
Expand All @@ -356,7 +357,7 @@
"ParallelDataDataLocation": {
"base": "<p>The location of the most recent parallel data input file that was successfully imported into Amazon Translate.</p>",
"refs": {
"GetParallelDataResponse$DataLocation": "<p>The location of the most recent parallel data input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30 minute expiration.</p>",
"GetParallelDataResponse$DataLocation": "<p>The Amazon S3 location of the most recent parallel data input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30 minute expiration.</p> <important> <p>Amazon Translate doesn't scan parallel data input files for the risk of CSV injection attacks. </p> <p>CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.</p> <p>Before you download a parallel data input file from Amazon S3, ensure that you recognize the file and trust its creator.</p> </important>",
"GetParallelDataResponse$AuxiliaryDataLocation": "<p>The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a parallel data resource. The location is returned as a presigned URL to that has a 30 minute expiration.</p>",
"GetParallelDataResponse$LatestUpdateAttemptAuxiliaryDataLocation": "<p>The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to update a parallel data resource. The location is returned as a presigned URL to that has a 30 minute expiration.</p>"
}
Expand Down Expand Up @@ -413,8 +414,8 @@
"ResourceNameList": {
"base": null,
"refs": {
"StartTextTranslationJobRequest$TerminologyNames": "<p>The name of the terminology to use in the batch translation job. For a list of available terminologies, use the <a>ListTerminologies</a> operation.</p>",
"StartTextTranslationJobRequest$ParallelDataNames": "<p>The names of the parallel data resources to use in the batch translation job. For a list of available parallel data resources, use the <a>ListParallelData</a> operation.</p>",
"StartTextTranslationJobRequest$TerminologyNames": "<p>The name of a custom terminology resource to add to the translation job. This resource lists examples source terms and the desired translation for each term.</p> <p>This parameter accepts only one custom terminology resource.</p> <p>For a list of available custom terminology resources, use the <a>ListTerminologies</a> operation.</p> <p>For more information, see <a>how-custom-terminology</a>.</p>",
"StartTextTranslationJobRequest$ParallelDataNames": "<p>The name of a parallel data resource to add to the translation job. This resource consists of examples that show how you want segments of text to be translated. When you add parallel data to a translation job, you create an <i>Active Custom Translation</i> job. </p> <p>This parameter accepts only one parallel data resource.</p> <note> <p>Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see <a href=\"http://aws.amazon.com/translate/pricing/\">Amazon Translate pricing</a>.</p> </note> <p>For a list of available parallel data resources, use the <a>ListParallelData</a> operation.</p> <p>For more information, see <a>customizing-translations-parallel-data</a>.</p>",
"TextTranslationJobProperties$TerminologyNames": "<p>A list containing the names of the terminologies applied to a translation job. Only one terminology can be applied per <a>StartTextTranslationJob</a> request at this time.</p>",
"TextTranslationJobProperties$ParallelDataNames": "<p>A list containing the names of the parallel data resources applied to the translation job.</p>",
"TranslateTextRequest$TerminologyNames": "<p>The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a <code>TranslateText</code> request. Terminology lists can contain a maximum of 256 terms.</p>"
Expand Down Expand Up @@ -470,7 +471,7 @@
"InvalidRequestException$Message": null,
"LimitExceededException$Message": null,
"ParallelDataDataLocation$RepositoryType": "<p>Describes the repository that contains the parallel data input file.</p>",
"ParallelDataDataLocation$Location": "<p>The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30 minute expiration.</p>",
"ParallelDataDataLocation$Location": "<p>The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30 minute expiration.</p> <important> <p>Amazon Translate doesn't scan parallel data input files for the risk of CSV injection attacks. </p> <p>CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.</p> <p>Before you download a parallel data input file from Amazon S3, ensure that you recognize the file and trust its creator.</p> </important>",
"ResourceNotFoundException$Message": null,
"ServiceUnavailableException$Message": null,
"Term$SourceText": "<p>The source text of the term being translated by the custom terminology.</p>",
Expand Down Expand Up @@ -605,7 +606,7 @@
"base": null,
"refs": {
"ParallelDataProperties$Message": "<p>Additional information from Amazon Translate about the parallel data resource. </p>",
"TextTranslationJobProperties$Message": "<p>An explanation of any errors that may have occured during the translation job.</p>"
"TextTranslationJobProperties$Message": "<p>An explanation of any errors that may have occurred during the translation job.</p>"
}
},
"UnsupportedLanguagePairException": {
Expand Down
9 changes: 9 additions & 0 deletions service/ec2/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -105757,6 +105757,9 @@ type InstanceNetworkInterfaceAssociation struct {
// The carrier IP address associated with the network interface.
CarrierIp *string `locationName:"carrierIp" type:"string"`

// The customer-owned IP address associated with the network interface.
CustomerOwnedIp *string `locationName:"customerOwnedIp" type:"string"`

// The ID of the owner of the Elastic IP address.
IpOwnerId *string `locationName:"ipOwnerId" type:"string"`

Expand Down Expand Up @@ -105791,6 +105794,12 @@ func (s *InstanceNetworkInterfaceAssociation) SetCarrierIp(v string) *InstanceNe
return s
}

// SetCustomerOwnedIp sets the CustomerOwnedIp field's value.
func (s *InstanceNetworkInterfaceAssociation) SetCustomerOwnedIp(v string) *InstanceNetworkInterfaceAssociation {
s.CustomerOwnedIp = &v
return s
}

// SetIpOwnerId sets the IpOwnerId field's value.
func (s *InstanceNetworkInterfaceAssociation) SetIpOwnerId(v string) *InstanceNetworkInterfaceAssociation {
s.IpOwnerId = &v
Expand Down
Loading

0 comments on commit e292407

Please sign in to comment.