From 212910ac25d59e959c0a534bd6264a13fb9ca8c8 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Fri, 3 Feb 2023 19:08:38 +0000 Subject: [PATCH] Update API model --- codegen/sdk-codegen/aws-models/proton.json | 726 +++++++------------ codegen/sdk-codegen/aws-models/redshift.json | 398 +++++----- 2 files changed, 478 insertions(+), 646 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/proton.json b/codegen/sdk-codegen/aws-models/proton.json index 13ec8cbe965..4a7fc8c7c71 100644 --- a/codegen/sdk-codegen/aws-models/proton.json +++ b/codegen/sdk-codegen/aws-models/proton.json @@ -151,6 +151,9 @@ { "target": "com.amazonaws.proton#GetRepositorySyncStatus" }, + { + "target": "com.amazonaws.proton#GetResourcesSummary" + }, { "target": "com.amazonaws.proton#GetTemplateSyncStatus" }, @@ -244,7 +247,7 @@ "name": "proton" }, "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

This is the Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the actions and data types for the Proton service.

\n

The documentation for each action shows the Query API request parameters and the XML response.

\n

Alternatively, you can use the Amazon Web Services CLI to access an API. For more information, see the Amazon Web Services Command Line Interface User Guide.

\n

The Proton service is a two-pronged automation framework. Administrators create service templates to provide standardized infrastructure\n and deployment tooling for serverless and container based applications. Developers, in turn, select from the available service templates to\n automate their application or service deployments.

\n

Because administrators define the infrastructure and tooling that Proton deploys and manages, they need permissions to use all of the\n listed API operations.

\n

When developers select a specific infrastructure and tooling set, Proton deploys their applications. To monitor their applications that are\n running on Proton, developers need permissions to the service create, list,\n update and delete API operations and the service instance list and\n update API operations.

\n

To learn more about Proton, see the Proton User Guide.

\n

\n Ensuring Idempotency\n

\n

When you make a mutating API request, the request typically returns a result before the asynchronous workflows of the operation are complete.\n Operations might also time out or encounter other server issues before they're complete, even if the request already returned a result. This might\n make it difficult to determine whether the request succeeded. Moreover, you might need to retry the request multiple times to ensure that the\n operation completes successfully. However, if the original request and the subsequent retries are successful, the operation occurs multiple times.\n This means that you might create more resources than you intended.

\n

\n Idempotency ensures that an API request action completes no more than one time. With an idempotent request, if the\n original request action completes successfully, any subsequent retries complete successfully without performing any further actions. However, the\n result might contain updated information, such as the current creation status.

\n

The following lists of APIs are grouped according to methods that ensure idempotency.

\n

\n Idempotent create APIs with a client token\n

\n

The API actions in this list support idempotency with the use of a client token. The corresponding Amazon Web Services CLI commands\n also support idempotency using a client token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. To make an\n idempotent API request using one of these actions, specify a client token in the request. We recommend that you don't reuse\n the same client token for other API requests. If you don’t provide a client token for these APIs, a default client token is automatically provided\n by SDKs.

\n

Given a request action that has succeeded:

\n

If you retry the request using the same client token and the same parameters, the retry succeeds without performing any further actions other\n than returning the original resource detail data in the response.

\n

If you retry the request using the same client token, but one or more of the parameters are different, the retry throws a\n ValidationException with an IdempotentParameterMismatch error.

\n

Client tokens expire eight hours after a request is made. If you retry the request with the expired token, a new resource is created.

\n

If the original resource is deleted and you retry the request, a new resource is created.

\n

Idempotent create APIs with a client token:

\n \n

\n Idempotent create APIs\n

\n

Given a request action that has succeeded:

\n

If you retry the request with an API from this group, and the original resource hasn't been modified, the retry succeeds\n without performing any further actions other than returning the original resource detail data in the response.

\n

If the original resource has been modified, the retry throws a ConflictException.

\n

If you retry with different input parameters, the retry throws a ValidationException with an\n IdempotentParameterMismatch error.

\n

Idempotent create APIs:

\n \n

\n Idempotent delete APIs\n

\n

Given a request action that has succeeded:

\n

When you retry the request with an API from this group and the resource was deleted, its metadata is returned in the response.

\n

If you retry and the resource doesn't exist, the response is empty.

\n

In both cases, the retry succeeds.

\n

Idempotent delete APIs:

\n \n

\n Asynchronous idempotent delete APIs\n

\n

Given a request action that has succeeded:

\n

If you retry the request with an API from this group, if the original request delete operation status is DELETE_IN_PROGRESS, the\n retry returns the resource detail data in the response without performing any further actions.

