From 7a0e75346ae1776841ea6b67826cf837aeecdf3b Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 17 May 2024 14:28:55 -0400 Subject: [PATCH] Release v1.53.5 (2024-05-17) (#5263) Release v1.53.5 (2024-05-17) === ### Service Client Updates * `service/application-autoscaling`: Updates service API * `service/codebuild`: Updates service API and documentation * Aws CodeBuild now supports 36 hours build timeout * `service/elasticloadbalancingv2`: Updates service API and documentation * `service/lakeformation`: Updates service API and documentation * `service/transfer`: Updates service API and documentation * Enable use of CloudFormation traits in Smithy model to improve generated CloudFormation schema from the Smithy API model. --- CHANGELOG.md | 12 ++ aws/endpoints/defaults.go | 15 ++ aws/version.go | 2 +- .../2016-02-06/api-2.json | 1 + .../2016-02-06/smoke-2.json | 18 +++ models/apis/codebuild/2016-10-06/api-2.json | 15 +- models/apis/codebuild/2016-10-06/docs-2.json | 17 ++- .../2015-12-01/api-2.json | 4 +- .../2015-12-01/docs-2.json | 10 +- .../apis/lakeformation/2017-03-31/api-2.json | 27 ++++ .../apis/lakeformation/2017-03-31/docs-2.json | 17 +++ models/apis/transfer/2018-11-05/api-2.json | 28 ++-- models/apis/transfer/2018-11-05/docs-2.json | 12 +- models/endpoints/endpoints.json | 5 + service/codebuild/api.go | 10 +- service/elbv2/api.go | 56 +++++-- service/lakeformation/api.go | 138 ++++++++++++++++++ .../lakeformationiface/interface.go | 4 + service/transfer/api.go | 28 +++- 19 files changed, 369 insertions(+), 50 deletions(-) create mode 100644 models/apis/application-autoscaling/2016-02-06/smoke-2.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e0c85d3a67..f522f85dcbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +Release v1.53.5 (2024-05-17) +=== + +### Service Client Updates +* `service/application-autoscaling`: Updates service API +* `service/codebuild`: Updates service API and documentation + * Aws CodeBuild now supports 36 hours build timeout +* `service/elasticloadbalancingv2`: Updates service API and documentation +* `service/lakeformation`: Updates service API and documentation +* `service/transfer`: Updates service API and documentation + * Enable use of CloudFormation traits in Smithy model to improve generated CloudFormation schema from the Smithy API model. + Release v1.53.4 (2024-05-16) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index d4c6d8bce77..6db2a79e820 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -822,6 +822,12 @@ var awsPartition = partition{ }, "airflow": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{}, + endpointKey{ + Region: "ap-east-1", + }: endpoint{}, endpointKey{ Region: "ap-northeast-1", }: endpoint{}, @@ -846,6 +852,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-north-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-1", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, @@ -855,6 +864,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-south-1", + }: endpoint{}, endpointKey{ Region: "sa-east-1", }: endpoint{}, @@ -864,6 +876,9 @@ var awsPartition = partition{ endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-west-1", + }: endpoint{}, endpointKey{ Region: "us-west-2", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index d83c6db1b24..1630bb29831 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.53.4" +const SDKVersion = "1.53.5" diff --git a/models/apis/application-autoscaling/2016-02-06/api-2.json b/models/apis/application-autoscaling/2016-02-06/api-2.json index 15b494b77a3..1da4c9dcc96 100644 --- a/models/apis/application-autoscaling/2016-02-06/api-2.json +++ b/models/apis/application-autoscaling/2016-02-06/api-2.json @@ -5,6 +5,7 @@ "endpointPrefix":"application-autoscaling", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"Application Auto Scaling", "serviceId":"Application Auto Scaling", "signatureVersion":"v4", diff --git a/models/apis/application-autoscaling/2016-02-06/smoke-2.json b/models/apis/application-autoscaling/2016-02-06/smoke-2.json new file mode 100644 index 00000000000..aee83d15c0a --- /dev/null +++ b/models/apis/application-autoscaling/2016-02-06/smoke-2.json @@ -0,0 +1,18 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeScalableTargetsSuccess", + "operationName": "DescribeScalableTargets", + "input": { + "ServiceNamespace": "ec2" + }, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/models/apis/codebuild/2016-10-06/api-2.json b/models/apis/codebuild/2016-10-06/api-2.json index 2bc6d14dc56..261e6094d00 100644 --- a/models/apis/codebuild/2016-10-06/api-2.json +++ b/models/apis/codebuild/2016-10-06/api-2.json @@ -1025,6 +1025,11 @@ "secondaryArtifacts":{"shape":"ResolvedSecondaryArtifacts"} } }, + "BuildTimeOut":{ + "type":"integer", + "max":2160, + "min":5 + }, "Builds":{ "type":"list", "member":{"shape":"Build"} @@ -1154,7 +1159,7 @@ "cache":{"shape":"ProjectCache"}, "environment":{"shape":"ProjectEnvironment"}, "serviceRole":{"shape":"NonEmptyString"}, - "timeoutInMinutes":{"shape":"TimeOut"}, + "timeoutInMinutes":{"shape":"BuildTimeOut"}, "queuedTimeoutInMinutes":{"shape":"TimeOut"}, "encryptionKey":{"shape":"NonEmptyString"}, "tags":{"shape":"TagList"}, @@ -1958,7 +1963,7 @@ "cache":{"shape":"ProjectCache"}, "environment":{"shape":"ProjectEnvironment"}, "serviceRole":{"shape":"NonEmptyString"}, - "timeoutInMinutes":{"shape":"TimeOut"}, + "timeoutInMinutes":{"shape":"BuildTimeOut"}, "queuedTimeoutInMinutes":{"shape":"TimeOut"}, "encryptionKey":{"shape":"NonEmptyString"}, "tags":{"shape":"TagList"}, @@ -2541,7 +2546,7 @@ "cacheOverride":{"shape":"ProjectCache"}, "serviceRoleOverride":{"shape":"NonEmptyString"}, "privilegedModeOverride":{"shape":"WrapperBoolean"}, - "buildTimeoutInMinutesOverride":{"shape":"TimeOut"}, + "buildTimeoutInMinutesOverride":{"shape":"BuildTimeOut"}, "queuedTimeoutInMinutesOverride":{"shape":"TimeOut"}, "encryptionKeyOverride":{"shape":"NonEmptyString"}, "idempotencyToken":{"shape":"String"}, @@ -2585,7 +2590,7 @@ "cacheOverride":{"shape":"ProjectCache"}, "serviceRoleOverride":{"shape":"NonEmptyString"}, "privilegedModeOverride":{"shape":"WrapperBoolean"}, - "timeoutInMinutesOverride":{"shape":"TimeOut"}, + "timeoutInMinutesOverride":{"shape":"BuildTimeOut"}, "queuedTimeoutInMinutesOverride":{"shape":"TimeOut"}, "encryptionKeyOverride":{"shape":"NonEmptyString"}, "idempotencyToken":{"shape":"String"}, @@ -2748,7 +2753,7 @@ "cache":{"shape":"ProjectCache"}, "environment":{"shape":"ProjectEnvironment"}, "serviceRole":{"shape":"NonEmptyString"}, - "timeoutInMinutes":{"shape":"TimeOut"}, + "timeoutInMinutes":{"shape":"BuildTimeOut"}, "queuedTimeoutInMinutes":{"shape":"TimeOut"}, "encryptionKey":{"shape":"NonEmptyString"}, "tags":{"shape":"TagList"}, diff --git a/models/apis/codebuild/2016-10-06/docs-2.json b/models/apis/codebuild/2016-10-06/docs-2.json index 41315d87f63..1542f21b531 100644 --- a/models/apis/codebuild/2016-10-06/docs-2.json +++ b/models/apis/codebuild/2016-10-06/docs-2.json @@ -333,6 +333,16 @@ "BuildSummaries$member": null } }, + "BuildTimeOut": { + "base": null, + "refs": { + "CreateProjectInput$timeoutInMinutes": "

How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before it times out any build that has not been marked as completed. The default is 60 minutes.

", + "Project$timeoutInMinutes": "

How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.

", + "StartBuildBatchInput$buildTimeoutInMinutesOverride": "

Overrides the build timeout specified in the batch build project.

", + "StartBuildInput$timeoutInMinutesOverride": "

The number of build timeout minutes, from 5 to 2160 (36 hours), that overrides, for this build only, the latest setting already defined in the build project.

", + "UpdateProjectInput$timeoutInMinutes": "

The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.

" + } + }, "Builds": { "base": null, "refs": { @@ -1911,15 +1921,10 @@ "TimeOut": { "base": null, "refs": { - "CreateProjectInput$timeoutInMinutes": "

How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before it times out any build that has not been marked as completed. The default is 60 minutes.

", "CreateProjectInput$queuedTimeoutInMinutes": "

The number of minutes a build is allowed to be queued before it times out.

", - "Project$timeoutInMinutes": "

How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.

", "Project$queuedTimeoutInMinutes": "

The number of minutes a build is allowed to be queued before it times out.

", - "StartBuildBatchInput$buildTimeoutInMinutesOverride": "

Overrides the build timeout specified in the batch build project.

", "StartBuildBatchInput$queuedTimeoutInMinutesOverride": "

The number of minutes a batch build is allowed to be queued before it times out.

", - "StartBuildInput$timeoutInMinutesOverride": "

The number of build timeout minutes, from 5 to 480 (8 hours), that overrides, for this build only, the latest setting already defined in the build project.

", "StartBuildInput$queuedTimeoutInMinutesOverride": "

The number of minutes a build is allowed to be queued before it times out.

", - "UpdateProjectInput$timeoutInMinutes": "

The replacement value in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.

", "UpdateProjectInput$queuedTimeoutInMinutes": "

The number of minutes a build is allowed to be queued before it times out.

" } }, @@ -2086,7 +2091,7 @@ "base": null, "refs": { "BatchRestrictions$maximumBuildsAllowed": "

Specifies the maximum number of builds allowed.

", - "Build$timeoutInMinutes": "

How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before timing out this build if it does not get marked as completed.

", + "Build$timeoutInMinutes": "

How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out this build if it does not get marked as completed.

", "Build$queuedTimeoutInMinutes": "

The number of minutes a build is allowed to be queued before it times out.

", "BuildBatch$buildTimeoutInMinutes": "

Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.

", "BuildBatch$queuedTimeoutInMinutes": "

Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.

", diff --git a/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json b/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json index 0dd36101360..0a8390ec3bf 100644 --- a/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json +++ b/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json @@ -4,6 +4,7 @@ "apiVersion":"2015-12-01", "endpointPrefix":"elasticloadbalancing", "protocol":"query", + "protocols":["query"], "serviceAbbreviation":"Elastic Load Balancing v2", "serviceFullName":"Elastic Load Balancing", "serviceId":"Elastic Load Balancing v2", @@ -1808,7 +1809,8 @@ "type":"string", "enum":[ "ipv4", - "dualstack" + "dualstack", + "dualstack-without-public-ipv4" ] }, "IsDefault":{"type":"boolean"}, diff --git a/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json b/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json index 54c16f8482c..fbeaf822772 100644 --- a/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json +++ b/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json @@ -933,12 +933,12 @@ "IpAddressType": { "base": null, "refs": { - "CreateLoadBalancerInput$IpAddressType": "

The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

", - "LoadBalancer$IpAddressType": "

The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

", - "SetIpAddressTypeInput$IpAddressType": "

The IP address type. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.

", + "CreateLoadBalancerInput$IpAddressType": "

Note: Internal load balancers must use the ipv4 IP address type.

[Application Load Balancers] The IP address type. The possible values are ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private IPv4 and IPv6 addresses).

