From e29240778ee0bbcefa779891c82f2b0b3ba70fe0 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 5 Nov 2021 11:19:18 -0700 Subject: [PATCH] Release v1.41.19 (2021-11-05) (#4162) 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 --- CHANGELOG.md | 10 + aws/version.go | 2 +- models/apis/ec2/2016-11-15/api-2.json | 4 + models/apis/ec2/2016-11-15/docs-2.json | 1 + .../2017-01-26/docs-2.json | 54 ++-- models/apis/translate/2017-07-01/api-2.json | 4 +- models/apis/translate/2017-07-01/docs-2.json | 21 +- service/ec2/api.go | 9 + service/resourcegroupstaggingapi/api.go | 235 ++++++++++-------- service/resourcegroupstaggingapi/errors.go | 12 +- service/translate/api.go | 92 +++++-- 11 files changed, 285 insertions(+), 159 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1016fc94fe..20f0438db47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) === diff --git a/aws/version.go b/aws/version.go index 0291fd75e4b..ac69a8a2cbb 100644 --- a/aws/version.go +++ b/aws/version.go @@ -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" diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index c20e7e7553a..a9349cac498 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -21430,6 +21430,10 @@ "shape":"String", "locationName":"carrierIp" }, + "CustomerOwnedIp":{ + "shape":"String", + "locationName":"customerOwnedIp" + }, "IpOwnerId":{ "shape":"String", "locationName":"ipOwnerId" diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 2f190c69461..da6b60c2e8a 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -15625,6 +15625,7 @@ "InstanceNetworkInterface$VpcId": "

The ID of the VPC.

", "InstanceNetworkInterface$InterfaceType": "

Describes the type of network interface.

Valid values: interface | efa | trunk

", "InstanceNetworkInterfaceAssociation$CarrierIp": "

The carrier IP address associated with the network interface.

", + "InstanceNetworkInterfaceAssociation$CustomerOwnedIp": "

The customer-owned IP address associated with the network interface.

", "InstanceNetworkInterfaceAssociation$IpOwnerId": "

The ID of the owner of the Elastic IP address.

", "InstanceNetworkInterfaceAssociation$PublicDnsName": "

The public DNS name.

", "InstanceNetworkInterfaceAssociation$PublicIp": "

The public IP address or Elastic IP address bound to the network interface.

", diff --git a/models/apis/resourcegroupstaggingapi/2017-01-26/docs-2.json b/models/apis/resourcegroupstaggingapi/2017-01-26/docs-2.json index 2bc5434c5c4..ac0ca402c65 100644 --- a/models/apis/resourcegroupstaggingapi/2017-01-26/docs-2.json +++ b/models/apis/resourcegroupstaggingapi/2017-01-26/docs-2.json @@ -3,20 +3,20 @@ "service": "Resource Groups Tagging API", "operations": { "DescribeReportCreation": "

Describes the status of the StartReportCreation operation.

You can call this operation only from the organization's management account and from the us-east-1 Region.

", - "GetComplianceSummary": "

Returns a table that shows counts of resources that are noncompliant with their tag policies.

For more information on tag policies, see Tag Policies in the AWS Organizations User Guide.

You can call this operation only from the organization's management account and from the us-east-1 Region.

This operation supports pagination, where the response can be sent in multiple pages. You should check the PaginationToken response parameter to determine if there are additional results available to return. Repeat the query, passing the PaginationToken response parameter value as an input to the next request until you recieve a null value. A null value for PaginationToken indicates that there are no more results waiting to be returned.

", - "GetResources": "

Returns all the tagged or previously tagged resources that are located in the specified Region for the AWS account.

Depending on what information you want returned, you can also specify the following:

This operation supports pagination, where the response can be sent in multiple pages. You should check the PaginationToken response parameter to determine if there are additional results available to return. Repeat the query, passing the PaginationToken response parameter value as an input to the next request until you recieve a null value. A null value for PaginationToken indicates that there are no more results waiting to be returned.

", - "GetTagKeys": "

Returns all tag keys currently in use in the specified Region for the calling AWS account.

This operation supports pagination, where the response can be sent in multiple pages. You should check the PaginationToken response parameter to determine if there are additional results available to return. Repeat the query, passing the PaginationToken response parameter value as an input to the next request until you recieve a null value. A null value for PaginationToken indicates that there are no more results waiting to be returned.

", - "GetTagValues": "

Returns all tag values for the specified key that are used in the specified AWS Region for the calling AWS account.

This operation supports pagination, where the response can be sent in multiple pages. You should check the PaginationToken response parameter to determine if there are additional results available to return. Repeat the query, passing the PaginationToken response parameter value as an input to the next request until you recieve a null value. A null value for PaginationToken indicates that there are no more results waiting to be returned.

", + "GetComplianceSummary": "

Returns a table that shows counts of resources that are noncompliant with their tag policies.

For more information on tag policies, see Tag Policies in the Organizations User Guide.

You can call this operation only from the organization's management account and from the us-east-1 Region.

This operation supports pagination, where the response can be sent in multiple pages. You should check the PaginationToken response parameter to determine if there are additional results available to return. Repeat the query, passing the PaginationToken response parameter value as an input to the next request until you recieve a null value. A null value for PaginationToken indicates that there are no more results waiting to be returned.

", + "GetResources": "

Returns all the tagged or previously tagged resources that are located in the specified Amazon Web Services Region for the account.

Depending on what information you want returned, you can also specify the following:

This operation supports pagination, where the response can be sent in multiple pages. You should check the PaginationToken response parameter to determine if there are additional results available to return. Repeat the query, passing the PaginationToken response parameter value as an input to the next request until you recieve a null value. A null value for PaginationToken indicates that there are no more results waiting to be returned.

", + "GetTagKeys": "

Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling account.

This operation supports pagination, where the response can be sent in multiple pages. You should check the PaginationToken response parameter to determine if there are additional results available to return. Repeat the query, passing the PaginationToken response parameter value as an input to the next request until you recieve a null value. A null value for PaginationToken indicates that there are no more results waiting to be returned.

", + "GetTagValues": "

Returns all tag values for the specified key that are used in the specified Amazon Web Services Region for the calling account.

This operation supports pagination, where the response can be sent in multiple pages. You should check the PaginationToken response parameter to determine if there are additional results available to return. Repeat the query, passing the PaginationToken response parameter value as an input to the next request until you recieve a null value. A null value for PaginationToken indicates that there are no more results waiting to be returned.

", "StartReportCreation": "

Generates a report that lists all tagged resources in the accounts across your organization and tells whether each resource is compliant with the effective tag policy. Compliance data is refreshed daily. The report is generated asynchronously.

The generated report is saved to the following location:

s3://example-bucket/AwsTagPolicies/o-exampleorgid/YYYY-MM-ddTHH:mm:ssZ/report.csv

You can call this operation only from the organization's management account and from the us-east-1 Region.

", - "TagResources": "

Applies one or more tags to the specified resources. Note the following:

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

", - "UntagResources": "

Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:

" + "TagResources": "

Applies one or more tags to the specified resources. Note the following:

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

Minimum permissions

In addition to the tag:TagResources permission required by this operation, you must also have the tagging permission defined by the service that created the resource. For example, to tag an Amazon EC2 instance using the TagResources operation, you must have both of the following permissions:

", + "UntagResources": "

Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:

Minimum permissions

In addition to the tag:UntagResources permission required by this operation, you must also have the remove tags permission defined by the service that created the resource. For example, to remove the tags from an Amazon EC2 instance using the UntagResources operation, you must have both of the following permissions:

" }, "shapes": { "AmazonResourceType": { "base": null, "refs": { "ResourceTypeFilterList$member": null, - "Summary$ResourceType": "

The AWS resource type.

" + "Summary$ResourceType": "

The Amazon Web Services resource type.

" } }, "ComplianceDetails": { @@ -37,7 +37,7 @@ } }, "ConstraintViolationException": { - "base": "

The request was denied because performing this operation violates a constraint.

Some of the reasons in the following list might not apply to this specific operation.

", + "base": "

The request was denied because performing this operation violates a constraint.

Some of the reasons in the following list might not apply to this specific operation.

", "refs": { } }, @@ -54,7 +54,7 @@ "ErrorCode": { "base": null, "refs": { - "FailureInfo$ErrorCode": "

The code of the common error. Valid values include InternalServiceException, InvalidParameterException, and any valid error code returned by the AWS service that hosts the resource that you want to tag.

" + "FailureInfo$ErrorCode": "

The code of the common error. Valid values include InternalServiceException, InvalidParameterException, and any valid error code returned by the Amazon Web Services service that hosts the resource that you want to tag.

" } }, "ErrorMessage": { @@ -89,7 +89,7 @@ } }, "FailureInfo": { - "base": "

Information about the errors that are returned for each failed resource. This information can include InternalServiceException and InvalidParameterException errors. It can also include any valid error code returned by the AWS service that hosts the resource that the ARN key represents.

The following are common error codes that you might receive from other AWS services:

For more information on errors that are generated from other AWS services, see the documentation for that service.

", + "base": "

Information about the errors that are returned for each failed resource. This information can include InternalServiceException and InvalidParameterException errors. It can also include any valid error code returned by the Amazon Web Services service that hosts the resource that the ARN key represents.

The following are common error codes that you might receive from other Amazon Web Services services:

For more information on errors that are generated from other Amazon Web Services services, see the documentation for that service.

", "refs": { "FailedResourcesMap$value": null } @@ -158,7 +158,7 @@ } }, "InvalidParameterException": { - "base": "

This error indicates one of the following:

", + "base": "

This error indicates one of the following:

", "refs": { } }, @@ -202,13 +202,13 @@ "base": null, "refs": { "RegionFilterList$member": null, - "Summary$Region": "

The AWS Region that the summary applies to.

" + "Summary$Region": "

The Amazon Web Services Region that the summary applies to.

" } }, "RegionFilterList": { "base": null, "refs": { - "GetComplianceSummaryInput$RegionFilters": "

Specifies a list of AWS Regions to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources in the specified Regions.

" + "GetComplianceSummaryInput$RegionFilters": "

Specifies a list of Amazon Web Services Regions to limit the output to. If you use this parameter, the count of returned noncompliant resources includes only resources in the specified Regions.

" } }, "ResourceARN": { @@ -223,14 +223,14 @@ "ResourceARNListForGet": { "base": null, "refs": { - "GetResourcesInput$ResourceARNList": "

Specifies a list of ARNs of resources for which you want to retrieve tag data. You can't specify both this parameter and any of the pagination parameters (ResourcesPerPage, TagsPerPage, PaginationToken) in the same request. If you specify both, you get an Invalid Parameter exception.

If a resource specified by this parameter doesn't exist, it doesn't generate an error; it simply isn't included in the response.

An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

" + "GetResourcesInput$ResourceARNList": "

Specifies a list of ARNs of resources for which you want to retrieve tag data. You can't specify both this parameter and any of the pagination parameters (ResourcesPerPage, TagsPerPage, PaginationToken) in the same request. If you specify both, you get an Invalid Parameter exception.

If a resource specified by this parameter doesn't exist, it doesn't generate an error; it simply isn't included in the response.

An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

" } }, "ResourceARNListForTagUntag": { "base": null, "refs": { - "TagResourcesInput$ResourceARNList": "

Specifies the list of ARNs of the resources that you want to apply tags to.

An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

", - "UntagResourcesInput$ResourceARNList": "

Specifies a list of ARNs of the resources that you want to remove tags from.

An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

" + "TagResourcesInput$ResourceARNList": "

Specifies the list of ARNs of the resources that you want to apply tags to.

An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

", + "UntagResourcesInput$ResourceARNList": "

Specifies a list of ARNs of the resources that you want to remove tags from.

An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.

" } }, "ResourceTagMapping": { @@ -242,14 +242,14 @@ "ResourceTagMappingList": { "base": null, "refs": { - "GetResourcesOutput$ResourceTagMappingList": "

A list of resource ARNs and the tags (keys and values) associated with those ARNs.

" + "GetResourcesOutput$ResourceTagMappingList": "

A list of resource ARNs and the tags (keys and values) associated with each.

" } }, "ResourceTypeFilterList": { "base": null, "refs": { - "GetComplianceSummaryInput$ResourceTypeFilters": "

Specifies that you want the response to include information for only resources of the specified types. The format of each resource type is service[:resourceType]. For example, specifying a resource type of ec2 returns all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of ec2:instance returns only EC2 instances.

The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following:

You can specify multiple resource types by using a comma separated array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.

", - "GetResourcesInput$ResourceTypeFilters": "

Specifies the resource types that you want included in the response. The format of each resource type is service[:resourceType]. For example, specifying a resource type of ec2 returns all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of ec2:instance returns only EC2 instances.

The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following:

For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

You can specify multiple resource types by using an array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.

" + "GetComplianceSummaryInput$ResourceTypeFilters": "

Specifies that you want the response to include information for only resources of the specified types. The format of each resource type is service[:resourceType]. For example, specifying a resource type of ec2 returns all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of ec2:instance returns only EC2 instances.

The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the Amazon Web Services General Reference for the following:

You can specify multiple resource types by using a comma separated array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.

", + "GetResourcesInput$ResourceTypeFilters": "

Specifies the resource types that you want included in the response. The format of each resource type is service[:resourceType]. For example, specifying a resource type of ec2 returns all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of ec2:instance returns only EC2 instances.

The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). For the list of services whose resources you can use in this parameter, see Services that support the Resource Groups Tagging API.