\n

If the original request delete operation is complete, a retry returns an empty response.

\n

Asynchronous idempotent delete APIs:

\n ", + "smithy.api#documentation": "

This is the Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the\n actions and data types for the Proton\n service.

\n

The documentation for each action shows the Query API request parameters and the XML response.

\n

Alternatively, you can use the Amazon Web Services CLI to access an API. For more information, see the Amazon Web Services Command Line Interface User\n Guide.

\n

The Proton service is a two-pronged automation framework. Administrators create service templates to provide\n standardized infrastructure and deployment tooling for serverless and container based applications. Developers, in\n turn, select from the available service templates to automate their application or service deployments.

\n

Because administrators define the infrastructure and tooling that Proton deploys and manages, they need\n permissions to use all of the listed API operations.

\n

When developers select a specific infrastructure and tooling set, Proton deploys their applications. To\n monitor their applications that are running on Proton, developers need permissions to the service\n create, list, update and delete\n API operations and the service instance list and update API\n operations.

\n

To learn more about Proton, see the Proton User Guide.

\n

\n Ensuring Idempotency\n

\n

When you make a mutating API request, the request typically returns a result before the asynchronous workflows\n of the operation are complete. Operations might also time out or encounter other server issues before they're\n complete, even if the request already returned a result. This might make it difficult to determine whether the\n request succeeded. Moreover, you might need to retry the request multiple times to ensure that the operation\n completes successfully. However, if the original request and the subsequent retries are successful, the operation\n occurs multiple times. This means that you might create more resources than you intended.

\n

\n Idempotency ensures that an API request action completes no more than one time. With an\n idempotent request, if the original request action completes successfully, any subsequent retries complete\n successfully without performing any further actions. However, the result might contain updated information, such as\n the current creation status.

\n

The following lists of APIs are grouped according to methods that ensure idempotency.

\n

\n Idempotent create APIs with a client token\n

\n

The API actions in this list support idempotency with the use of a client token. The\n corresponding Amazon Web Services CLI commands also support idempotency using a client token. A client token is a unique,\n case-sensitive string of up to 64 ASCII characters. To make an idempotent API request using one of these actions,\n specify a client token in the request. We recommend that you don't reuse the same client token\n for other API requests. If you don’t provide a client token for these APIs, a default client token is automatically\n provided by SDKs.

\n

Given a request action that has succeeded:

\n

If you retry the request using the same client token and the same parameters, the retry succeeds without\n performing any further actions other than returning the original resource detail data in the response.

\n

If you retry the request using the same client token, but one or more of the parameters are different, the retry\n throws a ValidationException with an IdempotentParameterMismatch error.

\n

Client tokens expire eight hours after a request is made. If you retry the request with the expired token, a new\n resource is created.

\n

If the original resource is deleted and you retry the request, a new resource is created.

\n

Idempotent create APIs with a client token:

\n \n

\n Idempotent create APIs\n

\n

Given a request action that has succeeded:

\n

If you retry the request with an API from this group, and the original resource hasn't been\n modified, the retry succeeds without performing any further actions other than returning the original resource detail\n data in the response.

\n

If the original resource has been modified, the retry throws a ConflictException.

\n

If you retry with different input parameters, the retry throws a ValidationException with an\n IdempotentParameterMismatch error.

\n

Idempotent create APIs:

\n \n

\n Idempotent delete APIs\n

\n

Given a request action that has succeeded:

\n

When you retry the request with an API from this group and the resource was deleted, its metadata is returned in\n the response.

\n

If you retry and the resource doesn't exist, the response is empty.

\n

In both cases, the retry succeeds.

\n

Idempotent delete APIs:

\n \n

\n Asynchronous idempotent delete APIs\n

\n

Given a request action that has succeeded:

\n

If you retry the request with an API from this group, if the original request delete operation status is\n DELETE_IN_PROGRESS, the retry returns the resource detail data in the response without performing any\n further actions.

\n

If the original request delete operation is complete, a retry returns an empty response.

\n

Asynchronous idempotent delete APIs:

