From be5265ada6551aa2577bfc3384907cbe6b2e804a Mon Sep 17 00:00:00 2001 From: AWS SDK For Ruby Date: Fri, 1 Nov 2024 18:14:28 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/bedrock-agent/2023-06-05/api-2.json | 8 +- apis/bedrock-agent/2023-06-05/docs-2.json | 2 +- apis/docdb-elastic/2022-11-28/api-2.json | 170 +++++++++++++- apis/docdb-elastic/2022-11-28/docs-2.json | 93 +++++++- .../2022-11-28/paginators-1.json | 6 + apis/logs/2014-03-28/api-2.json | 2 +- apis/taxsettings/2018-05-10/api-2.json | 160 ++++++++++++- apis/taxsettings/2018-05-10/docs-2.json | 97 +++++++- apis/taxsettings/2018-05-10/paginators-1.json | 6 + gems/aws-partitions/CHANGELOG.md | 5 + gems/aws-partitions/VERSION | 2 +- gems/aws-partitions/partitions.json | 1 + gems/aws-sdk-bedrockagent/CHANGELOG.md | 5 + gems/aws-sdk-bedrockagent/VERSION | 2 +- .../aws-sdk-bedrockagent.gemspec | 2 +- .../lib/aws-sdk-bedrockagent.rb | 2 +- .../lib/aws-sdk-bedrockagent/client.rb | 2 +- .../lib/aws-sdk-bedrockagent/client_api.rb | 2 + .../lib/aws-sdk-bedrockagent/types.rb | 4 +- gems/aws-sdk-cloudwatchlogs/CHANGELOG.md | 5 + gems/aws-sdk-cloudwatchlogs/VERSION | 2 +- .../lib/aws-sdk-cloudwatchlogs.rb | 2 +- .../lib/aws-sdk-cloudwatchlogs/client.rb | 2 +- gems/aws-sdk-docdbelastic/CHANGELOG.md | 5 + gems/aws-sdk-docdbelastic/VERSION | 2 +- .../aws-sdk-docdbelastic.gemspec | 2 +- .../lib/aws-sdk-docdbelastic.rb | 4 +- .../lib/aws-sdk-docdbelastic/client.rb | 189 ++++++++++++++-- .../lib/aws-sdk-docdbelastic/client_api.rb | 100 ++++++++ .../lib/aws-sdk-docdbelastic/types.rb | 194 ++++++++++++++++ gems/aws-sdk-docdbelastic/sig/client.rbs | 35 +++ gems/aws-sdk-docdbelastic/sig/types.rbs | 61 ++++- gems/aws-sdk-dynamodb/CHANGELOG.md | 5 + gems/aws-sdk-dynamodb/VERSION | 2 +- gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb | 2 +- .../lib/aws-sdk-dynamodb/client.rb | 2 +- .../spec/endpoint_provider_spec.rb | 25 ++ gems/aws-sdk-taxsettings/CHANGELOG.md | 5 + gems/aws-sdk-taxsettings/VERSION | 2 +- .../lib/aws-sdk-taxsettings.rb | 2 +- .../lib/aws-sdk-taxsettings/client.rb | 213 +++++++++++++++--- .../lib/aws-sdk-taxsettings/client_api.rb | 93 +++++++- .../lib/aws-sdk-taxsettings/types.rb | 209 ++++++++++++++++- gems/aws-sdk-taxsettings/sig/client.rbs | 58 ++++- gems/aws-sdk-taxsettings/sig/types.rbs | 57 ++++- 45 files changed, 1740 insertions(+), 109 deletions(-) diff --git a/apis/bedrock-agent/2023-06-05/api-2.json b/apis/bedrock-agent/2023-06-05/api-2.json index 460b8692448..df2629ae9d4 100644 --- a/apis/bedrock-agent/2023-06-05/api-2.json +++ b/apis/bedrock-agent/2023-06-05/api-2.json @@ -5,11 +5,13 @@ "endpointPrefix":"bedrock-agent", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Agents for Amazon Bedrock", "serviceId":"Bedrock Agent", "signatureVersion":"v4", "signingName":"bedrock", - "uid":"bedrock-agent-2023-06-05" + "uid":"bedrock-agent-2023-06-05", + "auth":["aws.auth#sigv4"] }, "operations":{ "AssociateAgentKnowledgeBase":{ @@ -1574,7 +1576,7 @@ "type":"string", "max":2048, "min":20, - "pattern":"^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$" + "pattern":"^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$" }, "BedrockEmbeddingModelConfiguration":{ "type":"structure", @@ -1594,7 +1596,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)$" + "pattern":"^(arn:aws(-[^:]{1,12})?:(bedrock):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$" }, "Boolean":{ "type":"boolean", diff --git a/apis/bedrock-agent/2023-06-05/docs-2.json b/apis/bedrock-agent/2023-06-05/docs-2.json index 3f894365e5d..a421f019a7a 100644 --- a/apis/bedrock-agent/2023-06-05/docs-2.json +++ b/apis/bedrock-agent/2023-06-05/docs-2.json @@ -309,7 +309,7 @@ "BedrockEmbeddingModelArn": { "base": null, "refs": { - "VectorKnowledgeBaseConfiguration$embeddingModelArn": "

The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.

" + "VectorKnowledgeBaseConfiguration$embeddingModelArn": "

The Amazon Resource Name (ARN) of the model or inference profile used to create vector embeddings for the knowledge base.