You can specify multiple resource types by using an array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter. For example, the following string would limit the response to only Amazon EC2 instances, Amazon S3 buckets, or any Audit Manager resource:

ec2:instance,s3:bucket,auditmanager

" } }, "ResourcesPerPage": { @@ -305,7 +305,7 @@ } }, "Tag": { - "base": "

The metadata that you apply to AWS resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging AWS Resources in the AWS General Reference.

", + "base": "

The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

", "refs": { "TagList$member": null } @@ -319,13 +319,13 @@ "TagFilterList": { "base": null, "refs": { - "GetResourcesInput$TagFilters": "

Specifies a list of TagFilters (keys and values) to restrict the output to only those resources that have the specified tag and, if included, the specified value. Each TagFilter must contain a key with values optional. A request can include up to 50 keys, and each key can include up to 20 values.

Note the following when deciding how to use TagFilters:

" + "GetResourcesInput$TagFilters": "

Specifies a list of TagFilters (keys and values) to restrict the output to only those resources that have tags with the specified keys and, if included, the specified values. Each TagFilter must contain a key with values optional. A request can include up to 50 keys, and each key can include up to 20 values.

Note the following when deciding how to use TagFilters:

" } }, "TagKey": { "base": null, "refs": { - "GetTagValuesInput$Key": "