\n ", "smithy.api#title": "AWS Proton", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -300,15 +303,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", @@ -422,12 +416,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://proton-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://proton-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -532,12 +532,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://proton.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://proton.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -550,12 +556,18 @@ }, { "conditions": [], - "endpoint": { - "url": "https://proton.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://proton.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] } @@ -564,250 +576,198 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://proton-fips.ca-central-1.api.aws" + "url": "https://proton-fips.us-gov-east-1.api.aws" } }, "params": { - "UseDualStack": true, - "Region": "ca-central-1", - "UseFIPS": true - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ca-central-1", - "UseFIPS": true - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton.ca-central-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ca-central-1", - "UseFIPS": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ca-central-1", - "UseFIPS": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "eu-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": true } }, { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://proton-fips.eu-central-1.amazonaws.com" + "url": "https://proton-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "eu-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": false } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://proton.eu-central-1.api.aws" + "url": "https://proton.us-gov-east-1.api.aws" } }, "params": { - "UseDualStack": true, - "Region": "eu-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": true } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://proton.eu-central-1.amazonaws.com" + "url": "https://proton.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "eu-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": false } }, { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://proton-fips.us-west-2.api.aws" + "url": "https://proton-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": true, - "Region": "us-west-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-isob-east-1", + "UseDualStack": false } }, { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://proton-fips.us-west-2.amazonaws.com" + "url": "https://proton.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": false, - "Region": "us-west-2", - "UseFIPS": true + "UseFIPS": false, + "Region": "us-isob-east-1", + "UseDualStack": false } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://proton.us-west-2.api.aws" + "url": "https://proton-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": true, - "Region": "us-west-2", - "UseFIPS": false + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": true } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://proton.us-west-2.amazonaws.com" + "url": "https://proton-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, - "Region": "us-west-2", - "UseFIPS": false + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": false } }, { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://proton-fips.eu-west-2.api.aws" + "url": "https://proton.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": true, - "Region": "eu-west-2", - "UseFIPS": true + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": true } }, { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://proton-fips.eu-west-2.amazonaws.com" + "url": "https://proton.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, - "Region": "eu-west-2", - "UseFIPS": true + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": false } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://proton.eu-west-2.api.aws" + "url": "https://proton-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": true, - "Region": "eu-west-2", - "UseFIPS": false + "UseFIPS": true, + "Region": "us-iso-east-1", + "UseDualStack": false } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://proton.eu-west-2.amazonaws.com" + "url": "https://proton.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, - "Region": "eu-west-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-iso-east-1", + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://proton-fips.eu-west-1.api.aws" + "url": "https://proton.us-west-2.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "eu-west-1", - "UseFIPS": true + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://proton-fips.eu-west-1.amazonaws.com" + "url": "https://proton.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "eu-west-1", - "UseFIPS": true + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://proton.eu-west-1.api.aws" + "url": "https://proton.us-east-2.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "eu-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": false } }, { @@ -818,100 +778,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-1", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-northeast-2", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-northeast-2", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-northeast-2", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-northeast-2", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.ap-northeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-northeast-1", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-northeast-1", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton.ap-northeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-northeast-1", - "UseFIPS": false + "UseDualStack": false } }, { @@ -922,113 +791,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-1", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-southeast-1", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-southeast-1", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-southeast-1", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-southeast-1", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.ap-southeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-southeast-2", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-southeast-2", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton.ap-southeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-southeast-2", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-southeast-2", - "UseFIPS": false + "UseDualStack": false } }, { @@ -1039,9 +804,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-east-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -1052,9 +817,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -1065,74 +830,9 @@ } }, "params": { - "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton.us-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, + "UseFIPS": false, "Region": "us-east-1", - "UseFIPS": false - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.us-east-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "us-east-2", - "UseFIPS": true - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "us-east-2", - "UseFIPS": true - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://proton.us-east-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "us-east-2", - "UseFIPS": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://proton.us-east-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "us-east-2", - "UseFIPS": false + "UseDualStack": true } }, { @@ -1143,9 +843,9 @@ } }, "params": { - "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1155,9 +855,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1167,9 +867,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, "Endpoint": "https://example.com" } } @@ -1795,6 +1495,56 @@ "smithy.api#httpError": 409 } }, + "com.amazonaws.proton#CountsSummary": { + "type": "structure", + "members": { + "components": { + "target": "com.amazonaws.proton#ResourceCountsSummary", + "traits": { + "smithy.api#documentation": "

The total number of components in the Amazon Web Services account.

\n

The semantics of the components field are different from the semantics of results for other\n infrastructure-provisioning resources. That's because at this time components don't have associated templates,\n therefore they don't have the concept of staleness. The components object will only contain\n total and failed members.

" + } + }, + "environments": { + "target": "com.amazonaws.proton#ResourceCountsSummary", + "traits": { + "smithy.api#documentation": "

The staleness counts for Proton environments in the Amazon Web Services account. The environments object will only\n contain total members.

" + } + }, + "environmentTemplates": { + "target": "com.amazonaws.proton#ResourceCountsSummary", + "traits": { + "smithy.api#documentation": "

The total number of environment templates in the Amazon Web Services account.