" } }, "BedrockEmbeddingModelConfiguration": { diff --git a/apis/docdb-elastic/2022-11-28/api-2.json b/apis/docdb-elastic/2022-11-28/api-2.json index 954e9f40bf0..3fadf7f80d2 100644 --- a/apis/docdb-elastic/2022-11-28/api-2.json +++ b/apis/docdb-elastic/2022-11-28/api-2.json @@ -5,14 +5,35 @@ "endpointPrefix":"docdb-elastic", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceAbbreviation":"DocDB Elastic", "serviceFullName":"Amazon DocumentDB Elastic Clusters", "serviceId":"DocDB Elastic", "signatureVersion":"v4", "signingName":"docdb-elastic", - "uid":"docdb-elastic-2022-11-28" + "uid":"docdb-elastic-2022-11-28", + "auth":["aws.auth#sigv4"] }, "operations":{ + "ApplyPendingMaintenanceAction":{ + "name":"ApplyPendingMaintenanceAction", + "http":{ + "method":"POST", + "requestUri":"/pending-action", + "responseCode":200 + }, + "input":{"shape":"ApplyPendingMaintenanceActionInput"}, + "output":{"shape":"ApplyPendingMaintenanceActionOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, "CopyClusterSnapshot":{ "name":"CopyClusterSnapshot", "http":{ @@ -144,6 +165,24 @@ {"shape":"AccessDeniedException"} ] }, + "GetPendingMaintenanceAction":{ + "name":"GetPendingMaintenanceAction", + "http":{ + "method":"GET", + "requestUri":"/pending-action/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"GetPendingMaintenanceActionInput"}, + "output":{"shape":"GetPendingMaintenanceActionOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ] + }, "ListClusterSnapshots":{ "name":"ListClusterSnapshots", "http":{ @@ -176,6 +215,22 @@ {"shape":"AccessDeniedException"} ] }, + "ListPendingMaintenanceActions":{ + "name":"ListPendingMaintenanceActions", + "http":{ + "method":"GET", + "requestUri":"/pending-actions", + "responseCode":200 + }, + "input":{"shape":"ListPendingMaintenanceActionsInput"}, + "output":{"shape":"ListPendingMaintenanceActionsOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"} + ] + }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ @@ -314,6 +369,27 @@ }, "exception":true }, + "ApplyPendingMaintenanceActionInput":{ + "type":"structure", + "required":[ + "applyAction", + "optInType", + "resourceArn" + ], + "members":{ + "applyAction":{"shape":"InputString"}, + "applyOn":{"shape":"InputString"}, + "optInType":{"shape":"OptInType"}, + "resourceArn":{"shape":"InputString"} + } + }, + "ApplyPendingMaintenanceActionOutput":{ + "type":"structure", + "required":["resourcePendingMaintenanceAction"], + "members":{ + "resourcePendingMaintenanceAction":{"shape":"ResourcePendingMaintenanceAction"} + } + }, "Arn":{ "type":"string", "max":1011, @@ -615,6 +691,29 @@ "snapshot":{"shape":"ClusterSnapshot"} } }, + "GetPendingMaintenanceActionInput":{ + "type":"structure", + "required":["resourceArn"], + "members":{ + "resourceArn":{ + "shape":"InputString", + "location":"uri", + "locationName":"resourceArn" + } + } + }, + "GetPendingMaintenanceActionOutput":{ + "type":"structure", + "required":["resourcePendingMaintenanceAction"], + "members":{ + "resourcePendingMaintenanceAction":{"shape":"ResourcePendingMaintenanceAction"} + } + }, + "InputString":{ + "type":"string", + "max":256, + "min":1 + }, "Integer":{ "type":"integer", "box":true @@ -696,6 +795,35 @@ "nextToken":{"shape":"PaginationToken"} } }, + "ListPendingMaintenanceActionsInput":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"ListPendingMaintenanceActionsInputMaxResultsInteger", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListPendingMaintenanceActionsInputMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "ListPendingMaintenanceActionsOutput":{ + "type":"structure", + "required":["resourcePendingMaintenanceActions"], + "members":{ + "nextToken":{"shape":"PaginationToken"}, + "resourcePendingMaintenanceActions":{"shape":"ResourcePendingMaintenanceActionList"} + } + }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], @@ -713,11 +841,36 @@ "tags":{"shape":"TagMap"} } }, + "OptInType":{ + "type":"string", + "enum":[ + "IMMEDIATE", + "NEXT_MAINTENANCE", + "APPLY_ON", + "UNDO_OPT_IN" + ] + }, "PaginationToken":{"type":"string"}, "Password":{ "type":"string", "sensitive":true }, + "PendingMaintenanceActionDetails":{ + "type":"structure", + "required":["action"], + "members":{ + "action":{"shape":"String"}, + "autoAppliedAfterDate":{"shape":"String"}, + "currentApplyDate":{"shape":"String"}, + "description":{"shape":"String"}, + "forcedApplyDate":{"shape":"String"}, + "optInStatus":{"shape":"String"} + } + }, + "PendingMaintenanceActionDetailsList":{ + "type":"list", + "member":{"shape":"PendingMaintenanceActionDetails"} + }, "ResourceNotFoundException":{ "type":"structure", "required":[ @@ -736,6 +889,17 @@ }, "exception":true }, + "ResourcePendingMaintenanceAction":{ + "type":"structure", + "members":{ + "pendingMaintenanceActionDetails":{"shape":"PendingMaintenanceActionDetailsList"}, + "resourceArn":{"shape":"String"} + } + }, + "ResourcePendingMaintenanceActionList":{ + "type":"list", + "member":{"shape":"ResourcePendingMaintenanceAction"} + }, "RestoreClusterFromSnapshotInput":{ "type":"structure", "required":[ @@ -839,7 +1003,9 @@ "COPYING", "STARTING", "STOPPING", - "STOPPED" + "STOPPED", + "MAINTENANCE", + "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" ] }, "StopClusterInput":{ diff --git a/apis/docdb-elastic/2022-11-28/docs-2.json b/apis/docdb-elastic/2022-11-28/docs-2.json index 0121ae142ab..601924a9a5b 100644 --- a/apis/docdb-elastic/2022-11-28/docs-2.json +++ b/apis/docdb-elastic/2022-11-28/docs-2.json @@ -2,6 +2,7 @@ "version": "2.0", "service": "

Amazon DocumentDB elastic clusters

Amazon DocumentDB elastic-clusters support workloads with millions of reads/writes per second and petabytes of storage capacity. Amazon DocumentDB elastic clusters also simplify how developers interact with Amazon DocumentDB elastic-clusters by eliminating the need to choose, manage or upgrade instances.

Amazon DocumentDB elastic-clusters were created to:

", "operations": { + "ApplyPendingMaintenanceAction": "

The type of pending maintenance action to be applied to the resource.

", "CopyClusterSnapshot": "

Copies a snapshot of an elastic cluster.

", "CreateCluster": "

Creates a new Amazon DocumentDB elastic cluster and returns its cluster structure.

", "CreateClusterSnapshot": "

Creates a snapshot of an elastic cluster.

", @@ -9,8 +10,10 @@ "DeleteClusterSnapshot": "

Delete an elastic cluster snapshot.

", "GetCluster": "

Returns information about a specific elastic cluster.

", "GetClusterSnapshot": "

Returns information about a specific elastic cluster snapshot

", + "GetPendingMaintenanceAction": "

Retrieves all maintenance actions that are pending.

", "ListClusterSnapshots": "

Returns information about snapshots for a specified elastic cluster.

", "ListClusters": "

Returns information about provisioned Amazon DocumentDB elastic clusters.

", + "ListPendingMaintenanceActions": "

Retrieves a list of all maintenance actions that are pending.

", "ListTagsForResource": "

Lists all tags on a elastic cluster resource

", "RestoreClusterFromSnapshot": "

Restores an elastic cluster from a snapshot.

", "StartCluster": "

Restarts the stopped elastic cluster that is specified by clusterARN.

", @@ -25,6 +28,16 @@ "refs": { } }, + "ApplyPendingMaintenanceActionInput": { + "base": null, + "refs": { + } + }, + "ApplyPendingMaintenanceActionOutput": { + "base": null, + "refs": { + } + }, "Arn": { "base": null, "refs": { @@ -179,6 +192,25 @@ "refs": { } }, + "GetPendingMaintenanceActionInput": { + "base": null, + "refs": { + } + }, + "GetPendingMaintenanceActionOutput": { + "base": null, + "refs": { + } + }, + "InputString": { + "base": null, + "refs": { + "ApplyPendingMaintenanceActionInput$applyAction": "

The pending maintenance action to apply to the resource.

Valid actions are:

", + "ApplyPendingMaintenanceActionInput$applyOn": "

A specific date to apply the pending maintenance action. Required if opt-in-type is APPLY_ON. Format: yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm

", + "ApplyPendingMaintenanceActionInput$resourceArn": "

The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.

", + "GetPendingMaintenanceActionInput$resourceArn": "

Retrieves pending maintenance actions for a specific Amazon Resource Name (ARN).

" + } + }, "Integer": { "base": null, "refs": { @@ -236,6 +268,22 @@ "refs": { } }, + "ListPendingMaintenanceActionsInput": { + "base": null, + "refs": { + } + }, + "ListPendingMaintenanceActionsInputMaxResultsInteger": { + "base": null, + "refs": { + "ListPendingMaintenanceActionsInput$maxResults": "

The maximum number of results to include in the response. If more records exist than the specified maxResults value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.

" + } + }, + "ListPendingMaintenanceActionsOutput": { + "base": null, + "refs": { + } + }, "ListTagsForResourceRequest": { "base": null, "refs": { @@ -246,13 +294,21 @@ "refs": { } }, + "OptInType": { + "base": null, + "refs": { + "ApplyPendingMaintenanceActionInput$optInType": "

A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type IMMEDIATE can't be undone.

" + } + }, "PaginationToken": { - "base": "

Token or cursor used in paginated operations.

When this value is provided as operation input, the service returns results from where the previous response left off. When this value is present in operation output, it indicates that there are more results to retrieve.

This should be opaque to not expose implementation details and potentially versioned to allow evolution of pagination strategy.

", + "base": "
Token or cursor used in paginated operations. When this value is provided as operation input, the service returns results from where the previous response left off. When this value is present in operation output, it indicates that there are more results to retrieve. This should be opaque to not expose implementation details and potentially versioned to allow evolution of pagination strategy. 
", "refs": { "ListClusterSnapshotsInput$nextToken": "

A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results.

If there is no more data in the responce, the nextToken will not be returned.

", "ListClusterSnapshotsOutput$nextToken": "

A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results.

If there is no more data in the responce, the nextToken will not be returned.

", "ListClustersInput$nextToken": "

A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results.

If there is no more data in the responce, the nextToken will not be returned.

", - "ListClustersOutput$nextToken": "

A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results.

If there is no more data in the responce, the nextToken will not be returned.

" + "ListClustersOutput$nextToken": "

A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results.

If there is no more data in the responce, the nextToken will not be returned.

", + "ListPendingMaintenanceActionsInput$nextToken": "

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by maxResults.

", + "ListPendingMaintenanceActionsOutput$nextToken": "

An optional pagination token provided by a previous request. If this parameter is displayed, the responses will include only records beyond the marker, up to the value specified by maxResults.

" } }, "Password": { @@ -262,11 +318,37 @@ "UpdateClusterInput$adminUserPassword": "

The password associated with the elastic cluster administrator. This password can contain any printable ASCII character except forward slash (/), double quote (\"), or the \"at\" symbol (@).

Constraints: Must contain from 8 to 100 characters.

" } }, + "PendingMaintenanceActionDetails": { + "base": "

Retrieves the details of maintenance actions that are pending.

", + "refs": { + "PendingMaintenanceActionDetailsList$member": null + } + }, + "PendingMaintenanceActionDetailsList": { + "base": null, + "refs": { + "ResourcePendingMaintenanceAction$pendingMaintenanceActionDetails": "

Provides information about a pending maintenance action for a resource.

" + } + }, "ResourceNotFoundException": { "base": "

The specified resource could not be located.

", "refs": { } }, + "ResourcePendingMaintenanceAction": { + "base": "

Provides information about a pending maintenance action for a resource.

", + "refs": { + "ApplyPendingMaintenanceActionOutput$resourcePendingMaintenanceAction": "

The output of the pending maintenance action being applied.

", + "GetPendingMaintenanceActionOutput$resourcePendingMaintenanceAction": "

Provides information about a pending maintenance action for a resource.

", + "ResourcePendingMaintenanceActionList$member": null + } + }, + "ResourcePendingMaintenanceActionList": { + "base": null, + "refs": { + "ListPendingMaintenanceActionsOutput$resourcePendingMaintenanceActions": "

Provides information about a pending maintenance action for a resource.

" + } + }, "RestoreClusterFromSnapshotInput": { "base": null, "refs": { @@ -374,9 +456,16 @@ "InternalServerException$message": null, "ListClusterSnapshotsInput$clusterArn": "

The ARN identifier of the elastic cluster.

", "ListClusterSnapshotsInput$snapshotType": "

The type of cluster snapshots to be returned. You can specify one of the following values:

", + "PendingMaintenanceActionDetails$action": "

Displays the specific action of a pending maintenance action.

", + "PendingMaintenanceActionDetails$autoAppliedAfterDate": "

Displays the date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any NEXT_MAINTENANCE optInType requests are ignored.

", + "PendingMaintenanceActionDetails$currentApplyDate": "

Displays the effective date when the pending maintenance action is applied to the resource.

", + "PendingMaintenanceActionDetails$description": "

Displays a description providing more detail about the maintenance action.

", + "PendingMaintenanceActionDetails$forcedApplyDate": "

Displays the date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any IMMEDIATE optInType requests are ignored.

", + "PendingMaintenanceActionDetails$optInStatus": "

Displays the type of optInType request that has been received for the resource.

", "ResourceNotFoundException$message": "

An error message describing the failure.

", "ResourceNotFoundException$resourceId": "

The ID of the resource that could not be located.

", "ResourceNotFoundException$resourceType": "

The type of the resource that could not be found.

", + "ResourcePendingMaintenanceAction$resourceArn": "

The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.

", "RestoreClusterFromSnapshotInput$clusterName": "

The name of the elastic cluster.

", "RestoreClusterFromSnapshotInput$kmsKeyId": "

The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic clusters cluster.

The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key.

If an encryption key is not specified here, Amazon DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.

", "RestoreClusterFromSnapshotInput$snapshotArn": "

The ARN identifier of the elastic cluster snapshot.

", diff --git a/apis/docdb-elastic/2022-11-28/paginators-1.json b/apis/docdb-elastic/2022-11-28/paginators-1.json index db11a76bfb9..bed516d0602 100644 --- a/apis/docdb-elastic/2022-11-28/paginators-1.json +++ b/apis/docdb-elastic/2022-11-28/paginators-1.json @@ -11,6 +11,12 @@ "output_token": "nextToken", "limit_key": "maxResults", "result_key": "clusters" + }, + "ListPendingMaintenanceActions": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "resourcePendingMaintenanceActions" } } } diff --git a/apis/logs/2014-03-28/api-2.json b/apis/logs/2014-03-28/api-2.json index 1ad33e7d421..5fbafdc3353 100644 --- a/apis/logs/2014-03-28/api-2.json +++ b/apis/logs/2014-03-28/api-2.json @@ -1984,7 +1984,7 @@ "type":"map", "key":{"shape":"EntityKeyAttributesKey"}, "value":{"shape":"EntityKeyAttributesValue"}, - "max":3, + "max":4, "min":2 }, "EntityKeyAttributesKey":{ diff --git a/apis/taxsettings/2018-05-10/api-2.json b/apis/taxsettings/2018-05-10/api-2.json index e59ecdd7fbe..b7ac4563ab4 100644 --- a/apis/taxsettings/2018-05-10/api-2.json +++ b/apis/taxsettings/2018-05-10/api-2.json @@ -44,6 +44,22 @@ {"shape":"InternalServerException"} ] }, + "DeleteSupplementalTaxRegistration":{ + "name":"DeleteSupplementalTaxRegistration", + "http":{ + "method":"POST", + "requestUri":"/DeleteSupplementalTaxRegistration", + "responseCode":200 + }, + "input":{"shape":"DeleteSupplementalTaxRegistrationRequest"}, + "output":{"shape":"DeleteSupplementalTaxRegistrationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ] + }, "DeleteTaxRegistration":{ "name":"DeleteTaxRegistration", "http":{ @@ -89,6 +105,21 @@ {"shape":"InternalServerException"} ] }, + "ListSupplementalTaxRegistrations":{ + "name":"ListSupplementalTaxRegistrations", + "http":{ + "method":"POST", + "requestUri":"/ListSupplementalTaxRegistrations", + "responseCode":200 + }, + "input":{"shape":"ListSupplementalTaxRegistrationsRequest"}, + "output":{"shape":"ListSupplementalTaxRegistrationsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ] + }, "ListTaxRegistrations":{ "name":"ListTaxRegistrations", "http":{ @@ -104,6 +135,21 @@ {"shape":"InternalServerException"} ] }, + "PutSupplementalTaxRegistration":{ + "name":"PutSupplementalTaxRegistration", + "http":{ + "method":"POST", + "requestUri":"/PutSupplementalTaxRegistration", + "responseCode":200 + }, + "input":{"shape":"PutSupplementalTaxRegistrationRequest"}, + "output":{"shape":"PutSupplementalTaxRegistrationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + }, "PutTaxRegistration":{ "name":"PutTaxRegistration", "http":{ @@ -328,6 +374,10 @@ "legalNatureCode":{"shape":"LegalNatureCode"} } }, + "BusinessRegistrationNumber":{ + "type":"string", + "pattern":"^[0-9]{12}$" + }, "BusinessRepresentativeName":{ "type":"string", "max":200, @@ -409,6 +459,18 @@ "min":10, "pattern":"^(\\d{4}-(0[0-9]|1[0-2])-([0-2][0-9]|3[0-1]))$" }, + "DeleteSupplementalTaxRegistrationRequest":{ + "type":"structure", + "required":["authorityId"], + "members":{ + "authorityId":{"shape":"GenericString"} + } + }, + "DeleteSupplementalTaxRegistrationResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteTaxRegistrationRequest":{ "type":"structure", "members":{ @@ -462,6 +524,12 @@ "type":"string", "pattern":"^(?!\\s*$)[\\s\\S]+$" }, + "GenericString":{ + "type":"string", + "max":200, + "min":1, + "pattern":"^[\\s\\S]*$" + }, "GeorgiaAdditionalInfo":{ "type":"structure", "required":["personType"], @@ -614,6 +682,21 @@ "min":1, "pattern":"^[0-9\\u3130-\\u318F\\uAC00-\\uD7AF,.( )-\\\\s]*$" }, + "ListSupplementalTaxRegistrationsRequest":{ + "type":"structure", + "members":{ + "maxResults":{"shape":"MaxResults"}, + "nextToken":{"shape":"PaginationTokenString"} + } + }, + "ListSupplementalTaxRegistrationsResponse":{ + "type":"structure", + "required":["taxRegistrations"], + "members":{ + "nextToken":{"shape":"PaginationTokenString"}, + "taxRegistrations":{"shape":"SupplementalTaxRegistrationList"} + } + }, "ListTaxRegistrationsRequest":{ "type":"structure", "members":{ @@ -631,9 +714,10 @@ }, "MalaysiaAdditionalInfo":{ "type":"structure", - "required":["serviceTaxCodes"], "members":{ - "serviceTaxCodes":{"shape":"MalaysiaServiceTaxCodesList"} + "businessRegistrationNumber":{"shape":"BusinessRegistrationNumber"}, + "serviceTaxCodes":{"shape":"MalaysiaServiceTaxCodesList"}, + "taxInformationNumber":{"shape":"TaxInformationNumber"} } }, "MalaysiaServiceTaxCode":{ @@ -649,7 +733,7 @@ "type":"list", "member":{"shape":"MalaysiaServiceTaxCode"}, "max":4, - "min":1 + "min":0 }, "MaxResults":{ "type":"integer", @@ -688,6 +772,24 @@ "min":1, "pattern":"^(?!\\s*$)[\\s\\S]+$" }, + "PutSupplementalTaxRegistrationRequest":{ + "type":"structure", + "required":["taxRegistrationEntry"], + "members":{ + "taxRegistrationEntry":{"shape":"SupplementalTaxRegistrationEntry"} + } + }, + "PutSupplementalTaxRegistrationResponse":{ + "type":"structure", + "required":[ + "authorityId", + "status" + ], + "members":{ + "authorityId":{"shape":"GenericString"}, + "status":{"shape":"TaxRegistrationStatus"} + } + }, "PutTaxRegistrationRequest":{ "type":"structure", "required":["taxRegistrationEntry"], @@ -833,6 +935,50 @@ "min":1, "pattern":"^(?!\\s*$)[\\s\\S]+$" }, + "SupplementalTaxRegistration":{ + "type":"structure", + "required":[ + "address", + "authorityId", + "legalName", + "registrationId", + "registrationType", + "status" + ], + "members":{ + "address":{"shape":"Address"}, + "authorityId":{"shape":"GenericString"}, + "legalName":{"shape":"LegalName"}, + "registrationId":{"shape":"RegistrationId"}, + "registrationType":{"shape":"SupplementalTaxRegistrationType"}, + "status":{"shape":"TaxRegistrationStatus"} + }, + "sensitive":true + }, + "SupplementalTaxRegistrationEntry":{ + "type":"structure", + "required":[ + "address", + "legalName", + "registrationId", + "registrationType" + ], + "members":{ + "address":{"shape":"Address"}, + "legalName":{"shape":"LegalName"}, + "registrationId":{"shape":"RegistrationId"}, + "registrationType":{"shape":"SupplementalTaxRegistrationType"} + }, + "sensitive":true + }, + "SupplementalTaxRegistrationList":{ + "type":"list", + "member":{"shape":"SupplementalTaxRegistration"} + }, + "SupplementalTaxRegistrationType":{ + "type":"string", + "enum":["VAT"] + }, "TaxCode":{ "type":"string", "pattern":"^([0-9]{11}|[A-Z]{6}[0-9]{2}[A-Z][0-9]{2}[A-Z][0-9]{3}[A-Z])$" @@ -862,6 +1008,10 @@ "type":"string", "pattern":"^[\\s\\S]*$" }, + "TaxInformationNumber":{ + "type":"string", + "pattern":"^[A-Z]{1,2}[0-9]{1,11}$" + }, "TaxInheritanceDetails":{ "type":"structure", "members":{ @@ -949,7 +1099,9 @@ "GST", "CPF", "CNPJ", - "SST" + "SST", + "TIN", + "NRIC" ] }, "TaxRegistrationWithJurisdiction":{ diff --git a/apis/taxsettings/2018-05-10/docs-2.json b/apis/taxsettings/2018-05-10/docs-2.json index cf3f39a4c09..ee9a2c3063b 100644 --- a/apis/taxsettings/2018-05-10/docs-2.json +++ b/apis/taxsettings/2018-05-10/docs-2.json @@ -3,12 +3,15 @@ "service": "

You can use the tax setting API to programmatically set, modify, and delete the tax registration number (TRN), associated business legal name, and address (Collectively referred to as \"TRN information\"). You can also programmatically view TRN information and tax addresses (\"Tax profiles\").

You can use this API to automate your TRN information settings instead of manually using the console.

Service Endpoint

", "operations": { "BatchDeleteTaxRegistration": "

Deletes tax registration for multiple accounts in batch. This can be used to delete tax registrations for up to five accounts in one batch.

This API operation can't be used to delete your tax registration in Brazil. Use the Payment preferences page in the Billing and Cost Management console instead.

", - "BatchPutTaxRegistration": "

Adds or updates tax registration for multiple accounts in batch. This can be used to add or update tax registrations for up to five accounts in one batch. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.

To call this API operation for specific countries, see the following country-specific requirements.

Bangladesh

Brazil

Georgia

Kenya

Malaysia

Nepal

Saudi Arabia

South Korea

Spain

Turkey

Ukraine

", + "BatchPutTaxRegistration": "

Adds or updates tax registration for multiple accounts in batch. This can be used to add or update tax registrations for up to five accounts in one batch. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.

To call this API operation for specific countries, see the following country-specific requirements.

Bangladesh

Brazil

Georgia

Kenya

Malaysia

Nepal

Saudi Arabia

South Korea

Spain

Turkey

Ukraine

", + "DeleteSupplementalTaxRegistration": "

Deletes a supplemental tax registration for a single account.

", "DeleteTaxRegistration": "

Deletes tax registration for a single account.

This API operation can't be used to delete your tax registration in Brazil. Use the Payment preferences page in the Billing and Cost Management console instead.

", "GetTaxRegistration": "

Retrieves tax registration for a single account.

", "GetTaxRegistrationDocument": "

Downloads your tax documents to the Amazon S3 bucket that you specify in your request.

", + "ListSupplementalTaxRegistrations": "

Retrieves supplemental tax registrations for a single account.

", "ListTaxRegistrations": "

Retrieves the tax registration of accounts listed in a consolidated billing family. This can be used to retrieve up to 100 accounts' tax registrations in one call (default 50).

", - "PutTaxRegistration": "

Adds or updates tax registration for a single account. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.

To call this API operation for specific countries, see the following country-specific requirements.

Bangladesh

Brazil

Georgia

Kenya

Malaysia

Nepal

Saudi Arabia

South Korea

Spain

Turkey

Ukraine

" + "PutSupplementalTaxRegistration": "

Stores supplemental tax registration for a single account.

", + "PutTaxRegistration": "

Adds or updates tax registration for a single account. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.

To call this API operation for specific countries, see the following country-specific requirements.

Bangladesh

Brazil

Georgia

Kenya

Malaysia

Nepal

Saudi Arabia

South Korea

Spain

Turkey

Ukraine

" }, "shapes": { "AccountDetails": { @@ -72,6 +75,8 @@ "base": "

The details of the address associated with the TRN information.

", "refs": { "AccountMetaData$address": null, + "SupplementalTaxRegistration$address": null, + "SupplementalTaxRegistrationEntry$address": null, "TaxRegistration$legalAddress": "

The legal address associated with your TRN registration.

", "TaxRegistrationEntry$legalAddress": "

The legal address associated with your TRN.

If you're setting a TRN in Brazil for the CNPJ tax type, you don't need to specify the legal address.

For TRNs in other countries and for CPF tax types Brazil, you must specify the legal address.

" } @@ -164,6 +169,12 @@ "AdditionalInfoResponse$brazilAdditionalInfo": "

Additional tax information associated with your TRN in Brazil. The Tax Settings API returns this information in your response when any additional information is present with your TRN in Brazil.

" } }, + "BusinessRegistrationNumber": { + "base": null, + "refs": { + "MalaysiaAdditionalInfo$businessRegistrationNumber": "

The tax registration number (TRN) in Malaysia.

For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number. For business, you must specify a businessRegistrationNumber in MalaysiaAdditionalInfo with a TIN type and tax identification number. For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number.

For business resellers with service codes, you must specify businessRegistrationNumber, taxInformationNumber, and distinct serviceTaxCodes in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.

" + } + }, "BusinessRepresentativeName": { "base": null, "refs": { @@ -192,7 +203,7 @@ "CanadaRetailSalesTaxNumberString": { "base": null, "refs": { - "CanadaAdditionalInfo$canadaRetailSalesTaxNumber": "

Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services for resale.

" + "CanadaAdditionalInfo$canadaRetailSalesTaxNumber": "

Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services services for resale.

" } }, "CcmCode": { @@ -245,6 +256,16 @@ "VerificationDetails$dateOfBirth": "

Date of birth to verify your submitted TRN. Use the YYYY-MM-DD format.

" } }, + "DeleteSupplementalTaxRegistrationRequest": { + "base": null, + "refs": { + } + }, + "DeleteSupplementalTaxRegistrationResponse": { + "base": null, + "refs": { + } + }, "DeleteTaxRegistrationRequest": { "base": null, "refs": { @@ -307,6 +328,14 @@ "ValidationExceptionField$name": "

The name of the parameter that caused a ValidationException error.

" } }, + "GenericString": { + "base": null, + "refs": { + "DeleteSupplementalTaxRegistrationRequest$authorityId": "

The unique authority Id for the supplemental TRN information that needs to be deleted.

", + "PutSupplementalTaxRegistrationResponse$authorityId": "

Unique authority ID for the supplemental TRN information that was stored.

", + "SupplementalTaxRegistration$authorityId": "

Unique authority ID for the supplemental TRN.

" + } + }, "GeorgiaAdditionalInfo": { "base": "

Additional tax information associated with your TRN in Georgia.

", "refs": { @@ -418,6 +447,8 @@ "LegalName": { "base": null, "refs": { + "SupplementalTaxRegistration$legalName": "

The legal name associated with your TRN registration.

", + "SupplementalTaxRegistrationEntry$legalName": "

The legal name associated with your TRN registration.

", "TaxRegistration$legalName": "

The legal name associated with your TRN registration.

", "TaxRegistrationEntry$legalName": "

The legal name associated with your TRN.

If you're setting a TRN in Brazil, you don't need to specify the legal name. For TRNs in other countries, you must specify the legal name.

", "TaxRegistrationWithJurisdiction$legalName": "

The legal name associated with your TRN information.

" @@ -435,6 +466,16 @@ "SouthKoreaAdditionalInfo$lineOfBusiness": "

Line of business based on the most recently uploaded tax registration certificate.

" } }, + "ListSupplementalTaxRegistrationsRequest": { + "base": null, + "refs": { + } + }, + "ListSupplementalTaxRegistrationsResponse": { + "base": null, + "refs": { + } + }, "ListTaxRegistrationsRequest": { "base": null, "refs": { @@ -467,12 +508,15 @@ "MaxResults": { "base": null, "refs": { + "ListSupplementalTaxRegistrationsRequest$maxResults": "

The number of taxRegistrations results you want in one response.

", "ListTaxRegistrationsRequest$maxResults": "

Number of accountDetails results you want in one response.

" } }, "PaginationTokenString": { "base": null, "refs": { + "ListSupplementalTaxRegistrationsRequest$nextToken": "

The token to retrieve the next set of results.

", + "ListSupplementalTaxRegistrationsResponse$nextToken": "

The token to retrieve the next set of results.

", "ListTaxRegistrationsRequest$nextToken": "

The token to retrieve the next set of results.

", "ListTaxRegistrationsResponse$nextToken": "

The token to retrieve the next set of results.

" } @@ -503,6 +547,16 @@ "Address$postalCode": "

The postal code associated with the address.

" } }, + "PutSupplementalTaxRegistrationRequest": { + "base": null, + "refs": { + } + }, + "PutSupplementalTaxRegistrationResponse": { + "base": null, + "refs": { + } + }, "PutTaxRegistrationRequest": { "base": null, "refs": { @@ -516,6 +570,8 @@ "RegistrationId": { "base": null, "refs": { + "SupplementalTaxRegistration$registrationId": "

The supplemental TRN unique identifier.

", + "SupplementalTaxRegistrationEntry$registrationId": "

The supplemental TRN unique identifier.

", "TaxRegistration$registrationId": "

Your tax registration unique identifier.

", "TaxRegistrationEntry$registrationId": "

Your tax registration unique identifier.

", "TaxRegistrationWithJurisdiction$registrationId": "

Your tax registration unique identifier.

" @@ -626,10 +682,35 @@ "State": { "base": null, "refs": { - "Address$stateOrRegion": "

The state, region, or province that the address is located.

If this is required for tax settings, use the same name as shown on the Tax Settings page.

", + "Address$stateOrRegion": "

The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.

If this is required for tax settings, use the same name as shown on the Tax Settings page.

", "Jurisdiction$stateOrRegion": "

The state, region, or province associated with the country of the jurisdiction, if applicable.

" } }, + "SupplementalTaxRegistration": { + "base": "

Supplemental TRN details.

", + "refs": { + "SupplementalTaxRegistrationList$member": null + } + }, + "SupplementalTaxRegistrationEntry": { + "base": "

The supplemental TRN information to provide when adding or updating a supplemental TRN.

", + "refs": { + "PutSupplementalTaxRegistrationRequest$taxRegistrationEntry": "

The supplemental TRN information that will be stored for the caller account ID.

" + } + }, + "SupplementalTaxRegistrationList": { + "base": null, + "refs": { + "ListSupplementalTaxRegistrationsResponse$taxRegistrations": "

The list of supplemental tax registrations.

" + } + }, + "SupplementalTaxRegistrationType": { + "base": null, + "refs": { + "SupplementalTaxRegistration$registrationType": "

Type of supplemental TRN. Currently, this can only be VAT.

", + "SupplementalTaxRegistrationEntry$registrationType": "

Type of supplemental TRN. Currently, this can only be VAT.

" + } + }, "TaxCode": { "base": null, "refs": { @@ -662,6 +743,12 @@ "TaxDocumentMetadata$taxDocumentName": "

The name of your tax document.

" } }, + "TaxInformationNumber": { + "base": null, + "refs": { + "MalaysiaAdditionalInfo$taxInformationNumber": "

The tax information number in Malaysia.

For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number. For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number.

For business resellers with service codes, you must specify businessRegistrationNumber, taxInformationNumber, and distinct serviceTaxCodes in MalaysiaAdditionalInfo with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.

" + } + }, "TaxInheritanceDetails": { "base": "

Tax inheritance information associated with the account.

", "refs": { @@ -709,7 +796,9 @@ "base": null, "refs": { "BatchPutTaxRegistrationResponse$status": "

The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be Verified, Pending or Rejected.

", + "PutSupplementalTaxRegistrationResponse$status": "

The status of the supplemental TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be Verified, Pending, Rejected, or Deleted.

", "PutTaxRegistrationResponse$status": "

The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be Verified, Pending or Rejected.

", + "SupplementalTaxRegistration$status": "

The status of your TRN.

", "TaxRegistration$status": "

The status of your TRN. This can be either Verified, Pending, Deleted, or Rejected.

", "TaxRegistrationWithJurisdiction$status": "

The status of your TRN. This can be either Verified, Pending, Deleted, or Rejected.

" } diff --git a/apis/taxsettings/2018-05-10/paginators-1.json b/apis/taxsettings/2018-05-10/paginators-1.json index 3944b04ceb7..afa3295649e 100644 --- a/apis/taxsettings/2018-05-10/paginators-1.json +++ b/apis/taxsettings/2018-05-10/paginators-1.json @@ -1,5 +1,11 @@ { "pagination": { + "ListSupplementalTaxRegistrations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "taxRegistrations" + }, "ListTaxRegistrations": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index 5bbe51e12a3..ca6ed71f6db 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.1001.0 (2024-11-01) +------------------ + +* Feature - Updated the partitions source data the determines the AWS service regions and endpoints. + 1.1000.0 (2024-10-31) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index 1a6c2c7da8f..cf78cac70be 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.1000.0 +1.1001.0 diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index 59fedef47bd..7aaaa1b1ced 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -16192,6 +16192,7 @@ "hostname" : "rekognition-fips.ca-central-1.amazonaws.com" }, "eu-central-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "il-central-1" : { }, diff --git a/gems/aws-sdk-bedrockagent/CHANGELOG.md b/gems/aws-sdk-bedrockagent/CHANGELOG.md index 484b10d2108..678ef16c9df 100644 --- a/gems/aws-sdk-bedrockagent/CHANGELOG.md +++ b/gems/aws-sdk-bedrockagent/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.32.0 (2024-11-01) +------------------ + +* Feature - Amazon Bedrock Knowledge Bases now supports using application inference profiles to increase throughput and improve resilience. + 1.31.0 (2024-10-25) ------------------ diff --git a/gems/aws-sdk-bedrockagent/VERSION b/gems/aws-sdk-bedrockagent/VERSION index 34aae156b19..359c41089a4 100644 --- a/gems/aws-sdk-bedrockagent/VERSION +++ b/gems/aws-sdk-bedrockagent/VERSION @@ -1 +1 @@ -1.31.0 +1.32.0 diff --git a/gems/aws-sdk-bedrockagent/aws-sdk-bedrockagent.gemspec b/gems/aws-sdk-bedrockagent/aws-sdk-bedrockagent.gemspec index c4ef0acea5b..364a513d65f 100644 --- a/gems/aws-sdk-bedrockagent/aws-sdk-bedrockagent.gemspec +++ b/gems/aws-sdk-bedrockagent/aws-sdk-bedrockagent.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |spec| } spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.210.0') - spec.add_dependency('aws-sigv4', '~> 1.1') + spec.add_dependency('aws-sigv4', '~> 1.5') spec.required_ruby_version = '>= 2.5' end diff --git a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent.rb b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent.rb index e60cc498926..bd7644dc390 100644 --- a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent.rb +++ b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent.rb @@ -54,7 +54,7 @@ module Plugins autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider' autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints' - GEM_VERSION = '1.31.0' + GEM_VERSION = '1.32.0' end diff --git a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client.rb b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client.rb index 1f556907e71..0d4ec6a66c2 100644 --- a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client.rb +++ b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client.rb @@ -5796,7 +5796,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-bedrockagent' - context[:gem_version] = '1.31.0' + context[:gem_version] = '1.32.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client_api.rb b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client_api.rb index f40a6651347..75834c84546 100644 --- a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client_api.rb +++ b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client_api.rb @@ -1997,9 +1997,11 @@ module ClientApi api.metadata = { "apiVersion" => "2023-06-05", + "auth" => ["aws.auth#sigv4"], "endpointPrefix" => "bedrock-agent", "jsonVersion" => "1.1", "protocol" => "rest-json", + "protocols" => ["rest-json"], "serviceFullName" => "Agents for Amazon Bedrock", "serviceId" => "Bedrock Agent", "signatureVersion" => "v4", diff --git a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb index 4a1a9daaed6..ad6d59a0da6 100644 --- a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb +++ b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb @@ -7972,8 +7972,8 @@ class VectorIngestionConfiguration < Struct.new( # the knowledge base. # # @!attribute [rw] embedding_model_arn - # The Amazon Resource Name (ARN) of the model used to create vector - # embeddings for the knowledge base. + # The Amazon Resource Name (ARN) of the model or inference profile + # used to create vector embeddings for the knowledge base. # @return [String] # # @!attribute [rw] embedding_model_configuration diff --git a/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md b/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md index 8dd1ea2fd90..13b635d8984 100644 --- a/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md +++ b/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.100.0 (2024-11-01) +------------------ + +* Feature - This release introduces an improvement in PutLogEvents + 1.99.0 (2024-10-29) ------------------ diff --git a/gems/aws-sdk-cloudwatchlogs/VERSION b/gems/aws-sdk-cloudwatchlogs/VERSION index 9eb2e1ff9c2..7a9fecd3f0e 100644 --- a/gems/aws-sdk-cloudwatchlogs/VERSION +++ b/gems/aws-sdk-cloudwatchlogs/VERSION @@ -1 +1 @@ -1.99.0 +1.100.0 diff --git a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs.rb b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs.rb index 6a1fe1efed6..c5b8a5833ff 100644 --- a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs.rb +++ b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs.rb @@ -55,7 +55,7 @@ module Plugins autoload :Endpoints, 'aws-sdk-cloudwatchlogs/endpoints' autoload :EventStreams, 'aws-sdk-cloudwatchlogs/event_streams' - GEM_VERSION = '1.99.0' + GEM_VERSION = '1.100.0' end diff --git a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/client.rb b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/client.rb index 88d6d152d19..42eb3d0ab95 100644 --- a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/client.rb +++ b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/client.rb @@ -5627,7 +5627,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-cloudwatchlogs' - context[:gem_version] = '1.99.0' + context[:gem_version] = '1.100.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-docdbelastic/CHANGELOG.md b/gems/aws-sdk-docdbelastic/CHANGELOG.md index abfb6af102e..ee71dd8bd46 100644 --- a/gems/aws-sdk-docdbelastic/CHANGELOG.md +++ b/gems/aws-sdk-docdbelastic/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.26.0 (2024-11-01) +------------------ + +* Feature - Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction + 1.25.0 (2024-10-18) ------------------ diff --git a/gems/aws-sdk-docdbelastic/VERSION b/gems/aws-sdk-docdbelastic/VERSION index ad2191947f7..5ff8c4f5d2a 100644 --- a/gems/aws-sdk-docdbelastic/VERSION +++ b/gems/aws-sdk-docdbelastic/VERSION @@ -1 +1 @@ -1.25.0 +1.26.0 diff --git a/gems/aws-sdk-docdbelastic/aws-sdk-docdbelastic.gemspec b/gems/aws-sdk-docdbelastic/aws-sdk-docdbelastic.gemspec index 3fc7d9e91b4..b489c321581 100644 --- a/gems/aws-sdk-docdbelastic/aws-sdk-docdbelastic.gemspec +++ b/gems/aws-sdk-docdbelastic/aws-sdk-docdbelastic.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |spec| } spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.210.0') - spec.add_dependency('aws-sigv4', '~> 1.1') + spec.add_dependency('aws-sigv4', '~> 1.5') spec.required_ruby_version = '>= 2.5' end diff --git a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic.rb b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic.rb index 3ac41803fc1..745a38918b5 100644 --- a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic.rb +++ b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic.rb @@ -23,7 +23,7 @@ # structure. # # doc_db_elastic = Aws::DocDBElastic::Client.new -# resp = doc_db_elastic.copy_cluster_snapshot(params) +# resp = doc_db_elastic.apply_pending_maintenance_action(params) # # See {Client} for more information. # @@ -54,7 +54,7 @@ module Plugins autoload :EndpointProvider, 'aws-sdk-docdbelastic/endpoint_provider' autoload :Endpoints, 'aws-sdk-docdbelastic/endpoints' - GEM_VERSION = '1.25.0' + GEM_VERSION = '1.26.0' end diff --git a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client.rb b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client.rb index b5994268805..eb765590f24 100644 --- a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client.rb +++ b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client.rb @@ -447,6 +447,68 @@ def initialize(*args) # @!group API Operations + # The type of pending maintenance action to be applied to the resource. + # + # @option params [required, String] :apply_action + # The pending maintenance action to apply to the resource. + # + # Valid actions are: + # + # * `ENGINE_UPDATE ` + # + # * `ENGINE_UPGRADE` + # + # * `SECURITY_UPDATE` + # + # * `OS_UPDATE` + # + # * `MASTER_USER_PASSWORD_UPDATE` + # + # @option params [String] :apply_on + # A specific date to apply the pending maintenance action. Required if + # opt-in-type is `APPLY_ON`. Format: `yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm` + # + # @option params [required, String] :opt_in_type + # A value that specifies the type of opt-in request, or undoes an opt-in + # request. An opt-in request of type `IMMEDIATE` can't be undone. + # + # @option params [required, String] :resource_arn + # The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to + # which the pending maintenance action applies. + # + # @return [Types::ApplyPendingMaintenanceActionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ApplyPendingMaintenanceActionOutput#resource_pending_maintenance_action #resource_pending_maintenance_action} => Types::ResourcePendingMaintenanceAction + # + # @example Request syntax with placeholder values + # + # resp = client.apply_pending_maintenance_action({ + # apply_action: "InputString", # required + # apply_on: "InputString", + # opt_in_type: "IMMEDIATE", # required, accepts IMMEDIATE, NEXT_MAINTENANCE, APPLY_ON, UNDO_OPT_IN + # resource_arn: "InputString", # required + # }) + # + # @example Response structure + # + # resp.resource_pending_maintenance_action.pending_maintenance_action_details #=> Array + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].action #=> String + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].auto_applied_after_date #=> String + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].current_apply_date #=> String + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].description #=> String + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].forced_apply_date #=> String + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].opt_in_status #=> String + # resp.resource_pending_maintenance_action.resource_arn #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ApplyPendingMaintenanceAction AWS API Documentation + # + # @overload apply_pending_maintenance_action(params = {}) + # @param [Hash] params ({}) + def apply_pending_maintenance_action(params = {}, options = {}) + req = build_request(:apply_pending_maintenance_action, params) + req.send_request(options) + end + # Copies a snapshot of an elastic cluster. # # @option params [Boolean] :copy_tags @@ -524,7 +586,7 @@ def initialize(*args) # resp.snapshot.snapshot_creation_time #=> String # resp.snapshot.snapshot_name #=> String # resp.snapshot.snapshot_type #=> String, one of "MANUAL", "AUTOMATED" - # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.snapshot.subnet_ids #=> Array # resp.snapshot.subnet_ids[0] #=> String # resp.snapshot.vpc_security_group_ids #=> Array @@ -690,8 +752,8 @@ def copy_cluster_snapshot(params = {}, options = {}) # resp.cluster.shards #=> Array # resp.cluster.shards[0].create_time #=> String # resp.cluster.shards[0].shard_id #=> String - # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" - # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" + # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.cluster.subnet_ids #=> Array # resp.cluster.subnet_ids[0] #=> String # resp.cluster.vpc_security_group_ids #=> Array @@ -742,7 +804,7 @@ def create_cluster(params = {}, options = {}) # resp.snapshot.snapshot_creation_time #=> String # resp.snapshot.snapshot_name #=> String # resp.snapshot.snapshot_type #=> String, one of "MANUAL", "AUTOMATED" - # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.snapshot.subnet_ids #=> Array # resp.snapshot.subnet_ids[0] #=> String # resp.snapshot.vpc_security_group_ids #=> Array @@ -790,8 +852,8 @@ def create_cluster_snapshot(params = {}, options = {}) # resp.cluster.shards #=> Array # resp.cluster.shards[0].create_time #=> String # resp.cluster.shards[0].shard_id #=> String - # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" - # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" + # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.cluster.subnet_ids #=> Array # resp.cluster.subnet_ids[0] #=> String # resp.cluster.vpc_security_group_ids #=> Array @@ -832,7 +894,7 @@ def delete_cluster(params = {}, options = {}) # resp.snapshot.snapshot_creation_time #=> String # resp.snapshot.snapshot_name #=> String # resp.snapshot.snapshot_type #=> String, one of "MANUAL", "AUTOMATED" - # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.snapshot.subnet_ids #=> Array # resp.snapshot.subnet_ids[0] #=> String # resp.snapshot.vpc_security_group_ids #=> Array @@ -880,8 +942,8 @@ def delete_cluster_snapshot(params = {}, options = {}) # resp.cluster.shards #=> Array # resp.cluster.shards[0].create_time #=> String # resp.cluster.shards[0].shard_id #=> String - # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" - # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" + # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.cluster.subnet_ids #=> Array # resp.cluster.subnet_ids[0] #=> String # resp.cluster.vpc_security_group_ids #=> Array @@ -921,7 +983,7 @@ def get_cluster(params = {}, options = {}) # resp.snapshot.snapshot_creation_time #=> String # resp.snapshot.snapshot_name #=> String # resp.snapshot.snapshot_type #=> String, one of "MANUAL", "AUTOMATED" - # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.snapshot.subnet_ids #=> Array # resp.snapshot.subnet_ids[0] #=> String # resp.snapshot.vpc_security_group_ids #=> Array @@ -936,6 +998,42 @@ def get_cluster_snapshot(params = {}, options = {}) req.send_request(options) end + # Retrieves all maintenance actions that are pending. + # + # @option params [required, String] :resource_arn + # Retrieves pending maintenance actions for a specific Amazon Resource + # Name (ARN). + # + # @return [Types::GetPendingMaintenanceActionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::GetPendingMaintenanceActionOutput#resource_pending_maintenance_action #resource_pending_maintenance_action} => Types::ResourcePendingMaintenanceAction + # + # @example Request syntax with placeholder values + # + # resp = client.get_pending_maintenance_action({ + # resource_arn: "InputString", # required + # }) + # + # @example Response structure + # + # resp.resource_pending_maintenance_action.pending_maintenance_action_details #=> Array + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].action #=> String + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].auto_applied_after_date #=> String + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].current_apply_date #=> String + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].description #=> String + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].forced_apply_date #=> String + # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].opt_in_status #=> String + # resp.resource_pending_maintenance_action.resource_arn #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/GetPendingMaintenanceAction AWS API Documentation + # + # @overload get_pending_maintenance_action(params = {}) + # @param [Hash] params ({}) + def get_pending_maintenance_action(params = {}, options = {}) + req = build_request(:get_pending_maintenance_action, params) + req.send_request(options) + end + # Returns information about snapshots for a specified elastic cluster. # # @option params [String] :cluster_arn @@ -987,7 +1085,7 @@ def get_cluster_snapshot(params = {}, options = {}) # resp.snapshots[0].snapshot_arn #=> String # resp.snapshots[0].snapshot_creation_time #=> String # resp.snapshots[0].snapshot_name #=> String - # resp.snapshots[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.snapshots[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListClusterSnapshots AWS API Documentation # @@ -1032,7 +1130,7 @@ def list_cluster_snapshots(params = {}, options = {}) # resp.clusters #=> Array # resp.clusters[0].cluster_arn #=> String # resp.clusters[0].cluster_name #=> String - # resp.clusters[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.clusters[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListClusters AWS API Documentation @@ -1044,6 +1142,55 @@ def list_clusters(params = {}, options = {}) req.send_request(options) end + # Retrieves a list of all maintenance actions that are pending. + # + # @option params [Integer] :max_results + # The maximum number of results to include in the response. If more + # records exist than the specified `maxResults` value, a pagination + # token (marker) is included in the response so that the remaining + # results can be retrieved. + # + # @option params [String] :next_token + # An optional pagination token provided by a previous request. If this + # parameter is specified, the response includes only records beyond the + # marker, up to the value specified by `maxResults`. + # + # @return [Types::ListPendingMaintenanceActionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListPendingMaintenanceActionsOutput#next_token #next_token} => String + # * {Types::ListPendingMaintenanceActionsOutput#resource_pending_maintenance_actions #resource_pending_maintenance_actions} => Array<Types::ResourcePendingMaintenanceAction> + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_pending_maintenance_actions({ + # max_results: 1, + # next_token: "PaginationToken", + # }) + # + # @example Response structure + # + # resp.next_token #=> String + # resp.resource_pending_maintenance_actions #=> Array + # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details #=> Array + # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].action #=> String + # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].auto_applied_after_date #=> String + # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].current_apply_date #=> String + # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].description #=> String + # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].forced_apply_date #=> String + # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].opt_in_status #=> String + # resp.resource_pending_maintenance_actions[0].resource_arn #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListPendingMaintenanceActions AWS API Documentation + # + # @overload list_pending_maintenance_actions(params = {}) + # @param [Hash] params ({}) + def list_pending_maintenance_actions(params = {}, options = {}) + req = build_request(:list_pending_maintenance_actions, params) + req.send_request(options) + end + # Lists all tags on a elastic cluster resource # # @option params [required, String] :resource_arn @@ -1152,8 +1299,8 @@ def list_tags_for_resource(params = {}, options = {}) # resp.cluster.shards #=> Array # resp.cluster.shards[0].create_time #=> String # resp.cluster.shards[0].shard_id #=> String - # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" - # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" + # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.cluster.subnet_ids #=> Array # resp.cluster.subnet_ids[0] #=> String # resp.cluster.vpc_security_group_ids #=> Array @@ -1202,8 +1349,8 @@ def restore_cluster_from_snapshot(params = {}, options = {}) # resp.cluster.shards #=> Array # resp.cluster.shards[0].create_time #=> String # resp.cluster.shards[0].shard_id #=> String - # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" - # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" + # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.cluster.subnet_ids #=> Array # resp.cluster.subnet_ids[0] #=> String # resp.cluster.vpc_security_group_ids #=> Array @@ -1252,8 +1399,8 @@ def start_cluster(params = {}, options = {}) # resp.cluster.shards #=> Array # resp.cluster.shards[0].create_time #=> String # resp.cluster.shards[0].shard_id #=> String - # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" - # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" + # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.cluster.subnet_ids #=> Array # resp.cluster.subnet_ids[0] #=> String # resp.cluster.vpc_security_group_ids #=> Array @@ -1428,8 +1575,8 @@ def untag_resource(params = {}, options = {}) # resp.cluster.shards #=> Array # resp.cluster.shards[0].create_time #=> String # resp.cluster.shards[0].shard_id #=> String - # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" - # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED" + # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" + # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" # resp.cluster.subnet_ids #=> Array # resp.cluster.subnet_ids[0] #=> String # resp.cluster.vpc_security_group_ids #=> Array @@ -1462,7 +1609,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-docdbelastic' - context[:gem_version] = '1.25.0' + context[:gem_version] = '1.26.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client_api.rb b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client_api.rb index 228511de4a9..977635705c1 100644 --- a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client_api.rb +++ b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client_api.rb @@ -15,6 +15,8 @@ module ClientApi include Seahorse::Model AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException') + ApplyPendingMaintenanceActionInput = Shapes::StructureShape.new(name: 'ApplyPendingMaintenanceActionInput') + ApplyPendingMaintenanceActionOutput = Shapes::StructureShape.new(name: 'ApplyPendingMaintenanceActionOutput') Arn = Shapes::StringShape.new(name: 'Arn') Auth = Shapes::StringShape.new(name: 'Auth') Boolean = Shapes::BooleanShape.new(name: 'Boolean') @@ -41,6 +43,9 @@ module ClientApi GetClusterOutput = Shapes::StructureShape.new(name: 'GetClusterOutput') GetClusterSnapshotInput = Shapes::StructureShape.new(name: 'GetClusterSnapshotInput') GetClusterSnapshotOutput = Shapes::StructureShape.new(name: 'GetClusterSnapshotOutput') + GetPendingMaintenanceActionInput = Shapes::StructureShape.new(name: 'GetPendingMaintenanceActionInput') + GetPendingMaintenanceActionOutput = Shapes::StructureShape.new(name: 'GetPendingMaintenanceActionOutput') + InputString = Shapes::StringShape.new(name: 'InputString') Integer = Shapes::IntegerShape.new(name: 'Integer') InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException') ListClusterSnapshotsInput = Shapes::StructureShape.new(name: 'ListClusterSnapshotsInput') @@ -49,11 +54,19 @@ module ClientApi ListClustersInput = Shapes::StructureShape.new(name: 'ListClustersInput') ListClustersInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListClustersInputMaxResultsInteger') ListClustersOutput = Shapes::StructureShape.new(name: 'ListClustersOutput') + ListPendingMaintenanceActionsInput = Shapes::StructureShape.new(name: 'ListPendingMaintenanceActionsInput') + ListPendingMaintenanceActionsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListPendingMaintenanceActionsInputMaxResultsInteger') + ListPendingMaintenanceActionsOutput = Shapes::StructureShape.new(name: 'ListPendingMaintenanceActionsOutput') ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest') ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse') + OptInType = Shapes::StringShape.new(name: 'OptInType') PaginationToken = Shapes::StringShape.new(name: 'PaginationToken') Password = Shapes::StringShape.new(name: 'Password') + PendingMaintenanceActionDetails = Shapes::StructureShape.new(name: 'PendingMaintenanceActionDetails') + PendingMaintenanceActionDetailsList = Shapes::ListShape.new(name: 'PendingMaintenanceActionDetailsList') ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException') + ResourcePendingMaintenanceAction = Shapes::StructureShape.new(name: 'ResourcePendingMaintenanceAction') + ResourcePendingMaintenanceActionList = Shapes::ListShape.new(name: 'ResourcePendingMaintenanceActionList') RestoreClusterFromSnapshotInput = Shapes::StructureShape.new(name: 'RestoreClusterFromSnapshotInput') RestoreClusterFromSnapshotOutput = Shapes::StructureShape.new(name: 'RestoreClusterFromSnapshotOutput') ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException') @@ -86,6 +99,15 @@ module ClientApi AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message")) AccessDeniedException.struct_class = Types::AccessDeniedException + ApplyPendingMaintenanceActionInput.add_member(:apply_action, Shapes::ShapeRef.new(shape: InputString, required: true, location_name: "applyAction")) + ApplyPendingMaintenanceActionInput.add_member(:apply_on, Shapes::ShapeRef.new(shape: InputString, location_name: "applyOn")) + ApplyPendingMaintenanceActionInput.add_member(:opt_in_type, Shapes::ShapeRef.new(shape: OptInType, required: true, location_name: "optInType")) + ApplyPendingMaintenanceActionInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: InputString, required: true, location_name: "resourceArn")) + ApplyPendingMaintenanceActionInput.struct_class = Types::ApplyPendingMaintenanceActionInput + + ApplyPendingMaintenanceActionOutput.add_member(:resource_pending_maintenance_action, Shapes::ShapeRef.new(shape: ResourcePendingMaintenanceAction, required: true, location_name: "resourcePendingMaintenanceAction")) + ApplyPendingMaintenanceActionOutput.struct_class = Types::ApplyPendingMaintenanceActionOutput + Cluster.add_member(:admin_user_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "adminUserName")) Cluster.add_member(:auth_type, Shapes::ShapeRef.new(shape: Auth, required: true, location_name: "authType")) Cluster.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: Integer, location_name: "backupRetentionPeriod")) @@ -201,6 +223,12 @@ module ClientApi GetClusterSnapshotOutput.add_member(:snapshot, Shapes::ShapeRef.new(shape: ClusterSnapshot, required: true, location_name: "snapshot")) GetClusterSnapshotOutput.struct_class = Types::GetClusterSnapshotOutput + GetPendingMaintenanceActionInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: InputString, required: true, location: "uri", location_name: "resourceArn")) + GetPendingMaintenanceActionInput.struct_class = Types::GetPendingMaintenanceActionInput + + GetPendingMaintenanceActionOutput.add_member(:resource_pending_maintenance_action, Shapes::ShapeRef.new(shape: ResourcePendingMaintenanceAction, required: true, location_name: "resourcePendingMaintenanceAction")) + GetPendingMaintenanceActionOutput.struct_class = Types::GetPendingMaintenanceActionOutput + InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message")) InternalServerException.struct_class = Types::InternalServerException @@ -222,17 +250,41 @@ module ClientApi ListClustersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) ListClustersOutput.struct_class = Types::ListClustersOutput + ListPendingMaintenanceActionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListPendingMaintenanceActionsInputMaxResultsInteger, location: "querystring", location_name: "maxResults")) + ListPendingMaintenanceActionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken")) + ListPendingMaintenanceActionsInput.struct_class = Types::ListPendingMaintenanceActionsInput + + ListPendingMaintenanceActionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken")) + ListPendingMaintenanceActionsOutput.add_member(:resource_pending_maintenance_actions, Shapes::ShapeRef.new(shape: ResourcePendingMaintenanceActionList, required: true, location_name: "resourcePendingMaintenanceActions")) + ListPendingMaintenanceActionsOutput.struct_class = Types::ListPendingMaintenanceActionsOutput + ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn")) ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags")) ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse + PendingMaintenanceActionDetails.add_member(:action, Shapes::ShapeRef.new(shape: String, required: true, location_name: "action")) + PendingMaintenanceActionDetails.add_member(:auto_applied_after_date, Shapes::ShapeRef.new(shape: String, location_name: "autoAppliedAfterDate")) + PendingMaintenanceActionDetails.add_member(:current_apply_date, Shapes::ShapeRef.new(shape: String, location_name: "currentApplyDate")) + PendingMaintenanceActionDetails.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description")) + PendingMaintenanceActionDetails.add_member(:forced_apply_date, Shapes::ShapeRef.new(shape: String, location_name: "forcedApplyDate")) + PendingMaintenanceActionDetails.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: String, location_name: "optInStatus")) + PendingMaintenanceActionDetails.struct_class = Types::PendingMaintenanceActionDetails + + PendingMaintenanceActionDetailsList.member = Shapes::ShapeRef.new(shape: PendingMaintenanceActionDetails) + ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message")) ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId")) ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType")) ResourceNotFoundException.struct_class = Types::ResourceNotFoundException + ResourcePendingMaintenanceAction.add_member(:pending_maintenance_action_details, Shapes::ShapeRef.new(shape: PendingMaintenanceActionDetailsList, location_name: "pendingMaintenanceActionDetails")) + ResourcePendingMaintenanceAction.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceArn")) + ResourcePendingMaintenanceAction.struct_class = Types::ResourcePendingMaintenanceAction + + ResourcePendingMaintenanceActionList.member = Shapes::ShapeRef.new(shape: ResourcePendingMaintenanceAction) + RestoreClusterFromSnapshotInput.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterName")) RestoreClusterFromSnapshotInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId")) RestoreClusterFromSnapshotInput.add_member(:shard_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "shardCapacity")) @@ -327,9 +379,11 @@ module ClientApi api.metadata = { "apiVersion" => "2022-11-28", + "auth" => ["aws.auth#sigv4"], "endpointPrefix" => "docdb-elastic", "jsonVersion" => "1.1", "protocol" => "rest-json", + "protocols" => ["rest-json"], "serviceAbbreviation" => "DocDB Elastic", "serviceFullName" => "Amazon DocumentDB Elastic Clusters", "serviceId" => "DocDB Elastic", @@ -338,6 +392,20 @@ module ClientApi "uid" => "docdb-elastic-2022-11-28", } + api.add_operation(:apply_pending_maintenance_action, Seahorse::Model::Operation.new.tap do |o| + o.name = "ApplyPendingMaintenanceAction" + o.http_method = "POST" + o.http_request_uri = "/pending-action" + o.input = Shapes::ShapeRef.new(shape: ApplyPendingMaintenanceActionInput) + o.output = Shapes::ShapeRef.new(shape: ApplyPendingMaintenanceActionOutput) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + end) + api.add_operation(:copy_cluster_snapshot, Seahorse::Model::Operation.new.tap do |o| o.name = "CopyClusterSnapshot" o.http_method = "POST" @@ -436,6 +504,20 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) end) + api.add_operation(:get_pending_maintenance_action, Seahorse::Model::Operation.new.tap do |o| + o.name = "GetPendingMaintenanceAction" + o.http_method = "GET" + o.http_request_uri = "/pending-action/{resourceArn}" + o.input = Shapes::ShapeRef.new(shape: GetPendingMaintenanceActionInput) + o.output = Shapes::ShapeRef.new(shape: GetPendingMaintenanceActionOutput) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + end) + api.add_operation(:list_cluster_snapshots, Seahorse::Model::Operation.new.tap do |o| o.name = "ListClusterSnapshots" o.http_method = "GET" @@ -472,6 +554,24 @@ module ClientApi ) end) + api.add_operation(:list_pending_maintenance_actions, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListPendingMaintenanceActions" + o.http_method = "GET" + o.http_request_uri = "/pending-actions" + o.input = Shapes::ShapeRef.new(shape: ListPendingMaintenanceActionsInput) + o.output = Shapes::ShapeRef.new(shape: ListPendingMaintenanceActionsOutput) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "ListTagsForResource" o.http_method = "GET" diff --git a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/types.rb b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/types.rb index 52c5472b445..f679d08256e 100644 --- a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/types.rb +++ b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/types.rb @@ -25,6 +25,62 @@ class AccessDeniedException < Struct.new( include Aws::Structure end + # @!attribute [rw] apply_action + # The pending maintenance action to apply to the resource. + # + # Valid actions are: + # + # * `ENGINE_UPDATE ` + # + # * `ENGINE_UPGRADE` + # + # * `SECURITY_UPDATE` + # + # * `OS_UPDATE` + # + # * `MASTER_USER_PASSWORD_UPDATE` + # @return [String] + # + # @!attribute [rw] apply_on + # A specific date to apply the pending maintenance action. Required if + # opt-in-type is `APPLY_ON`. Format: `yyyy/MM/dd HH:mm-yyyy/MM/dd + # HH:mm` + # @return [String] + # + # @!attribute [rw] opt_in_type + # A value that specifies the type of opt-in request, or undoes an + # opt-in request. An opt-in request of type `IMMEDIATE` can't be + # undone. + # @return [String] + # + # @!attribute [rw] resource_arn + # The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to + # which the pending maintenance action applies. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ApplyPendingMaintenanceActionInput AWS API Documentation + # + class ApplyPendingMaintenanceActionInput < Struct.new( + :apply_action, + :apply_on, + :opt_in_type, + :resource_arn) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] resource_pending_maintenance_action + # The output of the pending maintenance action being applied. + # @return [Types::ResourcePendingMaintenanceAction] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ApplyPendingMaintenanceActionOutput AWS API Documentation + # + class ApplyPendingMaintenanceActionOutput < Struct.new( + :resource_pending_maintenance_action) + SENSITIVE = [] + include Aws::Structure + end + # Returns information about a specific elastic cluster. # # @!attribute [rw] admin_user_name @@ -659,6 +715,32 @@ class GetClusterSnapshotOutput < Struct.new( include Aws::Structure end + # @!attribute [rw] resource_arn + # Retrieves pending maintenance actions for a specific Amazon Resource + # Name (ARN). + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/GetPendingMaintenanceActionInput AWS API Documentation + # + class GetPendingMaintenanceActionInput < Struct.new( + :resource_arn) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] resource_pending_maintenance_action + # Provides information about a pending maintenance action for a + # resource. + # @return [Types::ResourcePendingMaintenanceAction] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/GetPendingMaintenanceActionOutput AWS API Documentation + # + class GetPendingMaintenanceActionOutput < Struct.new( + :resource_pending_maintenance_action) + SENSITIVE = [] + include Aws::Structure + end + # There was an internal server error. # # @!attribute [rw] message @@ -779,6 +861,48 @@ class ListClustersOutput < Struct.new( include Aws::Structure end + # @!attribute [rw] max_results + # The maximum number of results to include in the response. If more + # records exist than the specified `maxResults` value, a pagination + # token (marker) is included in the response so that the remaining + # results can be retrieved. + # @return [Integer] + # + # @!attribute [rw] next_token + # An optional pagination token provided by a previous request. If this + # parameter is specified, the response includes only records beyond + # the marker, up to the value specified by `maxResults`. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListPendingMaintenanceActionsInput AWS API Documentation + # + class ListPendingMaintenanceActionsInput < Struct.new( + :max_results, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] next_token + # An optional pagination token provided by a previous request. If this + # parameter is displayed, the responses will include only records + # beyond the marker, up to the value specified by `maxResults`. + # @return [String] + # + # @!attribute [rw] resource_pending_maintenance_actions + # Provides information about a pending maintenance action for a + # resource. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListPendingMaintenanceActionsOutput AWS API Documentation + # + class ListPendingMaintenanceActionsOutput < Struct.new( + :next_token, + :resource_pending_maintenance_actions) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] resource_arn # The ARN identifier of the elastic cluster resource. # @return [String] @@ -803,6 +927,54 @@ class ListTagsForResourceResponse < Struct.new( include Aws::Structure end + # Retrieves the details of maintenance actions that are pending. + # + # @!attribute [rw] action + # Displays the specific action of a pending maintenance action. + # @return [String] + # + # @!attribute [rw] auto_applied_after_date + # Displays the date of the maintenance window when the action is + # applied. The maintenance action is applied to the resource during + # its first maintenance window after this date. If this date is + # specified, any `NEXT_MAINTENANCE` `optInType` requests are ignored. + # @return [String] + # + # @!attribute [rw] current_apply_date + # Displays the effective date when the pending maintenance action is + # applied to the resource. + # @return [String] + # + # @!attribute [rw] description + # Displays a description providing more detail about the maintenance + # action. + # @return [String] + # + # @!attribute [rw] forced_apply_date + # Displays the date when the maintenance action is automatically + # applied. The maintenance action is applied to the resource on this + # date regardless of the maintenance window for the resource. If this + # date is specified, any `IMMEDIATE` `optInType` requests are ignored. + # @return [String] + # + # @!attribute [rw] opt_in_status + # Displays the type of `optInType` request that has been received for + # the resource. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/PendingMaintenanceActionDetails AWS API Documentation + # + class PendingMaintenanceActionDetails < Struct.new( + :action, + :auto_applied_after_date, + :current_apply_date, + :description, + :forced_apply_date, + :opt_in_status) + SENSITIVE = [] + include Aws::Structure + end + # The specified resource could not be located. # # @!attribute [rw] message @@ -827,6 +999,28 @@ class ResourceNotFoundException < Struct.new( include Aws::Structure end + # Provides information about a pending maintenance action for a + # resource. + # + # @!attribute [rw] pending_maintenance_action_details + # Provides information about a pending maintenance action for a + # resource. + # @return [Array] + # + # @!attribute [rw] resource_arn + # The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to + # which the pending maintenance action applies. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ResourcePendingMaintenanceAction AWS API Documentation + # + class ResourcePendingMaintenanceAction < Struct.new( + :pending_maintenance_action_details, + :resource_arn) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] cluster_name # The name of the elastic cluster. # @return [String] diff --git a/gems/aws-sdk-docdbelastic/sig/client.rbs b/gems/aws-sdk-docdbelastic/sig/client.rbs index 2ad50d23e2b..1ea65de57b2 100644 --- a/gems/aws-sdk-docdbelastic/sig/client.rbs +++ b/gems/aws-sdk-docdbelastic/sig/client.rbs @@ -75,6 +75,19 @@ module Aws | (?Hash[Symbol, untyped]) -> instance + interface _ApplyPendingMaintenanceActionResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::ApplyPendingMaintenanceActionOutput] + def resource_pending_maintenance_action: () -> Types::ResourcePendingMaintenanceAction + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#apply_pending_maintenance_action-instance_method + def apply_pending_maintenance_action: ( + apply_action: ::String, + ?apply_on: ::String, + opt_in_type: ("IMMEDIATE" | "NEXT_MAINTENANCE" | "APPLY_ON" | "UNDO_OPT_IN"), + resource_arn: ::String + ) -> _ApplyPendingMaintenanceActionResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ApplyPendingMaintenanceActionResponseSuccess + interface _CopyClusterSnapshotResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CopyClusterSnapshotOutput] def snapshot: () -> Types::ClusterSnapshot @@ -165,6 +178,16 @@ module Aws ) -> _GetClusterSnapshotResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClusterSnapshotResponseSuccess + interface _GetPendingMaintenanceActionResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::GetPendingMaintenanceActionOutput] + def resource_pending_maintenance_action: () -> Types::ResourcePendingMaintenanceAction + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#get_pending_maintenance_action-instance_method + def get_pending_maintenance_action: ( + resource_arn: ::String + ) -> _GetPendingMaintenanceActionResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPendingMaintenanceActionResponseSuccess + interface _ListClusterSnapshotsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListClusterSnapshotsOutput] def next_token: () -> ::String @@ -191,6 +214,18 @@ module Aws ) -> _ListClustersResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClustersResponseSuccess + interface _ListPendingMaintenanceActionsResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::ListPendingMaintenanceActionsOutput] + def next_token: () -> ::String + def resource_pending_maintenance_actions: () -> ::Array[Types::ResourcePendingMaintenanceAction] + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#list_pending_maintenance_actions-instance_method + def list_pending_maintenance_actions: ( + ?max_results: ::Integer, + ?next_token: ::String + ) -> _ListPendingMaintenanceActionsResponseSuccess + | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPendingMaintenanceActionsResponseSuccess + interface _ListTagsForResourceResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse] def tags: () -> ::Hash[::String, ::String] diff --git a/gems/aws-sdk-docdbelastic/sig/types.rbs b/gems/aws-sdk-docdbelastic/sig/types.rbs index 294e6b551ab..9fdc5f3e63f 100644 --- a/gems/aws-sdk-docdbelastic/sig/types.rbs +++ b/gems/aws-sdk-docdbelastic/sig/types.rbs @@ -13,6 +13,19 @@ module Aws::DocDBElastic SENSITIVE: [] end + class ApplyPendingMaintenanceActionInput + attr_accessor apply_action: ::String + attr_accessor apply_on: ::String + attr_accessor opt_in_type: ("IMMEDIATE" | "NEXT_MAINTENANCE" | "APPLY_ON" | "UNDO_OPT_IN") + attr_accessor resource_arn: ::String + SENSITIVE: [] + end + + class ApplyPendingMaintenanceActionOutput + attr_accessor resource_pending_maintenance_action: Types::ResourcePendingMaintenanceAction + SENSITIVE: [] + end + class Cluster attr_accessor admin_user_name: ::String attr_accessor auth_type: ("PLAIN_TEXT" | "SECRET_ARN") @@ -28,7 +41,7 @@ module Aws::DocDBElastic attr_accessor shard_count: ::Integer attr_accessor shard_instance_count: ::Integer attr_accessor shards: ::Array[Types::Shard] - attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED") + attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED" | "MAINTENANCE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE") attr_accessor subnet_ids: ::Array[::String] attr_accessor vpc_security_group_ids: ::Array[::String] SENSITIVE: [] @@ -37,7 +50,7 @@ module Aws::DocDBElastic class ClusterInList attr_accessor cluster_arn: ::String attr_accessor cluster_name: ::String - attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED") + attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED" | "MAINTENANCE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE") SENSITIVE: [] end @@ -50,7 +63,7 @@ module Aws::DocDBElastic attr_accessor snapshot_creation_time: ::String attr_accessor snapshot_name: ::String attr_accessor snapshot_type: ("MANUAL" | "AUTOMATED") - attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED") + attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED" | "MAINTENANCE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE") attr_accessor subnet_ids: ::Array[::String] attr_accessor vpc_security_group_ids: ::Array[::String] SENSITIVE: [] @@ -61,7 +74,7 @@ module Aws::DocDBElastic attr_accessor snapshot_arn: ::String attr_accessor snapshot_creation_time: ::String attr_accessor snapshot_name: ::String - attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED") + attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED" | "MAINTENANCE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE") SENSITIVE: [] end @@ -162,6 +175,16 @@ module Aws::DocDBElastic SENSITIVE: [] end + class GetPendingMaintenanceActionInput + attr_accessor resource_arn: ::String + SENSITIVE: [] + end + + class GetPendingMaintenanceActionOutput + attr_accessor resource_pending_maintenance_action: Types::ResourcePendingMaintenanceAction + SENSITIVE: [] + end + class InternalServerException attr_accessor message: ::String SENSITIVE: [] @@ -193,6 +216,18 @@ module Aws::DocDBElastic SENSITIVE: [] end + class ListPendingMaintenanceActionsInput + attr_accessor max_results: ::Integer + attr_accessor next_token: ::String + SENSITIVE: [] + end + + class ListPendingMaintenanceActionsOutput + attr_accessor next_token: ::String + attr_accessor resource_pending_maintenance_actions: ::Array[Types::ResourcePendingMaintenanceAction] + SENSITIVE: [] + end + class ListTagsForResourceRequest attr_accessor resource_arn: ::String SENSITIVE: [] @@ -203,6 +238,16 @@ module Aws::DocDBElastic SENSITIVE: [] end + class PendingMaintenanceActionDetails + attr_accessor action: ::String + attr_accessor auto_applied_after_date: ::String + attr_accessor current_apply_date: ::String + attr_accessor description: ::String + attr_accessor forced_apply_date: ::String + attr_accessor opt_in_status: ::String + SENSITIVE: [] + end + class ResourceNotFoundException attr_accessor message: ::String attr_accessor resource_id: ::String @@ -210,6 +255,12 @@ module Aws::DocDBElastic SENSITIVE: [] end + class ResourcePendingMaintenanceAction + attr_accessor pending_maintenance_action_details: ::Array[Types::PendingMaintenanceActionDetails] + attr_accessor resource_arn: ::String + SENSITIVE: [] + end + class RestoreClusterFromSnapshotInput attr_accessor cluster_name: ::String attr_accessor kms_key_id: ::String @@ -235,7 +286,7 @@ module Aws::DocDBElastic class Shard attr_accessor create_time: ::String attr_accessor shard_id: ::String - attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED") + attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED" | "MAINTENANCE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE") SENSITIVE: [] end diff --git a/gems/aws-sdk-dynamodb/CHANGELOG.md b/gems/aws-sdk-dynamodb/CHANGELOG.md index 9634652685e..d1327f1c870 100644 --- a/gems/aws-sdk-dynamodb/CHANGELOG.md +++ b/gems/aws-sdk-dynamodb/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.127.0 (2024-11-01) +------------------ + +* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. + 1.126.0 (2024-10-18) ------------------ diff --git a/gems/aws-sdk-dynamodb/VERSION b/gems/aws-sdk-dynamodb/VERSION index c96f047721f..a7fd4875b44 100644 --- a/gems/aws-sdk-dynamodb/VERSION +++ b/gems/aws-sdk-dynamodb/VERSION @@ -1 +1 @@ -1.126.0 +1.127.0 diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb index 61c6e934956..31fa20a2525 100644 --- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb +++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb @@ -56,7 +56,7 @@ module Plugins autoload :Endpoints, 'aws-sdk-dynamodb/endpoints' autoload :Table, 'aws-sdk-dynamodb/table' - GEM_VERSION = '1.126.0' + GEM_VERSION = '1.127.0' end diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb index 7534d627d95..d9e97167089 100644 --- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb +++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb @@ -8436,7 +8436,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-dynamodb' - context[:gem_version] = '1.126.0' + context[:gem_version] = '1.127.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-dynamodb/spec/endpoint_provider_spec.rb b/gems/aws-sdk-dynamodb/spec/endpoint_provider_spec.rb index 12cb09b902a..035c1cc2b56 100644 --- a/gems/aws-sdk-dynamodb/spec/endpoint_provider_spec.rb +++ b/gems/aws-sdk-dynamodb/spec/endpoint_provider_spec.rb @@ -833,6 +833,7 @@ module Aws::DynamoDB client = Client.new( endpoint: 'https://example.com', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -861,6 +862,7 @@ module Aws::DynamoDB client = Client.new( endpoint: 'https://example.com', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: ''), + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -928,6 +930,7 @@ module Aws::DynamoDB client = Client.new( region: 'local', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), + simple_attributes: false, stub_responses: true ) expect_auth({"name"=>"sigv4", "signingName"=>"dynamodb", "signingRegion"=>"us-east-1"}) @@ -957,6 +960,7 @@ module Aws::DynamoDB client = Client.new( region: 'local', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: ''), + simple_attributes: false, stub_responses: true ) expect_auth({"name"=>"sigv4", "signingName"=>"dynamodb", "signingRegion"=>"us-east-1"}) @@ -985,6 +989,7 @@ module Aws::DynamoDB client = Client.new( region: 'us-east-1', account_id_endpoint_mode: 'required', + simple_attributes: false, stub_responses: true ) expect do @@ -1013,6 +1018,7 @@ module Aws::DynamoDB credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), use_fips_endpoint: true, use_dualstack_endpoint: true, + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1042,6 +1048,7 @@ module Aws::DynamoDB region: 'us-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), use_fips_endpoint: true, + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1072,6 +1079,7 @@ module Aws::DynamoDB credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), account_id_endpoint_mode: 'preferred', use_fips_endpoint: true, + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1102,6 +1110,7 @@ module Aws::DynamoDB credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), account_id_endpoint_mode: 'required', use_fips_endpoint: true, + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1131,6 +1140,7 @@ module Aws::DynamoDB region: 'us-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), use_dualstack_endpoint: true, + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1160,6 +1170,7 @@ module Aws::DynamoDB region: 'us-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), use_dualstack_endpoint: true, + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1231,6 +1242,7 @@ module Aws::DynamoDB region: 'us-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), account_id_endpoint_mode: 'preferred', + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1260,6 +1272,7 @@ module Aws::DynamoDB region: 'us-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), account_id_endpoint_mode: 'required', + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1289,6 +1302,7 @@ module Aws::DynamoDB region: 'us-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), account_id_endpoint_mode: 'disabled', + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1316,6 +1330,7 @@ module Aws::DynamoDB client = Client.new( region: 'us-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: ' '), + simple_attributes: false, stub_responses: true ) expect do @@ -1344,6 +1359,7 @@ module Aws::DynamoDB credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), use_fips_endpoint: true, use_dualstack_endpoint: true, + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1373,6 +1389,7 @@ module Aws::DynamoDB region: 'cn-north-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), use_fips_endpoint: true, + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1402,6 +1419,7 @@ module Aws::DynamoDB region: 'cn-north-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), use_dualstack_endpoint: true, + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1430,6 +1448,7 @@ module Aws::DynamoDB client = Client.new( region: 'cn-north-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1500,6 +1519,7 @@ module Aws::DynamoDB client = Client.new( region: 'cn-north-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: ''), + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1542,6 +1562,7 @@ module Aws::DynamoDB region: 'us-iso-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), use_fips_endpoint: true, + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1583,6 +1604,7 @@ module Aws::DynamoDB client = Client.new( region: 'us-iso-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1611,6 +1633,7 @@ module Aws::DynamoDB client = Client.new( region: 'us-iso-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1681,6 +1704,7 @@ module Aws::DynamoDB client = Client.new( region: 'us-gov-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: '012345678901'), + simple_attributes: false, stub_responses: true ) resp = client.list_tables( @@ -1709,6 +1733,7 @@ module Aws::DynamoDB client = Client.new( region: 'us-gov-east-1', credentials: Aws::Credentials.new('stubbed-akid', 'stubbed-secret', account_id: ''), + simple_attributes: false, stub_responses: true ) resp = client.list_tables( diff --git a/gems/aws-sdk-taxsettings/CHANGELOG.md b/gems/aws-sdk-taxsettings/CHANGELOG.md index 40ae12dd413..7e4db8840bf 100644 --- a/gems/aws-sdk-taxsettings/CHANGELOG.md +++ b/gems/aws-sdk-taxsettings/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.13.0 (2024-11-01) +------------------ + +* Feature - Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration. + 1.12.0 (2024-10-18) ------------------ diff --git a/gems/aws-sdk-taxsettings/VERSION b/gems/aws-sdk-taxsettings/VERSION index 0eed1a29efd..feaae22bac7 100644 --- a/gems/aws-sdk-taxsettings/VERSION +++ b/gems/aws-sdk-taxsettings/VERSION @@ -1 +1 @@ -1.12.0 +1.13.0 diff --git a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings.rb b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings.rb index 801244beeb7..5808ac6085b 100644 --- a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings.rb +++ b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings.rb @@ -54,7 +54,7 @@ module Plugins autoload :EndpointProvider, 'aws-sdk-taxsettings/endpoint_provider' autoload :Endpoints, 'aws-sdk-taxsettings/endpoints' - GEM_VERSION = '1.12.0' + GEM_VERSION = '1.13.0' end diff --git a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client.rb b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client.rb index 95093f2dc2c..5a943d2feaa 100644 --- a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client.rb +++ b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client.rb @@ -532,25 +532,36 @@ def batch_delete_tax_registration(params = {}, options = {}) # # **Malaysia** # - # * If you use this operation to set a tax registration number (TRN) in - # Malaysia, only resellers with a valid sales and service tax (SST) - # number are required to provide tax registration information. + # * The sector valid values are `Business` and `Individual`. + # + # * `RegistrationType` valid values are `NRIC` for individual, and TIN + # and sales and service tax (SST) for Business. + # + # * For individual, you can specify the `taxInformationNumber` in + # `MalaysiaAdditionalInfo` with NRIC type, and a valid `MyKad` or NRIC + # number. + # + # * For business, you must specify a `businessRegistrationNumber` in + # `MalaysiaAdditionalInfo` with a TIN type and tax identification + # number. + # + # * For business resellers, you must specify a + # `businessRegistrationNumber` and `taxInformationNumber` in + # `MalaysiaAdditionalInfo` with a sales and service tax (SST) type and + # a valid SST number. # - # * By using this API operation to set a TRN in Malaysia, Amazon Web - # Services will regard you as self-declaring that you're an - # authorized business reseller registered with the Royal Malaysia - # Customs Department (RMCD) and have a valid SST number. + # * For business resellers with service codes, you must specify + # `businessRegistrationNumber`, `taxInformationNumber`, and distinct + # `serviceTaxCodes` in `MalaysiaAdditionalInfo` with a SST type and + # valid sales and service tax (SST) number. By using this API + # operation, Amazon Web Services registers your self-declaration that + # you’re an authorized business reseller registered with the Royal + # Malaysia Customs Department (RMCD), and have a valid SST number. # # * Amazon Web Services reserves the right to seek additional # information and/or take other actions to support your # self-declaration as appropriate. # - # * If you're not a reseller of Amazon Web Services, we don't - # recommend that you use this operation to set the TRN in Malaysia. - # - # * Only use this API operation to upload the TRNs for accounts through - # which you're reselling Amazon Web Services. - # # * Amazon Web Services is currently registered under the following # service tax codes. You must include at least one of the service tax # codes in the service tax code strings to declare yourself as an @@ -679,7 +690,9 @@ def batch_delete_tax_registration(params = {}, options = {}) # person_type: "Legal Person", # required, accepts Legal Person, Physical Person, Business # }, # malaysia_additional_info: { - # service_tax_codes: ["Consultancy"], # required, accepts Consultancy, Digital Service And Electronic Medium, IT Services, Training Or Coaching + # business_registration_number: "BusinessRegistrationNumber", + # service_tax_codes: ["Consultancy"], # accepts Consultancy, Digital Service And Electronic Medium, IT Services, Training Or Coaching + # tax_information_number: "TaxInformationNumber", # }, # poland_additional_info: { # individual_registration_number: "IndividualRegistrationNumber", @@ -722,7 +735,7 @@ def batch_delete_tax_registration(params = {}, options = {}) # }, # legal_name: "LegalName", # registration_id: "RegistrationId", # required - # registration_type: "VAT", # required, accepts VAT, GST, CPF, CNPJ, SST + # registration_type: "VAT", # required, accepts VAT, GST, CPF, CNPJ, SST, TIN, NRIC # sector: "Business", # accepts Business, Individual, Government # verification_details: { # date_of_birth: "DateOfBirth", @@ -755,6 +768,29 @@ def batch_put_tax_registration(params = {}, options = {}) req.send_request(options) end + # Deletes a supplemental tax registration for a single account. + # + # @option params [required, String] :authority_id + # The unique authority Id for the supplemental TRN information that + # needs to be deleted. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.delete_supplemental_tax_registration({ + # authority_id: "GenericString", # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteSupplementalTaxRegistration AWS API Documentation + # + # @overload delete_supplemental_tax_registration(params = {}) + # @param [Hash] params ({}) + def delete_supplemental_tax_registration(params = {}, options = {}) + req = build_request(:delete_supplemental_tax_registration, params) + req.send_request(options) + end + # Deletes tax registration for a single account. # # This API operation can't be used to delete your tax registration in @@ -822,8 +858,10 @@ def delete_tax_registration(params = {}, options = {}) # resp.tax_registration.additional_tax_information.italy_additional_info.sdi_account_id #=> String # resp.tax_registration.additional_tax_information.italy_additional_info.tax_code #=> String # resp.tax_registration.additional_tax_information.kenya_additional_info.person_type #=> String, one of "Legal Person", "Physical Person", "Business" + # resp.tax_registration.additional_tax_information.malaysia_additional_info.business_registration_number #=> String # resp.tax_registration.additional_tax_information.malaysia_additional_info.service_tax_codes #=> Array # resp.tax_registration.additional_tax_information.malaysia_additional_info.service_tax_codes[0] #=> String, one of "Consultancy", "Digital Service And Electronic Medium", "IT Services", "Training Or Coaching" + # resp.tax_registration.additional_tax_information.malaysia_additional_info.tax_information_number #=> String # resp.tax_registration.additional_tax_information.poland_additional_info.individual_registration_number #=> String # resp.tax_registration.additional_tax_information.poland_additional_info.is_group_vat_enabled #=> Boolean # resp.tax_registration.additional_tax_information.romania_additional_info.tax_registration_number_type #=> String, one of "TaxRegistrationNumber", "LocalRegistrationNumber" @@ -848,7 +886,7 @@ def delete_tax_registration(params = {}, options = {}) # resp.tax_registration.legal_address.state_or_region #=> String # resp.tax_registration.legal_name #=> String # resp.tax_registration.registration_id #=> String - # resp.tax_registration.registration_type #=> String, one of "VAT", "GST", "CPF", "CNPJ", "SST" + # resp.tax_registration.registration_type #=> String, one of "VAT", "GST", "CPF", "CNPJ", "SST", "TIN", "NRIC" # resp.tax_registration.sector #=> String, one of "Business", "Individual", "Government" # resp.tax_registration.status #=> String, one of "Verified", "Pending", "Deleted", "Rejected" # resp.tax_registration.tax_document_metadatas #=> Array @@ -904,6 +942,55 @@ def get_tax_registration_document(params = {}, options = {}) req.send_request(options) end + # Retrieves supplemental tax registrations for a single account. + # + # @option params [Integer] :max_results + # The number of `taxRegistrations` results you want in one response. + # + # @option params [String] :next_token + # The token to retrieve the next set of results. + # + # @return [Types::ListSupplementalTaxRegistrationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListSupplementalTaxRegistrationsResponse#next_token #next_token} => String + # * {Types::ListSupplementalTaxRegistrationsResponse#tax_registrations #tax_registrations} => Array<Types::SupplementalTaxRegistration> + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_supplemental_tax_registrations({ + # max_results: 1, + # next_token: "PaginationTokenString", + # }) + # + # @example Response structure + # + # resp.next_token #=> String + # resp.tax_registrations #=> Array + # resp.tax_registrations[0].address.address_line_1 #=> String + # resp.tax_registrations[0].address.address_line_2 #=> String + # resp.tax_registrations[0].address.address_line_3 #=> String + # resp.tax_registrations[0].address.city #=> String + # resp.tax_registrations[0].address.country_code #=> String + # resp.tax_registrations[0].address.district_or_county #=> String + # resp.tax_registrations[0].address.postal_code #=> String + # resp.tax_registrations[0].address.state_or_region #=> String + # resp.tax_registrations[0].authority_id #=> String + # resp.tax_registrations[0].legal_name #=> String + # resp.tax_registrations[0].registration_id #=> String + # resp.tax_registrations[0].registration_type #=> String, one of "VAT" + # resp.tax_registrations[0].status #=> String, one of "Verified", "Pending", "Deleted", "Rejected" + # + # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListSupplementalTaxRegistrations AWS API Documentation + # + # @overload list_supplemental_tax_registrations(params = {}) + # @param [Hash] params ({}) + def list_supplemental_tax_registrations(params = {}, options = {}) + req = build_request(:list_supplemental_tax_registrations, params) + req.send_request(options) + end + # Retrieves the tax registration of accounts listed in a consolidated # billing family. This can be used to retrieve up to 100 accounts' tax # registrations in one call (default 50). @@ -964,8 +1051,10 @@ def get_tax_registration_document(params = {}, options = {}) # resp.account_details[0].tax_registration.additional_tax_information.italy_additional_info.sdi_account_id #=> String # resp.account_details[0].tax_registration.additional_tax_information.italy_additional_info.tax_code #=> String # resp.account_details[0].tax_registration.additional_tax_information.kenya_additional_info.person_type #=> String, one of "Legal Person", "Physical Person", "Business" + # resp.account_details[0].tax_registration.additional_tax_information.malaysia_additional_info.business_registration_number #=> String # resp.account_details[0].tax_registration.additional_tax_information.malaysia_additional_info.service_tax_codes #=> Array # resp.account_details[0].tax_registration.additional_tax_information.malaysia_additional_info.service_tax_codes[0] #=> String, one of "Consultancy", "Digital Service And Electronic Medium", "IT Services", "Training Or Coaching" + # resp.account_details[0].tax_registration.additional_tax_information.malaysia_additional_info.tax_information_number #=> String # resp.account_details[0].tax_registration.additional_tax_information.poland_additional_info.individual_registration_number #=> String # resp.account_details[0].tax_registration.additional_tax_information.poland_additional_info.is_group_vat_enabled #=> Boolean # resp.account_details[0].tax_registration.additional_tax_information.romania_additional_info.tax_registration_number_type #=> String, one of "TaxRegistrationNumber", "LocalRegistrationNumber" @@ -984,7 +1073,7 @@ def get_tax_registration_document(params = {}, options = {}) # resp.account_details[0].tax_registration.jurisdiction.state_or_region #=> String # resp.account_details[0].tax_registration.legal_name #=> String # resp.account_details[0].tax_registration.registration_id #=> String - # resp.account_details[0].tax_registration.registration_type #=> String, one of "VAT", "GST", "CPF", "CNPJ", "SST" + # resp.account_details[0].tax_registration.registration_type #=> String, one of "VAT", "GST", "CPF", "CNPJ", "SST", "TIN", "NRIC" # resp.account_details[0].tax_registration.sector #=> String, one of "Business", "Individual", "Government" # resp.account_details[0].tax_registration.status #=> String, one of "Verified", "Pending", "Deleted", "Rejected" # resp.account_details[0].tax_registration.tax_document_metadatas #=> Array @@ -1001,6 +1090,51 @@ def list_tax_registrations(params = {}, options = {}) req.send_request(options) end + # Stores supplemental tax registration for a single account. + # + # @option params [required, Types::SupplementalTaxRegistrationEntry] :tax_registration_entry + # The supplemental TRN information that will be stored for the caller + # account ID. + # + # @return [Types::PutSupplementalTaxRegistrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::PutSupplementalTaxRegistrationResponse#authority_id #authority_id} => String + # * {Types::PutSupplementalTaxRegistrationResponse#status #status} => String + # + # @example Request syntax with placeholder values + # + # resp = client.put_supplemental_tax_registration({ + # tax_registration_entry: { # required + # address: { # required + # address_line_1: "AddressLine1", # required + # address_line_2: "AddressLine2", + # address_line_3: "AddressLine3", + # city: "City", # required + # country_code: "CountryCode", # required + # district_or_county: "District", + # postal_code: "PostalCode", # required + # state_or_region: "State", + # }, + # legal_name: "LegalName", # required + # registration_id: "RegistrationId", # required + # registration_type: "VAT", # required, accepts VAT + # }, + # }) + # + # @example Response structure + # + # resp.authority_id #=> String + # resp.status #=> String, one of "Verified", "Pending", "Deleted", "Rejected" + # + # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutSupplementalTaxRegistration AWS API Documentation + # + # @overload put_supplemental_tax_registration(params = {}) + # @param [Hash] params ({}) + def put_supplemental_tax_registration(params = {}, options = {}) + req = build_request(:put_supplemental_tax_registration, params) + req.send_request(options) + end + # Adds or updates tax registration for a single account. You can't set # a TRN if there's a pending TRN. You'll need to delete the pending # TRN first. @@ -1043,25 +1177,36 @@ def list_tax_registrations(params = {}, options = {}) # # **Malaysia** # - # * If you use this operation to set a tax registration number (TRN) in - # Malaysia, only resellers with a valid sales and service tax (SST) - # number are required to provide tax registration information. + # * The sector valid values are `Business` and `Individual`. + # + # * `RegistrationType` valid values are `NRIC` for individual, and TIN + # and sales and service tax (SST) for Business. + # + # * For individual, you can specify the `taxInformationNumber` in + # `MalaysiaAdditionalInfo` with NRIC type, and a valid `MyKad` or NRIC + # number. # - # * By using this API operation to set a TRN in Malaysia, Amazon Web - # Services will regard you as self-declaring that you're an - # authorized business reseller registered with the Royal Malaysia - # Customs Department (RMCD) and have a valid SST number. + # * For business, you must specify a `businessRegistrationNumber` in + # `MalaysiaAdditionalInfo` with a TIN type and tax identification + # number. + # + # * For business resellers, you must specify a + # `businessRegistrationNumber` and `taxInformationNumber` in + # `MalaysiaAdditionalInfo` with a sales and service tax (SST) type and + # a valid SST number. + # + # * For business resellers with service codes, you must specify + # `businessRegistrationNumber`, `taxInformationNumber`, and distinct + # `serviceTaxCodes` in `MalaysiaAdditionalInfo` with a SST type and + # valid sales and service tax (SST) number. By using this API + # operation, Amazon Web Services registers your self-declaration that + # you’re an authorized business reseller registered with the Royal + # Malaysia Customs Department (RMCD), and have a valid SST number. # # * Amazon Web Services reserves the right to seek additional # information and/or take other actions to support your # self-declaration as appropriate. # - # * If you're not a reseller of Amazon Web Services, we don't - # recommend that you use this operation to set the TRN in Malaysia. - # - # * Only use this API operation to upload the TRNs for accounts through - # which you're reselling Amazon Web Services. - # # * Amazon Web Services is currently registered under the following # service tax codes. You must include at least one of the service tax # codes in the service tax code strings to declare yourself as an @@ -1189,7 +1334,9 @@ def list_tax_registrations(params = {}, options = {}) # person_type: "Legal Person", # required, accepts Legal Person, Physical Person, Business # }, # malaysia_additional_info: { - # service_tax_codes: ["Consultancy"], # required, accepts Consultancy, Digital Service And Electronic Medium, IT Services, Training Or Coaching + # business_registration_number: "BusinessRegistrationNumber", + # service_tax_codes: ["Consultancy"], # accepts Consultancy, Digital Service And Electronic Medium, IT Services, Training Or Coaching + # tax_information_number: "TaxInformationNumber", # }, # poland_additional_info: { # individual_registration_number: "IndividualRegistrationNumber", @@ -1232,7 +1379,7 @@ def list_tax_registrations(params = {}, options = {}) # }, # legal_name: "LegalName", # registration_id: "RegistrationId", # required - # registration_type: "VAT", # required, accepts VAT, GST, CPF, CNPJ, SST + # registration_type: "VAT", # required, accepts VAT, GST, CPF, CNPJ, SST, TIN, NRIC # sector: "Business", # accepts Business, Individual, Government # verification_details: { # date_of_birth: "DateOfBirth", @@ -1279,7 +1426,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-taxsettings' - context[:gem_version] = '1.12.0' + context[:gem_version] = '1.13.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client_api.rb b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client_api.rb index 35c810e8739..6a16c898e91 100644 --- a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client_api.rb +++ b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client_api.rb @@ -38,6 +38,7 @@ module ClientApi BatchPutTaxRegistrationResponse = Shapes::StructureShape.new(name: 'BatchPutTaxRegistrationResponse') Boolean = Shapes::BooleanShape.new(name: 'Boolean') BrazilAdditionalInfo = Shapes::StructureShape.new(name: 'BrazilAdditionalInfo') + BusinessRegistrationNumber = Shapes::StringShape.new(name: 'BusinessRegistrationNumber') BusinessRepresentativeName = Shapes::StringShape.new(name: 'BusinessRepresentativeName') CanadaAdditionalInfo = Shapes::StructureShape.new(name: 'CanadaAdditionalInfo') CanadaProvincialSalesTaxIdString = Shapes::StringShape.new(name: 'CanadaProvincialSalesTaxIdString') @@ -51,6 +52,8 @@ module ClientApi CountryCode = Shapes::StringShape.new(name: 'CountryCode') CupNumber = Shapes::StringShape.new(name: 'CupNumber') DateOfBirth = Shapes::StringShape.new(name: 'DateOfBirth') + DeleteSupplementalTaxRegistrationRequest = Shapes::StructureShape.new(name: 'DeleteSupplementalTaxRegistrationRequest') + DeleteSupplementalTaxRegistrationResponse = Shapes::StructureShape.new(name: 'DeleteSupplementalTaxRegistrationResponse') DeleteTaxRegistrationRequest = Shapes::StructureShape.new(name: 'DeleteTaxRegistrationRequest') DeleteTaxRegistrationResponse = Shapes::StructureShape.new(name: 'DeleteTaxRegistrationResponse') DestinationFilePath = Shapes::StringShape.new(name: 'DestinationFilePath') @@ -60,6 +63,7 @@ module ClientApi ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage') EstoniaAdditionalInfo = Shapes::StructureShape.new(name: 'EstoniaAdditionalInfo') FieldName = Shapes::StringShape.new(name: 'FieldName') + GenericString = Shapes::StringShape.new(name: 'GenericString') GeorgiaAdditionalInfo = Shapes::StructureShape.new(name: 'GeorgiaAdditionalInfo') GetTaxRegistrationDocumentRequest = Shapes::StructureShape.new(name: 'GetTaxRegistrationDocumentRequest') GetTaxRegistrationDocumentResponse = Shapes::StructureShape.new(name: 'GetTaxRegistrationDocumentResponse') @@ -81,6 +85,8 @@ module ClientApi LegalName = Shapes::StringShape.new(name: 'LegalName') LegalNatureCode = Shapes::StringShape.new(name: 'LegalNatureCode') LineOfBusiness = Shapes::StringShape.new(name: 'LineOfBusiness') + ListSupplementalTaxRegistrationsRequest = Shapes::StructureShape.new(name: 'ListSupplementalTaxRegistrationsRequest') + ListSupplementalTaxRegistrationsResponse = Shapes::StructureShape.new(name: 'ListSupplementalTaxRegistrationsResponse') ListTaxRegistrationsRequest = Shapes::StructureShape.new(name: 'ListTaxRegistrationsRequest') ListTaxRegistrationsResponse = Shapes::StructureShape.new(name: 'ListTaxRegistrationsResponse') MalaysiaAdditionalInfo = Shapes::StructureShape.new(name: 'MalaysiaAdditionalInfo') @@ -92,6 +98,8 @@ module ClientApi PersonType = Shapes::StringShape.new(name: 'PersonType') PolandAdditionalInfo = Shapes::StructureShape.new(name: 'PolandAdditionalInfo') PostalCode = Shapes::StringShape.new(name: 'PostalCode') + PutSupplementalTaxRegistrationRequest = Shapes::StructureShape.new(name: 'PutSupplementalTaxRegistrationRequest') + PutSupplementalTaxRegistrationResponse = Shapes::StructureShape.new(name: 'PutSupplementalTaxRegistrationResponse') PutTaxRegistrationRequest = Shapes::StructureShape.new(name: 'PutTaxRegistrationRequest') PutTaxRegistrationResponse = Shapes::StructureShape.new(name: 'PutTaxRegistrationResponse') RegistrationId = Shapes::StringShape.new(name: 'RegistrationId') @@ -112,11 +120,16 @@ module ClientApi SouthKoreaAdditionalInfo = Shapes::StructureShape.new(name: 'SouthKoreaAdditionalInfo') SpainAdditionalInfo = Shapes::StructureShape.new(name: 'SpainAdditionalInfo') State = Shapes::StringShape.new(name: 'State') + SupplementalTaxRegistration = Shapes::StructureShape.new(name: 'SupplementalTaxRegistration') + SupplementalTaxRegistrationEntry = Shapes::StructureShape.new(name: 'SupplementalTaxRegistrationEntry') + SupplementalTaxRegistrationList = Shapes::ListShape.new(name: 'SupplementalTaxRegistrationList') + SupplementalTaxRegistrationType = Shapes::StringShape.new(name: 'SupplementalTaxRegistrationType') TaxCode = Shapes::StringShape.new(name: 'TaxCode') TaxDocumentAccessToken = Shapes::StringShape.new(name: 'TaxDocumentAccessToken') TaxDocumentMetadata = Shapes::StructureShape.new(name: 'TaxDocumentMetadata') TaxDocumentMetadatas = Shapes::ListShape.new(name: 'TaxDocumentMetadatas') TaxDocumentName = Shapes::StringShape.new(name: 'TaxDocumentName') + TaxInformationNumber = Shapes::StringShape.new(name: 'TaxInformationNumber') TaxInheritanceDetails = Shapes::StructureShape.new(name: 'TaxInheritanceDetails') TaxOffice = Shapes::StringShape.new(name: 'TaxOffice') TaxRegistration = Shapes::StructureShape.new(name: 'TaxRegistration') @@ -242,6 +255,11 @@ module ClientApi ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message")) ConflictException.struct_class = Types::ConflictException + DeleteSupplementalTaxRegistrationRequest.add_member(:authority_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "authorityId")) + DeleteSupplementalTaxRegistrationRequest.struct_class = Types::DeleteSupplementalTaxRegistrationRequest + + DeleteSupplementalTaxRegistrationResponse.struct_class = Types::DeleteSupplementalTaxRegistrationResponse + DeleteTaxRegistrationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId")) DeleteTaxRegistrationRequest.struct_class = Types::DeleteTaxRegistrationRequest @@ -294,6 +312,14 @@ module ClientApi KenyaAdditionalInfo.add_member(:person_type, Shapes::ShapeRef.new(shape: PersonType, required: true, location_name: "personType")) KenyaAdditionalInfo.struct_class = Types::KenyaAdditionalInfo + ListSupplementalTaxRegistrationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults")) + ListSupplementalTaxRegistrationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken")) + ListSupplementalTaxRegistrationsRequest.struct_class = Types::ListSupplementalTaxRegistrationsRequest + + ListSupplementalTaxRegistrationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken")) + ListSupplementalTaxRegistrationsResponse.add_member(:tax_registrations, Shapes::ShapeRef.new(shape: SupplementalTaxRegistrationList, required: true, location_name: "taxRegistrations")) + ListSupplementalTaxRegistrationsResponse.struct_class = Types::ListSupplementalTaxRegistrationsResponse + ListTaxRegistrationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults")) ListTaxRegistrationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken")) ListTaxRegistrationsRequest.struct_class = Types::ListTaxRegistrationsRequest @@ -302,7 +328,9 @@ module ClientApi ListTaxRegistrationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken")) ListTaxRegistrationsResponse.struct_class = Types::ListTaxRegistrationsResponse - MalaysiaAdditionalInfo.add_member(:service_tax_codes, Shapes::ShapeRef.new(shape: MalaysiaServiceTaxCodesList, required: true, location_name: "serviceTaxCodes")) + MalaysiaAdditionalInfo.add_member(:business_registration_number, Shapes::ShapeRef.new(shape: BusinessRegistrationNumber, location_name: "businessRegistrationNumber")) + MalaysiaAdditionalInfo.add_member(:service_tax_codes, Shapes::ShapeRef.new(shape: MalaysiaServiceTaxCodesList, location_name: "serviceTaxCodes")) + MalaysiaAdditionalInfo.add_member(:tax_information_number, Shapes::ShapeRef.new(shape: TaxInformationNumber, location_name: "taxInformationNumber")) MalaysiaAdditionalInfo.struct_class = Types::MalaysiaAdditionalInfo MalaysiaServiceTaxCodesList.member = Shapes::ShapeRef.new(shape: MalaysiaServiceTaxCode) @@ -311,6 +339,13 @@ module ClientApi PolandAdditionalInfo.add_member(:is_group_vat_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isGroupVatEnabled")) PolandAdditionalInfo.struct_class = Types::PolandAdditionalInfo + PutSupplementalTaxRegistrationRequest.add_member(:tax_registration_entry, Shapes::ShapeRef.new(shape: SupplementalTaxRegistrationEntry, required: true, location_name: "taxRegistrationEntry")) + PutSupplementalTaxRegistrationRequest.struct_class = Types::PutSupplementalTaxRegistrationRequest + + PutSupplementalTaxRegistrationResponse.add_member(:authority_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "authorityId")) + PutSupplementalTaxRegistrationResponse.add_member(:status, Shapes::ShapeRef.new(shape: TaxRegistrationStatus, required: true, location_name: "status")) + PutSupplementalTaxRegistrationResponse.struct_class = Types::PutSupplementalTaxRegistrationResponse + PutTaxRegistrationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId")) PutTaxRegistrationRequest.add_member(:tax_registration_entry, Shapes::ShapeRef.new(shape: TaxRegistrationEntry, required: true, location_name: "taxRegistrationEntry")) PutTaxRegistrationRequest.struct_class = Types::PutTaxRegistrationRequest @@ -340,6 +375,22 @@ module ClientApi SpainAdditionalInfo.add_member(:registration_type, Shapes::ShapeRef.new(shape: RegistrationType, required: true, location_name: "registrationType")) SpainAdditionalInfo.struct_class = Types::SpainAdditionalInfo + SupplementalTaxRegistration.add_member(:address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "address")) + SupplementalTaxRegistration.add_member(:authority_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "authorityId")) + SupplementalTaxRegistration.add_member(:legal_name, Shapes::ShapeRef.new(shape: LegalName, required: true, location_name: "legalName")) + SupplementalTaxRegistration.add_member(:registration_id, Shapes::ShapeRef.new(shape: RegistrationId, required: true, location_name: "registrationId")) + SupplementalTaxRegistration.add_member(:registration_type, Shapes::ShapeRef.new(shape: SupplementalTaxRegistrationType, required: true, location_name: "registrationType")) + SupplementalTaxRegistration.add_member(:status, Shapes::ShapeRef.new(shape: TaxRegistrationStatus, required: true, location_name: "status")) + SupplementalTaxRegistration.struct_class = Types::SupplementalTaxRegistration + + SupplementalTaxRegistrationEntry.add_member(:address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "address")) + SupplementalTaxRegistrationEntry.add_member(:legal_name, Shapes::ShapeRef.new(shape: LegalName, required: true, location_name: "legalName")) + SupplementalTaxRegistrationEntry.add_member(:registration_id, Shapes::ShapeRef.new(shape: RegistrationId, required: true, location_name: "registrationId")) + SupplementalTaxRegistrationEntry.add_member(:registration_type, Shapes::ShapeRef.new(shape: SupplementalTaxRegistrationType, required: true, location_name: "registrationType")) + SupplementalTaxRegistrationEntry.struct_class = Types::SupplementalTaxRegistrationEntry + + SupplementalTaxRegistrationList.member = Shapes::ShapeRef.new(shape: SupplementalTaxRegistration) + TaxDocumentMetadata.add_member(:tax_document_access_token, Shapes::ShapeRef.new(shape: TaxDocumentAccessToken, required: true, location_name: "taxDocumentAccessToken")) TaxDocumentMetadata.add_member(:tax_document_name, Shapes::ShapeRef.new(shape: TaxDocumentName, required: true, location_name: "taxDocumentName")) TaxDocumentMetadata.struct_class = Types::TaxDocumentMetadata @@ -452,6 +503,18 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InternalServerException) end) + api.add_operation(:delete_supplemental_tax_registration, Seahorse::Model::Operation.new.tap do |o| + o.name = "DeleteSupplementalTaxRegistration" + o.http_method = "POST" + o.http_request_uri = "/DeleteSupplementalTaxRegistration" + o.input = Shapes::ShapeRef.new(shape: DeleteSupplementalTaxRegistrationRequest) + o.output = Shapes::ShapeRef.new(shape: DeleteSupplementalTaxRegistrationResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + end) + api.add_operation(:delete_tax_registration, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteTaxRegistration" o.http_method = "POST" @@ -485,6 +548,23 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InternalServerException) end) + api.add_operation(:list_supplemental_tax_registrations, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListSupplementalTaxRegistrations" + o.http_method = "POST" + o.http_request_uri = "/ListSupplementalTaxRegistrations" + o.input = Shapes::ShapeRef.new(shape: ListSupplementalTaxRegistrationsRequest) + o.output = Shapes::ShapeRef.new(shape: ListSupplementalTaxRegistrationsResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + api.add_operation(:list_tax_registrations, Seahorse::Model::Operation.new.tap do |o| o.name = "ListTaxRegistrations" o.http_method = "POST" @@ -502,6 +582,17 @@ module ClientApi ) end) + api.add_operation(:put_supplemental_tax_registration, Seahorse::Model::Operation.new.tap do |o| + o.name = "PutSupplementalTaxRegistration" + o.http_method = "POST" + o.http_request_uri = "/PutSupplementalTaxRegistration" + o.input = Shapes::ShapeRef.new(shape: PutSupplementalTaxRegistrationRequest) + o.output = Shapes::ShapeRef.new(shape: PutSupplementalTaxRegistrationResponse) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + end) + api.add_operation(:put_tax_registration, Seahorse::Model::Operation.new.tap do |o| o.name = "PutTaxRegistration" o.http_method = "POST" diff --git a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb index c9e2f3a59f6..a320cdc4e6b 100644 --- a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb +++ b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/types.rb @@ -301,7 +301,9 @@ class AdditionalInfoResponse < Struct.new( # @return [String] # # @!attribute [rw] state_or_region - # The state, region, or province that the address is located. + # The state, region, or province that the address is located. This + # field is only required for Canada, India, United Arab Emirates, + # Romania, and Brazil (CPF). It is optional for all other countries. # # If this is required for tax settings, use the same name as shown on # the **Tax Settings** page. @@ -474,10 +476,10 @@ class BrazilAdditionalInfo < Struct.new( # # @!attribute [rw] canada_retail_sales_tax_number # Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web - # Services for resale in Manitoba must provide a valid Retail Sales - # Tax ID number for Manitoba. Leave this blank if you do not have a - # Retail Sales Tax ID number in Manitoba or are not purchasing Amazon - # Web Services for resale. + # Services services for resale in Manitoba must provide a valid Retail + # Sales Tax ID number for Manitoba. Leave this blank if you do not + # have a Retail Sales Tax ID number in Manitoba or are not purchasing + # Amazon Web Services services for resale. # @return [String] # # @!attribute [rw] is_reseller_account @@ -537,6 +539,23 @@ class ConflictException < Struct.new( include Aws::Structure end + # @!attribute [rw] authority_id + # The unique authority Id for the supplemental TRN information that + # needs to be deleted. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteSupplementalTaxRegistrationRequest AWS API Documentation + # + class DeleteSupplementalTaxRegistrationRequest < Struct.new( + :authority_id) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/DeleteSupplementalTaxRegistrationResponse AWS API Documentation + # + class DeleteSupplementalTaxRegistrationResponse < Aws::EmptyStructure; end + # @!attribute [rw] account_id # Unique account identifier for the TRN information that needs to be # deleted. If this isn't passed, the account ID corresponding to the @@ -789,6 +808,40 @@ class KenyaAdditionalInfo < Struct.new( include Aws::Structure end + # @!attribute [rw] max_results + # The number of `taxRegistrations` results you want in one response. + # @return [Integer] + # + # @!attribute [rw] next_token + # The token to retrieve the next set of results. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListSupplementalTaxRegistrationsRequest AWS API Documentation + # + class ListSupplementalTaxRegistrationsRequest < Struct.new( + :max_results, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] next_token + # The token to retrieve the next set of results. + # @return [String] + # + # @!attribute [rw] tax_registrations + # The list of supplemental tax registrations. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/ListSupplementalTaxRegistrationsResponse AWS API Documentation + # + class ListSupplementalTaxRegistrationsResponse < Struct.new( + :next_token, + :tax_registrations) + SENSITIVE = [:tax_registrations] + include Aws::Structure + end + # @!attribute [rw] max_results # Number of `accountDetails` results you want in one response. # @return [Integer] @@ -826,14 +879,56 @@ class ListTaxRegistrationsResponse < Struct.new( # Additional tax information associated with your TRN in Malaysia. # + # @!attribute [rw] business_registration_number + # The tax registration number (TRN) in Malaysia. + # + # For individual, you can specify the `taxInformationNumber` in + # `MalaysiaAdditionalInfo` with NRIC type, and a valid MyKad or NRIC + # number. For business, you must specify a + # `businessRegistrationNumber` in `MalaysiaAdditionalInfo` with a TIN + # type and tax identification number. For business resellers, you must + # specify a `businessRegistrationNumber` and `taxInformationNumber` in + # `MalaysiaAdditionalInfo` with a sales and service tax (SST) type and + # a valid SST number. + # + # For business resellers with service codes, you must specify + # `businessRegistrationNumber`, `taxInformationNumber`, and distinct + # `serviceTaxCodes` in `MalaysiaAdditionalInfo` with a SST type and + # valid sales and service tax (SST) number. By using this API + # operation, Amazon Web Services registers your self-declaration that + # you’re an authorized business reseller registered with the Royal + # Malaysia Customs Department (RMCD), and have a valid SST number. + # @return [String] + # # @!attribute [rw] service_tax_codes # List of service tax codes for your TRN in Malaysia. # @return [Array] # + # @!attribute [rw] tax_information_number + # The tax information number in Malaysia. + # + # For individual, you can specify the `taxInformationNumber` in + # `MalaysiaAdditionalInfo` with NRIC type, and a valid MyKad or NRIC + # number. For business resellers, you must specify a + # `businessRegistrationNumber` and `taxInformationNumber` in + # `MalaysiaAdditionalInfo` with a sales and service tax (SST) type and + # a valid SST number. + # + # For business resellers with service codes, you must specify + # `businessRegistrationNumber`, `taxInformationNumber`, and distinct + # `serviceTaxCodes` in `MalaysiaAdditionalInfo` with a SST type and + # valid sales and service tax (SST) number. By using this API + # operation, Amazon Web Services registers your self-declaration that + # you’re an authorized business reseller registered with the Royal + # Malaysia Customs Department (RMCD), and have a valid SST number. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/MalaysiaAdditionalInfo AWS API Documentation # class MalaysiaAdditionalInfo < Struct.new( - :service_tax_codes) + :business_registration_number, + :service_tax_codes, + :tax_information_number) SENSITIVE = [] include Aws::Structure end @@ -859,6 +954,39 @@ class PolandAdditionalInfo < Struct.new( include Aws::Structure end + # @!attribute [rw] tax_registration_entry + # The supplemental TRN information that will be stored for the caller + # account ID. + # @return [Types::SupplementalTaxRegistrationEntry] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutSupplementalTaxRegistrationRequest AWS API Documentation + # + class PutSupplementalTaxRegistrationRequest < Struct.new( + :tax_registration_entry) + SENSITIVE = [:tax_registration_entry] + include Aws::Structure + end + + # @!attribute [rw] authority_id + # Unique authority ID for the supplemental TRN information that was + # stored. + # @return [String] + # + # @!attribute [rw] status + # The status of the supplemental TRN stored in the system after + # processing. Based on the validation occurring on the TRN, the status + # can be `Verified`, `Pending`, `Rejected`, or `Deleted`. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/PutSupplementalTaxRegistrationResponse AWS API Documentation + # + class PutSupplementalTaxRegistrationResponse < Struct.new( + :authority_id, + :status) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] account_id # Your unique account identifier. # @return [String] @@ -1000,6 +1128,75 @@ class SpainAdditionalInfo < Struct.new( include Aws::Structure end + # Supplemental TRN details. + # + # @!attribute [rw] address + # The details of the address associated with the TRN information. + # @return [Types::Address] + # + # @!attribute [rw] authority_id + # Unique authority ID for the supplemental TRN. + # @return [String] + # + # @!attribute [rw] legal_name + # The legal name associated with your TRN registration. + # @return [String] + # + # @!attribute [rw] registration_id + # The supplemental TRN unique identifier. + # @return [String] + # + # @!attribute [rw] registration_type + # Type of supplemental TRN. Currently, this can only be VAT. + # @return [String] + # + # @!attribute [rw] status + # The status of your TRN. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/SupplementalTaxRegistration AWS API Documentation + # + class SupplementalTaxRegistration < Struct.new( + :address, + :authority_id, + :legal_name, + :registration_id, + :registration_type, + :status) + SENSITIVE = [] + include Aws::Structure + end + + # The supplemental TRN information to provide when adding or updating a + # supplemental TRN. + # + # @!attribute [rw] address + # The details of the address associated with the TRN information. + # @return [Types::Address] + # + # @!attribute [rw] legal_name + # The legal name associated with your TRN registration. + # @return [String] + # + # @!attribute [rw] registration_id + # The supplemental TRN unique identifier. + # @return [String] + # + # @!attribute [rw] registration_type + # Type of supplemental TRN. Currently, this can only be VAT. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/SupplementalTaxRegistrationEntry AWS API Documentation + # + class SupplementalTaxRegistrationEntry < Struct.new( + :address, + :legal_name, + :registration_id, + :registration_type) + SENSITIVE = [] + include Aws::Structure + end + # The metadata for your tax document. # # @!attribute [rw] tax_document_access_token diff --git a/gems/aws-sdk-taxsettings/sig/client.rbs b/gems/aws-sdk-taxsettings/sig/client.rbs index 0047fe7320d..95b84d1883f 100644 --- a/gems/aws-sdk-taxsettings/sig/client.rbs +++ b/gems/aws-sdk-taxsettings/sig/client.rbs @@ -121,7 +121,9 @@ module Aws person_type: ("Legal Person" | "Physical Person" | "Business") }?, malaysia_additional_info: { - service_tax_codes: Array[("Consultancy" | "Digital Service And Electronic Medium" | "IT Services" | "Training Or Coaching")] + business_registration_number: ::String?, + service_tax_codes: Array[("Consultancy" | "Digital Service And Electronic Medium" | "IT Services" | "Training Or Coaching")]?, + tax_information_number: ::String? }?, poland_additional_info: { individual_registration_number: ::String?, @@ -164,7 +166,7 @@ module Aws }?, legal_name: ::String?, registration_id: ::String, - registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST"), + registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST" | "TIN" | "NRIC"), sector: ("Business" | "Individual" | "Government")?, verification_details: { date_of_birth: ::String?, @@ -181,6 +183,15 @@ module Aws ) -> _BatchPutTaxRegistrationResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchPutTaxRegistrationResponseSuccess + interface _DeleteSupplementalTaxRegistrationResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSupplementalTaxRegistrationResponse] + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#delete_supplemental_tax_registration-instance_method + def delete_supplemental_tax_registration: ( + authority_id: ::String + ) -> _DeleteSupplementalTaxRegistrationResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSupplementalTaxRegistrationResponseSuccess + interface _DeleteTaxRegistrationResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTaxRegistrationResponse] end @@ -217,6 +228,18 @@ module Aws ) -> _GetTaxRegistrationDocumentResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTaxRegistrationDocumentResponseSuccess + interface _ListSupplementalTaxRegistrationsResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::ListSupplementalTaxRegistrationsResponse] + def next_token: () -> ::String + def tax_registrations: () -> ::Array[Types::SupplementalTaxRegistration] + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#list_supplemental_tax_registrations-instance_method + def list_supplemental_tax_registrations: ( + ?max_results: ::Integer, + ?next_token: ::String + ) -> _ListSupplementalTaxRegistrationsResponseSuccess + | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSupplementalTaxRegistrationsResponseSuccess + interface _ListTaxRegistrationsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListTaxRegistrationsResponse] def account_details: () -> ::Array[Types::AccountDetails] @@ -229,6 +252,31 @@ module Aws ) -> _ListTaxRegistrationsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTaxRegistrationsResponseSuccess + interface _PutSupplementalTaxRegistrationResponseSuccess + include ::Seahorse::Client::_ResponseSuccess[Types::PutSupplementalTaxRegistrationResponse] + def authority_id: () -> ::String + def status: () -> ("Verified" | "Pending" | "Deleted" | "Rejected") + end + # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TaxSettings/Client.html#put_supplemental_tax_registration-instance_method + def put_supplemental_tax_registration: ( + tax_registration_entry: { + address: { + address_line_1: ::String, + address_line_2: ::String?, + address_line_3: ::String?, + city: ::String, + country_code: ::String, + district_or_county: ::String?, + postal_code: ::String, + state_or_region: ::String? + }, + legal_name: ::String, + registration_id: ::String, + registration_type: ("VAT") + } + ) -> _PutSupplementalTaxRegistrationResponseSuccess + | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSupplementalTaxRegistrationResponseSuccess + interface _PutTaxRegistrationResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::PutTaxRegistrationResponse] def status: () -> ("Verified" | "Pending" | "Deleted" | "Rejected") @@ -264,7 +312,9 @@ module Aws person_type: ("Legal Person" | "Physical Person" | "Business") }?, malaysia_additional_info: { - service_tax_codes: Array[("Consultancy" | "Digital Service And Electronic Medium" | "IT Services" | "Training Or Coaching")] + business_registration_number: ::String?, + service_tax_codes: Array[("Consultancy" | "Digital Service And Electronic Medium" | "IT Services" | "Training Or Coaching")]?, + tax_information_number: ::String? }?, poland_additional_info: { individual_registration_number: ::String?, @@ -307,7 +357,7 @@ module Aws }?, legal_name: ::String?, registration_id: ::String, - registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST"), + registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST" | "TIN" | "NRIC"), sector: ("Business" | "Individual" | "Government")?, verification_details: { date_of_birth: ::String?, diff --git a/gems/aws-sdk-taxsettings/sig/types.rbs b/gems/aws-sdk-taxsettings/sig/types.rbs index ee849fff994..79ac1687500 100644 --- a/gems/aws-sdk-taxsettings/sig/types.rbs +++ b/gems/aws-sdk-taxsettings/sig/types.rbs @@ -131,6 +131,14 @@ module Aws::TaxSettings SENSITIVE: [:message] end + class DeleteSupplementalTaxRegistrationRequest + attr_accessor authority_id: ::String + SENSITIVE: [] + end + + class DeleteSupplementalTaxRegistrationResponse < Aws::EmptyStructure + end + class DeleteTaxRegistrationRequest attr_accessor account_id: ::String SENSITIVE: [] @@ -212,6 +220,18 @@ module Aws::TaxSettings SENSITIVE: [] end + class ListSupplementalTaxRegistrationsRequest + attr_accessor max_results: ::Integer + attr_accessor next_token: ::String + SENSITIVE: [] + end + + class ListSupplementalTaxRegistrationsResponse + attr_accessor next_token: ::String + attr_accessor tax_registrations: ::Array[Types::SupplementalTaxRegistration] + SENSITIVE: [] + end + class ListTaxRegistrationsRequest attr_accessor max_results: ::Integer attr_accessor next_token: ::String @@ -225,7 +245,9 @@ module Aws::TaxSettings end class MalaysiaAdditionalInfo + attr_accessor business_registration_number: ::String attr_accessor service_tax_codes: ::Array[("Consultancy" | "Digital Service And Electronic Medium" | "IT Services" | "Training Or Coaching")] + attr_accessor tax_information_number: ::String SENSITIVE: [] end @@ -235,6 +257,17 @@ module Aws::TaxSettings SENSITIVE: [] end + class PutSupplementalTaxRegistrationRequest + attr_accessor tax_registration_entry: Types::SupplementalTaxRegistrationEntry + SENSITIVE: [:tax_registration_entry] + end + + class PutSupplementalTaxRegistrationResponse + attr_accessor authority_id: ::String + attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected") + SENSITIVE: [] + end + class PutTaxRegistrationRequest attr_accessor account_id: ::String attr_accessor tax_registration_entry: Types::TaxRegistrationEntry @@ -280,6 +313,24 @@ module Aws::TaxSettings SENSITIVE: [] end + class SupplementalTaxRegistration + attr_accessor address: Types::Address + attr_accessor authority_id: ::String + attr_accessor legal_name: ::String + attr_accessor registration_id: ::String + attr_accessor registration_type: ("VAT") + attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected") + SENSITIVE: [] + end + + class SupplementalTaxRegistrationEntry + attr_accessor address: Types::Address + attr_accessor legal_name: ::String + attr_accessor registration_id: ::String + attr_accessor registration_type: ("VAT") + SENSITIVE: [] + end + class TaxDocumentMetadata attr_accessor tax_document_access_token: ::String attr_accessor tax_document_name: ::String @@ -298,7 +349,7 @@ module Aws::TaxSettings attr_accessor legal_address: Types::Address attr_accessor legal_name: ::String attr_accessor registration_id: ::String - attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST") + attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST" | "TIN" | "NRIC") attr_accessor sector: ("Business" | "Individual" | "Government") attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected") attr_accessor tax_document_metadatas: ::Array[Types::TaxDocumentMetadata] @@ -316,7 +367,7 @@ module Aws::TaxSettings attr_accessor legal_address: Types::Address attr_accessor legal_name: ::String attr_accessor registration_id: ::String - attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST") + attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST" | "TIN" | "NRIC") attr_accessor sector: ("Business" | "Individual" | "Government") attr_accessor verification_details: Types::VerificationDetails SENSITIVE: [] @@ -328,7 +379,7 @@ module Aws::TaxSettings attr_accessor jurisdiction: Types::Jurisdiction attr_accessor legal_name: ::String attr_accessor registration_id: ::String - attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST") + attr_accessor registration_type: ("VAT" | "GST" | "CPF" | "CNPJ" | "SST" | "TIN" | "NRIC") attr_accessor sector: ("Business" | "Individual" | "Government") attr_accessor status: ("Verified" | "Pending" | "Deleted" | "Rejected") attr_accessor tax_document_metadatas: ::Array[Types::TaxDocumentMetadata]