Skip to content

Commit ba90063

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated API models and rebuilt service gems.
1 parent f77eb28 commit ba90063

File tree

27 files changed

+379
-192
lines changed

27 files changed

+379
-192
lines changed

apis/ec2/2016-11-15/api-2.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21430,6 +21430,10 @@
2143021430
"shape":"String",
2143121431
"locationName":"carrierIp"
2143221432
},
21433+
"CustomerOwnedIp":{
21434+
"shape":"String",
21435+
"locationName":"customerOwnedIp"
21436+
},
2143321437
"IpOwnerId":{
2143421438
"shape":"String",
2143521439
"locationName":"ipOwnerId"

apis/ec2/2016-11-15/docs-2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15625,6 +15625,7 @@
1562515625
"InstanceNetworkInterface$VpcId": "<p>The ID of the VPC.</p>",
1562615626
"InstanceNetworkInterface$InterfaceType": "<p>Describes the type of network interface.</p> <p>Valid values: <code>interface</code> | <code>efa</code> | <code>trunk</code> </p>",
1562715627
"InstanceNetworkInterfaceAssociation$CarrierIp": "<p>The carrier IP address associated with the network interface.</p>",
15628+
"InstanceNetworkInterfaceAssociation$CustomerOwnedIp": "<p>The customer-owned IP address associated with the network interface.</p>",
1562815629
"InstanceNetworkInterfaceAssociation$IpOwnerId": "<p>The ID of the owner of the Elastic IP address.</p>",
1562915630
"InstanceNetworkInterfaceAssociation$PublicDnsName": "<p>The public DNS name.</p>",
1563015631
"InstanceNetworkInterfaceAssociation$PublicIp": "<p>The public IP address or Elastic IP address bound to the network interface.</p>",

apis/resourcegroupstaggingapi/2017-01-26/docs-2.json

Lines changed: 27 additions & 27 deletions
Large diffs are not rendered by default.

apis/translate/2017-07-01/api-2.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174
{"shape":"UnsupportedLanguagePairException"},
175175
{"shape":"InvalidRequestException"},
176176
{"shape":"ResourceNotFoundException"},
177+
{"shape":"InvalidParameterValueException"},
177178
{"shape":"InternalServerException"}
178179
]
179180
},
@@ -578,7 +579,8 @@
578579
"type":"structure",
579580
"required":["S3Uri"],
580581
"members":{
581-
"S3Uri":{"shape":"S3Uri"}
582+
"S3Uri":{"shape":"S3Uri"},
583+
"EncryptionKey":{"shape":"EncryptionKey"}
582584
}
583585
},
584586
"ParallelDataArn":{

apis/translate/2017-07-01/docs-2.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"version": "2.0",
33
"service": "<p>Provides translation between one source language and another of the same set of languages.</p>",
44
"operations": {
5-
"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>",
5+
"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>",
66
"DeleteParallelData": "<p>Deletes a parallel data resource in Amazon Translate.</p>",
77
"DeleteTerminology": "<p>A synchronous action that deletes a custom terminology.</p>",
8-
"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>",
8+
"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>",
99
"GetParallelData": "<p>Provides information about a parallel data resource.</p>",
1010
"GetTerminology": "<p>Retrieves a custom terminology.</p>",
1111
"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>",
@@ -57,7 +57,7 @@
5757
"ContentType": {
5858
"base": null,
5959
"refs": {
60-
"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>"
60+
"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>"
6161
}
6262
},
6363
"CreateParallelDataRequest": {
@@ -115,6 +115,7 @@
115115
"refs": {
116116
"CreateParallelDataRequest$EncryptionKey": null,
117117
"ImportTerminologyRequest$EncryptionKey": "<p>The encryption key for the custom terminology being imported.</p>",
118+
"OutputDataConfig$EncryptionKey": null,
118119
"ParallelDataProperties$EncryptionKey": null,
119120
"TerminologyProperties$EncryptionKey": "<p>The encryption key for the custom terminology.</p>"
120121
}
@@ -154,7 +155,7 @@
154155
"IamRoleArn": {
155156
"base": null,
156157
"refs": {
157-
"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>",
158+
"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>",
158159
"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>"
159160
}
160161
},
@@ -329,7 +330,7 @@
329330
"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>",
330331
"ListTerminologiesResponse$NextToken": "<p> If the response to the ListTerminologies was truncated, the NextToken fetches the next group of custom terminologies.</p>",
331332
"ListTextTranslationJobsRequest$NextToken": "<p>The token to request the next page of results.</p>",
332-
"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>"
333+
"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>"
333334
}
334335
},
335336
"OutputDataConfig": {
@@ -356,7 +357,7 @@
356357
"ParallelDataDataLocation": {
357358
"base": "<p>The location of the most recent parallel data input file that was successfully imported into Amazon Translate.</p>",
358359
"refs": {
359-
"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>",
360+
"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>",
360361
"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>",
361362
"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>"
362363
}
@@ -413,8 +414,8 @@
413414
"ResourceNameList": {
414415
"base": null,
415416
"refs": {
416-
"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>",
417-
"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>",
417+
"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>",
418+
"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>",
418419
"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>",
419420
"TextTranslationJobProperties$ParallelDataNames": "<p>A list containing the names of the parallel data resources applied to the translation job.</p>",
420421
"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>"
@@ -470,7 +471,7 @@
470471
"InvalidRequestException$Message": null,
471472
"LimitExceededException$Message": null,
472473
"ParallelDataDataLocation$RepositoryType": "<p>Describes the repository that contains the parallel data input file.</p>",
473-
"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>",
474+
"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>",
474475
"ResourceNotFoundException$Message": null,
475476
"ServiceUnavailableException$Message": null,
476477
"Term$SourceText": "<p>The source text of the term being translated by the custom terminology.</p>",
@@ -605,7 +606,7 @@
605606
"base": null,
606607
"refs": {
607608
"ParallelDataProperties$Message": "<p>Additional information from Amazon Translate about the parallel data resource. </p>",
608-
"TextTranslationJobProperties$Message": "<p>An explanation of any errors that may have occured during the translation job.</p>"
609+
"TextTranslationJobProperties$Message": "<p>An explanation of any errors that may have occurred during the translation job.</p>"
609610
}
610611
},
611612
"UnsupportedLanguagePairException": {

gems/aws-sdk-ec2/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Unreleased Changes
22
------------------
33

4+
1.277.0 (2021-11-05)
5+
------------------
6+
7+
* Feature - DescribeInstances now returns customer-owned IP addresses for instances running on an AWS Outpost.
8+
49
1.276.0 (2021-11-04)
510
------------------
611

gems/aws-sdk-ec2/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.276.0
1+
1.277.0

gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@
7272
# @!group service
7373
module Aws::EC2
7474

75-
GEM_VERSION = '1.276.0'
75+
GEM_VERSION = '1.277.0'
7676

7777
end

gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20645,6 +20645,7 @@ def describe_instance_types(params = {}, options = {})
2064520645
# resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
2064620646
# resp.reservations[0].instances[0].network_interfaces #=> Array
2064720647
# resp.reservations[0].instances[0].network_interfaces[0].association.carrier_ip #=> String
20648+
# resp.reservations[0].instances[0].network_interfaces[0].association.customer_owned_ip #=> String
2064820649
# resp.reservations[0].instances[0].network_interfaces[0].association.ip_owner_id #=> String
2064920650
# resp.reservations[0].instances[0].network_interfaces[0].association.public_dns_name #=> String
2065020651
# resp.reservations[0].instances[0].network_interfaces[0].association.public_ip #=> String
@@ -20667,6 +20668,7 @@ def describe_instance_types(params = {}, options = {})
2066720668
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_address #=> String
2066820669
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses #=> Array
2066920670
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.carrier_ip #=> String
20671+
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.customer_owned_ip #=> String
2067020672
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
2067120673
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
2067220674
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
@@ -43424,6 +43426,7 @@ def revoke_security_group_ingress(params = {}, options = {})
4342443426
# resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
4342543427
# resp.instances[0].network_interfaces #=> Array
4342643428
# resp.instances[0].network_interfaces[0].association.carrier_ip #=> String
43429+
# resp.instances[0].network_interfaces[0].association.customer_owned_ip #=> String
4342743430
# resp.instances[0].network_interfaces[0].association.ip_owner_id #=> String
4342843431
# resp.instances[0].network_interfaces[0].association.public_dns_name #=> String
4342943432
# resp.instances[0].network_interfaces[0].association.public_ip #=> String
@@ -43446,6 +43449,7 @@ def revoke_security_group_ingress(params = {}, options = {})
4344643449
# resp.instances[0].network_interfaces[0].private_ip_address #=> String
4344743450
# resp.instances[0].network_interfaces[0].private_ip_addresses #=> Array
4344843451
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.carrier_ip #=> String
43452+
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.customer_owned_ip #=> String
4344943453
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
4345043454
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
4345143455
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
@@ -45224,7 +45228,7 @@ def build_request(operation_name, params = {})
4522445228
params: params,
4522545229
config: config)
4522645230
context[:gem_name] = 'aws-sdk-ec2'
45227-
context[:gem_version] = '1.276.0'
45231+
context[:gem_version] = '1.277.0'
4522845232
Seahorse::Client::Request.new(handlers, context)
4522945233
end
4523045234

0 commit comments

Comments
 (0)