Specifies the tag key for which you want to list all existing values that are currently used in the specified AWS Region for the calling AWS account.

", + "GetTagValuesInput$Key": "

Specifies the tag key for which you want to list all existing values that are currently used in the specified Amazon Web Services Region for the calling account.

", "Tag$Key": "

One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

", "TagFilter$Key": "

One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

", "TagKeyFilterList$member": null, @@ -345,7 +345,7 @@ "refs": { "ComplianceDetails$NoncompliantKeys": "

These tag keys on the resource are noncompliant with the effective tag policy.

", "ComplianceDetails$KeysWithNoncompliantValues": "

These are keys defined in the effective policy that are on the resource with either incorrect case treatment or noncompliant values.

", - "GetTagKeysOutput$TagKeys": "

A list of all tag keys in the AWS account.

" + "GetTagKeysOutput$TagKeys": "

A list of all tag keys in the Amazon Web Services account.

" } }, "TagKeyListForUntag": { @@ -357,7 +357,7 @@ "TagList": { "base": null, "refs": { - "ResourceTagMapping$Tags": "

The tags that have been applied to one or more AWS resources.

" + "ResourceTagMapping$Tags": "

The tags that have been applied to one or more Amazon Web Services resources.

" } }, "TagMap": { @@ -394,19 +394,19 @@ "TagValuesOutputList": { "base": null, "refs": { - "GetTagValuesOutput$TagValues": "

A list of all tag values for the specified key currently used in the specified AWS Region for the calling AWS account.

" + "GetTagValuesOutput$TagValues": "

A list of all tag values for the specified key currently used in the specified Amazon Web Services Region for the calling account.

" } }, "TagsPerPage": { "base": null, "refs": { - "GetResourcesInput$TagsPerPage": "

AWS recommends using ResourcesPerPage instead of this parameter.

A limit that restricts the number of tags (key and value pairs) returned by GetResources in paginated output. A resource with no tags is counted as having one tag (one key and value pair).

GetResources does not split a resource and its associated tags across pages. If the specified TagsPerPage would cause such a break, a PaginationToken is returned in place of the affected resource and its tags. Use that token in another request to get the remaining data. For example, if you specify a TagsPerPage of 100 and the account has 22 resources with 10 tags each (meaning that each resource has 10 key and value pairs), the output will consist of three pages. The first page displays the first 10 resources, each with its 10 tags. The second page displays the next 10 resources, each with its 10 tags. The third page displays the remaining 2 resources, each with its 10 tags.

You can set TagsPerPage to a minimum of 100 items up to a maximum of 500 items.

" + "GetResourcesInput$TagsPerPage": "

Amazon Web Services recommends using ResourcesPerPage instead of this parameter.

A limit that restricts the number of tags (key and value pairs) returned by GetResources in paginated output. A resource with no tags is counted as having one tag (one key and value pair).

GetResources does not split a resource and its associated tags across pages. If the specified TagsPerPage would cause such a break, a PaginationToken is returned in place of the affected resource and its tags. Use that token in another request to get the remaining data. For example, if you specify a TagsPerPage of 100 and the account has 22 resources with 10 tags each (meaning that each resource has 10 key and value pairs), the output will consist of three pages. The first page displays the first 10 resources, each with its 10 tags. The second page displays the next 10 resources, each with its 10 tags. The third page displays the remaining 2 resources, each with its 10 tags.

You can set TagsPerPage to a minimum of 100 items up to a maximum of 500 items.

" } }, "TargetId": { "base": null, "refs": { - "Summary$TargetId": "

The account identifier or the root identifier of the organization. If you don't know the root ID, you can call the AWS Organizations ListRoots API.

", + "Summary$TargetId": "

The account identifier or the root identifier of the organization. If you don't know the root ID, you can call the Organizations ListRoots API.