[Network Load Balancers] The IP address type. The possible values are ipv4 (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.

[Gateway Load Balancers] The IP address type. The possible values are ipv4 (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

", + "LoadBalancer$IpAddressType": "

[Application Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private IPv4 and IPv6 addresses).

[Network Load Balancers and Gateway Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

", + "SetIpAddressTypeInput$IpAddressType": "

Note: Internal load balancers must use the ipv4 IP address type.

[Application Load Balancers] The IP address type. The possible values are ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private IPv4 and IPv6 addresses).

[Network Load Balancers] The IP address type. The possible values are ipv4 (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.

[Gateway Load Balancers] The IP address type. The possible values are ipv4 (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

", "SetIpAddressTypeOutput$IpAddressType": "

The IP address type.

", - "SetSubnetsInput$IpAddressType": "

[Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.

[Gateway Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

", - "SetSubnetsOutput$IpAddressType": "

[Network Load Balancers] The IP address type.

[Gateway Load Balancers] The IP address type.

" + "SetSubnetsInput$IpAddressType": "

[Application Load Balancers] The IP address type. The possible values are ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private IPv4 and IPv6 addresses).

[Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.

[Gateway Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

", + "SetSubnetsOutput$IpAddressType": "

[Application Load Balancers] The IP address type.

[Network Load Balancers] The IP address type.

[Gateway Load Balancers] The IP address type.

" } }, "IsDefault": { diff --git a/models/apis/lakeformation/2017-03-31/api-2.json b/models/apis/lakeformation/2017-03-31/api-2.json index 0ab0686567c..b0d28a1ba25 100644 --- a/models/apis/lakeformation/2017-03-31/api-2.json +++ b/models/apis/lakeformation/2017-03-31/api-2.json @@ -5,6 +5,7 @@ "endpointPrefix":"lakeformation", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"AWS Lake Formation", "serviceId":"LakeFormation", "signatureVersion":"v4", @@ -355,6 +356,20 @@ {"shape":"AccessDeniedException"} ] }, + "GetDataLakePrincipal":{ + "name":"GetDataLakePrincipal", + "http":{ + "method":"POST", + "requestUri":"/GetDataLakePrincipal" + }, + "input":{"shape":"GetDataLakePrincipalRequest"}, + "output":{"shape":"GetDataLakePrincipalResponse"}, + "errors":[ + {"shape":"InternalServiceException"}, + {"shape":"OperationTimeoutException"}, + {"shape":"AccessDeniedException"} + ] + }, "GetDataLakeSettings":{ "name":"GetDataLakeSettings", "http":{ @@ -1575,6 +1590,17 @@ "DataCellsFilter":{"shape":"DataCellsFilter"} } }, + "GetDataLakePrincipalRequest":{ + "type":"structure", + "members":{ + } + }, + "GetDataLakePrincipalResponse":{ + "type":"structure", + "members":{ + "Identity":{"shape":"IdentityString"} + } + }, "GetDataLakeSettingsRequest":{ "type":"structure", "members":{ @@ -1850,6 +1876,7 @@ "min":1 }, "IdentityCenterInstanceArn":{"type":"string"}, + "IdentityString":{"type":"string"}, "Integer":{ "type":"integer", "box":true diff --git a/models/apis/lakeformation/2017-03-31/docs-2.json b/models/apis/lakeformation/2017-03-31/docs-2.json index f76076b41a5..549118cd0de 100644 --- a/models/apis/lakeformation/2017-03-31/docs-2.json +++ b/models/apis/lakeformation/2017-03-31/docs-2.json @@ -23,6 +23,7 @@ "DescribeTransaction": "

Returns the details of a single transaction.

", "ExtendTransaction": "

Indicates to the service that the specified transaction is still active and should not be treated as idle and aborted.

Write transactions that remain idle for a long period are automatically aborted unless explicitly extended.

", "GetDataCellsFilter": "

Returns a data cells filter.

", + "GetDataLakePrincipal": "

Returns the identity of the invoking principal.

", "GetDataLakeSettings": "

Retrieves the list of the data lake administrators of a Lake Formation-managed data lake.

", "GetEffectivePermissionsForPath": "

Returns the Lake Formation permissions for a specified table or database resource located at a path in Amazon S3. GetEffectivePermissionsForPath will not return databases and tables if the catalog is encrypted.

", "GetLFTag": "

Returns an LF-tag definition.

", @@ -678,6 +679,16 @@ "refs": { } }, + "GetDataLakePrincipalRequest": { + "base": null, + "refs": { + } + }, + "GetDataLakePrincipalResponse": { + "base": null, + "refs": { + } + }, "GetDataLakeSettingsRequest": { "base": null, "refs": { @@ -868,6 +879,12 @@ "DescribeLakeFormationIdentityCenterConfigurationResponse$InstanceArn": "

The Amazon Resource Name (ARN) of the connection.

" } }, + "IdentityString": { + "base": null, + "refs": { + "GetDataLakePrincipalResponse$Identity": "

A unique identifier of the invoking principal.

" + } + }, "Integer": { "base": null, "refs": { diff --git a/models/apis/transfer/2018-11-05/api-2.json b/models/apis/transfer/2018-11-05/api-2.json index 0b28dfb09d0..297085bbf73 100644 --- a/models/apis/transfer/2018-11-05/api-2.json +++ b/models/apis/transfer/2018-11-05/api-2.json @@ -5,6 +5,7 @@ "endpointPrefix":"transfer", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceAbbreviation":"AWS Transfer", "serviceFullName":"AWS Transfer Family", "serviceId":"Transfer", @@ -112,7 +113,8 @@ {"shape":"InternalServiceError"}, {"shape":"ServiceUnavailableException"}, {"shape":"ResourceExistsException"} - ] + ], + "idempotent":true }, "CreateWorkflow":{ "name":"CreateWorkflow", @@ -157,7 +159,8 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalServiceError"}, {"shape":"ServiceUnavailableException"} - ] + ], + "idempotent":true }, "DeleteCertificate":{ "name":"DeleteCertificate", @@ -171,7 +174,8 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalServiceError"}, {"shape":"ServiceUnavailableException"} - ] + ], + "idempotent":true }, "DeleteConnector":{ "name":"DeleteConnector", @@ -185,7 +189,8 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalServiceError"}, {"shape":"ServiceUnavailableException"} - ] + ], + "idempotent":true }, "DeleteHostKey":{ "name":"DeleteHostKey", @@ -214,7 +219,8 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalServiceError"}, {"shape":"ServiceUnavailableException"} - ] + ], + "idempotent":true }, "DeleteServer":{ "name":"DeleteServer", @@ -229,7 +235,8 @@ {"shape":"InternalServiceError"}, {"shape":"ServiceUnavailableException"}, {"shape":"AccessDeniedException"} - ] + ], + "idempotent":true }, "DeleteSshPublicKey":{ "name":"DeleteSshPublicKey", @@ -258,7 +265,8 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalServiceError"}, {"shape":"ServiceUnavailableException"} - ] + ], + "idempotent":true }, "DeleteWorkflow":{ "name":"DeleteWorkflow", @@ -273,7 +281,8 @@ {"shape":"InternalServiceError"}, {"shape":"ServiceUnavailableException"}, {"shape":"AccessDeniedException"} - ] + ], + "idempotent":true }, "DescribeAccess":{ "name":"DescribeAccess", @@ -2994,7 +3003,8 @@ "SshPublicKeyBody":{ "type":"string", "max":2048, - "min":0 + "min":0, + "pattern":"\\s*(ssh|ecdsa)-[a-z0-9-]+[ \\t]+(([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{1,3})?(={0,3})?)(\\s*|[ \\t]+[\\S \\t]*\\s*)" }, "SshPublicKeyCount":{ "type":"integer", diff --git a/models/apis/transfer/2018-11-05/docs-2.json b/models/apis/transfer/2018-11-05/docs-2.json index 1c23ead7de8..d8583eda7bf 100644 --- a/models/apis/transfer/2018-11-05/docs-2.json +++ b/models/apis/transfer/2018-11-05/docs-2.json @@ -249,9 +249,9 @@ "CertificateUsageType": { "base": null, "refs": { - "DescribedCertificate$Usage": "

Specifies whether this certificate is used for signing or encryption.

", - "ImportCertificateRequest$Usage": "

Specifies whether this certificate is used for signing or encryption.

", - "ListedCertificate$Usage": "

Specifies whether this certificate is used for signing or encryption.

" + "DescribedCertificate$Usage": "

Specifies how this certificate is used. It can be used in the following ways:

", + "ImportCertificateRequest$Usage": "

Specifies how this certificate is used. It can be used in the following ways:

", + "ListedCertificate$Usage": "

Specifies how this certificate is used. It can be used in the following ways:

" } }, "CompressionEnum": { @@ -664,8 +664,8 @@ "base": null, "refs": { "CreateServerRequest$Domain": "

The domain of the storage system that is used for file transfers. There are two domains available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The default value is S3.

After the server is created, the domain cannot be changed.

", - "DescribedServer$Domain": "

Specifies the domain of the storage system that is used for file transfers.

", - "ListedServer$Domain": "

Specifies the domain of the storage system that is used for file transfers.

" + "DescribedServer$Domain": "

Specifies the domain of the storage system that is used for file transfers. There are two domains available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The default value is S3.

", + "ListedServer$Domain": "

Specifies the domain of the storage system that is used for file transfers. There are two domains available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The default value is S3.

" } }, "EfsFileLocation": { @@ -1765,7 +1765,7 @@ } }, "ServiceManagedEgressIpAddresses": { - "base": null, + "base": "

The list of egress IP addresses of this server. These IP addresses are only relevant for servers that use the AS2 protocol. They are used for sending asynchronous MDNs. These IP addresses are assigned automatically when you create an AS2 server. Additionally, if you update an existing server and add the AS2 protocol, static IP addresses are assigned as well.

", "refs": { "DescribedConnector$ServiceManagedEgressIpAddresses": "

The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you create the connector.

", "DescribedServer$As2ServiceManagedEgressIpAddresses": "

The list of egress IP addresses of this server. These IP addresses are only relevant for servers that use the AS2 protocol. They are used for sending asynchronous MDNs.

These IP addresses are assigned automatically when you create an AS2 server. Additionally, if you update an existing server and add the AS2 protocol, static IP addresses are assigned as well.

" diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 12eb7ef0d41..86747da444e 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -454,6 +454,8 @@ }, "airflow" : { "endpoints" : { + "af-south-1" : { }, + "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, "ap-south-1" : { }, @@ -462,12 +464,15 @@ "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, + "eu-south-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, "us-east-2" : { }, + "us-west-1" : { }, "us-west-2" : { } } }, diff --git a/service/codebuild/api.go b/service/codebuild/api.go index 837d954028b..d63757f0d58 100644 --- a/service/codebuild/api.go +++ b/service/codebuild/api.go @@ -5755,7 +5755,7 @@ type Build struct { // When the build process started, expressed in Unix time format. StartTime *time.Time `locationName:"startTime" type:"timestamp"` - // How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before + // How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before // timing out this build if it does not get marked as completed. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" type:"integer"` @@ -7706,7 +7706,7 @@ type CreateProjectInput struct { // CodeBuild build project tags. Tags []*Tag `locationName:"tags" type:"list"` - // How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before + // How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before // it times out any build that has not been marked as completed. The default // is 60 minutes. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"` @@ -12338,7 +12338,7 @@ type Project struct { // CodeBuild build project tags. Tags []*Tag `locationName:"tags" type:"list"` - // How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before + // How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before // timing out any related build that did not get marked as completed. The default // is 60 minutes. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"` @@ -15980,7 +15980,7 @@ type StartBuildInput struct { // in the CodeBuild User Guide. SourceVersion *string `locationName:"sourceVersion" type:"string"` - // The number of build timeout minutes, from 5 to 480 (8 hours), that overrides, + // The number of build timeout minutes, from 5 to 2160 (36 hours), that overrides, // for this build only, the latest setting already defined in the build project. TimeoutInMinutesOverride *int64 `locationName:"timeoutInMinutesOverride" min:"5" type:"integer"` } @@ -17173,7 +17173,7 @@ type UpdateProjectInput struct { // CodeBuild build project tags. Tags []*Tag `locationName:"tags" type:"list"` - // The replacement value in minutes, from 5 to 480 (8 hours), for CodeBuild + // The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild // to wait before timing out any related build that did not get marked as completed. TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"` diff --git a/service/elbv2/api.go b/service/elbv2/api.go index ff58372dce4..a1ff3f2d708 100644 --- a/service/elbv2/api.go +++ b/service/elbv2/api.go @@ -5615,9 +5615,19 @@ type CreateLoadBalancerInput struct { // pool (CoIP pool). CustomerOwnedIpv4Pool *string `type:"string"` - // The type of IP addresses used by the subnets for your load balancer. The - // possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and - // IPv6 addresses). + // Note: Internal load balancers must use the ipv4 IP address type. + // + // [Application Load Balancers] The IP address type. The possible values are + // ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), + // and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private + // IPv4 and IPv6 addresses). + // + // [Network Load Balancers] The IP address type. The possible values are ipv4 + // (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You + // can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener. + // + // [Gateway Load Balancers] The IP address type. The possible values are ipv4 + // (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). IpAddressType *string `type:"string" enum:"IpAddressType"` // The name of the load balancer. @@ -9022,9 +9032,16 @@ type LoadBalancer struct { // to a Network Load Balancer through Amazon Web Services PrivateLink. EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic *string `type:"string"` - // The type of IP addresses used by the subnets for your load balancer. The - // possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and - // IPv6 addresses). + // [Application Load Balancers] The type of IP addresses used for public or + // private connections by the subnets attached to your load balancer. The possible + // values are ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), + // and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private + // IPv4 and IPv6 addresses). + // + // [Network Load Balancers and Gateway Load Balancers] The type of IP addresses + // used for public or private connections by the subnets attached to your load + // balancer. The possible values are ipv4 (for only IPv4 addresses) and dualstack + // (for IPv4 and IPv6 addresses). IpAddressType *string `type:"string" enum:"IpAddressType"` // The Amazon Resource Name (ARN) of the load balancer. @@ -11215,9 +11232,19 @@ func (s *RulePriorityPair) SetRuleArn(v string) *RulePriorityPair { type SetIpAddressTypeInput struct { _ struct{} `type:"structure"` - // The IP address type. The possible values are ipv4 (for IPv4 addresses) and - // dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for - // a load balancer with a UDP or TCP_UDP listener. + // Note: Internal load balancers must use the ipv4 IP address type. + // + // [Application Load Balancers] The IP address type. The possible values are + // ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), + // and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private + // IPv4 and IPv6 addresses). + // + // [Network Load Balancers] The IP address type. The possible values are ipv4 + // (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You + // can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener. + // + // [Gateway Load Balancers] The IP address type. The possible values are ipv4 + // (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). // // IpAddressType is a required field IpAddressType *string `type:"string" required:"true" enum:"IpAddressType"` @@ -11507,6 +11534,11 @@ func (s *SetSecurityGroupsOutput) SetSecurityGroupIds(v []*string) *SetSecurityG type SetSubnetsInput struct { _ struct{} `type:"structure"` + // [Application Load Balancers] The IP address type. The possible values are + // ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), + // and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private + // IPv4 and IPv6 addresses). + // // [Network Load Balancers] The type of IP addresses used by the subnets for // your load balancer. The possible values are ipv4 (for IPv4 addresses) and // dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for @@ -11624,6 +11656,8 @@ type SetSubnetsOutput struct { // Information about the subnets. AvailabilityZones []*AvailabilityZone `type:"list"` + // [Application Load Balancers] The IP address type. + // // [Network Load Balancers] The IP address type. // // [Gateway Load Balancers] The IP address type. @@ -12932,6 +12966,9 @@ const ( // IpAddressTypeDualstack is a IpAddressType enum value IpAddressTypeDualstack = "dualstack" + + // IpAddressTypeDualstackWithoutPublicIpv4 is a IpAddressType enum value + IpAddressTypeDualstackWithoutPublicIpv4 = "dualstack-without-public-ipv4" ) // IpAddressType_Values returns all elements of the IpAddressType enum @@ -12939,6 +12976,7 @@ func IpAddressType_Values() []string { return []string{ IpAddressTypeIpv4, IpAddressTypeDualstack, + IpAddressTypeDualstackWithoutPublicIpv4, } } diff --git a/service/lakeformation/api.go b/service/lakeformation/api.go index fc4f8aa2b91..f34c9a8e92f 100644 --- a/service/lakeformation/api.go +++ b/service/lakeformation/api.go @@ -2000,6 +2000,91 @@ func (c *LakeFormation) GetDataCellsFilterWithContext(ctx aws.Context, input *Ge return out, req.Send() } +const opGetDataLakePrincipal = "GetDataLakePrincipal" + +// GetDataLakePrincipalRequest generates a "aws/request.Request" representing the +// client's request for the GetDataLakePrincipal operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetDataLakePrincipal for more information on using the GetDataLakePrincipal +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetDataLakePrincipalRequest method. +// req, resp := client.GetDataLakePrincipalRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakePrincipal +func (c *LakeFormation) GetDataLakePrincipalRequest(input *GetDataLakePrincipalInput) (req *request.Request, output *GetDataLakePrincipalOutput) { + op := &request.Operation{ + Name: opGetDataLakePrincipal, + HTTPMethod: "POST", + HTTPPath: "/GetDataLakePrincipal", + } + + if input == nil { + input = &GetDataLakePrincipalInput{} + } + + output = &GetDataLakePrincipalOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetDataLakePrincipal API operation for AWS Lake Formation. +// +// Returns the identity of the invoking principal. +// +// 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. +// +// See the AWS API reference guide for AWS Lake Formation's +// API operation GetDataLakePrincipal for usage and error information. +// +// Returned Error Types: +// +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. +// +// - AccessDeniedException +// Access to a resource was denied. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakePrincipal +func (c *LakeFormation) GetDataLakePrincipal(input *GetDataLakePrincipalInput) (*GetDataLakePrincipalOutput, error) { + req, out := c.GetDataLakePrincipalRequest(input) + return out, req.Send() +} + +// GetDataLakePrincipalWithContext is the same as GetDataLakePrincipal with the addition of +// the ability to pass a context and additional request options. +// +// See GetDataLakePrincipal for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *LakeFormation) GetDataLakePrincipalWithContext(ctx aws.Context, input *GetDataLakePrincipalInput, opts ...request.Option) (*GetDataLakePrincipalOutput, error) { + req, out := c.GetDataLakePrincipalRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetDataLakeSettings = "GetDataLakeSettings" // GetDataLakeSettingsRequest generates a "aws/request.Request" representing the @@ -9511,6 +9596,59 @@ func (s *GetDataCellsFilterOutput) SetDataCellsFilter(v *DataCellsFilter) *GetDa return s } +type GetDataLakePrincipalInput struct { + _ struct{} `type:"structure" nopayload:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetDataLakePrincipalInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetDataLakePrincipalInput) GoString() string { + return s.String() +} + +type GetDataLakePrincipalOutput struct { + _ struct{} `type:"structure"` + + // A unique identifier of the invoking principal. + Identity *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetDataLakePrincipalOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetDataLakePrincipalOutput) GoString() string { + return s.String() +} + +// SetIdentity sets the Identity field's value. +func (s *GetDataLakePrincipalOutput) SetIdentity(v string) *GetDataLakePrincipalOutput { + s.Identity = &v + return s +} + type GetDataLakeSettingsInput struct { _ struct{} `type:"structure"` diff --git a/service/lakeformation/lakeformationiface/interface.go b/service/lakeformation/lakeformationiface/interface.go index 136c89f6028..1e77d7b5944 100644 --- a/service/lakeformation/lakeformationiface/interface.go +++ b/service/lakeformation/lakeformationiface/interface.go @@ -144,6 +144,10 @@ type LakeFormationAPI interface { GetDataCellsFilterWithContext(aws.Context, *lakeformation.GetDataCellsFilterInput, ...request.Option) (*lakeformation.GetDataCellsFilterOutput, error) GetDataCellsFilterRequest(*lakeformation.GetDataCellsFilterInput) (*request.Request, *lakeformation.GetDataCellsFilterOutput) + GetDataLakePrincipal(*lakeformation.GetDataLakePrincipalInput) (*lakeformation.GetDataLakePrincipalOutput, error) + GetDataLakePrincipalWithContext(aws.Context, *lakeformation.GetDataLakePrincipalInput, ...request.Option) (*lakeformation.GetDataLakePrincipalOutput, error) + GetDataLakePrincipalRequest(*lakeformation.GetDataLakePrincipalInput) (*request.Request, *lakeformation.GetDataLakePrincipalOutput) + GetDataLakeSettings(*lakeformation.GetDataLakeSettingsInput) (*lakeformation.GetDataLakeSettingsOutput, error) GetDataLakeSettingsWithContext(aws.Context, *lakeformation.GetDataLakeSettingsInput, ...request.Option) (*lakeformation.GetDataLakeSettingsOutput, error) GetDataLakeSettingsRequest(*lakeformation.GetDataLakeSettingsInput) (*request.Request, *lakeformation.GetDataLakeSettingsOutput) diff --git a/service/transfer/api.go b/service/transfer/api.go index 59bf49dc064..4c123f0923d 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -11043,7 +11043,13 @@ type DescribedCertificate struct { // If there is no private key, the type is CERTIFICATE. Type *string `type:"string" enum:"CertificateType"` - // Specifies whether this certificate is used for signing or encryption. + // Specifies how this certificate is used. It can be used in the following ways: + // + // * SIGNING: For signing AS2 messages + // + // * ENCRYPTION: For encrypting AS2 messages + // + // * TLS: For securing AS2 communications sent over HTTPS Usage *string `type:"string" enum:"CertificateUsageType"` } @@ -11730,6 +11736,8 @@ type DescribedServer struct { Certificate *string `type:"string"` // Specifies the domain of the storage system that is used for file transfers. + // There are two domains available: Amazon Simple Storage Service (Amazon S3) + // and Amazon Elastic File System (Amazon EFS). The default value is S3. Domain *string `type:"string" enum:"Domain"` // The virtual private cloud (VPC) endpoint settings that are configured for @@ -12948,7 +12956,13 @@ type ImportCertificateInput struct { // Key-value pairs that can be used to group and search for certificates. Tags []*Tag `min:"1" type:"list"` - // Specifies whether this certificate is used for signing or encryption. + // Specifies how this certificate is used. It can be used in the following ways: + // + // * SIGNING: For signing AS2 messages + // + // * ENCRYPTION: For encrypting AS2 messages + // + // * TLS: For securing AS2 communications sent over HTTPS // // Usage is a required field Usage *string `type:"string" required:"true" enum:"CertificateUsageType"` @@ -15257,7 +15271,13 @@ type ListedCertificate struct { // key, the type is CERTIFICATE. Type *string `type:"string" enum:"CertificateType"` - // Specifies whether this certificate is used for signing or encryption. + // Specifies how this certificate is used. It can be used in the following ways: + // + // * SIGNING: For signing AS2 messages + // + // * ENCRYPTION: For encrypting AS2 messages + // + // * TLS: For securing AS2 communications sent over HTTPS Usage *string `type:"string" enum:"CertificateUsageType"` } @@ -15605,6 +15625,8 @@ type ListedServer struct { Arn *string `min:"20" type:"string" required:"true"` // Specifies the domain of the storage system that is used for file transfers. + // There are two domains available: Amazon Simple Storage Service (Amazon S3) + // and Amazon Elastic File System (Amazon EFS). The default value is S3. Domain *string `type:"string" enum:"Domain"` // Specifies the type of VPC endpoint that your server is connected to. If your