" + } + }, + "serviceInstances": { + "target": "com.amazonaws.proton#ResourceCountsSummary", + "traits": { + "smithy.api#documentation": "

The staleness counts for Proton service instances in the Amazon Web Services account.

" + } + }, + "services": { + "target": "com.amazonaws.proton#ResourceCountsSummary", + "traits": { + "smithy.api#documentation": "

The staleness counts for Proton services in the Amazon Web Services account.

" + } + }, + "serviceTemplates": { + "target": "com.amazonaws.proton#ResourceCountsSummary", + "traits": { + "smithy.api#documentation": "

The total number of service templates in the Amazon Web Services account. The serviceTemplates object will only\n contain total members.

" + } + }, + "pipelines": { + "target": "com.amazonaws.proton#ResourceCountsSummary", + "traits": { + "smithy.api#documentation": "

The staleness counts for Proton pipelines in the Amazon Web Services account.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Summary counts of each Proton resource type.

" + } + }, "com.amazonaws.proton#CreateComponent": { "type": "operation", "input": { @@ -2729,7 +2479,7 @@ } ], "traits": { - "smithy.api#documentation": "

Set up a template to create new template versions automatically by tracking a linked repository. A linked repository is a repository that has been\n registered with Proton. For more information, see CreateRepository.

\n

When a commit is pushed to your linked repository, Proton checks for changes to your repository template bundles. If it detects a template bundle\n change, a new major or minor version of its template is created, if the version doesn’t already exist. For more information, see Template sync configurations in the Proton User\n Guide.

", + "smithy.api#documentation": "

Set up a template to create new template versions automatically by tracking a linked repository. A linked\n repository is a repository that has been registered with Proton. For more information, see CreateRepository.

\n

When a commit is pushed to your linked repository, Proton checks for changes to your repository template\n bundles. If it detects a template bundle change, a new major or minor version of its template is created, if the\n version doesn’t already exist. For more information, see Template sync configurations in the\n Proton User Guide.

", "smithy.api#idempotent": {} } }, @@ -2774,7 +2524,7 @@ "subdirectory": { "target": "com.amazonaws.proton#Subdirectory", "traits": { - "smithy.api#documentation": "

A repository subdirectory path to your template bundle directory. When included, Proton limits the template bundle search to this repository\n directory.

" + "smithy.api#documentation": "

A repository subdirectory path to your template bundle directory. When included, Proton limits the template\n bundle search to this repository directory.

" } } } @@ -5157,6 +4907,49 @@ } } }, + "com.amazonaws.proton#GetResourcesSummary": { + "type": "operation", + "input": { + "target": "com.amazonaws.proton#GetResourcesSummaryInput" + }, + "output": { + "target": "com.amazonaws.proton#GetResourcesSummaryOutput" + }, + "errors": [ + { + "target": "com.amazonaws.proton#AccessDeniedException" + }, + { + "target": "com.amazonaws.proton#InternalServerException" + }, + { + "target": "com.amazonaws.proton#ThrottlingException" + }, + { + "target": "com.amazonaws.proton#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Get counts of Proton resources.

\n

For infrastructure-provisioning resources (environments, services, service instances, pipelines), the action\n returns staleness counts. A resource is stale when it's behind the recommended version of the Proton template that it\n uses and it needs an update to become current.

\n

The action returns staleness counts (counts of resources that are up-to-date, behind a template major version,\n or behind a template minor version), the total number of resources, and the number of resources that are in a failed\n state, grouped by resource type. Components, environments, and service templates are exceptions—see the\n components, environments, and serviceTemplates field descriptions.

\n

For context, the action also returns the total number of each type of Proton template in the Amazon Web Services account.

\n

For more information, see Proton dashboard in the Proton User Guide.

", + "smithy.api#readonly": {} + } + }, + "com.amazonaws.proton#GetResourcesSummaryInput": { + "type": "structure", + "members": {} + }, + "com.amazonaws.proton#GetResourcesSummaryOutput": { + "type": "structure", + "members": { + "counts": { + "target": "com.amazonaws.proton#CountsSummary", + "traits": { + "smithy.api#documentation": "

Summary counts of each Proton resource type.

", + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.proton#GetService": { "type": "operation", "input": { @@ -6830,7 +6623,7 @@ } ], "traits": { - "smithy.api#documentation": "

List service instances with summary data. This action lists service instances of all services in the Amazon Web Services account.

", + "smithy.api#documentation": "

List service instances with summary data. This action lists service instances of all services in the\n Amazon Web Services account.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6940,7 +6733,7 @@ "filters": { "target": "com.amazonaws.proton#ListServiceInstancesFilterList", "traits": { - "smithy.api#documentation": "

An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.

" + "smithy.api#documentation": "

An array of filtering criteria that scope down the result list. By default, all service instances in the\n Amazon Web Services account are returned.

" } }, "sortBy": { @@ -7398,7 +7191,7 @@ } ], "traits": { - "smithy.api#documentation": "

List tags for a resource. For more information, see Proton resources and\n tagging in the Proton User Guide.

", + "smithy.api#documentation": "

List tags for a resource. For more information, see Proton resources and tagging in the Proton User\n Guide.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -7422,7 +7215,7 @@ "nextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

A token that indicates the location of the next resource tag in the array of resource tags, after the list of resource tags that was previously\n requested.

", + "smithy.api#documentation": "

A token that indicates the location of the next resource tag in the array of resource tags, after the list of\n resource tags that was previously requested.

", "smithy.api#httpQuery": "nextToken" } }, @@ -7448,7 +7241,7 @@ "nextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

A token that indicates the location of the next resource tag in the array of resource tags, after the current requested list of resource tags.

" + "smithy.api#documentation": "

A token that indicates the location of the next resource tag in the array of resource tags, after the current\n requested list of resource tags.

" } } } @@ -7500,7 +7293,7 @@ } ], "traits": { - "smithy.api#documentation": "

Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.

\n

For more information, see Self-managed provisioning in the Proton User Guide.

" + "smithy.api#documentation": "

Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.

\n

For more information, see Self-managed\n provisioning in the Proton User Guide.

" } }, "com.amazonaws.proton#NotifyResourceDeploymentStatusChangeInput": { @@ -8098,6 +7891,45 @@ ] } }, + "com.amazonaws.proton#ResourceCountsSummary": { + "type": "structure", + "members": { + "total": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The total number of resources of this type in the Amazon Web Services account.

", + "smithy.api#required": {} + } + }, + "failed": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of resources of this type in the Amazon Web Services account that failed to deploy.

" + } + }, + "upToDate": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of resources of this type in the Amazon Web Services account that are up-to-date with their template.

" + } + }, + "behindMajor": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of resources of this type in the Amazon Web Services account that need a major template version update.

" + } + }, + "behindMinor": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of resources of this type in the Amazon Web Services account that need a minor template version update.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Summary counts of each Proton resource types.

" + } + }, "com.amazonaws.proton#ResourceDeploymentStatus": { "type": "string", "traits": { @@ -9587,7 +9419,7 @@ } ], "traits": { - "smithy.api#documentation": "

Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

", + "smithy.api#documentation": "

Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.

\n

For more information, see Proton\n resources and tagging in the Proton User Guide.

", "smithy.api#idempotent": {} } }, @@ -9831,7 +9663,7 @@ } ], "traits": { - "smithy.api#documentation": "

Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton resource.

\n

For more information, see Proton resources and tagging in the\n Proton User Guide.

", + "smithy.api#documentation": "

Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton\n resource.

\n

For more information, see Proton\n resources and tagging in the Proton User Guide.

", "smithy.api#idempotent": {} } }, @@ -9894,25 +9726,25 @@ "pipelineServiceRoleArn": { "target": "com.amazonaws.proton#RoleArnOrEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by\n customer-owned automation for self-managed provisioning.

\n

To remove a previously configured ARN, specify an empty string.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton\n for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.

\n

To remove a previously configured ARN, specify an empty string.

" } }, "pipelineProvisioningRepository": { "target": "com.amazonaws.proton#RepositoryBranchInput", "traits": { - "smithy.api#documentation": "

A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include\n pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.

\n

To remove a previously configured repository, set deletePipelineProvisioningRepository to true, and don't set\n pipelineProvisioningRepository.

" + "smithy.api#documentation": "

A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed\n provisioning with services that include pipelines. A linked repository is a repository that has been registered with\n Proton. For more information, see CreateRepository.

\n

To remove a previously configured repository, set deletePipelineProvisioningRepository to\n true, and don't set pipelineProvisioningRepository.

" } }, "deletePipelineProvisioningRepository": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Set to true to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured\n pipeline repository.

" + "smithy.api#documentation": "

Set to true to remove a configured pipeline repository from the account settings. Don't set this\n field if you are updating the configured pipeline repository.

" } }, "pipelineCodebuildRoleArn": { "target": "com.amazonaws.proton#RoleArnOrEmptyString", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based\n provisioning.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes\n this role for CodeBuild-based provisioning.

" } } } @@ -10872,7 +10704,7 @@ } ], "traits": { - "smithy.api#documentation": "

Update template sync configuration parameters, except for the templateName and templateType. Repository details (branch,\n name, and provider) should be of a linked repository. A linked repository is a repository that has been registered with Proton. For more information,\n see CreateRepository.

" + "smithy.api#documentation": "

Update template sync configuration parameters, except for the templateName and\n templateType. Repository details (branch, name, and provider) should be of a linked repository. A\n linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.

" } }, "com.amazonaws.proton#UpdateTemplateSyncConfigInput": { @@ -10916,7 +10748,7 @@ "subdirectory": { "target": "com.amazonaws.proton#Subdirectory", "traits": { - "smithy.api#documentation": "

A subdirectory path to your template bundle version. When included, limits the template bundle search to this repository directory.

" + "smithy.api#documentation": "

A subdirectory path to your template bundle version. When included, limits the template bundle search to this\n repository directory.

" } } } diff --git a/codegen/sdk-codegen/aws-models/redshift.json b/codegen/sdk-codegen/aws-models/redshift.json index e4454bbacb2..d45c7a6fa1e 100644 --- a/codegen/sdk-codegen/aws-models/redshift.json +++ b/codegen/sdk-codegen/aws-models/redshift.json @@ -2570,7 +2570,7 @@ "MasterUsername": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The user name associated with the admin user account for the cluster that is being\n created.

\n

Constraints:

\n ", + "smithy.api#documentation": "

The user name associated with the admin user account for the cluster that is being\n created.

\n

Constraints:

\n ", "smithy.api#required": {} } }, @@ -5026,7 +5026,7 @@ "ClusterSecurityGroupName": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The name of a cluster security group for which you are requesting details. You can\n specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

\n

Example: securitygroup1\n

" + "smithy.api#documentation": "

The name of a cluster security group for which you are requesting details. You must\n specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

\n

Example: securitygroup1\n

" } }, "MaxRecords": { @@ -5038,7 +5038,7 @@ "Marker": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterSecurityGroups request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

\n

Constraints: You can specify either the ClusterSecurityGroupName parameter or the Marker parameter, but not both.

" + "smithy.api#documentation": "

An optional parameter that specifies the starting point to return a set of response\n records. When the results of a DescribeClusterSecurityGroups request\n exceed the value specified in MaxRecords, Amazon Web Services returns a value in the\n Marker field of the response. You can retrieve the next set of response\n records by providing the returned marker value in the Marker parameter and\n retrying the request.

\n

Constraints: You must specify either the ClusterSecurityGroupName parameter or the Marker parameter, but not both.

" } }, "TagKeys": { @@ -5894,7 +5894,7 @@ "Account": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The AAmazon Web Services account ID of either the cluster owner (grantor) or grantee. \n If Grantee parameter is true, then the Account value is of the grantor.

" + "smithy.api#documentation": "

The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. \n If Grantee parameter is true, then the Account value is of the grantor.

" } }, "Grantee": { @@ -7362,7 +7362,7 @@ "LogExports": { "target": "com.amazonaws.redshift#LogTypeList", "traits": { - "smithy.api#documentation": "

The collection of exported log types. Log types include the connection log, user log and user activity log.

" + "smithy.api#documentation": "

The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.

" } } }, @@ -9360,7 +9360,7 @@ "LogExports": { "target": "com.amazonaws.redshift#LogTypeList", "traits": { - "smithy.api#documentation": "

The collection of exported log types. Log types include the connection log, user log and user activity log.

" + "smithy.api#documentation": "

The collection of exported log types. Possible values are connectionlog, useractivitylog, and \n userlog.

" } } }, @@ -12176,94 +12176,94 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.us-gov-west-1.amazonaws.com" + "url": "https://redshift.af-south-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "af-south-1", "UseDualStack": false, - "Region": "us-gov-west-1" + "UseFIPS": false } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.us-gov-west-1.amazonaws.com" + "url": "https://redshift.ap-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "ap-east-1", "UseDualStack": false, - "Region": "us-gov-west-1" + "UseFIPS": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.us-gov-east-1.amazonaws.com" + "url": "https://redshift.ap-northeast-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "ap-northeast-1", "UseDualStack": false, - "Region": "us-gov-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.us-gov-east-1.amazonaws.com" + "url": "https://redshift.ap-northeast-2.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "ap-northeast-2", "UseDualStack": false, - "Region": "us-gov-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-fips.us-gov-east-1.api.aws" + "url": "https://redshift.ap-northeast-3.amazonaws.com" } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "Region": "ap-northeast-3", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.us-gov-east-1.api.aws" + "url": "https://redshift.ap-south-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "Region": "ap-south-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.ap-southeast-3.amazonaws.com" + "url": "https://redshift.ap-southeast-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "ap-southeast-1", "UseDualStack": false, - "Region": "ap-southeast-3" + "UseFIPS": false } }, { @@ -12274,464 +12274,464 @@ } }, "params": { - "UseFIPS": false, + "Region": "ap-southeast-2", "UseDualStack": false, - "Region": "ap-southeast-2" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.ap-southeast-1.amazonaws.com" + "url": "https://redshift.ap-southeast-3.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "ap-southeast-3", "UseDualStack": false, - "Region": "ap-southeast-1" + "UseFIPS": false } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.eu-central-1.amazonaws.com" + "url": "https://redshift.ca-central-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "ca-central-1", "UseDualStack": false, - "Region": "eu-central-1" + "UseFIPS": false } }, { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.eu-south-1.amazonaws.com" + "url": "https://redshift-fips.ca-central-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "ca-central-1", "UseDualStack": false, - "Region": "eu-south-1" + "UseFIPS": true } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.ap-east-1.amazonaws.com" + "url": "https://redshift.eu-central-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "eu-central-1", "UseDualStack": false, - "Region": "ap-east-1" + "UseFIPS": false } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.sa-east-1.amazonaws.com" + "url": "https://redshift.eu-north-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "eu-north-1", "UseDualStack": false, - "Region": "sa-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.us-east-2.amazonaws.com" + "url": "https://redshift.eu-south-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "eu-south-1", "UseDualStack": false, - "Region": "us-east-2" + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-fips.us-east-2.amazonaws.com" + "url": "https://redshift.eu-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "eu-west-1", "UseDualStack": false, - "Region": "us-east-2" + "UseFIPS": false } }, { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.eu-north-1.amazonaws.com" + "url": "https://redshift.eu-west-2.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "eu-west-2", "UseDualStack": false, - "Region": "eu-north-1" + "UseFIPS": false } }, { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.me-south-1.amazonaws.com" + "url": "https://redshift.eu-west-3.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "eu-west-3", "UseDualStack": false, - "Region": "me-south-1" + "UseFIPS": false } }, { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.eu-west-3.amazonaws.com" + "url": "https://redshift.me-south-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "me-south-1", "UseDualStack": false, - "Region": "eu-west-3" + "UseFIPS": false } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.eu-west-2.amazonaws.com" + "url": "https://redshift.sa-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "sa-east-1", "UseDualStack": false, - "Region": "eu-west-2" + "UseFIPS": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.eu-west-1.amazonaws.com" + "url": "https://redshift.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-east-1", "UseDualStack": false, - "Region": "eu-west-1" + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.us-east-1.amazonaws.com" + "url": "https://redshift-fips.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-east-1", "UseDualStack": false, - "Region": "us-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-fips.us-east-1.amazonaws.com" + "url": "https://redshift.us-east-2.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "us-east-2", "UseDualStack": false, - "Region": "us-east-1" + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.ap-northeast-3.amazonaws.com" + "url": "https://redshift-fips.us-east-2.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-east-2", "UseDualStack": false, - "Region": "ap-northeast-3" + "UseFIPS": true } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.ap-northeast-2.amazonaws.com" + "url": "https://redshift.us-west-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-west-1", "UseDualStack": false, - "Region": "ap-northeast-2" + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.ap-northeast-1.amazonaws.com" + "url": "https://redshift-fips.us-west-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-west-1", "UseDualStack": false, - "Region": "ap-northeast-1" + "UseFIPS": true } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.ap-south-1.amazonaws.com" + "url": "https://redshift.us-west-2.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-west-2", "UseDualStack": false, - "Region": "ap-south-1" + "UseFIPS": false } }, { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.af-south-1.amazonaws.com" + "url": "https://redshift-fips.us-west-2.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-west-2", "UseDualStack": false, - "Region": "af-south-1" + "UseFIPS": true } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://redshift.us-west-2.amazonaws.com" + "url": "https://redshift-fips.us-east-1.api.aws" } }, "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": true } }, { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://redshift-fips.us-west-2.amazonaws.com" + "url": "https://redshift.us-east-1.api.aws" } }, "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.us-west-1.amazonaws.com" + "url": "https://redshift.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": false, + "Region": "cn-north-1", "UseDualStack": false, - "Region": "us-west-1" + "UseFIPS": false } }, { - "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-fips.us-west-1.amazonaws.com" + "url": "https://redshift.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": true, + "Region": "cn-northwest-1", "UseDualStack": false, - "Region": "us-west-1" + "UseFIPS": false } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://redshift.ca-central-1.amazonaws.com" + "url": "https://redshift-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": true } }, { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-fips.ca-central-1.amazonaws.com" + "url": "https://redshift-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": true, + "Region": "cn-north-1", "UseDualStack": false, - "Region": "ca-central-1" + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://redshift-fips.us-east-1.api.aws" + "url": "https://redshift.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseFIPS": true, + "Region": "cn-north-1", "UseDualStack": true, - "Region": "us-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.us-east-1.api.aws" + "url": "https://redshift.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.us-iso-east-1.c2s.ic.gov" + "url": "https://redshift.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-gov-east-1", "UseDualStack": false, - "Region": "us-iso-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.us-iso-west-1.c2s.ic.gov" + "url": "https://redshift.us-gov-west-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-gov-west-1", "UseDualStack": false, - "Region": "us-iso-west-1" + "UseFIPS": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://redshift.us-gov-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "us-gov-west-1", "UseDualStack": false, - "Region": "us-iso-east-1" + "UseFIPS": true } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://redshift.cn-north-1.amazonaws.com.cn" + "url": "https://redshift-fips.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": true } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://redshift.cn-northwest-1.amazonaws.com.cn" + "url": "https://redshift.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-northwest-1" + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-fips.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://redshift.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift-fips.cn-north-1.amazonaws.com.cn" + "url": "https://redshift.us-iso-west-1.c2s.ic.gov" } }, "params": { - "UseFIPS": true, + "Region": "us-iso-west-1", "UseDualStack": false, - "Region": "cn-north-1" + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://redshift.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://redshift-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { @@ -12742,9 +12742,9 @@ } }, "params": { - "UseFIPS": false, + "Region": "us-isob-east-1", "UseDualStack": false, - "Region": "us-isob-east-1" + "UseFIPS": false } }, { @@ -12755,9 +12755,9 @@ } }, "params": { - "UseFIPS": true, + "Region": "us-isob-east-1", "UseDualStack": false, - "Region": "us-isob-east-1" + "UseFIPS": true } }, { @@ -12768,9 +12768,9 @@ } }, "params": { - "UseFIPS": false, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -12780,9 +12780,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -12792,9 +12792,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, - "UseDualStack": true, "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false, "Endpoint": "https://example.com" } } @@ -13782,13 +13782,13 @@ "SnapshotIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The name of the snapshot from which to create the new cluster. This parameter isn't\n case sensitive. You can specify this parameter or snapshotArn, but not both.

\n

Example: my-snapshot-id\n

" + "smithy.api#documentation": "

The name of the snapshot from which to create the new cluster. This parameter isn't\n case sensitive. You must specify this parameter or snapshotArn, but not both.

\n

Example: my-snapshot-id\n

" } }, "SnapshotArn": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the snapshot associated with the message to restore from a cluster. You can specify\n this parameter or snapshotIdentifier, but not both.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the snapshot associated with the message to restore from a cluster. You must specify\n this parameter or snapshotIdentifier, but not both.

" } }, "SnapshotClusterIdentifier": { @@ -14065,7 +14065,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new table from a table in an Amazon Redshift cluster snapshot. You must\n create the new table within the Amazon Redshift cluster that the snapshot was taken\n from.

\n

You cannot use RestoreTableFromClusterSnapshot to restore a table with\n the same name as an existing table in an Amazon Redshift cluster. That is, you cannot\n overwrite an existing table in a cluster with a restored table. If you want to replace\n your original table with a new, restored table, then rename or drop your original table\n before you call RestoreTableFromClusterSnapshot. When you have renamed your\n original table, then you can pass the original name of the table as the\n NewTableName parameter value in the call to\n RestoreTableFromClusterSnapshot. This way, you can replace the original\n table with the table created from the snapshot.

" + "smithy.api#documentation": "

Creates a new table from a table in an Amazon Redshift cluster snapshot. You must\n create the new table within the Amazon Redshift cluster that the snapshot was taken\n from.

\n

You cannot use RestoreTableFromClusterSnapshot to restore a table with\n the same name as an existing table in an Amazon Redshift cluster. That is, you cannot\n overwrite an existing table in a cluster with a restored table. If you want to replace\n your original table with a new, restored table, then rename or drop your original table\n before you call RestoreTableFromClusterSnapshot. When you have renamed your\n original table, then you can pass the original name of the table as the\n NewTableName parameter value in the call to\n RestoreTableFromClusterSnapshot. This way, you can replace the original\n table with the table created from the snapshot.

\n

You can't use this operation to restore tables with \n interleaved sort keys.

" } }, "com.amazonaws.redshift#RestoreTableFromClusterSnapshotMessage": {