", "TargetIdFilterList$member": null } }, diff --git a/models/apis/translate/2017-07-01/api-2.json b/models/apis/translate/2017-07-01/api-2.json index 720e8216f68..c8433a4d5dd 100644 --- a/models/apis/translate/2017-07-01/api-2.json +++ b/models/apis/translate/2017-07-01/api-2.json @@ -174,6 +174,7 @@ {"shape":"UnsupportedLanguagePairException"}, {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidParameterValueException"}, {"shape":"InternalServerException"} ] }, @@ -578,7 +579,8 @@ "type":"structure", "required":["S3Uri"], "members":{ - "S3Uri":{"shape":"S3Uri"} + "S3Uri":{"shape":"S3Uri"}, + "EncryptionKey":{"shape":"EncryptionKey"} } }, "ParallelDataArn":{ diff --git a/models/apis/translate/2017-07-01/docs-2.json b/models/apis/translate/2017-07-01/docs-2.json index e63eafe32d7..47d2bf018bf 100644 --- a/models/apis/translate/2017-07-01/docs-2.json +++ b/models/apis/translate/2017-07-01/docs-2.json @@ -2,10 +2,10 @@ "version": "2.0", "service": "

Provides translation between one source language and another of the same set of languages.

", "operations": { - "CreateParallelData": "

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.

", + "CreateParallelData": "

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.

", "DeleteParallelData": "

Deletes a parallel data resource in Amazon Translate.

", "DeleteTerminology": "

A synchronous action that deletes a custom terminology.

", - "DescribeTextTranslationJob": "

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.

", + "DescribeTextTranslationJob": "

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.

", "GetParallelData": "

Provides information about a parallel data resource.

", "GetTerminology": "

Retrieves a custom terminology.

", "ImportTerminology": "

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.

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.

", @@ -57,7 +57,7 @@ "ContentType": { "base": null, "refs": { - "InputDataConfig$ContentType": "

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:

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

" + "InputDataConfig$ContentType": "

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:

If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.

" } }, "CreateParallelDataRequest": { @@ -115,6 +115,7 @@ "refs": { "CreateParallelDataRequest$EncryptionKey": null, "ImportTerminologyRequest$EncryptionKey": "

The encryption key for the custom terminology being imported.

", + "OutputDataConfig$EncryptionKey": null, "ParallelDataProperties$EncryptionKey": null, "TerminologyProperties$EncryptionKey": "

The encryption key for the custom terminology.

" } @@ -154,7 +155,7 @@ "IamRoleArn": { "base": null, "refs": { - "StartTextTranslationJobRequest$DataAccessRoleArn": "

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 identity-and-access-management.

", + "StartTextTranslationJobRequest$DataAccessRoleArn": "

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 identity-and-access-management.

", "TextTranslationJobProperties$DataAccessRoleArn": "

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.

" } }, @@ -329,7 +330,7 @@ "ListTerminologiesRequest$NextToken": "

If the result of the request to ListTerminologies was truncated, include the NextToken to fetch the next group of custom terminologies.

", "ListTerminologiesResponse$NextToken": "

If the response to the ListTerminologies was truncated, the NextToken fetches the next group of custom terminologies.

", "ListTextTranslationJobsRequest$NextToken": "

The token to request the next page of results.

", - "ListTextTranslationJobsResponse$NextToken": "

The token to use to retreive the next page of results. This value is null when there are no more results to return.

" + "ListTextTranslationJobsResponse$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

" } }, "OutputDataConfig": { @@ -356,7 +357,7 @@ "ParallelDataDataLocation": { "base": "

The location of the most recent parallel data input file that was successfully imported into Amazon Translate.

", "refs": { - "GetParallelDataResponse$DataLocation": "

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.

", + "GetParallelDataResponse$DataLocation": "

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.

Amazon Translate doesn't scan parallel data input files for the risk of CSV injection attacks.

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.

Before you download a parallel data input file from Amazon S3, ensure that you recognize the file and trust its creator.

", "GetParallelDataResponse$AuxiliaryDataLocation": "

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.

", "GetParallelDataResponse$LatestUpdateAttemptAuxiliaryDataLocation": "

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.

" } @@ -413,8 +414,8 @@ "ResourceNameList": { "base": null, "refs": { - "StartTextTranslationJobRequest$TerminologyNames": "

The name of the terminology to use in the batch translation job. For a list of available terminologies, use the ListTerminologies operation.

", - "StartTextTranslationJobRequest$ParallelDataNames": "

The names of the parallel data resources to use in the batch translation job. For a list of available parallel data resources, use the ListParallelData operation.

", + "StartTextTranslationJobRequest$TerminologyNames": "

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.

This parameter accepts only one custom terminology resource.

For a list of available custom terminology resources, use the ListTerminologies operation.

For more information, see how-custom-terminology.

", + "StartTextTranslationJobRequest$ParallelDataNames": "

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 Active Custom Translation job.

This parameter accepts only one parallel data resource.

Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing.

For a list of available parallel data resources, use the ListParallelData operation.

For more information, see customizing-translations-parallel-data.

", "TextTranslationJobProperties$TerminologyNames": "

A list containing the names of the terminologies applied to a translation job. Only one terminology can be applied per StartTextTranslationJob request at this time.

", "TextTranslationJobProperties$ParallelDataNames": "

A list containing the names of the parallel data resources applied to the translation job.

", "TranslateTextRequest$TerminologyNames": "

The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a TranslateText request. Terminology lists can contain a maximum of 256 terms.

" @@ -470,7 +471,7 @@ "InvalidRequestException$Message": null, "LimitExceededException$Message": null, "ParallelDataDataLocation$RepositoryType": "

Describes the repository that contains the parallel data input file.

", - "ParallelDataDataLocation$Location": "

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.

", + "ParallelDataDataLocation$Location": "

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.

Amazon Translate doesn't scan parallel data input files for the risk of CSV injection attacks.

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.

Before you download a parallel data input file from Amazon S3, ensure that you recognize the file and trust its creator.

", "ResourceNotFoundException$Message": null, "ServiceUnavailableException$Message": null, "Term$SourceText": "

The source text of the term being translated by the custom terminology.

", @@ -605,7 +606,7 @@ "base": null, "refs": { "ParallelDataProperties$Message": "

Additional information from Amazon Translate about the parallel data resource.

", - "TextTranslationJobProperties$Message": "

An explanation of any errors that may have occured during the translation job.

" + "TextTranslationJobProperties$Message": "

An explanation of any errors that may have occurred during the translation job.

" } }, "UnsupportedLanguagePairException": { diff --git a/service/ec2/api.go b/service/ec2/api.go index 0ebb0fe9f8e..009d2838b59 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -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"` @@ -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 diff --git a/service/resourcegroupstaggingapi/api.go b/service/resourcegroupstaggingapi/api.go index 05d79bad847..7f159aac6ad 100644 --- a/service/resourcegroupstaggingapi/api.go +++ b/service/resourcegroupstaggingapi/api.go @@ -76,12 +76,12 @@ func (c *ResourceGroupsTaggingAPI) DescribeReportCreationRequest(input *Describe // operation. // // * You must meet the prerequisites for using tag policies. For information, -// see Prerequisites and Permissions for Using Tag Policies (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) -// in the AWS Organizations User Guide. +// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) +// in the Organizations User Guide. // // * You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) -// to integrate with AWS Organizations For information, see EnableAWSServiceAccess -// (http://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). +// to integrate with Organizations For information, see EnableAWSServiceAccess +// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). // // * You must have a tag policy attached to the organization root, an OU, // or an account. @@ -103,8 +103,8 @@ func (c *ResourceGroupsTaggingAPI) DescribeReportCreationRequest(input *Describe // // * You can't access the Amazon S3 bucket for report storage. For more information, // see Additional Requirements for Organization-wide Tag Compliance Reports -// (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the AWS Organizations User Guide. +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // // * ThrottledException // The request was denied to limit the frequency of submitted requests. @@ -185,7 +185,7 @@ func (c *ResourceGroupsTaggingAPI) GetComplianceSummaryRequest(input *GetComplia // their tag policies. // // For more information on tag policies, see Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) -// in the AWS Organizations User Guide. +// in the Organizations User Guide. // // You can call this operation only from the organization's management account // and from the us-east-1 Region. @@ -212,12 +212,12 @@ func (c *ResourceGroupsTaggingAPI) GetComplianceSummaryRequest(input *GetComplia // operation. // // * You must meet the prerequisites for using tag policies. For information, -// see Prerequisites and Permissions for Using Tag Policies (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) -// in the AWS Organizations User Guide. +// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) +// in the Organizations User Guide. // // * You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) -// to integrate with AWS Organizations For information, see EnableAWSServiceAccess -// (http://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). +// to integrate with Organizations For information, see EnableAWSServiceAccess +// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). // // * You must have a tag policy attached to the organization root, an OU, // or an account. @@ -239,8 +239,8 @@ func (c *ResourceGroupsTaggingAPI) GetComplianceSummaryRequest(input *GetComplia // // * You can't access the Amazon S3 bucket for report storage. For more information, // see Additional Requirements for Organization-wide Tag Compliance Reports -// (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the AWS Organizations User Guide. +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // // * ThrottledException // The request was denied to limit the frequency of submitted requests. @@ -370,7 +370,7 @@ func (c *ResourceGroupsTaggingAPI) GetResourcesRequest(input *GetResourcesInput) // GetResources API operation for AWS Resource Groups Tagging API. // // Returns all the tagged or previously tagged resources that are located in -// the specified Region for the AWS account. +// the specified Amazon Web Services Region for the account. // // Depending on what information you want returned, you can also specify the // following: @@ -381,7 +381,7 @@ func (c *ResourceGroupsTaggingAPI) GetResourcesRequest(input *GetResourcesInput) // // * Information about compliance with the account's effective tag policy. // For more information on tag policies, see Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) -// in the AWS Organizations User Guide. +// in the Organizations User Guide. // // This operation supports pagination, where the response can be sent in multiple // pages. You should check the PaginationToken response parameter to determine @@ -411,8 +411,8 @@ func (c *ResourceGroupsTaggingAPI) GetResourcesRequest(input *GetResourcesInput) // // * You can't access the Amazon S3 bucket for report storage. For more information, // see Additional Requirements for Organization-wide Tag Compliance Reports -// (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the AWS Organizations User Guide. +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // // * ThrottledException // The request was denied to limit the frequency of submitted requests. @@ -549,8 +549,8 @@ func (c *ResourceGroupsTaggingAPI) GetTagKeysRequest(input *GetTagKeysInput) (re // GetTagKeys API operation for AWS Resource Groups Tagging API. // -// Returns all tag keys currently in use in the specified Region for the calling -// AWS account. +// Returns all tag keys currently in use in the specified Amazon Web Services +// Region for the calling account. // // This operation supports pagination, where the response can be sent in multiple // pages. You should check the PaginationToken response parameter to determine @@ -580,8 +580,8 @@ func (c *ResourceGroupsTaggingAPI) GetTagKeysRequest(input *GetTagKeysInput) (re // // * You can't access the Amazon S3 bucket for report storage. For more information, // see Additional Requirements for Organization-wide Tag Compliance Reports -// (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the AWS Organizations User Guide. +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // // * ThrottledException // The request was denied to limit the frequency of submitted requests. @@ -719,7 +719,7 @@ func (c *ResourceGroupsTaggingAPI) GetTagValuesRequest(input *GetTagValuesInput) // GetTagValues API operation for AWS Resource Groups Tagging API. // // Returns all tag values for the specified key that are used in the specified -// AWS Region for the calling AWS account. +// Amazon Web Services Region for the calling account. // // This operation supports pagination, where the response can be sent in multiple // pages. You should check the PaginationToken response parameter to determine @@ -749,8 +749,8 @@ func (c *ResourceGroupsTaggingAPI) GetTagValuesRequest(input *GetTagValuesInput) // // * You can't access the Amazon S3 bucket for report storage. For more information, // see Additional Requirements for Organization-wide Tag Compliance Reports -// (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the AWS Organizations User Guide. +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // // * ThrottledException // The request was denied to limit the frequency of submitted requests. @@ -912,12 +912,12 @@ func (c *ResourceGroupsTaggingAPI) StartReportCreationRequest(input *StartReport // operation. // // * You must meet the prerequisites for using tag policies. For information, -// see Prerequisites and Permissions for Using Tag Policies (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) -// in the AWS Organizations User Guide. +// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) +// in the Organizations User Guide. // // * You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) -// to integrate with AWS Organizations For information, see EnableAWSServiceAccess -// (http://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). +// to integrate with Organizations For information, see EnableAWSServiceAccess +// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). // // * You must have a tag policy attached to the organization root, an OU, // or an account. @@ -939,8 +939,8 @@ func (c *ResourceGroupsTaggingAPI) StartReportCreationRequest(input *StartReport // // * You can't access the Amazon S3 bucket for report storage. For more information, // see Additional Requirements for Organization-wide Tag Compliance Reports -// (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the AWS Organizations User Guide. +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // // * ThrottledException // The request was denied to limit the frequency of submitted requests. @@ -1016,13 +1016,16 @@ func (c *ResourceGroupsTaggingAPI) TagResourcesRequest(input *TagResourcesInput) // * Not all resources can have tags. For a list of services with resources // that support tagging using this operation, see Services that support the // Resource Groups Tagging API (https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/supported-services.html). +// If the resource doesn't yet support this operation, the resource's service +// might support tagging using its own API operations. For more information, +// refer to the documentation for that service. // // * Each resource can have up to 50 tags. For other limits, see Tag Naming // and Usage Conventions (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions) -// in the AWS General Reference. +// in the Amazon Web Services General Reference. // -// * You can only tag resources that are located in the specified AWS Region -// for the AWS account. +// * You can only tag resources that are located in the specified Amazon +// Web Services Region for the Amazon Web Services account. // // * To add tags to a resource, you need the necessary permissions for the // service that the resource belongs to as well as permissions for adding @@ -1033,6 +1036,17 @@ func (c *ResourceGroupsTaggingAPI) TagResourcesRequest(input *TagResourcesInput) // and administration services. Tags are not intended to be used for private // or sensitive data. // +// Minimum permissions +// +// In addition to the tag:TagResources permission required by this operation, +// you must also have the tagging permission defined by the service that created +// the resource. For example, to tag an Amazon EC2 instance using the TagResources +// operation, you must have both of the following permissions: +// +// * tag:TagResource +// +// * ec2:CreateTags +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1054,8 +1068,8 @@ func (c *ResourceGroupsTaggingAPI) TagResourcesRequest(input *TagResourcesInput) // // * You can't access the Amazon S3 bucket for report storage. For more information, // see Additional Requirements for Organization-wide Tag Compliance Reports -// (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the AWS Organizations User Guide. +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // // * ThrottledException // The request was denied to limit the frequency of submitted requests. @@ -1140,8 +1154,20 @@ func (c *ResourceGroupsTaggingAPI) UntagResourcesRequest(input *UntagResourcesIn // tags. For more information, see the documentation for the service whose // resource you want to untag. // -// * You can only tag resources that are located in the specified AWS Region -// for the calling AWS account. +// * You can only tag resources that are located in the specified Amazon +// Web Services Region for the calling Amazon Web Services account. +// +// Minimum permissions +// +// In addition to the tag:UntagResources permission required by this operation, +// you must also have the remove tags permission defined by the service that +// created the resource. For example, to remove the tags from an Amazon EC2 +// instance using the UntagResources operation, you must have both of the following +// permissions: +// +// * tag:UntagResource +// +// * ec2:DeleteTags // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1164,8 +1190,8 @@ func (c *ResourceGroupsTaggingAPI) UntagResourcesRequest(input *UntagResourcesIn // // * You can't access the Amazon S3 bucket for report storage. For more information, // see Additional Requirements for Organization-wide Tag Compliance Reports -// (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the AWS Organizations User Guide. +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // // * ThrottledException // The request was denied to limit the frequency of submitted requests. @@ -1319,12 +1345,12 @@ func (s *ConcurrentModificationException) RequestID() string { // operation. // // * You must meet the prerequisites for using tag policies. For information, -// see Prerequisites and Permissions for Using Tag Policies (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) -// in the AWS Organizations User Guide. +// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) +// in the Organizations User Guide. // // * You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) -// to integrate with AWS Organizations For information, see EnableAWSServiceAccess -// (http://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). +// to integrate with Organizations For information, see EnableAWSServiceAccess +// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). // // * You must have a tag policy attached to the organization root, an OU, // or an account. @@ -1475,34 +1501,35 @@ func (s *DescribeReportCreationOutput) SetStatus(v string) *DescribeReportCreati // Information about the errors that are returned for each failed resource. // This information can include InternalServiceException and InvalidParameterException -// errors. It can also include any valid error code returned by the AWS service -// that hosts the resource that the ARN key represents. +// errors. It can also include any valid error code returned by the Amazon Web +// Services service that hosts the resource that the ARN key represents. // -// The following are common error codes that you might receive from other AWS -// services: +// The following are common error codes that you might receive from other Amazon +// Web Services services: // // * InternalServiceException – This can mean that the Resource Groups -// Tagging API didn't receive a response from another AWS service. It can -// also mean the the resource type in the request is not supported by the -// Resource Groups Tagging API. In these cases, it's safe to retry the request -// and then call GetResources (http://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html) +// Tagging API didn't receive a response from another Amazon Web Services +// service. It can also mean that the resource type in the request is not +// supported by the Resource Groups Tagging API. In these cases, it's safe +// to retry the request and then call GetResources (https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html) // to verify the changes. // // * AccessDeniedException – This can mean that you need permission to -// calling tagging operations in the AWS service that contains the resource. -// For example, to use the Resource Groups Tagging API to tag a CloudWatch -// alarm resource, you need permission to call TagResources (http://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_TagResources.html) -// and TagResource (http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html) +// call the tagging operations in the Amazon Web Services service that contains +// the resource. For example, to use the Resource Groups Tagging API to tag +// a Amazon CloudWatch alarm resource, you need permission to call both TagResources +// (https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_TagResources.html) +// and TagResource (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html) // in the CloudWatch API. // -// For more information on errors that are generated from other AWS services, -// see the documentation for that service. +// For more information on errors that are generated from other Amazon Web Services +// services, see the documentation for that service. type FailureInfo struct { _ struct{} `type:"structure"` // The code of the common error. Valid values include InternalServiceException, - // InvalidParameterException, and any valid error code returned by the AWS service - // that hosts the resource that you want to tag. + // InvalidParameterException, and any valid error code returned by the Amazon + // Web Services service that hosts the resource that you want to tag. ErrorCode *string `type:"string" enum:"ErrorCode"` // The message of the common error. @@ -1567,9 +1594,9 @@ type GetComplianceSummaryInput struct { // initial request. PaginationToken *string `type:"string"` - // Specifies a list of AWS Regions to limit the output by. If you use this parameter, - // the count of returned noncompliant resources includes only resources in the - // specified Regions. + // Specifies a list of Amazon Web Services Regions to limit the output to. If + // you use this parameter, the count of returned noncompliant resources includes + // only resources in the specified Regions. RegionFilters []*string `min:"1" type:"list"` // Specifies that you want the response to include information for only resources @@ -1579,15 +1606,17 @@ type GetComplianceSummaryInput struct { // returns only EC2 instances. // // The string for each service name and resource type is the same as that embedded - // in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference - // for the following: + // in a resource's Amazon Resource Name (ARN). Consult the Amazon Web Services + // General Reference (https://docs.aws.amazon.com/general/latest/gr/) for the + // following: // - // * For a list of service name strings, see AWS Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces). + // * For a list of service name strings, see Amazon Web Services Service + // Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces). // // * For resource type strings, see Example ARNs (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arns-syntax). // // * For more information about ARNs, see Amazon Resource Names (ARNs) and - // AWS Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + // Amazon Web Services Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). // // You can specify multiple resource types by using a comma separated array. // The array can include up to 100 items. Note that the length constraint requirement @@ -1760,8 +1789,9 @@ type GetResourcesInput struct { // an error; it simply isn't included in the response. // // An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, - // see Amazon Resource Names (ARNs) and AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - // in the AWS General Reference. + // see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces + // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the Amazon Web Services General Reference. ResourceARNList []*string `min:"1" type:"list"` // Specifies the resource types that you want included in the response. The @@ -1770,15 +1800,17 @@ type GetResourcesInput struct { // instances). Specifying a resource type of ec2:instance returns only EC2 instances. // // The string for each service name and resource type is the same as that embedded - // in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference - // for the following: - // - // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS - // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + // in a resource's Amazon Resource Name (ARN). For the list of services whose + // resources you can use in this parameter, see Services that support the Resource + // Groups Tagging API (https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/supported-services.html). // // You can specify multiple resource types by using an array. The array can // include up to 100 items. Note that the length constraint requirement applies - // to each resource type filter. + // to each resource type filter. For example, the following string would limit + // the response to only Amazon EC2 instances, Amazon S3 buckets, or any Audit + // Manager resource: + // + // ec2:instance,s3:bucket,auditmanager ResourceTypeFilters []*string `type:"list"` // Specifies the maximum number of results to be returned in each page. A query @@ -1789,9 +1821,9 @@ type GetResourcesInput struct { ResourcesPerPage *int64 `type:"integer"` // Specifies a list of TagFilters (keys and values) to restrict the output to - // only those resources that have the specified tag and, if included, the specified - // value. Each TagFilter must contain a key with values optional. A request - // can include up to 50 keys, and each key can include up to 20 values. + // only those resources that have tags with the specified keys and, if included, + // the specified values. Each TagFilter must contain a key with values optional. + // A request can include up to 50 keys, and each key can include up to 20 values. // // Note the following when deciding how to use TagFilters: // @@ -1806,9 +1838,9 @@ type GetResourcesInput struct { // the response returns resources that match any of the specified values // for that key. // - // * If you don't specify any values for a key, the response returns resources - // that are tagged with that key and any or no value. For example, for the - // following filters: filter1= {keyA,{value1}}, filter2={keyB,{value2,value3,value4}}, + // * If you don't specify a value for a key, the response returns all resources + // that are tagged with that key, with any or no value. For example, for + // the following filters: filter1= {keyA,{value1}}, filter2={keyB,{value2,value3,value4}}, // filter3= {keyC}: GetResources({filter1}) returns resources tagged with // key1=value1 GetResources({filter2}) returns resources tagged with key2=value2 // or key2=value3 or key2=value4 GetResources({filter3}) returns resources @@ -1817,7 +1849,7 @@ type GetResourcesInput struct { // or key2=value4) and (key3, any or no value) TagFilters []*TagFilter `type:"list"` - // AWS recommends using ResourcesPerPage instead of this parameter. + // Amazon Web Services recommends using ResourcesPerPage instead of this parameter. // // A limit that restricts the number of tags (key and value pairs) returned // by GetResources in paginated output. A resource with no tags is counted as @@ -1936,8 +1968,7 @@ type GetResourcesOutput struct { // value as the PaginationToken value in the request for the next page. PaginationToken *string `type:"string"` - // A list of resource ARNs and the tags (keys and values) associated with those - // ARNs. + // A list of resource ARNs and the tags (keys and values) associated with each. ResourceTagMappingList []*ResourceTagMapping `type:"list"` } @@ -2012,7 +2043,7 @@ type GetTagKeysOutput struct { // value as the PaginationToken value in the request for the next page. PaginationToken *string `type:"string"` - // A list of all tag keys in the AWS account. + // A list of all tag keys in the Amazon Web Services account. TagKeys []*string `type:"list"` } @@ -2050,7 +2081,8 @@ type GetTagValuesInput struct { _ struct{} `type:"structure"` // Specifies the tag key for which you want to list all existing values that - // are currently used in the specified AWS Region for the calling AWS account. + // are currently used in the specified Amazon Web Services Region for the calling + // account. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` @@ -2116,7 +2148,7 @@ type GetTagValuesOutput struct { PaginationToken *string `type:"string"` // A list of all tag values for the specified key currently used in the specified - // AWS Region for the calling AWS account. + // Amazon Web Services Region for the calling account. TagValues []*string `type:"list"` } @@ -2227,8 +2259,8 @@ func (s *InternalServiceException) RequestID() string { // // * You can't access the Amazon S3 bucket for report storage. For more information, // see Additional Requirements for Organization-wide Tag Compliance Reports -// (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the AWS Organizations User Guide. +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. type InvalidParameterException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -2369,7 +2401,7 @@ type ResourceTagMapping struct { // The ARN of the resource. ResourceARN *string `min:"1" type:"string"` - // The tags that have been applied to one or more AWS resources. + // The tags that have been applied to one or more Amazon Web Services resources. Tags []*Tag `type:"list"` } @@ -2495,14 +2527,14 @@ type Summary struct { // The count of noncompliant resources. NonCompliantResources *int64 `type:"long"` - // The AWS Region that the summary applies to. + // The Amazon Web Services Region that the summary applies to. Region *string `min:"1" type:"string"` - // The AWS resource type. + // The Amazon Web Services resource type. ResourceType *string `type:"string"` // The account identifier or the root identifier of the organization. If you - // don't know the root ID, you can call the AWS Organizations ListRoots (http://docs.aws.amazon.com/organizations/latest/APIReference/API_ListRoots.html) + // don't know the root ID, you can call the Organizations ListRoots (https://docs.aws.amazon.com/organizations/latest/APIReference/API_ListRoots.html) // API. TargetId *string `min:"6" type:"string"` @@ -2564,10 +2596,11 @@ func (s *Summary) SetTargetIdType(v string) *Summary { return s } -// The metadata that you apply to AWS resources to help you categorize and organize -// them. Each tag consists of a key and a value, both of which you define. For -// more information, see Tagging AWS Resources (http://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) -// in the AWS General Reference. +// The metadata that you apply to Amazon Web Services resources to help you +// categorize and organize them. Each tag consists of a key and a value, both +// of which you define. For more information, see Tagging Amazon Web Services +// Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) +// in the Amazon Web Services General Reference. type Tag struct { _ struct{} `type:"structure"` @@ -2677,8 +2710,9 @@ type TagResourcesInput struct { // Specifies the list of ARNs of the resources that you want to apply tags to. // // An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, - // see Amazon Resource Names (ARNs) and AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - // in the AWS General Reference. + // see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces + // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the Amazon Web Services General Reference. // // ResourceARNList is a required field ResourceARNList []*string `min:"1" type:"list" required:"true"` @@ -2846,8 +2880,9 @@ type UntagResourcesInput struct { // Specifies a list of ARNs of the resources that you want to remove tags from. // // An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, - // see Amazon Resource Names (ARNs) and AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - // in the AWS General Reference. + // see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces + // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // in the Amazon Web Services General Reference. // // ResourceARNList is a required field ResourceARNList []*string `min:"1" type:"list" required:"true"` diff --git a/service/resourcegroupstaggingapi/errors.go b/service/resourcegroupstaggingapi/errors.go index 0f4fa113639..d7ccece232a 100644 --- a/service/resourcegroupstaggingapi/errors.go +++ b/service/resourcegroupstaggingapi/errors.go @@ -24,12 +24,12 @@ const ( // operation. // // * You must meet the prerequisites for using tag policies. For information, - // see Prerequisites and Permissions for Using Tag Policies (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) - // in the AWS Organizations User Guide. + // see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) + // in the Organizations User Guide. // // * You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) - // to integrate with AWS Organizations For information, see EnableAWSServiceAccess - // (http://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). + // to integrate with Organizations For information, see EnableAWSServiceAccess + // (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). // // * You must have a tag policy attached to the organization root, an OU, // or an account. @@ -57,8 +57,8 @@ const ( // // * You can't access the Amazon S3 bucket for report storage. For more information, // see Additional Requirements for Organization-wide Tag Compliance Reports - // (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) - // in the AWS Organizations User Guide. + // (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) + // in the Organizations User Guide. ErrCodeInvalidParameterException = "InvalidParameterException" // ErrCodePaginationTokenExpiredException for service response error code diff --git a/service/translate/api.go b/service/translate/api.go index 0aa2ac6a966..cfb82f4d117 100644 --- a/service/translate/api.go +++ b/service/translate/api.go @@ -58,9 +58,9 @@ func (c *Translate) CreateParallelDataRequest(input *CreateParallelDataInput) (r // CreateParallelData API operation for Amazon Translate. // // 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. +// 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. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -343,7 +343,7 @@ func (c *Translate) DescribeTextTranslationJobRequest(input *DescribeTextTransla // DescribeTextTranslationJob API operation for Amazon Translate. // -// Gets the properties associated with an asycnhronous batch translation job +// 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. // @@ -1191,6 +1191,10 @@ func (c *Translate) StartTextTranslationJobRequest(input *StartTextTranslationJo // you're looking for and see if a different resource will accomplish your needs // before retrying the revised request. // +// * InvalidParameterValueException +// The value of the parameter is invalid. Review the value of the parameter +// you are using to correct it, and then retry your operation. +// // * InternalServerException // An internal server error occurred. Retry your request. // @@ -2292,9 +2296,20 @@ type GetParallelDataOutput struct { // a presigned URL to that has a 30 minute expiration. AuxiliaryDataLocation *ParallelDataDataLocation `type:"structure"` - // 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. + // 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. + // + // Amazon Translate doesn't scan parallel data input files for the risk of CSV + // injection attacks. + // + // 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. + // + // Before you download a parallel data input file from Amazon S3, ensure that + // you recognize the file and trust its creator. DataLocation *ParallelDataDataLocation `type:"structure"` // The Amazon S3 location of a file that provides any errors or warnings that @@ -2616,6 +2631,10 @@ type InputDataConfig struct { // * application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The // input data consists of one or more Excel Workbook files (.xlsx). // + // * application/x-xliff+xml: The input data consists of one or more XML + // Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate + // supports only XLIFF version 1.2. + // // If you structure your input data as HTML, ensure that you set this parameter // to text/html. By doing so, you cut costs by limiting the translation to the // contents of the html element in each file. Otherwise, if you set this parameter @@ -3315,7 +3334,7 @@ func (s *ListTextTranslationJobsInput) SetNextToken(v string) *ListTextTranslati type ListTextTranslationJobsOutput struct { _ struct{} `type:"structure"` - // The token to use to retreive the next page of results. This value is null + // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `type:"string"` @@ -3357,6 +3376,9 @@ func (s *ListTextTranslationJobsOutput) SetTextTranslationJobPropertiesList(v [] type OutputDataConfig struct { _ struct{} `type:"structure"` + // The encryption key used to encrypt this object. + EncryptionKey *EncryptionKey `type:"structure"` + // 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. // @@ -3388,6 +3410,11 @@ func (s *OutputDataConfig) Validate() error { if s.S3Uri == nil { invalidParams.Add(request.NewErrParamRequired("S3Uri")) } + if s.EncryptionKey != nil { + if err := s.EncryptionKey.Validate(); err != nil { + invalidParams.AddNested("EncryptionKey", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -3395,6 +3422,12 @@ func (s *OutputDataConfig) Validate() error { return nil } +// SetEncryptionKey sets the EncryptionKey field's value. +func (s *OutputDataConfig) SetEncryptionKey(v *EncryptionKey) *OutputDataConfig { + s.EncryptionKey = v + return s +} + // SetS3Uri sets the S3Uri field's value. func (s *OutputDataConfig) SetS3Uri(v string) *OutputDataConfig { s.S3Uri = &v @@ -3471,6 +3504,17 @@ type ParallelDataDataLocation struct { // 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. // + // Amazon Translate doesn't scan parallel data input files for the risk of CSV + // injection attacks. + // + // 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. + // + // Before you download a parallel data input file from Amazon S3, ensure that + // you recognize the file and trust its creator. + // // Location is a required field Location *string `type:"string" required:"true"` @@ -3836,7 +3880,7 @@ type StartTextTranslationJobInput struct { // 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 identity-and-access-management. + // information, see identity-and-access-management. // // DataAccessRoleArn is a required field DataAccessRoleArn *string `min:"20" type:"string" required:"true"` @@ -3855,9 +3899,21 @@ type StartTextTranslationJobInput struct { // OutputDataConfig is a required field OutputDataConfig *OutputDataConfig `type:"structure" required:"true"` - // The names of the parallel data resources to use in the batch translation - // job. For a list of available parallel data resources, use the ListParallelData + // 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 Active Custom Translation job. + // + // This parameter accepts only one parallel data resource. + // + // Active Custom Translation jobs are priced at a higher rate than other jobs + // that don't use parallel data. For more information, see Amazon Translate + // pricing (http://aws.amazon.com/translate/pricing/). + // + // For a list of available parallel data resources, use the ListParallelData // operation. + // + // For more information, see customizing-translations-parallel-data. ParallelDataNames []*string `type:"list"` // The language code of the input language. For a list of language codes, see @@ -3874,8 +3930,16 @@ type StartTextTranslationJobInput struct { // TargetLanguageCodes is a required field TargetLanguageCodes []*string `min:"1" type:"list" required:"true"` - // The name of the terminology to use in the batch translation job. For a list - // of available terminologies, use the ListTerminologies operation. + // 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. + // + // This parameter accepts only one custom terminology resource. + // + // For a list of available custom terminology resources, use the ListTerminologies + // operation. + // + // For more information, see how-custom-terminology. TerminologyNames []*string `type:"list"` } @@ -4756,7 +4820,7 @@ type TextTranslationJobProperties struct { // The status of the translation job. JobStatus *string `type:"string" enum:"JobStatus"` - // An explanation of any errors that may have occured during the translation + // An explanation of any errors that may have occurred during the translation // job. Message *string `type:"string"`