Skip to content

Commit

Permalink
Updates SDK to v2.1023.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Nov 5, 2021
1 parent d6bed19 commit 4acccb6
Show file tree
Hide file tree
Showing 17 changed files with 145 additions and 101 deletions.
12 changes: 12 additions & 0 deletions .changes/2.1023.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"type": "feature",
"category": "EC2",
"description": "DescribeInstances now returns customer-owned IP addresses for instances running on an AWS Outpost."
},
{
"type": "feature",
"category": "Translate",
"description": "This release enable customers to use their own KMS keys to encrypt output files when they submit a batch transform job."
}
]
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1022.0-->
<!--LATEST=2.1023.0-->
<!--ENTRYINSERT-->

## 2.1023.0
* feature: EC2: DescribeInstances now returns customer-owned IP addresses for instances running on an AWS Outpost.
* feature: Translate: This release enable customers to use their own KMS keys to encrypt output files when they submit a batch transform job.

## 2.1022.0
* feature: ChimeSDKMeetings: The Amazon Chime SDK Meetings APIs allow software developers to create meetings and attendees for interactive audio, video, screen and content sharing in custom meeting applications which use the Amazon Chime SDK.
* feature: Connect: This release adds CRUD operation support for Security profile resource in Amazon Connect
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1022.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1023.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
3 changes: 3 additions & 0 deletions apis/ec2-2016-11-15.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -25953,6 +25953,9 @@
"CarrierIp": {
"locationName": "carrierIp"
},
"CustomerOwnedIp": {
"locationName": "customerOwnedIp"
},
"IpOwnerId": {
"locationName": "ipOwnerId"
},
Expand Down
5 changes: 5 additions & 0 deletions apis/ec2-2016-11-15.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -29759,6 +29759,11 @@
"documentation": "<p>The carrier IP address associated with the network interface.</p>",
"locationName": "carrierIp"
},
"CustomerOwnedIp": {
"shape": "String",
"documentation": "<p>The customer-owned IP address associated with the network interface.</p>",
"locationName": "customerOwnedIp"
},
"IpOwnerId": {
"shape": "String",
"documentation": "<p>The ID of the owner of the Elastic IP address.</p>",
Expand Down
50 changes: 25 additions & 25 deletions apis/resourcegroupstaggingapi-2017-01-26.normal.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion apis/translate-2017-07-01.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,10 @@
"S3Uri"
],
"members": {
"S3Uri": {}
"S3Uri": {},
"EncryptionKey": {
"shape": "S7"
}
}
},
"Sz": {
Expand Down
26 changes: 16 additions & 10 deletions apis/translate-2017-07-01.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<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>"
"documentation": "<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": {
"name": "DeleteParallelData",
Expand Down Expand Up @@ -123,7 +123,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<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>"
"documentation": "<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": {
"name": "GetParallelData",
Expand Down Expand Up @@ -312,6 +312,9 @@
{
"shape": "ResourceNotFoundException"
},
{
"shape": "InvalidParameterValueException"
},
{
"shape": "InternalServerException"
}
Expand Down Expand Up @@ -619,7 +622,7 @@
},
"DataLocation": {
"shape": "ParallelDataDataLocation",
"documentation": "<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>"
"documentation": "<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>"
},
"AuxiliaryDataLocation": {
"shape": "ParallelDataDataLocation",
Expand Down Expand Up @@ -719,7 +722,7 @@
},
"ContentType": {
"shape": "ContentType",
"documentation": "<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>"
"documentation": "<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>"
}
},
"documentation": "<p>The input configuration properties for requesting a batch translation job.</p>"
Expand Down Expand Up @@ -858,7 +861,7 @@
},
"NextToken": {
"shape": "NextToken",
"documentation": "<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>"
"documentation": "<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>"
}
}
},
Expand Down Expand Up @@ -890,6 +893,9 @@
"S3Uri": {
"shape": "S3Uri",
"documentation": "<p>The URI of the S3 folder that contains a translation job's output file. The folder must be in the same Region as the API endpoint that you are calling.</p>"
},
"EncryptionKey": {
"shape": "EncryptionKey"
}
},
"documentation": "<p>The output configuration properties for a batch translation job.</p>"
Expand Down Expand Up @@ -930,7 +936,7 @@
},
"Location": {
"shape": "String",
"documentation": "<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>"
"documentation": "<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>"
}
},
"documentation": "<p>The location of the most recent parallel data input file that was successfully imported into Amazon Translate.</p>"
Expand Down Expand Up @@ -1074,7 +1080,7 @@
},
"DataAccessRoleArn": {
"shape": "IamRoleArn",
"documentation": "<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>"
"documentation": "<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>"
},
"SourceLanguageCode": {
"shape": "LanguageCodeString",
Expand All @@ -1086,11 +1092,11 @@
},
"TerminologyNames": {
"shape": "ResourceNameList",
"documentation": "<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>"
"documentation": "<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>"
},
"ParallelDataNames": {
"shape": "ResourceNameList",
"documentation": "<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>"
"documentation": "<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>"
},
"ClientToken": {
"shape": "ClientTokenString",
Expand Down Expand Up @@ -1334,7 +1340,7 @@
},
"Message": {
"shape": "UnboundedLengthString",
"documentation": "<p>An explanation of any errors that may have occured during the translation job.</p>"
"documentation": "<p>An explanation of any errors that may have occurred during the translation job.</p>"
},
"SubmittedTime": {
"shape": "Timestamp",
Expand Down
4 changes: 4 additions & 0 deletions clients/ec2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19033,6 +19033,10 @@ declare namespace EC2 {
* The carrier IP address associated with the network interface.
*/
CarrierIp?: String;
/**
* The customer-owned IP address associated with the network interface.
*/
CustomerOwnedIp?: String;
/**
* The ID of the owner of the Elastic IP address.
*/
Expand Down
Loading

0 comments on commit 4acccb6

Please sign in to comment.