diff --git a/CHANGELOG.md b/CHANGELOG.md index 742b3ab602..e89d9d5b85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +Release v1.44.194 (2023-02-03) +=== + +### Service Client Updates +* `service/proton`: Updates service API and documentation +* `service/redshift`: Updates service documentation + * Corrects descriptions of the parameters for the API operations RestoreFromClusterSnapshot, RestoreTableFromClusterSnapshot, and CreateCluster. + Release v1.44.193 (2023-02-02) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 08d0d5953a..3119e37743 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -31796,6 +31796,26 @@ var awsusgovPartition = partition{ }, }, }, + "compute-optimizer": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-gov-east-1", + }: endpoint{ + Hostname: "compute-optimizer-fips.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + }, + endpointKey{ + Region: "us-gov-west-1", + }: endpoint{ + Hostname: "compute-optimizer-fips.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, + }, + }, "config": service{ Defaults: endpointDefaults{ defaultKey{}: endpoint{}, @@ -33173,6 +33193,21 @@ var awsusgovPartition = partition{ endpointKey{ Region: "us-gov-west-1", }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "ingest.timestream.us-gov-west-1.amazonaws.com", + }, + endpointKey{ + Region: "us-gov-west-1-fips", + }: endpoint{ + Hostname: "ingest.timestream.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + Deprecated: boxedTrue, + }, }, }, "inspector": service{ diff --git a/aws/version.go b/aws/version.go index 80b8624545..4e260b2f65 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.193" +const SDKVersion = "1.44.194" diff --git a/models/apis/proton/2020-07-20/api-2.json b/models/apis/proton/2020-07-20/api-2.json index 68b99e1d54..ad330a679f 100644 --- a/models/apis/proton/2020-07-20/api-2.json +++ b/models/apis/proton/2020-07-20/api-2.json @@ -592,6 +592,21 @@ {"shape":"InternalServerException"} ] }, + "GetResourcesSummary":{ + "name":"GetResourcesSummary", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetResourcesSummaryInput"}, + "output":{"shape":"GetResourcesSummaryOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "GetService":{ "name":"GetService", "http":{ @@ -1494,6 +1509,18 @@ }, "exception":true }, + "CountsSummary":{ + "type":"structure", + "members":{ + "components":{"shape":"ResourceCountsSummary"}, + "environmentTemplates":{"shape":"ResourceCountsSummary"}, + "environments":{"shape":"ResourceCountsSummary"}, + "pipelines":{"shape":"ResourceCountsSummary"}, + "serviceInstances":{"shape":"ResourceCountsSummary"}, + "serviceTemplates":{"shape":"ResourceCountsSummary"}, + "services":{"shape":"ResourceCountsSummary"} + } + }, "CreateComponentInput":{ "type":"structure", "required":[ @@ -2335,6 +2362,18 @@ "latestSync":{"shape":"RepositorySyncAttempt"} } }, + "GetResourcesSummaryInput":{ + "type":"structure", + "members":{ + } + }, + "GetResourcesSummaryOutput":{ + "type":"structure", + "required":["counts"], + "members":{ + "counts":{"shape":"CountsSummary"} + } + }, "GetServiceInput":{ "type":"structure", "required":["name"], @@ -2443,6 +2482,10 @@ "max":200, "min":1 }, + "Integer":{ + "type":"integer", + "box":true + }, "InternalServerException":{ "type":"structure", "required":["message"], @@ -3083,6 +3126,17 @@ "QUEUED" ] }, + "ResourceCountsSummary":{ + "type":"structure", + "required":["total"], + "members":{ + "behindMajor":{"shape":"Integer"}, + "behindMinor":{"shape":"Integer"}, + "failed":{"shape":"Integer"}, + "total":{"shape":"Integer"}, + "upToDate":{"shape":"Integer"} + } + }, "ResourceDeploymentStatus":{ "type":"string", "enum":[ diff --git a/models/apis/proton/2020-07-20/docs-2.json b/models/apis/proton/2020-07-20/docs-2.json index 4b0949561c..b4856c6b6a 100644 --- a/models/apis/proton/2020-07-20/docs-2.json +++ b/models/apis/proton/2020-07-20/docs-2.json @@ -35,6 +35,7 @@ "GetEnvironmentTemplateVersion": "
Get detailed data for a major or minor version of an environment template.
", "GetRepository": "Get detail data for a linked repository.
", "GetRepositorySyncStatus": "Get the sync status of a repository used for Proton template sync. For more information about template sync, see .
A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control (ABAC).
For more information about ABAC, see ABAC in the Proton User Guide.
Get counts of Proton resources.
For infrastructure-provisioning resources (environments, services, service instances, pipelines), the action returns staleness counts. A resource is stale when it's behind the recommended version of the Proton template that it uses and it needs an update to become current.
The action returns staleness counts (counts of resources that are up-to-date, behind a template major version, or behind a template minor version), the total number of resources, and the number of resources that are in a failed state, grouped by resource type. Components, environments, and service templates are exceptions—see the components
, environments
, and serviceTemplates
field descriptions.
For context, the action also returns the total number of each type of Proton template in the Amazon Web Services account.
For more information, see Proton dashboard in the Proton User Guide.
", "GetService": "Get detailed data for a service.
", "GetServiceInstance": "Get detailed data for a service instance. A service instance is an instantiation of service template and it runs in a specific environment.
", "GetServiceTemplate": "Get detailed data for a service template.
", @@ -260,6 +261,12 @@ "refs": { } }, + "CountsSummary": { + "base": "Summary counts of each Proton resource type.
", + "refs": { + "GetResourcesSummaryOutput$counts": "Summary counts of each Proton resource type.
" + } + }, "CreateComponentInput": { "base": null, "refs": { @@ -818,6 +825,16 @@ "refs": { } }, + "GetResourcesSummaryInput": { + "base": null, + "refs": { + } + }, + "GetResourcesSummaryOutput": { + "base": null, + "refs": { + } + }, "GetServiceInput": { "base": null, "refs": { @@ -893,6 +910,16 @@ "UpdateTemplateSyncConfigInput$branch": "The repository branch for your template.
" } }, + "Integer": { + "base": null, + "refs": { + "ResourceCountsSummary$behindMajor": "The number of resources of this type in the Amazon Web Services account that need a major template version update.
", + "ResourceCountsSummary$behindMinor": "The number of resources of this type in the Amazon Web Services account that need a minor template version update.
", + "ResourceCountsSummary$failed": "The number of resources of this type in the Amazon Web Services account that failed to deploy.
", + "ResourceCountsSummary$total": "The total number of resources of this type in the Amazon Web Services account.
", + "ResourceCountsSummary$upToDate": "The number of resources of this type in the Amazon Web Services account that are up-to-date with their template.
" + } + }, "InternalServerException": { "base": "The request failed to register with the service.
", "refs": { @@ -1397,6 +1424,18 @@ "RepositorySyncAttempt$status": "The sync attempt status.
" } }, + "ResourceCountsSummary": { + "base": "Summary counts of each Proton resource types.
", + "refs": { + "CountsSummary$components": "The total number of components in the Amazon Web Services account.
The semantics of the components
field are different from the semantics of results for other infrastructure-provisioning resources. That's because at this time components don't have associated templates, therefore they don't have the concept of staleness. The components
object will only contain total
and failed
members.
The total number of environment templates in the Amazon Web Services account.
", + "CountsSummary$environments": "The staleness counts for Proton environments in the Amazon Web Services account. The environments
object will only contain total
members.
The staleness counts for Proton pipelines in the Amazon Web Services account.
", + "CountsSummary$serviceInstances": "The staleness counts for Proton service instances in the Amazon Web Services account.
", + "CountsSummary$serviceTemplates": "The total number of service templates in the Amazon Web Services account. The serviceTemplates
object will only contain total
members.
The staleness counts for Proton services in the Amazon Web Services account.
" + } + }, "ResourceDeploymentStatus": { "base": "The state that a PR-based deployment can be updated to.
", "refs": { diff --git a/models/apis/proton/2020-07-20/endpoint-rule-set-1.json b/models/apis/proton/2020-07-20/endpoint-rule-set-1.json index 986847e5b6..6c6fa3e771 100644 --- a/models/apis/proton/2020-07-20/endpoint-rule-set-1.json +++ b/models/apis/proton/2020-07-20/endpoint-rule-set-1.json @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", @@ -174,12 +165,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" + } + ] } ] }, @@ -284,12 +281,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" + } + ] } ] }, @@ -302,12 +305,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" + } + ] } ] } diff --git a/models/apis/proton/2020-07-20/endpoint-tests-1.json b/models/apis/proton/2020-07-20/endpoint-tests-1.json index 2d0f6f89cb..9aba7e293d 100644 --- a/models/apis/proton/2020-07-20/endpoint-tests-1.json +++ b/models/apis/proton/2020-07-20/endpoint-tests-1.json @@ -1,250 +1,198 @@ { "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 } }, { @@ -255,100 +203,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 } }, { @@ -359,113 +216,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 } }, { @@ -476,9 +229,9 @@ } }, "params": { - "UseDualStack": true, + "UseFIPS": true, "Region": "us-east-1", - "UseFIPS": true + "UseDualStack": true } }, { @@ -489,9 +242,9 @@ } }, "params": { - "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-1", - "UseFIPS": true + "UseDualStack": false } }, { @@ -502,74 +255,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 } }, { @@ -580,9 +268,9 @@ } }, "params": { - "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -592,9 +280,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" } }, @@ -604,9 +292,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" } } diff --git a/models/apis/redshift/2012-12-01/docs-2.json b/models/apis/redshift/2012-12-01/docs-2.json index f305bedeb9..a4d6ce77cd 100644 --- a/models/apis/redshift/2012-12-01/docs-2.json +++ b/models/apis/redshift/2012-12-01/docs-2.json @@ -114,7 +114,7 @@ "ResetClusterParameterGroup": "Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to \"engine-default\". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters.
", "ResizeCluster": "Changes the size of the cluster. You can change the cluster's type, or change the number or type of nodes. The default behavior is to use the elastic resize method. With an elastic resize, your cluster is available for read and write operations more quickly than with the classic resize method.
Elastic resize operations have the following restrictions:
You can only resize clusters of the following types:
dc1.large (if your cluster is in a VPC)
dc1.8xlarge (if your cluster is in a VPC)
dc2.large
dc2.8xlarge
ds2.xlarge
ds2.8xlarge
ra3.xlplus
ra3.4xlarge
ra3.16xlarge
The type of nodes that you add must match the node type for the cluster.
Creates a new cluster from a snapshot. By default, Amazon Redshift creates the resulting cluster with the same configuration as the original cluster from which the snapshot was created, except that the new cluster is created with the default cluster security and parameter groups. After Amazon Redshift creates the cluster, you can use the ModifyCluster API to associate a different security group and different parameter group with the restored cluster. If you are using a DS node type, you can also choose to change to another DS node type of the same size during restore.
If you restore a cluster into a VPC, you must provide a cluster subnet group where you want the cluster restored.
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.
", - "RestoreTableFromClusterSnapshot": "Creates a new table from a table in an Amazon Redshift cluster snapshot. You must create the new table within the Amazon Redshift cluster that the snapshot was taken from.
You cannot use RestoreTableFromClusterSnapshot
to restore a table with the same name as an existing table in an Amazon Redshift cluster. That is, you cannot overwrite an existing table in a cluster with a restored table. If you want to replace your original table with a new, restored table, then rename or drop your original table before you call RestoreTableFromClusterSnapshot
. When you have renamed your original table, then you can pass the original name of the table as the NewTableName
parameter value in the call to RestoreTableFromClusterSnapshot
. This way, you can replace the original table with the table created from the snapshot.
Creates a new table from a table in an Amazon Redshift cluster snapshot. You must create the new table within the Amazon Redshift cluster that the snapshot was taken from.
You cannot use RestoreTableFromClusterSnapshot
to restore a table with the same name as an existing table in an Amazon Redshift cluster. That is, you cannot overwrite an existing table in a cluster with a restored table. If you want to replace your original table with a new, restored table, then rename or drop your original table before you call RestoreTableFromClusterSnapshot
. When you have renamed your original table, then you can pass the original name of the table as the NewTableName
parameter value in the call to RestoreTableFromClusterSnapshot
. This way, you can replace the original table with the table created from the snapshot.
You can't use this operation to restore tables with interleaved sort keys.
", "ResumeCluster": "Resumes a paused cluster.
", "RevokeClusterSecurityGroupIngress": "Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.
", "RevokeEndpointAccess": "Revokes access to a cluster.
", @@ -1956,8 +1956,8 @@ "LogTypeList": { "base": null, "refs": { - "EnableLoggingMessage$LogExports": "The collection of exported log types. Log types include the connection log, user log and user activity log.
", - "LoggingStatus$LogExports": "The collection of exported log types. Log types include the connection log, user log and user activity log.
" + "EnableLoggingMessage$LogExports": "The collection of exported log types. Possible values are connectionlog
, useractivitylog
, and userlog
.
The collection of exported log types. Possible values are connectionlog
, useractivitylog
, and userlog
.
A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. The identifier also appears in the Amazon Redshift console.
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens.
Alphabetic characters must be lowercase.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Must be unique for all clusters within an Amazon Web Services account.
Example: myexamplecluster
The type of the cluster. When cluster type is specified as
single-node
, the NumberOfNodes parameter is not required.
multi-node
, the NumberOfNodes parameter is required.
Valid Values: multi-node
| single-node
Default: multi-node
The node type to be provisioned for the cluster. For information about node types, go to Working with Clusters in the Amazon Redshift Cluster Management Guide.
Valid Values: ds2.xlarge
| ds2.8xlarge
| dc1.large
| dc1.8xlarge
| dc2.large
| dc2.8xlarge
| ra3.xlplus
| ra3.4xlarge
| ra3.16xlarge
The user name associated with the admin user account for the cluster that is being created.
Constraints:
Must be 1 - 128 alphanumeric characters. The user name can't be PUBLIC
.
First character must be a letter.
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
The user name associated with the admin user account for the cluster that is being created.
Constraints:
Must be 1 - 128 alphanumeric characters or hyphens. The user name can't be PUBLIC
.
Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
The first character must be a letter.
Must not contain a colon (:) or a slash (/).
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
The password associated with the admin user account for the cluster that is being created.
Constraints:
Must be between 8 and 64 characters in length.
Must contain at least one uppercase letter.
Must contain at least one lowercase letter.
Must contain one number.
Can be any printable ASCII character (ASCII code 33-126) except '
(single quote), \"
(double quote), \\
, /
, or @
.
The name of a cluster subnet group to be associated with this cluster.
If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
", "CreateClusterMessage$AvailabilityZone": "The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency.
Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint.
Example: us-east-2d
Constraint: The specified Availability Zone must be in the same region as the current endpoint.
", @@ -3099,8 +3099,8 @@ "DescribeClusterParametersMessage$ParameterGroupName": "The name of a cluster parameter group for which to return details.
", "DescribeClusterParametersMessage$Source": "The parameter types to return. Specify user
to show parameters that are different form the default. Similarly, specify engine-default
to show parameters that are the same as the default parameter group.
Default: All parameter types returned.
Valid Values: user
| engine-default
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterParameters request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
The name of a cluster security group for which you are requesting details. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.
Example: securitygroup1
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSecurityGroups request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
Constraints: You can specify either the ClusterSecurityGroupName parameter or the Marker parameter, but not both.
", + "DescribeClusterSecurityGroupsMessage$ClusterSecurityGroupName": "The name of a cluster security group for which you are requesting details. You must specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.
Example: securitygroup1
An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusterSecurityGroups request exceed the value specified in MaxRecords
, Amazon Web Services returns a value in the Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker
parameter and retrying the request.
Constraints: You must specify either the ClusterSecurityGroupName parameter or the Marker parameter, but not both.
", "DescribeClusterSnapshotsMessage$ClusterIdentifier": "The identifier of the cluster which generated the requested snapshots.
", "DescribeClusterSnapshotsMessage$SnapshotIdentifier": "The snapshot identifier of the snapshot about which to return information.
", "DescribeClusterSnapshotsMessage$SnapshotArn": "The Amazon Resource Name (ARN) of the snapshot associated with the message to describe cluster snapshots.
", @@ -3133,7 +3133,7 @@ "DescribeEndpointAccessMessage$VpcId": "The virtual private cloud (VPC) identifier with access to the cluster.
", "DescribeEndpointAccessMessage$Marker": "An optional pagination token provided by a previous DescribeEndpointAccess
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords
parameter.
The cluster identifier of the cluster to access.
", - "DescribeEndpointAuthorizationMessage$Account": "The AAmazon Web Services account ID of either the cluster owner (grantor) or grantee. If Grantee
parameter is true, then the Account
value is of the grantor.
The Amazon Web Services account ID of either the cluster owner (grantor) or grantee. If Grantee
parameter is true, then the Account
value is of the grantor.
An optional pagination token provided by a previous DescribeEndpointAuthorization
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords
parameter.
The source type, such as cluster or parameter group, to which the described event categories apply.
Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.
", "DescribeEventSubscriptionsMessage$SubscriptionName": "The name of the Amazon Redshift event notification subscription to be described.
", @@ -3363,8 +3363,8 @@ "ResizeProgressMessage$TargetEncryptionType": "The type of encryption for the cluster after the resize is complete.
Possible values are KMS
and None
.
The identifier of the cluster that will be created from restoring the snapshot.
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens.
Alphabetic characters must be lowercase.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Must be unique for all clusters within an Amazon Web Services account.
The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive. You can specify this parameter or snapshotArn
, but not both.
Example: my-snapshot-id
The Amazon Resource Name (ARN) of the snapshot associated with the message to restore from a cluster. You can specify this parameter or snapshotIdentifier
, but not both.
The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive. You must specify this parameter or snapshotArn
, but not both.
Example: my-snapshot-id
The Amazon Resource Name (ARN) of the snapshot associated with the message to restore from a cluster. You must specify this parameter or snapshotIdentifier
, but not both.
The name of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
", "RestoreFromClusterSnapshotMessage$AvailabilityZone": "The Amazon EC2 Availability Zone in which to restore the cluster.
Default: A random, system-chosen Availability Zone.
Example: us-east-2a
The name of the subnet group where you want to cluster restored.
A snapshot of cluster in VPC can be restored only in VPC. Therefore, you must provide subnet group name where you want the cluster restored.
", diff --git a/models/apis/redshift/2012-12-01/endpoint-tests-1.json b/models/apis/redshift/2012-12-01/endpoint-tests-1.json index ec69ad63db..1c238ab3b5 100644 --- a/models/apis/redshift/2012-12-01/endpoint-tests-1.json +++ b/models/apis/redshift/2012-12-01/endpoint-tests-1.json @@ -1,94 +1,94 @@ { "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 } }, { @@ -99,464 +99,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 } }, { @@ -567,9 +567,9 @@ } }, "params": { - "UseFIPS": false, + "Region": "us-isob-east-1", "UseDualStack": false, - "Region": "us-isob-east-1" + "UseFIPS": false } }, { @@ -580,9 +580,9 @@ } }, "params": { - "UseFIPS": true, + "Region": "us-isob-east-1", "UseDualStack": false, - "Region": "us-isob-east-1" + "UseFIPS": true } }, { @@ -593,9 +593,9 @@ } }, "params": { - "UseFIPS": false, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -605,9 +605,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" } }, @@ -617,9 +617,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" } } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 6967add43c..08d8249559 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -18744,6 +18744,22 @@ } } }, + "compute-optimizer" : { + "endpoints" : { + "us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "hostname" : "compute-optimizer-fips.us-gov-east-1.amazonaws.com" + }, + "us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "compute-optimizer-fips.us-gov-west-1.amazonaws.com" + } + } + }, "config" : { "defaults" : { "variants" : [ { @@ -19783,7 +19799,19 @@ }, "ingest.timestream" : { "endpoints" : { - "us-gov-west-1" : { } + "us-gov-west-1" : { + "variants" : [ { + "hostname" : "ingest.timestream.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-west-1-fips" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, + "hostname" : "ingest.timestream.us-gov-west-1.amazonaws.com" + } } }, "inspector" : { diff --git a/service/proton/api.go b/service/proton/api.go index c158dce46c..d9baa9f013 100644 --- a/service/proton/api.go +++ b/service/proton/api.go @@ -3335,6 +3335,113 @@ func (c *Proton) GetRepositorySyncStatusWithContext(ctx aws.Context, input *GetR return out, req.Send() } +const opGetResourcesSummary = "GetResourcesSummary" + +// GetResourcesSummaryRequest generates a "aws/request.Request" representing the +// client's request for the GetResourcesSummary operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetResourcesSummary for more information on using the GetResourcesSummary +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetResourcesSummaryRequest method. +// req, resp := client.GetResourcesSummaryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetResourcesSummary +func (c *Proton) GetResourcesSummaryRequest(input *GetResourcesSummaryInput) (req *request.Request, output *GetResourcesSummaryOutput) { + op := &request.Operation{ + Name: opGetResourcesSummary, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetResourcesSummaryInput{} + } + + output = &GetResourcesSummaryOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetResourcesSummary API operation for AWS Proton. +// +// Get counts of Proton resources. +// +// For infrastructure-provisioning resources (environments, services, service +// instances, pipelines), the action returns staleness counts. A resource is +// stale when it's behind the recommended version of the Proton template that +// it uses and it needs an update to become current. +// +// The action returns staleness counts (counts of resources that are up-to-date, +// behind a template major version, or behind a template minor version), the +// total number of resources, and the number of resources that are in a failed +// state, grouped by resource type. Components, environments, and service templates +// are exceptions—see the components, environments, and serviceTemplates field +// descriptions. +// +// For context, the action also returns the total number of each type of Proton +// template in the Amazon Web Services account. +// +// For more information, see Proton dashboard (https://docs.aws.amazon.com/proton/latest/userguide/monitoring-dashboard.html) +// in the Proton User Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Proton's +// API operation GetResourcesSummary for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request failed to register with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetResourcesSummary +func (c *Proton) GetResourcesSummary(input *GetResourcesSummaryInput) (*GetResourcesSummaryOutput, error) { + req, out := c.GetResourcesSummaryRequest(input) + return out, req.Send() +} + +// GetResourcesSummaryWithContext is the same as GetResourcesSummary with the addition of +// the ability to pass a context and additional request options. +// +// See GetResourcesSummary for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Proton) GetResourcesSummaryWithContext(ctx aws.Context, input *GetResourcesSummaryInput, opts ...request.Option) (*GetResourcesSummaryOutput, error) { + req, out := c.GetResourcesSummaryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetService = "GetService" // GetServiceRequest generates a "aws/request.Request" representing the @@ -9583,6 +9690,101 @@ func (s *ConflictException) RequestID() string { return s.RespMetadata.RequestID } +// Summary counts of each Proton resource type. +type CountsSummary struct { + _ struct{} `type:"structure"` + + // The total number of components in the Amazon Web Services account. + // + // The semantics of the components field are different from the semantics of + // results for other infrastructure-provisioning resources. That's because at + // this time components don't have associated templates, therefore they don't + // have the concept of staleness. The components object will only contain total + // and failed members. + Components *ResourceCountsSummary `locationName:"components" type:"structure"` + + // The total number of environment templates in the Amazon Web Services account. + EnvironmentTemplates *ResourceCountsSummary `locationName:"environmentTemplates" type:"structure"` + + // The staleness counts for Proton environments in the Amazon Web Services account. + // The environments object will only contain total members. + Environments *ResourceCountsSummary `locationName:"environments" type:"structure"` + + // The staleness counts for Proton pipelines in the Amazon Web Services account. + Pipelines *ResourceCountsSummary `locationName:"pipelines" type:"structure"` + + // The staleness counts for Proton service instances in the Amazon Web Services + // account. + ServiceInstances *ResourceCountsSummary `locationName:"serviceInstances" type:"structure"` + + // The total number of service templates in the Amazon Web Services account. + // The serviceTemplates object will only contain total members. + ServiceTemplates *ResourceCountsSummary `locationName:"serviceTemplates" type:"structure"` + + // The staleness counts for Proton services in the Amazon Web Services account. + Services *ResourceCountsSummary `locationName:"services" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CountsSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CountsSummary) GoString() string { + return s.String() +} + +// SetComponents sets the Components field's value. +func (s *CountsSummary) SetComponents(v *ResourceCountsSummary) *CountsSummary { + s.Components = v + return s +} + +// SetEnvironmentTemplates sets the EnvironmentTemplates field's value. +func (s *CountsSummary) SetEnvironmentTemplates(v *ResourceCountsSummary) *CountsSummary { + s.EnvironmentTemplates = v + return s +} + +// SetEnvironments sets the Environments field's value. +func (s *CountsSummary) SetEnvironments(v *ResourceCountsSummary) *CountsSummary { + s.Environments = v + return s +} + +// SetPipelines sets the Pipelines field's value. +func (s *CountsSummary) SetPipelines(v *ResourceCountsSummary) *CountsSummary { + s.Pipelines = v + return s +} + +// SetServiceInstances sets the ServiceInstances field's value. +func (s *CountsSummary) SetServiceInstances(v *ResourceCountsSummary) *CountsSummary { + s.ServiceInstances = v + return s +} + +// SetServiceTemplates sets the ServiceTemplates field's value. +func (s *CountsSummary) SetServiceTemplates(v *ResourceCountsSummary) *CountsSummary { + s.ServiceTemplates = v + return s +} + +// SetServices sets the Services field's value. +func (s *CountsSummary) SetServices(v *ResourceCountsSummary) *CountsSummary { + s.Services = v + return s +} + type CreateComponentInput struct { _ struct{} `type:"structure"` @@ -14430,6 +14632,61 @@ func (s *GetRepositorySyncStatusOutput) SetLatestSync(v *RepositorySyncAttempt) return s } +type GetResourcesSummaryInput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetResourcesSummaryInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetResourcesSummaryInput) GoString() string { + return s.String() +} + +type GetResourcesSummaryOutput struct { + _ struct{} `type:"structure"` + + // Summary counts of each Proton resource type. + // + // Counts is a required field + Counts *CountsSummary `locationName:"counts" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetResourcesSummaryOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetResourcesSummaryOutput) GoString() string { + return s.String() +} + +// SetCounts sets the Counts field's value. +func (s *GetResourcesSummaryOutput) SetCounts(v *CountsSummary) *GetResourcesSummaryOutput { + s.Counts = v + return s +} + type GetServiceInput struct { _ struct{} `type:"structure"` @@ -18220,6 +18477,80 @@ func (s *RepositorySyncEvent) SetType(v string) *RepositorySyncEvent { return s } +// Summary counts of each Proton resource types. +type ResourceCountsSummary struct { + _ struct{} `type:"structure"` + + // The number of resources of this type in the Amazon Web Services account that + // need a major template version update. + BehindMajor *int64 `locationName:"behindMajor" type:"integer"` + + // The number of resources of this type in the Amazon Web Services account that + // need a minor template version update. + BehindMinor *int64 `locationName:"behindMinor" type:"integer"` + + // The number of resources of this type in the Amazon Web Services account that + // failed to deploy. + Failed *int64 `locationName:"failed" type:"integer"` + + // The total number of resources of this type in the Amazon Web Services account. + // + // Total is a required field + Total *int64 `locationName:"total" type:"integer" required:"true"` + + // The number of resources of this type in the Amazon Web Services account that + // are up-to-date with their template. + UpToDate *int64 `locationName:"upToDate" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceCountsSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceCountsSummary) GoString() string { + return s.String() +} + +// SetBehindMajor sets the BehindMajor field's value. +func (s *ResourceCountsSummary) SetBehindMajor(v int64) *ResourceCountsSummary { + s.BehindMajor = &v + return s +} + +// SetBehindMinor sets the BehindMinor field's value. +func (s *ResourceCountsSummary) SetBehindMinor(v int64) *ResourceCountsSummary { + s.BehindMinor = &v + return s +} + +// SetFailed sets the Failed field's value. +func (s *ResourceCountsSummary) SetFailed(v int64) *ResourceCountsSummary { + s.Failed = &v + return s +} + +// SetTotal sets the Total field's value. +func (s *ResourceCountsSummary) SetTotal(v int64) *ResourceCountsSummary { + s.Total = &v + return s +} + +// SetUpToDate sets the UpToDate field's value. +func (s *ResourceCountsSummary) SetUpToDate(v int64) *ResourceCountsSummary { + s.UpToDate = &v + return s +} + // The requested resource wasn't found. type ResourceNotFoundException struct { _ struct{} `type:"structure"` diff --git a/service/proton/protoniface/interface.go b/service/proton/protoniface/interface.go index 4f6d1faaea..1851ba88da 100644 --- a/service/proton/protoniface/interface.go +++ b/service/proton/protoniface/interface.go @@ -192,6 +192,10 @@ type ProtonAPI interface { GetRepositorySyncStatusWithContext(aws.Context, *proton.GetRepositorySyncStatusInput, ...request.Option) (*proton.GetRepositorySyncStatusOutput, error) GetRepositorySyncStatusRequest(*proton.GetRepositorySyncStatusInput) (*request.Request, *proton.GetRepositorySyncStatusOutput) + GetResourcesSummary(*proton.GetResourcesSummaryInput) (*proton.GetResourcesSummaryOutput, error) + GetResourcesSummaryWithContext(aws.Context, *proton.GetResourcesSummaryInput, ...request.Option) (*proton.GetResourcesSummaryOutput, error) + GetResourcesSummaryRequest(*proton.GetResourcesSummaryInput) (*request.Request, *proton.GetResourcesSummaryOutput) + GetService(*proton.GetServiceInput) (*proton.GetServiceOutput, error) GetServiceWithContext(aws.Context, *proton.GetServiceInput, ...request.Option) (*proton.GetServiceOutput, error) GetServiceRequest(*proton.GetServiceInput) (*request.Request, *proton.GetServiceOutput) diff --git a/service/redshift/api.go b/service/redshift/api.go index dbe8b2ebfe..d55a64689c 100644 --- a/service/redshift/api.go +++ b/service/redshift/api.go @@ -12338,6 +12338,9 @@ func (c *Redshift) RestoreTableFromClusterSnapshotRequest(input *RestoreTableFro // This way, you can replace the original table with the table created from // the snapshot. // +// You can't use this operation to restore tables with interleaved sort keys +// (https://docs.aws.amazon.com/redshift/latest/dg/t_Sorting_data.html#t_Sorting_data-interleaved). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -16320,9 +16323,15 @@ type CreateClusterInput struct { // // Constraints: // - // * Must be 1 - 128 alphanumeric characters. The user name can't be PUBLIC. + // * Must be 1 - 128 alphanumeric characters or hyphens. The user name can't + // be PUBLIC. // - // * First character must be a letter. + // * Must contain only lowercase letters, numbers, underscore, plus sign, + // period (dot), at symbol (@), or hyphen. + // + // * The first character must be a letter. + // + // * Must not contain a colon (:) or a slash (/). // // * Cannot be a reserved word. A list of reserved words can be found in // Reserved Words (https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html) @@ -21066,7 +21075,7 @@ type DescribeClusterSecurityGroupsInput struct { _ struct{} `type:"structure"` // The name of a cluster security group for which you are requesting details. - // You can specify either the Marker parameter or a ClusterSecurityGroupName + // You must specify either the Marker parameter or a ClusterSecurityGroupName // parameter, but not both. // // Example: securitygroup1 @@ -21079,7 +21088,7 @@ type DescribeClusterSecurityGroupsInput struct { // records by providing the returned marker value in the Marker parameter and // retrying the request. // - // Constraints: You can specify either the ClusterSecurityGroupName parameter + // Constraints: You must specify either the ClusterSecurityGroupName parameter // or the Marker parameter, but not both. Marker *string `type:"string"` @@ -22514,7 +22523,7 @@ func (s *DescribeEndpointAccessOutput) SetMarker(v string) *DescribeEndpointAcce type DescribeEndpointAuthorizationInput struct { _ struct{} `type:"structure"` - // The AAmazon Web Services account ID of either the cluster owner (grantor) + // The Amazon Web Services account ID of either the cluster owner (grantor) // or grantee. If Grantee parameter is true, then the Account value is of the // grantor. Account *string `type:"string"` @@ -25624,8 +25633,8 @@ type EnableLoggingInput struct { // The log destination type. An enum with possible values of s3 and cloudwatch. LogDestinationType *string `type:"string" enum:"LogDestinationType"` - // The collection of exported log types. Log types include the connection log, - // user log and user activity log. + // The collection of exported log types. Possible values are connectionlog, + // useractivitylog, and userlog. LogExports []*string `type:"list"` // The prefix applied to the log file names. @@ -27290,8 +27299,8 @@ type LoggingStatus struct { // The log destination type. An enum with possible values of s3 and cloudwatch. LogDestinationType *string `type:"string" enum:"LogDestinationType"` - // The collection of exported log types. Log types include the connection log, - // user log and user activity log. + // The collection of exported log types. Possible values are connectionlog, + // useractivitylog, and userlog. LogExports []*string `type:"list"` // true if logging is on, false if logging is off. @@ -31744,7 +31753,7 @@ type RestoreFromClusterSnapshotInput struct { ReservedNodeId *string `type:"string"` // The Amazon Resource Name (ARN) of the snapshot associated with the message - // to restore from a cluster. You can specify this parameter or snapshotIdentifier, + // to restore from a cluster. You must specify this parameter or snapshotIdentifier, // but not both. SnapshotArn *string `type:"string"` @@ -31754,7 +31763,7 @@ type RestoreFromClusterSnapshotInput struct { SnapshotClusterIdentifier *string `type:"string"` // The name of the snapshot from which to create the new cluster. This parameter - // isn't case sensitive. You can specify this parameter or snapshotArn, but + // isn't case sensitive. You must specify this parameter or snapshotArn, but // not both. // // Example: my-snapshot-id