diff --git a/CHANGELOG.md b/CHANGELOG.md index b4346a2dd7a..439c2a38623 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +Release v1.47.4 (2023-11-06) +=== + +### Service Client Updates +* `service/ce`: Updates service API and documentation +* `service/codebuild`: Updates service API and documentation + * AWS CodeBuild now supports AWS Lambda compute. +* `service/connect`: Updates service API and documentation +* `service/docdb`: Updates service API and documentation + * Update the input of CreateDBInstance and ModifyDBInstance to support setting CA Certificates. Update the output of DescribeDBInstance and DescribeDBEngineVersions to show current and supported CA certificates. +* `service/iam`: Adds new service + * Add partitional endpoint for iso-e. +* `service/mwaa`: Updates service API and documentation +* `service/polly`: Updates service API + * Amazon Polly adds new US English voices - Danielle and Gregory. Danielle and Gregory are available as Neural voices only. +* `service/route53`: Adds new service + * Add partitional endpoints for iso-e and iso-f. + Release v1.47.3 (2023-11-03) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 5d211f32cce..e7bc98c2c5f 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -23707,6 +23707,16 @@ var awsPartition = partition{ }, }, Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{ + Hostname: "resource-explorer-2.af-south-1.api.aws", + }, + endpointKey{ + Region: "ap-east-1", + }: endpoint{ + Hostname: "resource-explorer-2.ap-east-1.api.aws", + }, endpointKey{ Region: "ap-northeast-1", }: endpoint{ @@ -23772,6 +23782,11 @@ var awsPartition = partition{ }: endpoint{ Hostname: "resource-explorer-2.eu-north-1.api.aws", }, + endpointKey{ + Region: "eu-south-1", + }: endpoint{ + Hostname: "resource-explorer-2.eu-south-1.api.aws", + }, endpointKey{ Region: "eu-west-1", }: endpoint{ @@ -23792,6 +23807,11 @@ var awsPartition = partition{ }: endpoint{ Hostname: "resource-explorer-2.il-central-1.api.aws", }, + endpointKey{ + Region: "me-central-1", + }: endpoint{ + Hostname: "resource-explorer-2.me-central-1.api.aws", + }, endpointKey{ Region: "me-south-1", }: endpoint{ @@ -42079,6 +42099,13 @@ var awsisobPartition = partition{ }: endpoint{}, }, }, + "cloudcontrolapi": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-isob-east-1", + }: endpoint{}, + }, + }, "cloudformation": service{ Endpoints: serviceEndpoints{ endpointKey{ diff --git a/aws/version.go b/aws/version.go index 7ca99fe5d71..44d4aa2ba15 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.47.3" +const SDKVersion = "1.47.4" diff --git a/models/apis/ce/2017-10-25/api-2.json b/models/apis/ce/2017-10-25/api-2.json index a346fddea19..32f13cb81fd 100644 --- a/models/apis/ce/2017-10-25/api-2.json +++ b/models/apis/ce/2017-10-25/api-2.json @@ -1859,7 +1859,8 @@ "RDSInstanceDetails":{"shape":"RDSInstanceDetails"}, "RedshiftInstanceDetails":{"shape":"RedshiftInstanceDetails"}, "ElastiCacheInstanceDetails":{"shape":"ElastiCacheInstanceDetails"}, - "ESInstanceDetails":{"shape":"ESInstanceDetails"} + "ESInstanceDetails":{"shape":"ESInstanceDetails"}, + "MemoryDBInstanceDetails":{"shape":"MemoryDBInstanceDetails"} } }, "InvalidNextTokenException":{ @@ -1977,6 +1978,16 @@ "type":"integer", "min":1 }, + "MemoryDBInstanceDetails":{ + "type":"structure", + "members":{ + "Family":{"shape":"GenericString"}, + "NodeType":{"shape":"GenericString"}, + "Region":{"shape":"GenericString"}, + "CurrentGeneration":{"shape":"GenericBoolean"}, + "SizeFlexEligible":{"shape":"GenericBoolean"} + } + }, "Metric":{ "type":"string", "enum":[ diff --git a/models/apis/ce/2017-10-25/docs-2.json b/models/apis/ce/2017-10-25/docs-2.json index c4fa7dc109e..fe2693fbbae 100644 --- a/models/apis/ce/2017-10-25/docs-2.json +++ b/models/apis/ce/2017-10-25/docs-2.json @@ -607,9 +607,9 @@ } }, "EC2InstanceDetails": { - "base": "

Details about the Amazon EC2 instances that Amazon Web Services recommends that you purchase.

", + "base": "

Details about the Amazon EC2 reservations that Amazon Web Services recommends that you purchase.

", "refs": { - "InstanceDetails$EC2InstanceDetails": "

The Amazon EC2 instances that Amazon Web Services recommends that you purchase.

" + "InstanceDetails$EC2InstanceDetails": "

The Amazon EC2 reservations that Amazon Web Services recommends that you purchase.

" } }, "EC2ResourceDetails": { @@ -631,15 +631,15 @@ } }, "ESInstanceDetails": { - "base": "

Details about the Amazon OpenSearch Service instances that Amazon Web Services recommends that you purchase.

", + "base": "

Details about the Amazon OpenSearch Service reservations that Amazon Web Services recommends that you purchase.

", "refs": { - "InstanceDetails$ESInstanceDetails": "

The Amazon OpenSearch Service instances that Amazon Web Services recommends that you purchase.

" + "InstanceDetails$ESInstanceDetails": "

The Amazon OpenSearch Service reservations that Amazon Web Services recommends that you purchase.

" } }, "ElastiCacheInstanceDetails": { - "base": "

Details about the Amazon ElastiCache instances that Amazon Web Services recommends that you purchase.

", + "base": "

Details about the Amazon ElastiCache reservations that Amazon Web Services recommends that you purchase.

", "refs": { - "InstanceDetails$ElastiCacheInstanceDetails": "

The ElastiCache instances that Amazon Web Services recommends that you purchase.

" + "InstanceDetails$ElastiCacheInstanceDetails": "

The ElastiCache reservations that Amazon Web Services recommends that you purchase.

" } }, "Entity": { @@ -763,6 +763,8 @@ "ESInstanceDetails$SizeFlexEligible": "

Determines whether the recommended reservation is size flexible.

", "ElastiCacheInstanceDetails$CurrentGeneration": "

Determines whether the recommendation is for a current generation instance.

", "ElastiCacheInstanceDetails$SizeFlexEligible": "

Determines whether the recommended reservation is size flexible.

", + "MemoryDBInstanceDetails$CurrentGeneration": "

Determines whether the recommendation is for a current generation instance.

", + "MemoryDBInstanceDetails$SizeFlexEligible": "

Determines whether the recommended reservation is size flexible.

", "RDSInstanceDetails$CurrentGeneration": "

Determines whether the recommendation is for a current-generation instance.

", "RDSInstanceDetails$SizeFlexEligible": "

Determines whether the recommended reservation is size flexible.

", "RedshiftInstanceDetails$CurrentGeneration": "

Determines whether the recommendation is for a current-generation instance.

", @@ -850,6 +852,9 @@ "GetReservationPurchaseRecommendationRequest$AccountId": "

The account ID that's associated with the recommendation.

", "GetReservationPurchaseRecommendationRequest$Service": "

The specific service that you want recommendations for.

", "GetRightsizingRecommendationRequest$Service": "

The specific service that you want recommendations for. The only valid value for GetRightsizingRecommendation is \"AmazonEC2\".

", + "MemoryDBInstanceDetails$Family": "

The instance family of the recommended reservation.

", + "MemoryDBInstanceDetails$NodeType": "

The node type of the recommended reservation.

", + "MemoryDBInstanceDetails$Region": "

The Amazon Web Services Region of the recommended reservation.

", "NetworkResourceUtilization$NetworkInBytesPerSecond": "

The network inbound throughput utilization measured in Bytes per second (Bps).

", "NetworkResourceUtilization$NetworkOutBytesPerSecond": "

The network outbound throughput utilization measured in Bytes per second (Bps).

", "NetworkResourceUtilization$NetworkPacketsInPerSecond": "

The network inbound packets that are measured in packets per second.

", @@ -1238,9 +1243,9 @@ } }, "InstanceDetails": { - "base": "

Details about the instances that Amazon Web Services recommends that you purchase.

", + "base": "

Details about the reservations that Amazon Web Services recommends that you purchase.

", "refs": { - "ReservationPurchaseRecommendationDetail$InstanceDetails": "

Details about the instances that Amazon Web Services recommends that you purchase.

" + "ReservationPurchaseRecommendationDetail$InstanceDetails": "

Details about the reservations that Amazon Web Services recommends that you purchase.

" } }, "InvalidNextTokenException": { @@ -1342,6 +1347,12 @@ "GetTagsRequest$MaxResults": "

This field is only used when SortBy is provided in the request. The maximum number of objects that are returned for this request. If MaxResults isn't specified with SortBy, the request returns 1000 results as the default value for this parameter.

For GetTags, MaxResults has an upper quota of 1000.

" } }, + "MemoryDBInstanceDetails": { + "base": "

Details about the MemoryDB reservations that Amazon Web Services recommends that you purchase.

", + "refs": { + "InstanceDetails$MemoryDBInstanceDetails": "

The MemoryDB reservations that Amazon Web Services recommends that you purchase.

" + } + }, "Metric": { "base": null, "refs": { @@ -1599,9 +1610,9 @@ } }, "RDSInstanceDetails": { - "base": "

Details about the Amazon RDS instances that Amazon Web Services recommends that you purchase.

", + "base": "

Details about the Amazon RDS reservations that Amazon Web Services recommends that you purchase.

", "refs": { - "InstanceDetails$RDSInstanceDetails": "

The Amazon RDS instances that Amazon Web Services recommends that you purchase.

" + "InstanceDetails$RDSInstanceDetails": "

The Amazon RDS reservations that Amazon Web Services recommends that you purchase.

" } }, "RICostForUnusedHours": { @@ -1657,9 +1668,9 @@ } }, "RedshiftInstanceDetails": { - "base": "

Details about the Amazon Redshift instances that Amazon Web Services recommends that you purchase.

", + "base": "

Details about the Amazon Redshift reservations that Amazon Web Services recommends that you purchase.

", "refs": { - "InstanceDetails$RedshiftInstanceDetails": "

The Amazon Redshift instances that Amazon Web Services recommends that you purchase.

" + "InstanceDetails$RedshiftInstanceDetails": "

The Amazon Redshift reservations that Amazon Web Services recommends that you purchase.

" } }, "RequestChangedException": { diff --git a/models/apis/ce/2017-10-25/endpoint-rule-set-1.json b/models/apis/ce/2017-10-25/endpoint-rule-set-1.json index 0a970cbf0e7..761d7a7a358 100644 --- a/models/apis/ce/2017-10-25/endpoint-rule-set-1.json +++ b/models/apis/ce/2017-10-25/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -235,7 +233,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -270,7 +267,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -281,14 +277,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -302,14 +300,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -318,11 +314,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -333,14 +329,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -354,7 +352,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -374,7 +371,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -385,14 +381,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -403,9 +401,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/codebuild/2016-10-06/api-2.json b/models/apis/codebuild/2016-10-06/api-2.json index 7c18d44f5ac..51fb2aebeea 100644 --- a/models/apis/codebuild/2016-10-06/api-2.json +++ b/models/apis/codebuild/2016-10-06/api-2.json @@ -1014,7 +1014,12 @@ "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", - "BUILD_GENERAL1_2XLARGE" + "BUILD_GENERAL1_2XLARGE", + "BUILD_LAMBDA_1GB", + "BUILD_LAMBDA_2GB", + "BUILD_LAMBDA_4GB", + "BUILD_LAMBDA_8GB", + "BUILD_LAMBDA_10GB" ] }, "ComputeTypesAllowed":{ @@ -1274,7 +1279,9 @@ "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", - "WINDOWS_SERVER_2019_CONTAINER" + "WINDOWS_SERVER_2019_CONTAINER", + "LINUX_LAMBDA_CONTAINER", + "ARM_LAMBDA_CONTAINER" ] }, "EnvironmentVariable":{ diff --git a/models/apis/codebuild/2016-10-06/docs-2.json b/models/apis/codebuild/2016-10-06/docs-2.json index 102ec72f772..5112d31169e 100644 --- a/models/apis/codebuild/2016-10-06/docs-2.json +++ b/models/apis/codebuild/2016-10-06/docs-2.json @@ -44,7 +44,7 @@ "StopBuild": "

Attempts to stop running a build.

", "StopBuildBatch": "

Stops a running batch build.

", "UpdateProject": "

Changes the settings of a build project.

", - "UpdateProjectVisibility": "

Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide.

The following should be kept in mind when making your projects public:

", + "UpdateProjectVisibility": "

Changes the public visibility for a project. The project's build results, logs, and artifacts are available to the general public. For more information, see Public build projects in the CodeBuild User Guide.

The following should be kept in mind when making your projects public:

", "UpdateReportGroup": "

Updates a report group.

", "UpdateWebhook": "

Updates the webhook associated with an CodeBuild build project.

If you use Bitbucket for your repository, rotateSecret is ignored.

" }, @@ -371,7 +371,7 @@ "ComputeType": { "base": null, "refs": { - "ProjectEnvironment$computeType": "

Information about the compute resources the build project uses. Available values include:

If you use BUILD_GENERAL1_LARGE:

For more information, see Build Environment Compute Types in the CodeBuild User Guide.

", + "ProjectEnvironment$computeType": "

Information about the compute resources the build project uses. Available values include:

If you use BUILD_GENERAL1_SMALL:

If you use BUILD_GENERAL1_LARGE:

For more information, see Build Environment Compute Types in the CodeBuild User Guide.

", "StartBuildBatchInput$computeTypeOverride": "

The name of a compute type for this batch build that overrides the one specified in the batch build project.

", "StartBuildInput$computeTypeOverride": "

The name of a compute type for this build that overrides the one specified in the build project.

" } @@ -553,7 +553,7 @@ "EnvironmentType": { "base": null, "refs": { - "ProjectEnvironment$type": "

The type of build environment to use for related builds.

For more information, see Build environment compute types in the CodeBuild user guide.

", + "ProjectEnvironment$type": "

The type of build environment to use for related builds.

For more information, see Build environment compute types in the CodeBuild user guide.

", "StartBuildBatchInput$environmentTypeOverride": "

A container type for this batch build that overrides the one specified in the batch build project.

", "StartBuildInput$environmentTypeOverride": "

A container type for this build that overrides the one specified in the build project.

" } @@ -567,7 +567,7 @@ "EnvironmentVariableType": { "base": null, "refs": { - "EnvironmentVariable$type": "

The type of environment variable. Valid values include:

" + "EnvironmentVariable$type": "

The type of environment variable. Valid values include:

" } }, "EnvironmentVariables": { @@ -1551,14 +1551,14 @@ "base": null, "refs": { "Build$currentPhase": "

The current build phase.

", - "Build$initiator": "

The entity that started the build. Valid values include:

", + "Build$initiator": "

The entity that started the build. Valid values include:

", "Build$buildBatchArn": "

The ARN of the batch build that this build is a member of, if applicable.

", "BuildArtifacts$location": "

Information about the location of the build artifacts.

", "BuildArtifacts$sha256sum": "

The SHA-256 hash of the build artifact.

You can use this hash along with a checksum tool to confirm file integrity and authenticity.

This value is available only if the build project's packaging value is set to ZIP.

", "BuildArtifacts$md5sum": "

The MD5 hash of the build artifact.

You can use this hash along with a checksum tool to confirm file integrity and authenticity.

This value is available only if the build project's packaging value is set to ZIP.

", "BuildArtifacts$artifactIdentifier": "

An identifier for this artifact definition.

", "BuildBatch$currentPhase": "

The current phase of the batch build.

", - "BuildBatch$initiator": "

The entity that started the batch build. Valid values include:

", + "BuildBatch$initiator": "

The entity that started the batch build. Valid values include:

", "BuildGroup$identifier": "

Contains the identifier of the build group.

", "BuildNotDeleted$statusCode": "

Additional information about the build that could not be successfully deleted.

", "BuildReportArns$member": null, @@ -1577,7 +1577,7 @@ "DescribeTestCasesOutput$nextToken": "

During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

", "EnvironmentImage$name": "

The name of the Docker image.

", "EnvironmentImage$description": "

The description of the Docker image.

", - "EnvironmentVariable$value": "

The value of the environment variable.

We strongly discourage the use of PLAINTEXT environment variables to store sensitive values, especially Amazon Web Services secret key IDs and secret access keys. PLAINTEXT environment variables can be displayed in plain text using the CodeBuild console and the CLI. For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER.

", + "EnvironmentVariable$value": "

The value of the environment variable.

We strongly discourage the use of PLAINTEXT environment variables to store sensitive values, especially Amazon Web Services secret key IDs. PLAINTEXT environment variables can be displayed in plain text using the CodeBuild console and the CLI. For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER.

", "ExportedEnvironmentVariable$value": "

The value assigned to the exported environment variable.

", "ImageVersions$member": null, "ListBuildBatchesForProjectInput$nextToken": "

The nextToken value returned from a previous call to ListBuildBatchesForProject. This specifies the next item to return. To return the beginning of the list, exclude this parameter.

", @@ -1601,9 +1601,9 @@ "ListSharedReportGroupsOutput$nextToken": "

During a previous call, the maximum number of items that can be returned is the value specified in maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

", "LogsLocation$groupName": "

The name of the CloudWatch Logs group for the build logs.

", "LogsLocation$streamName": "

The name of the CloudWatch Logs stream for the build logs.

", - "LogsLocation$deepLink": "

The URL to an individual build log in CloudWatch Logs.

", + "LogsLocation$deepLink": "

The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the deeplink will not be valid until it is created.

", "LogsLocation$s3DeepLink": "

The URL to a build log in an S3 bucket.

", - "LogsLocation$cloudWatchLogsArn": "

The ARN of CloudWatch Logs for a build project. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}. For more information, see Resources Defined by CloudWatch Logs.

", + "LogsLocation$cloudWatchLogsArn": "

The ARN of the CloudWatch Logs stream for a build execution. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs.

", "LogsLocation$s3LogsArn": "

The ARN of S3 logs for a build project. Its format is arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more information, see Resources Defined by Amazon S3.

", "PhaseContext$statusCode": "

The status code for the context of the build phase.

", "PhaseContext$message": "

An explanation of the build phase's context. This might include a command ID and an exit code.

", diff --git a/models/apis/codebuild/2016-10-06/endpoint-rule-set-1.json b/models/apis/codebuild/2016-10-06/endpoint-rule-set-1.json new file mode 100644 index 00000000000..0dd8023b590 --- /dev/null +++ b/models/apis/codebuild/2016-10-06/endpoint-rule-set-1.json @@ -0,0 +1,314 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://codebuild-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://codebuild-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://codebuild.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://codebuild.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ] +} \ No newline at end of file diff --git a/models/apis/codebuild/2016-10-06/endpoint-tests-1.json b/models/apis/codebuild/2016-10-06/endpoint-tests-1.json new file mode 100644 index 00000000000..ad1d3566597 --- /dev/null +++ b/models/apis/codebuild/2016-10-06/endpoint-tests-1.json @@ -0,0 +1,665 @@ +{ + "testCases": [ + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.af-south-1.amazonaws.com" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.ap-east-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.ap-south-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.eu-south-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.eu-west-3.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.me-south-1.amazonaws.com" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.sa-east-1.amazonaws.com" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codebuild.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codebuild.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codebuild.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codebuild.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index 5ffd585a656..0a9a708f748 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -229,6 +229,24 @@ {"shape":"ThrottlingException"} ] }, + "BatchPutContact":{ + "name":"BatchPutContact", + "http":{ + "method":"PUT", + "requestUri":"/contact/batch/{InstanceId}" + }, + "input":{"shape":"BatchPutContactRequest"}, + "output":{"shape":"BatchPutContactResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"LimitExceededException"}, + {"shape":"IdempotencyException"} + ], + "idempotent":true + }, "ClaimPhoneNumber":{ "name":"ClaimPhoneNumber", "http":{ @@ -4001,6 +4019,32 @@ "FlowAssociationSummaryList":{"shape":"FlowAssociationSummaryList"} } }, + "BatchPutContactRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "ContactDataRequestList" + ], + "members":{ + "ClientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + }, + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "ContactDataRequestList":{"shape":"ContactDataRequestList"} + } + }, + "BatchPutContactResponse":{ + "type":"structure", + "members":{ + "SuccessfulRequestList":{"shape":"SuccessfulRequestList"}, + "FailedRequestList":{"shape":"FailedRequestList"} + } + }, "BehaviorType":{ "type":"string", "enum":[ @@ -4019,6 +4063,12 @@ "max":128, "min":1 }, + "Campaign":{ + "type":"structure", + "members":{ + "CampaignId":{"shape":"CampaignId"} + } + }, "CampaignId":{ "type":"string", "max":100, @@ -4163,6 +4213,23 @@ "WisdomInfo":{"shape":"WisdomInfo"} } }, + "ContactDataRequest":{ + "type":"structure", + "members":{ + "SystemEndpoint":{"shape":"Endpoint"}, + "CustomerEndpoint":{"shape":"Endpoint"}, + "RequestIdentifier":{"shape":"RequestIdentifier"}, + "QueueId":{"shape":"QueueId"}, + "Attributes":{"shape":"Attributes"}, + "Campaign":{"shape":"Campaign"} + } + }, + "ContactDataRequestList":{ + "type":"list", + "member":{"shape":"ContactDataRequest"}, + "max":25, + "min":1 + }, "ContactFilter":{ "type":"structure", "members":{ @@ -6469,6 +6536,13 @@ "members":{ } }, + "DisconnectReason":{ + "type":"structure", + "members":{ + "Code":{"shape":"DisconnectReasonCode"} + } + }, + "DisconnectReasonCode":{"type":"string"}, "DismissUserContactRequest":{ "type":"structure", "required":[ @@ -6546,6 +6620,26 @@ "type":"string", "enum":["KMS"] }, + "Endpoint":{ + "type":"structure", + "members":{ + "Type":{"shape":"EndpointType"}, + "Address":{"shape":"EndpointAddress"} + } + }, + "EndpointAddress":{ + "type":"string", + "max":256, + "min":0 + }, + "EndpointType":{ + "type":"string", + "enum":[ + "TELEPHONE_NUMBER", + "VOIP", + "CONTACT_FLOW" + ] + }, "Evaluation":{ "type":"structure", "required":[ @@ -7063,6 +7157,33 @@ "OnMetricDataUpdate" ] }, + "FailedRequest":{ + "type":"structure", + "members":{ + "RequestIdentifier":{"shape":"RequestIdentifier"}, + "FailureReasonCode":{"shape":"FailureReasonCode"}, + "FailureReasonMessage":{"shape":"String"} + } + }, + "FailedRequestList":{ + "type":"list", + "member":{"shape":"FailedRequest"} + }, + "FailureReasonCode":{ + "type":"string", + "enum":[ + "INVALID_ATTRIBUTE_KEY", + "INVALID_CUSTOMER_ENDPOINT", + "INVALID_SYSTEM_ENDPOINT", + "INVALID_QUEUE", + "MISSING_CAMPAIGN", + "MISSING_CUSTOMER_ENDPOINT", + "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT", + "REQUEST_THROTTLED", + "IDEMPOTENCY_EXCEPTION", + "INTERNAL_ERROR" + ] + }, "FilterV2":{ "type":"structure", "members":{ @@ -10491,6 +10612,10 @@ "Arn":{"shape":"ARN"} } }, + "RequestIdentifier":{ + "type":"string", + "max":80 + }, "RequiredFieldInfo":{ "type":"structure", "members":{ @@ -11471,7 +11596,8 @@ ], "members":{ "ContactId":{"shape":"ContactId"}, - "InstanceId":{"shape":"InstanceId"} + "InstanceId":{"shape":"InstanceId"}, + "DisconnectReason":{"shape":"DisconnectReason"} } }, "StopContactResponse":{ @@ -11572,6 +11698,17 @@ "EvaluationArn":{"shape":"ARN"} } }, + "SuccessfulRequest":{ + "type":"structure", + "members":{ + "RequestIdentifier":{"shape":"RequestIdentifier"}, + "ContactId":{"shape":"ContactId"} + } + }, + "SuccessfulRequestList":{ + "type":"list", + "member":{"shape":"SuccessfulRequest"} + }, "SupportedMessagingContentType":{ "type":"string", "max":100, diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 67373d2e694..d1acd2726c3 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -15,6 +15,7 @@ "AssociateSecurityKey": "

This API is in preview release for Amazon Connect and is subject to change.

Associates a security key to the instance.

", "AssociateTrafficDistributionGroupUser": "

Associates an agent with a traffic distribution group.

", "BatchGetFlowAssociation": "

Retrieve the flow associations for the given resources.

", + "BatchPutContact": "

Only the Amazon Connect outbound campaigns service principal is allowed to assume a role in your account and call this API.

Allows you to create a batch of contacts in Amazon Connect. The outbound campaigns capability ingests dial requests via the PutDialRequestBatch API. It then uses BatchPutContact to create contacts corresponding to those dial requests. If agents are available, the dial requests are dialed out, which results in a voice call. The resulting voice call uses the same contactId that was created by BatchPutContact.

", "ClaimPhoneNumber": "

Claims an available phone number to your Amazon Connect instance or traffic distribution group. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance or traffic distribution group was created.

For more information about how to use this operation, see Claim a phone number in your country and Claim phone numbers to traffic distribution groups in the Amazon Connect Administrator Guide.

You can call the SearchAvailablePhoneNumbers API for available phone numbers that you can claim. Call the DescribePhoneNumber API to verify the status of a previous ClaimPhoneNumber operation.

If you plan to claim and release numbers frequently during a 30 day period, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until 30 days past the oldest number released has expired.

By default you can claim and release up to 200% of your maximum number of active phone numbers during any 30 day period. If you claim and release phone numbers using the UI or API during a rolling 30 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming any more numbers until 30 days past the oldest number released has expired.

For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 30 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.

", "CreateAgentStatus": "

This API is in preview release for Amazon Connect and is subject to change.

Creates an agent status for the specified Amazon Connect instance.

", "CreateContactFlow": "

Creates a flow for the specified Amazon Connect instance.

You can also create and update flows using the Amazon Connect Flow language.

", @@ -712,6 +713,7 @@ "Attributes": { "base": null, "refs": { + "ContactDataRequest$Attributes": "

List of attributes to be stored in a contact.

", "GetContactAttributesResponse$Attributes": "

Information about the attributes.

", "StartChatContactRequest$Attributes": "

A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

", "StartOutboundVoiceContactRequest$Attributes": "

A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

", @@ -761,6 +763,16 @@ "refs": { } }, + "BatchPutContactRequest": { + "base": null, + "refs": { + } + }, + "BatchPutContactResponse": { + "base": null, + "refs": { + } + }, "BehaviorType": { "base": null, "refs": { @@ -805,9 +817,16 @@ "S3Config$BucketName": "

The S3 bucket name.

" } }, + "Campaign": { + "base": "

Information associated with a campaign.

", + "refs": { + "ContactDataRequest$Campaign": "

Structure to store information associated with a campaign.

" + } + }, "CampaignId": { "base": null, "refs": { + "Campaign$CampaignId": "

A unique identifier for a campaign.

", "StartOutboundVoiceContactRequest$CampaignId": "

The campaign identifier of the outbound communication.

" } }, @@ -899,6 +918,7 @@ "ClientToken": { "base": null, "refs": { + "BatchPutContactRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "ClaimPhoneNumberRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

Pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$

", "CreateContactFlowModuleRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "CreateEvaluationFormRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", @@ -955,6 +975,18 @@ "DescribeContactResponse$Contact": "

Information about the contact.

" } }, + "ContactDataRequest": { + "base": "

Request object with information to create a contact.

", + "refs": { + "ContactDataRequestList$member": null + } + }, + "ContactDataRequestList": { + "base": null, + "refs": { + "BatchPutContactRequest$ContactDataRequestList": "

List of individual contact requests.

" + } + }, "ContactFilter": { "base": "

Filters user data based on the contact information that is associated to the users. It contains a list of contact states.

", "refs": { @@ -1168,6 +1200,7 @@ "StopContactRecordingRequest$InitialContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", "StopContactRequest$ContactId": "

The ID of the contact.

", "StopContactStreamingRequest$ContactId": "

The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.

", + "SuccessfulRequest$ContactId": "

The contactId of the contact that was created successfully.

", "SuspendContactRecordingRequest$ContactId": "

The identifier of the contact.

", "SuspendContactRecordingRequest$InitialContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", "TransferContactRequest$ContactId": "

The identifier of the contact in this instance of Amazon Connect.

", @@ -2069,6 +2102,18 @@ "refs": { } }, + "DisconnectReason": { + "base": "

Contains details about why a contact was disconnected. Only Amazon Connect outbound campaigns can provide this field.

", + "refs": { + "StopContactRequest$DisconnectReason": "

The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field.

" + } + }, + "DisconnectReasonCode": { + "base": null, + "refs": { + "DisconnectReason$Code": "

A code that indicates how the contact was terminated.

" + } + }, "DismissUserContactRequest": { "base": null, "refs": { @@ -2130,6 +2175,25 @@ "EncryptionConfig$EncryptionType": "

The type of encryption.

" } }, + "Endpoint": { + "base": "

Information about the endpoint.

", + "refs": { + "ContactDataRequest$SystemEndpoint": "

Endpoint associated with the Amazon Connect instance from which outbound contact will be initiated for the campaign.

", + "ContactDataRequest$CustomerEndpoint": "

Endpoint of the customer for which contact will be initiated.

" + } + }, + "EndpointAddress": { + "base": null, + "refs": { + "Endpoint$Address": "

Address of the endpoint.

" + } + }, + "EndpointType": { + "base": null, + "refs": { + "Endpoint$Type": "

Type of the endpoint.

" + } + }, "Evaluation": { "base": "

Information about a contact evaluation.

", "refs": { @@ -2502,6 +2566,24 @@ "RuleTriggerEventSource$EventSourceName": "

The name of the event source.

" } }, + "FailedRequest": { + "base": "

Request for which contact failed to be generated.

", + "refs": { + "FailedRequestList$member": null + } + }, + "FailedRequestList": { + "base": null, + "refs": { + "BatchPutContactResponse$FailedRequestList": "

List of requests for which contact creation failed.

" + } + }, + "FailureReasonCode": { + "base": null, + "refs": { + "FailedRequest$FailureReasonCode": "

Reason code for the failure.

" + } + }, "FilterV2": { "base": "

Contains the filter to apply when retrieving metrics with the GetMetricDataV2 API.

", "refs": { @@ -3015,6 +3097,7 @@ "AssociateSecurityKeyRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "AssociateTrafficDistributionGroupUserRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "BatchGetFlowAssociationRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", + "BatchPutContactRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "ClaimPhoneNumberRequest$InstanceId": "

The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter InstanceId or TargetArn.

", "ClaimedPhoneNumberSummary$InstanceId": "

The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "CreateAgentStatusRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", @@ -4689,6 +4772,7 @@ "base": null, "refs": { "AssociateQueueQuickConnectsRequest$QueueId": "

The identifier for the queue.

", + "ContactDataRequest$QueueId": "

The identifier of the queue associated with the Amazon Connect instance in which contacts that are created will be queued.

", "CreateQueueResponse$QueueId": "

The identifier for the queue.

", "CreateRoutingProfileRequest$DefaultOutboundQueueId": "

The default outbound queue for the routing profile.

", "DeleteQueueRequest$QueueId": "

The identifier for the queue.

", @@ -5053,6 +5137,14 @@ "refs": { } }, + "RequestIdentifier": { + "base": null, + "refs": { + "ContactDataRequest$RequestIdentifier": "

Identifier to uniquely identify individual requests in the batch.

", + "FailedRequest$RequestIdentifier": "

Request identifier provided in the API call in the ContactDataRequest to create a contact.

", + "SuccessfulRequest$RequestIdentifier": "

Request identifier provided in the API call in the ContactDataRequest to create a contact.

" + } + }, "RequiredFieldInfo": { "base": "

Information about a required field.

", "refs": { @@ -5811,6 +5903,7 @@ "String": { "base": null, "refs": { + "FailedRequest$FailureReasonMessage": "

Why the request to create a contact failed.

", "HierarchyGroupCondition$Value": "

The value in the hierarchy group condition.

", "InstanceStatusReason$Message": "

The message.

", "IntervalDetails$TimeZone": "

The timezone applied to requested metrics.

", @@ -5868,6 +5961,18 @@ "refs": { } }, + "SuccessfulRequest": { + "base": "

Request for which contact was successfully created.

", + "refs": { + "SuccessfulRequestList$member": null + } + }, + "SuccessfulRequestList": { + "base": null, + "refs": { + "BatchPutContactResponse$SuccessfulRequestList": "

List of requests for which contact was successfully created.

" + } + }, "SupportedMessagingContentType": { "base": null, "refs": { diff --git a/models/apis/docdb/2014-10-31/api-2.json b/models/apis/docdb/2014-10-31/api-2.json index 1ab6535193b..acafca79394 100644 --- a/models/apis/docdb/2014-10-31/api-2.json +++ b/models/apis/docdb/2014-10-31/api-2.json @@ -1027,6 +1027,10 @@ }, "Boolean":{"type":"boolean"}, "BooleanOptional":{"type":"boolean"}, + "CACertificateIdentifiersList":{ + "type":"list", + "member":{"shape":"String"} + }, "Certificate":{ "type":"structure", "members":{ @@ -1039,6 +1043,13 @@ }, "wrapper":true }, + "CertificateDetails":{ + "type":"structure", + "members":{ + "CAIdentifier":{"shape":"String"}, + "ValidTill":{"shape":"TStamp"} + } + }, "CertificateList":{ "type":"list", "member":{ @@ -1205,7 +1216,8 @@ "CopyTagsToSnapshot":{"shape":"BooleanOptional"}, "PromotionTier":{"shape":"IntegerOptional"}, "EnablePerformanceInsights":{"shape":"BooleanOptional"}, - "PerformanceInsightsKMSKeyId":{"shape":"String"} + "PerformanceInsightsKMSKeyId":{"shape":"String"}, + "CACertificateIdentifier":{"shape":"String"} } }, "CreateDBInstanceResult":{ @@ -1530,7 +1542,9 @@ "DBEngineVersionDescription":{"shape":"String"}, "ValidUpgradeTarget":{"shape":"ValidUpgradeTargetList"}, "ExportableLogTypes":{"shape":"LogTypeList"}, - "SupportsLogExportsToCloudwatchLogs":{"shape":"Boolean"} + "SupportsLogExportsToCloudwatchLogs":{"shape":"Boolean"}, + "SupportedCACertificateIdentifiers":{"shape":"CACertificateIdentifiersList"}, + "SupportsCertificateRotationWithoutRestart":{"shape":"BooleanOptional"} } }, "DBEngineVersionList":{ @@ -1576,7 +1590,8 @@ "CopyTagsToSnapshot":{"shape":"BooleanOptional"}, "PromotionTier":{"shape":"IntegerOptional"}, "DBInstanceArn":{"shape":"String"}, - "EnabledCloudwatchLogsExports":{"shape":"LogTypeList"} + "EnabledCloudwatchLogsExports":{"shape":"LogTypeList"}, + "CertificateDetails":{"shape":"CertificateDetails"} }, "wrapper":true }, @@ -2565,7 +2580,8 @@ "CopyTagsToSnapshot":{"shape":"BooleanOptional"}, "PromotionTier":{"shape":"IntegerOptional"}, "EnablePerformanceInsights":{"shape":"BooleanOptional"}, - "PerformanceInsightsKMSKeyId":{"shape":"String"} + "PerformanceInsightsKMSKeyId":{"shape":"String"}, + "CertificateRotationRestart":{"shape":"BooleanOptional"} } }, "ModifyDBInstanceResult":{ diff --git a/models/apis/docdb/2014-10-31/docs-2.json b/models/apis/docdb/2014-10-31/docs-2.json index 2deec97a39a..b5a0ecab47e 100644 --- a/models/apis/docdb/2014-10-31/docs-2.json +++ b/models/apis/docdb/2014-10-31/docs-2.json @@ -165,6 +165,7 @@ "CreateEventSubscriptionMessage$Enabled": "

A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.

", "CreateGlobalClusterMessage$DeletionProtection": "

The deletion protection setting for the new global cluster. The global cluster can't be deleted when deletion protection is enabled.

", "CreateGlobalClusterMessage$StorageEncrypted": "

The storage encryption setting for the new global cluster.

", + "DBEngineVersion$SupportsCertificateRotationWithoutRestart": "

Indicates whether the engine version supports rotating the server certificate without rebooting the DB instance.

", "DBInstance$CopyTagsToSnapshot": "

A value that indicates whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.

", "DescribeDBEngineVersionsMessage$ListSupportedCharacterSets": "

If this parameter is specified and the requested engine supports the CharacterSetName parameter for CreateDBInstance, the response includes a list of supported character sets for each engine version.

", "DescribeDBEngineVersionsMessage$ListSupportedTimezones": "

If this parameter is specified and the requested engine supports the TimeZone parameter for CreateDBInstance, the response includes a list of supported time zones for each engine version.

", @@ -175,6 +176,7 @@ "ModifyDBInstanceMessage$AutoMinorVersionUpgrade": "

This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set.

", "ModifyDBInstanceMessage$CopyTagsToSnapshot": "

A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.

", "ModifyDBInstanceMessage$EnablePerformanceInsights": "

A value that indicates whether to enable Performance Insights for the DB Instance. For more information, see Using Amazon Performance Insights.

", + "ModifyDBInstanceMessage$CertificateRotationRestart": "

Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate.

By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted.

Set this parameter only if you are not using SSL/TLS to connect to the DB instance.

If you are using SSL/TLS to connect to the DB instance, see Updating Your Amazon DocumentDB TLS Certificates and Encrypting Data in Transit in the Amazon DocumentDB Developer Guide.

", "ModifyEventSubscriptionMessage$Enabled": "

A Boolean value; set to true to activate the subscription.

", "ModifyGlobalClusterMessage$DeletionProtection": "

Indicates if the global cluster has deletion protection enabled. The global cluster can't be deleted when deletion protection is enabled.

", "PendingModifiedValues$MultiAZ": "

Indicates that the Single-AZ instance is to change to a Multi-AZ deployment.

", @@ -183,12 +185,24 @@ "RestoreDBClusterToPointInTimeMessage$DeletionProtection": "

Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster cannot be deleted unless it is modified and DeletionProtection is disabled. DeletionProtection protects clusters from being accidentally deleted.

" } }, + "CACertificateIdentifiersList": { + "base": null, + "refs": { + "DBEngineVersion$SupportedCACertificateIdentifiers": "

A list of the supported CA certificate identifiers.

For more information, see Updating Your Amazon DocumentDB TLS Certificates and Encrypting Data in Transit in the Amazon DocumentDB Developer Guide.

" + } + }, "Certificate": { "base": "

A certificate authority (CA) certificate for an Amazon Web Services account.

", "refs": { "CertificateList$member": null } }, + "CertificateDetails": { + "base": "

Returns the details of the DB instance’s server certificate.

For more information, see Updating Your Amazon DocumentDB TLS Certificates and Encrypting Data in Transit in the Amazon DocumentDB Developer Guide.

", + "refs": { + "DBInstance$CertificateDetails": "

The details of the DB instance's server certificate.

" + } + }, "CertificateList": { "base": null, "refs": { @@ -1389,10 +1403,12 @@ "AttributeValueList$member": null, "AvailabilityZone$Name": "

The name of the Availability Zone.

", "AvailabilityZones$member": null, + "CACertificateIdentifiersList$member": null, "Certificate$CertificateIdentifier": "

The unique key that identifies a certificate.

Example: rds-ca-2019

", "Certificate$CertificateType": "

The type of the certificate.

Example: CA

", "Certificate$Thumbprint": "

The thumbprint of the certificate.

", "Certificate$CertificateArn": "

The Amazon Resource Name (ARN) for the certificate.

Example: arn:aws:rds:us-east-1::cert:rds-ca-2019

", + "CertificateDetails$CAIdentifier": "

The CA identifier of the CA certificate used for the DB instance's server certificate.

", "CertificateMessage$Marker": "

An optional pagination token provided if the number of records retrieved is greater than MaxRecords. If this parameter is specified, the marker specifies the next record in the list. Including the value of Marker in the next call to DescribeCertificates results in the next page of certificates.

", "CopyDBClusterParameterGroupMessage$SourceDBClusterParameterGroupIdentifier": "

The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.

Constraints:

", "CopyDBClusterParameterGroupMessage$TargetDBClusterParameterGroupIdentifier": "

The identifier for the copied cluster parameter group.

Constraints:

Example: my-cluster-param-group1

", @@ -1424,6 +1440,7 @@ "CreateDBInstanceMessage$PreferredMaintenanceWindow": "

The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.

Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: Minimum 30-minute window.

", "CreateDBInstanceMessage$DBClusterIdentifier": "

The identifier of the cluster that the instance will belong to.

", "CreateDBInstanceMessage$PerformanceInsightsKMSKeyId": "

The KMS key identifier for encryption of Performance Insights data.

The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.

If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services region.

", + "CreateDBInstanceMessage$CACertificateIdentifier": "

The CA certificate identifier to use for the DB instance's server certificate.

For more information, see Updating Your Amazon DocumentDB TLS Certificates and Encrypting Data in Transit in the Amazon DocumentDB Developer Guide.

", "CreateDBSubnetGroupMessage$DBSubnetGroupName": "

The name for the subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

Example: mySubnetgroup

", "CreateDBSubnetGroupMessage$DBSubnetGroupDescription": "

The description for the subnet group.

", "CreateEventSubscriptionMessage$SubscriptionName": "

The name of the subscription.

Constraints: The name must be fewer than 255 characters.

", @@ -1710,6 +1727,7 @@ "refs": { "Certificate$ValidFrom": "

The starting date-time from which the certificate is valid.

Example: 2019-07-31T17:57:09Z

", "Certificate$ValidTill": "

The date-time after which the certificate is no longer valid.

Example: 2024-07-31T17:57:09Z

", + "CertificateDetails$ValidTill": "

The expiration date of the DB instance’s server certificate.

", "DBCluster$EarliestRestorableTime": "

The earliest time to which a database can be restored with point-in-time restore.

", "DBCluster$LatestRestorableTime": "

Specifies the latest time to which a database can be restored with point-in-time restore.

", "DBCluster$ClusterCreateTime": "

Specifies the time when the cluster was created, in Universal Coordinated Time (UTC).

", diff --git a/models/apis/docdb/2014-10-31/endpoint-rule-set-1.json b/models/apis/docdb/2014-10-31/endpoint-rule-set-1.json index b9aff9f06c8..1dfb5f08259 100644 --- a/models/apis/docdb/2014-10-31/endpoint-rule-set-1.json +++ b/models/apis/docdb/2014-10-31/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,318 +57,283 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://rds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://rds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://rds.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" }, - { - "conditions": [], - "endpoint": { - "url": "https://rds-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "aws-us-gov" ] } - ] + ], + "endpoint": { + "url": "https://rds.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://rds-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://rds.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://rds.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://rds.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://rds.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/iam/2010-05-08/endpoint-rule-set-1.json b/models/apis/iam/2010-05-08/endpoint-rule-set-1.json index 52cf98d4e0f..55281acc565 100644 --- a/models/apis/iam/2010-05-08/endpoint-rule-set-1.json +++ b/models/apis/iam/2010-05-08/endpoint-rule-set-1.json @@ -467,6 +467,57 @@ }, "type": "endpoint" }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws-iso-e" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://iam.eu-isoe-west-1.cloud.adc-e.uk", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "iam", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, { "conditions": [ { diff --git a/models/apis/iam/2010-05-08/endpoint-tests-1.json b/models/apis/iam/2010-05-08/endpoint-tests-1.json index 71dafa82681..79c77b70463 100644 --- a/models/apis/iam/2010-05-08/endpoint-tests-1.json +++ b/models/apis/iam/2010-05-08/endpoint-tests-1.json @@ -525,6 +525,17 @@ "expect": { "error": "Invalid Configuration: Missing Region" } + }, + { + "documentation": "Partition doesn't support DualStack", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } } ], "version": "1.0" diff --git a/models/apis/mwaa/2020-07-01/api-2.json b/models/apis/mwaa/2020-07-01/api-2.json index 6a9712d5293..1ccd7e99fea 100644 --- a/models/apis/mwaa/2020-07-01/api-2.json +++ b/models/apis/mwaa/2020-07-01/api-2.json @@ -137,6 +137,8 @@ {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], + "deprecated":true, + "deprecatedMessage":"This API is for internal use and not meant for public use, and is no longer available.", "endpoint":{"hostPrefix":"ops."} }, "TagResource":{ @@ -338,11 +340,15 @@ "members":{ "Name":{"shape":"String"}, "Value":{"shape":"String"} - } + }, + "deprecated":true, + "deprecatedMessage":"This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "Dimensions":{ "type":"list", - "member":{"shape":"Dimension"} + "member":{"shape":"Dimension"}, + "deprecated":true, + "deprecatedMessage":"This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "Double":{ "type":"double", @@ -568,7 +574,9 @@ }, "MetricData":{ "type":"list", - "member":{"shape":"MetricDatum"} + "member":{"shape":"MetricDatum"}, + "deprecated":true, + "deprecatedMessage":"This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "MetricDatum":{ "type":"structure", @@ -583,7 +591,9 @@ "Timestamp":{"shape":"Timestamp"}, "Unit":{"shape":"Unit"}, "Value":{"shape":"Double"} - } + }, + "deprecated":true, + "deprecatedMessage":"This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "MinWorkers":{ "type":"integer", @@ -634,12 +644,16 @@ "locationName":"EnvironmentName" }, "MetricData":{"shape":"MetricData"} - } + }, + "deprecated":true, + "deprecatedMessage":"This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "PublishMetricsOutput":{ "type":"structure", "members":{ - } + }, + "deprecated":true, + "deprecatedMessage":"This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "RelativePath":{ "type":"string", @@ -693,7 +707,9 @@ "Minimum":{"shape":"Double"}, "SampleCount":{"shape":"Integer"}, "Sum":{"shape":"Double"} - } + }, + "deprecated":true, + "deprecatedMessage":"This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "String":{"type":"string"}, "SubnetId":{ diff --git a/models/apis/mwaa/2020-07-01/docs-2.json b/models/apis/mwaa/2020-07-01/docs-2.json index 7bcadee57ac..bf1f39b2958 100644 --- a/models/apis/mwaa/2020-07-01/docs-2.json +++ b/models/apis/mwaa/2020-07-01/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

Amazon Managed Workflows for Apache Airflow

This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What is Amazon MWAA?.

Endpoints

Regions

For a list of regions that Amazon MWAA supports, see Region availability in the Amazon MWAA User Guide.

", + "service": "

Amazon Managed Workflows for Apache Airflow

This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What is Amazon MWAA?.

Endpoints

Regions

For a list of supported regions, see Amazon MWAA endpoints and quotas in the Amazon Web Services General Reference.

", "operations": { "CreateCliToken": "

Creates a CLI token for the Airflow CLI. To learn more, see Creating an Apache Airflow CLI token.

", "CreateEnvironment": "

Creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

", @@ -31,9 +31,9 @@ "AirflowVersion": { "base": null, "refs": { - "CreateEnvironmentInput$AirflowVersion": "

The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version. Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, and 2.5.1. For more information, see Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA).

", - "Environment$AirflowVersion": "

The Apache Airflow version on your environment. Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, and 2.5.1.

", - "UpdateEnvironmentInput$AirflowVersion": "

The Apache Airflow version for your environment. To upgrade your environment, specify a newer version of Apache Airflow supported by Amazon MWAA.

Before you upgrade an environment, make sure your requirements, DAGs, plugins, and other resources used in your workflows are compatible with the new Apache Airflow version. For more information about updating your resources, see Upgrading an Amazon MWAA environment.

Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, and 2.5.1.

" + "CreateEnvironmentInput$AirflowVersion": "

The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version. For more information, see Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA).

Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2.

", + "Environment$AirflowVersion": "

The Apache Airflow version on your environment.

Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2.

", + "UpdateEnvironmentInput$AirflowVersion": "

The Apache Airflow version for your environment. To upgrade your environment, specify a newer version of Apache Airflow supported by Amazon MWAA.

Before you upgrade an environment, make sure your requirements, DAGs, plugins, and other resources used in your workflows are compatible with the new Apache Airflow version. For more information about updating your resources, see Upgrading an Amazon MWAA environment.

Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2.

" } }, "CloudWatchLogGroupArn": { diff --git a/models/apis/mwaa/2020-07-01/endpoint-rule-set-1.json b/models/apis/mwaa/2020-07-01/endpoint-rule-set-1.json index 685842c616d..31b5698628c 100644 --- a/models/apis/mwaa/2020-07-01/endpoint-rule-set-1.json +++ b/models/apis/mwaa/2020-07-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,293 +57,258 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://airflow.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://airflow.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/polly/2016-06-10/api-2.json b/models/apis/polly/2016-06-10/api-2.json index 0e38ab38ab0..07a4f831a6f 100644 --- a/models/apis/polly/2016-06-10/api-2.json +++ b/models/apis/polly/2016-06-10/api-2.json @@ -865,7 +865,9 @@ "Sofie", "Lisa", "Isabelle", - "Zayd" + "Zayd", + "Danielle", + "Gregory" ] }, "VoiceList":{ diff --git a/models/apis/polly/2016-06-10/endpoint-rule-set-1.json b/models/apis/polly/2016-06-10/endpoint-rule-set-1.json index c25e9e1b918..963402b867a 100644 --- a/models/apis/polly/2016-06-10/endpoint-rule-set-1.json +++ b/models/apis/polly/2016-06-10/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/route53/2013-04-01/endpoint-rule-set-1.json b/models/apis/route53/2013-04-01/endpoint-rule-set-1.json index 2b5c59f57af..1801c300a78 100644 --- a/models/apis/route53/2013-04-01/endpoint-rule-set-1.json +++ b/models/apis/route53/2013-04-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -469,6 +467,108 @@ }, "type": "endpoint" }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws-iso-e" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://route53.cloud.adc-e.uk", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws-iso-f" + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://route53.csp.hci.ic.gov", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-isof-south-1" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, { "conditions": [ { @@ -490,7 +590,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -525,7 +624,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -536,14 +634,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -557,14 +657,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -573,11 +671,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -588,14 +686,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -609,7 +709,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -629,7 +728,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -640,14 +738,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -658,9 +758,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/route53/2013-04-01/endpoint-tests-1.json b/models/apis/route53/2013-04-01/endpoint-tests-1.json index fe838c14551..b14b05eb81e 100644 --- a/models/apis/route53/2013-04-01/endpoint-tests-1.json +++ b/models/apis/route53/2013-04-01/endpoint-tests-1.json @@ -525,6 +525,17 @@ "expect": { "error": "Invalid Configuration: Missing Region" } + }, + { + "documentation": "Partition doesn't support DualStack", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } } ], "version": "1.0" diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index cb4c46a010a..1a5a257b311 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -13683,6 +13683,12 @@ } ] }, "endpoints" : { + "af-south-1" : { + "hostname" : "resource-explorer-2.af-south-1.api.aws" + }, + "ap-east-1" : { + "hostname" : "resource-explorer-2.ap-east-1.api.aws" + }, "ap-northeast-1" : { "hostname" : "resource-explorer-2.ap-northeast-1.api.aws" }, @@ -13722,6 +13728,9 @@ "eu-north-1" : { "hostname" : "resource-explorer-2.eu-north-1.api.aws" }, + "eu-south-1" : { + "hostname" : "resource-explorer-2.eu-south-1.api.aws" + }, "eu-west-1" : { "hostname" : "resource-explorer-2.eu-west-1.api.aws" }, @@ -13734,6 +13743,9 @@ "il-central-1" : { "hostname" : "resource-explorer-2.il-central-1.api.aws" }, + "me-central-1" : { + "hostname" : "resource-explorer-2.me-central-1.api.aws" + }, "me-south-1" : { "hostname" : "resource-explorer-2.me-south-1.api.aws" }, @@ -25481,6 +25493,11 @@ "us-isob-east-1" : { } } }, + "cloudcontrolapi" : { + "endpoints" : { + "us-isob-east-1" : { } + } + }, "cloudformation" : { "endpoints" : { "us-isob-east-1" : { } diff --git a/service/codebuild/api.go b/service/codebuild/api.go index 958fed471c6..c69be7d1c03 100644 --- a/service/codebuild/api.go +++ b/service/codebuild/api.go @@ -4170,8 +4170,7 @@ func (c *CodeBuild) UpdateProjectVisibilityRequest(input *UpdateProjectVisibilit // variables, source code, and other sensitive information may have been // output to the build logs and artifacts. You must be careful about what // information is output to the build logs. Some best practice are: Do not -// store sensitive values, especially Amazon Web Services access key IDs -// and secret access keys, in environment variables. We recommend that you +// store sensitive values in environment variables. We recommend that you // use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to // store sensitive values. Follow Best practices for using webhooks (https://docs.aws.amazon.com/codebuild/latest/userguide/webhooks.html#webhook-best-practices) // in the CodeBuild User Guide to limit which entities can trigger a build, @@ -5116,7 +5115,7 @@ type Build struct { // * If CodePipeline started the build, the pipeline's name (for example, // codepipeline/my-demo-pipeline). // - // * If an IAM user started the build, the user's name (for example, MyUserName). + // * If a user started the build, the user's name (for example, MyUserName). // // * If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin. Initiator *string `locationName:"initiator" type:"string"` @@ -5622,7 +5621,7 @@ type BuildBatch struct { // * If CodePipeline started the build, the pipeline's name (for example, // codepipeline/my-demo-pipeline). // - // * If an IAM user started the build, the user's name. + // * If a user started the build, the user's name. // // * If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin. Initiator *string `locationName:"initiator" type:"string"` @@ -8450,15 +8449,21 @@ type EnvironmentVariable struct { // The type of environment variable. Valid values include: // // * PARAMETER_STORE: An environment variable stored in Systems Manager Parameter - // Store. To learn how to specify a parameter store environment variable, - // see env/parameter-store (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.parameter-store) + // Store. For environment variables of this type, specify the name of the + // parameter as the value of the EnvironmentVariable. The parameter value + // will be substituted for the name at runtime. You can also define Parameter + // Store environment variables in the buildspec. To learn how to do so, see + // env/parameter-store (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.parameter-store) // in the CodeBuild User Guide. // // * PLAINTEXT: An environment variable in plain text format. This is the // default value. // // * SECRETS_MANAGER: An environment variable stored in Secrets Manager. - // To learn how to specify a secrets manager environment variable, see env/secrets-manager + // For environment variables of this type, specify the name of the secret + // as the value of the EnvironmentVariable. The secret value will be substituted + // for the name at runtime. You can also define Secrets Manager environment + // variables in the buildspec. To learn how to do so, see env/secrets-manager // (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.secrets-manager) // in the CodeBuild User Guide. Type *string `locationName:"type" type:"string" enum:"EnvironmentVariableType"` @@ -8466,10 +8471,10 @@ type EnvironmentVariable struct { // The value of the environment variable. // // We strongly discourage the use of PLAINTEXT environment variables to store - // sensitive values, especially Amazon Web Services secret key IDs and secret - // access keys. PLAINTEXT environment variables can be displayed in plain text - // using the CodeBuild console and the CLI. For sensitive values, we recommend - // you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER. + // sensitive values, especially Amazon Web Services secret key IDs. PLAINTEXT + // environment variables can be displayed in plain text using the CodeBuild + // console and the CLI. For sensitive values, we recommend you use an environment + // variable of type PARAMETER_STORE or SECRETS_MANAGER. // // Value is a required field Value *string `locationName:"value" type:"string" required:"true"` @@ -10600,11 +10605,16 @@ type LogsLocation struct { // Information about CloudWatch Logs for a build project. CloudWatchLogs *CloudWatchLogsConfig `locationName:"cloudWatchLogs" type:"structure"` - // The ARN of CloudWatch Logs for a build project. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}. - // For more information, see Resources Defined by CloudWatch Logs (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies). + // The ARN of the CloudWatch Logs stream for a build execution. Its format is + // arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}. + // The CloudWatch Logs stream is created during the PROVISIONING phase of a + // build and the ARN will not be valid until it is created. For more information, + // see Resources Defined by CloudWatch Logs (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies). CloudWatchLogsArn *string `locationName:"cloudWatchLogsArn" type:"string"` - // The URL to an individual build log in CloudWatch Logs. + // The URL to an individual build log in CloudWatch Logs. The log stream is + // created during the PROVISIONING phase of a build and the deeplink will not + // be valid until it is created. DeepLink *string `locationName:"deepLink" type:"string"` // The name of the CloudWatch Logs group for the build logs. @@ -11701,6 +11711,32 @@ type ProjectEnvironment struct { // of SSD storage for builds. This compute type supports Docker images up // to 100 GB uncompressed. // + // * BUILD_LAMBDA_1GB: Use up to 1 GB memory for builds. Only available for + // environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. + // + // * BUILD_LAMBDA_2GB: Use up to 2 GB memory for builds. Only available for + // environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. + // + // * BUILD_LAMBDA_4GB: Use up to 4 GB memory for builds. Only available for + // environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. + // + // * BUILD_LAMBDA_8GB: Use up to 8 GB memory for builds. Only available for + // environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. + // + // * BUILD_LAMBDA_10GB: Use up to 10 GB memory for builds. Only available + // for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. + // + // If you use BUILD_GENERAL1_SMALL: + // + // * For environment type LINUX_CONTAINER, you can use up to 3 GB memory + // and 2 vCPUs for builds. + // + // * For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, + // 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. + // + // * For environment type ARM_CONTAINER, you can use up to 4 GB memory and + // 2 vCPUs on ARM-based processors for builds. + // // If you use BUILD_GENERAL1_LARGE: // // * For environment type LINUX_CONTAINER, you can use up to 15 GB memory @@ -11800,6 +11836,12 @@ type ProjectEnvironment struct { // Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China // (Beijing), and China (Ningxia). // + // * The environment types ARM_LAMBDA_CONTAINER and LINUX_LAMBDA_CONTAINER + // are available only in regions US East (N. Virginia), US East (Ohio), US + // West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Singapore), Asia Pacific + // (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), and South + // America (São Paulo). + // // * The environment types WINDOWS_CONTAINER and WINDOWS_SERVER_2019_CONTAINER // are available only in regions US East (N. Virginia), US East (Ohio), US // West (Oregon), and EU (Ireland). @@ -16490,6 +16532,21 @@ const ( // ComputeTypeBuildGeneral12xlarge is a ComputeType enum value ComputeTypeBuildGeneral12xlarge = "BUILD_GENERAL1_2XLARGE" + + // ComputeTypeBuildLambda1gb is a ComputeType enum value + ComputeTypeBuildLambda1gb = "BUILD_LAMBDA_1GB" + + // ComputeTypeBuildLambda2gb is a ComputeType enum value + ComputeTypeBuildLambda2gb = "BUILD_LAMBDA_2GB" + + // ComputeTypeBuildLambda4gb is a ComputeType enum value + ComputeTypeBuildLambda4gb = "BUILD_LAMBDA_4GB" + + // ComputeTypeBuildLambda8gb is a ComputeType enum value + ComputeTypeBuildLambda8gb = "BUILD_LAMBDA_8GB" + + // ComputeTypeBuildLambda10gb is a ComputeType enum value + ComputeTypeBuildLambda10gb = "BUILD_LAMBDA_10GB" ) // ComputeType_Values returns all elements of the ComputeType enum @@ -16499,6 +16556,11 @@ func ComputeType_Values() []string { ComputeTypeBuildGeneral1Medium, ComputeTypeBuildGeneral1Large, ComputeTypeBuildGeneral12xlarge, + ComputeTypeBuildLambda1gb, + ComputeTypeBuildLambda2gb, + ComputeTypeBuildLambda4gb, + ComputeTypeBuildLambda8gb, + ComputeTypeBuildLambda10gb, } } @@ -16529,6 +16591,12 @@ const ( // EnvironmentTypeWindowsServer2019Container is a EnvironmentType enum value EnvironmentTypeWindowsServer2019Container = "WINDOWS_SERVER_2019_CONTAINER" + + // EnvironmentTypeLinuxLambdaContainer is a EnvironmentType enum value + EnvironmentTypeLinuxLambdaContainer = "LINUX_LAMBDA_CONTAINER" + + // EnvironmentTypeArmLambdaContainer is a EnvironmentType enum value + EnvironmentTypeArmLambdaContainer = "ARM_LAMBDA_CONTAINER" ) // EnvironmentType_Values returns all elements of the EnvironmentType enum @@ -16539,6 +16607,8 @@ func EnvironmentType_Values() []string { EnvironmentTypeLinuxGpuContainer, EnvironmentTypeArmContainer, EnvironmentTypeWindowsServer2019Container, + EnvironmentTypeLinuxLambdaContainer, + EnvironmentTypeArmLambdaContainer, } } diff --git a/service/connect/api.go b/service/connect/api.go index 80ed894d13e..3ba3f770468 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -1284,6 +1284,108 @@ func (c *Connect) BatchGetFlowAssociationWithContext(ctx aws.Context, input *Bat return out, req.Send() } +const opBatchPutContact = "BatchPutContact" + +// BatchPutContactRequest generates a "aws/request.Request" representing the +// client's request for the BatchPutContact 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 BatchPutContact for more information on using the BatchPutContact +// 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 BatchPutContactRequest method. +// req, resp := client.BatchPutContactRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/BatchPutContact +func (c *Connect) BatchPutContactRequest(input *BatchPutContactInput) (req *request.Request, output *BatchPutContactOutput) { + op := &request.Operation{ + Name: opBatchPutContact, + HTTPMethod: "PUT", + HTTPPath: "/contact/batch/{InstanceId}", + } + + if input == nil { + input = &BatchPutContactInput{} + } + + output = &BatchPutContactOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchPutContact API operation for Amazon Connect Service. +// +// Only the Amazon Connect outbound campaigns service principal is allowed to +// assume a role in your account and call this API. +// +// Allows you to create a batch of contacts in Amazon Connect. The outbound +// campaigns capability ingests dial requests via the PutDialRequestBatch (https://docs.aws.amazon.com/connect-outbound/latest/APIReference/API_PutDialRequestBatch.html) +// API. It then uses BatchPutContact to create contacts corresponding to those +// dial requests. If agents are available, the dial requests are dialed out, +// which results in a voice call. The resulting voice call uses the same contactId +// that was created by BatchPutContact. +// +// 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 Amazon Connect Service's +// API operation BatchPutContact for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// - InvalidRequestException +// The request is not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - LimitExceededException +// The allowed limit for the resource has been exceeded. +// +// - IdempotencyException +// An entity with the same name already exists. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/BatchPutContact +func (c *Connect) BatchPutContact(input *BatchPutContactInput) (*BatchPutContactOutput, error) { + req, out := c.BatchPutContactRequest(input) + return out, req.Send() +} + +// BatchPutContactWithContext is the same as BatchPutContact with the addition of +// the ability to pass a context and additional request options. +// +// See BatchPutContact 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 *Connect) BatchPutContactWithContext(ctx aws.Context, input *BatchPutContactInput, opts ...request.Option) (*BatchPutContactOutput, error) { + req, out := c.BatchPutContactRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opClaimPhoneNumber = "ClaimPhoneNumber" // ClaimPhoneNumberRequest generates a "aws/request.Request" representing the @@ -25660,6 +25762,181 @@ func (s *BatchGetFlowAssociationOutput) SetFlowAssociationSummaryList(v []*FlowA return s } +type BatchPutContactInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive identifier that you provide to ensure the idempotency + // of the request. If not provided, the Amazon Web Services SDK populates this + // field. For more information about idempotency, see Making retries safe with + // idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // List of individual contact requests. + // + // ContactDataRequestList is a required field + ContactDataRequestList []*ContactDataRequest `min:"1" type:"list" required:"true"` + + // The identifier of the Amazon Connect instance. You can find the instance + // ID (https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html) + // in the Amazon Resource Name (ARN) of the instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" 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 BatchPutContactInput) 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 BatchPutContactInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchPutContactInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchPutContactInput"} + if s.ContactDataRequestList == nil { + invalidParams.Add(request.NewErrParamRequired("ContactDataRequestList")) + } + if s.ContactDataRequestList != nil && len(s.ContactDataRequestList) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactDataRequestList", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.ContactDataRequestList != nil { + for i, v := range s.ContactDataRequestList { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ContactDataRequestList", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *BatchPutContactInput) SetClientToken(v string) *BatchPutContactInput { + s.ClientToken = &v + return s +} + +// SetContactDataRequestList sets the ContactDataRequestList field's value. +func (s *BatchPutContactInput) SetContactDataRequestList(v []*ContactDataRequest) *BatchPutContactInput { + s.ContactDataRequestList = v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *BatchPutContactInput) SetInstanceId(v string) *BatchPutContactInput { + s.InstanceId = &v + return s +} + +type BatchPutContactOutput struct { + _ struct{} `type:"structure"` + + // List of requests for which contact creation failed. + FailedRequestList []*FailedRequest `type:"list"` + + // List of requests for which contact was successfully created. + SuccessfulRequestList []*SuccessfulRequest `type:"list"` +} + +// 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 BatchPutContactOutput) 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 BatchPutContactOutput) GoString() string { + return s.String() +} + +// SetFailedRequestList sets the FailedRequestList field's value. +func (s *BatchPutContactOutput) SetFailedRequestList(v []*FailedRequest) *BatchPutContactOutput { + s.FailedRequestList = v + return s +} + +// SetSuccessfulRequestList sets the SuccessfulRequestList field's value. +func (s *BatchPutContactOutput) SetSuccessfulRequestList(v []*SuccessfulRequest) *BatchPutContactOutput { + s.SuccessfulRequestList = v + return s +} + +// Information associated with a campaign. +type Campaign struct { + _ struct{} `type:"structure"` + + // A unique identifier for a campaign. + CampaignId *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Campaign) 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 Campaign) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Campaign) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Campaign"} + if s.CampaignId != nil && len(*s.CampaignId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CampaignId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCampaignId sets the CampaignId field's value. +func (s *Campaign) SetCampaignId(v string) *Campaign { + s.CampaignId = &v + return s +} + // A chat message. type ChatMessage struct { _ struct{} `type:"structure"` @@ -26318,6 +26595,100 @@ func (s *Contact) SetWisdomInfo(v *WisdomInfo) *Contact { return s } +// Request object with information to create a contact. +type ContactDataRequest struct { + _ struct{} `type:"structure"` + + // List of attributes to be stored in a contact. + Attributes map[string]*string `type:"map"` + + // Structure to store information associated with a campaign. + Campaign *Campaign `type:"structure"` + + // Endpoint of the customer for which contact will be initiated. + CustomerEndpoint *Endpoint `type:"structure"` + + // The identifier of the queue associated with the Amazon Connect instance in + // which contacts that are created will be queued. + QueueId *string `type:"string"` + + // Identifier to uniquely identify individual requests in the batch. + RequestIdentifier *string `type:"string"` + + // Endpoint associated with the Amazon Connect instance from which outbound + // contact will be initiated for the campaign. + SystemEndpoint *Endpoint `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 ContactDataRequest) 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 ContactDataRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ContactDataRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ContactDataRequest"} + if s.Campaign != nil { + if err := s.Campaign.Validate(); err != nil { + invalidParams.AddNested("Campaign", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttributes sets the Attributes field's value. +func (s *ContactDataRequest) SetAttributes(v map[string]*string) *ContactDataRequest { + s.Attributes = v + return s +} + +// SetCampaign sets the Campaign field's value. +func (s *ContactDataRequest) SetCampaign(v *Campaign) *ContactDataRequest { + s.Campaign = v + return s +} + +// SetCustomerEndpoint sets the CustomerEndpoint field's value. +func (s *ContactDataRequest) SetCustomerEndpoint(v *Endpoint) *ContactDataRequest { + s.CustomerEndpoint = v + return s +} + +// SetQueueId sets the QueueId field's value. +func (s *ContactDataRequest) SetQueueId(v string) *ContactDataRequest { + s.QueueId = &v + return s +} + +// SetRequestIdentifier sets the RequestIdentifier field's value. +func (s *ContactDataRequest) SetRequestIdentifier(v string) *ContactDataRequest { + s.RequestIdentifier = &v + return s +} + +// SetSystemEndpoint sets the SystemEndpoint field's value. +func (s *ContactDataRequest) SetSystemEndpoint(v *Endpoint) *ContactDataRequest { + s.SystemEndpoint = v + return s +} + // Filters user data based on the contact information that is associated to // the users. It contains a list of contact states (https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html). type ContactFilter struct { @@ -36582,6 +36953,39 @@ func (s DisassociateTrafficDistributionGroupUserOutput) GoString() string { return s.String() } +// Contains details about why a contact was disconnected. Only Amazon Connect +// outbound campaigns can provide this field. +type DisconnectReason struct { + _ struct{} `type:"structure"` + + // A code that indicates how the contact was terminated. + Code *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DisconnectReason) 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 DisconnectReason) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *DisconnectReason) SetCode(v string) *DisconnectReason { + s.Code = &v + return s +} + type DismissUserContactInput struct { _ struct{} `type:"structure"` @@ -36927,6 +37331,47 @@ func (s *EncryptionConfig) SetKeyId(v string) *EncryptionConfig { return s } +// Information about the endpoint. +type Endpoint struct { + _ struct{} `type:"structure"` + + // Address of the endpoint. + Address *string `type:"string"` + + // Type of the endpoint. + Type *string `type:"string" enum:"EndpointType"` +} + +// 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 Endpoint) 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 Endpoint) GoString() string { + return s.String() +} + +// SetAddress sets the Address field's value. +func (s *Endpoint) SetAddress(v string) *Endpoint { + s.Address = &v + return s +} + +// SetType sets the Type field's value. +func (s *Endpoint) SetType(v string) *Endpoint { + s.Type = &v + return s +} + // Information about a contact evaluation. type Evaluation struct { _ struct{} `type:"structure"` @@ -38966,6 +39411,57 @@ func (s *EventBridgeActionDefinition) SetName(v string) *EventBridgeActionDefini return s } +// Request for which contact failed to be generated. +type FailedRequest struct { + _ struct{} `type:"structure"` + + // Reason code for the failure. + FailureReasonCode *string `type:"string" enum:"FailureReasonCode"` + + // Why the request to create a contact failed. + FailureReasonMessage *string `type:"string"` + + // Request identifier provided in the API call in the ContactDataRequest to + // create a contact. + RequestIdentifier *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FailedRequest) 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 FailedRequest) GoString() string { + return s.String() +} + +// SetFailureReasonCode sets the FailureReasonCode field's value. +func (s *FailedRequest) SetFailureReasonCode(v string) *FailedRequest { + s.FailureReasonCode = &v + return s +} + +// SetFailureReasonMessage sets the FailureReasonMessage field's value. +func (s *FailedRequest) SetFailureReasonMessage(v string) *FailedRequest { + s.FailureReasonMessage = &v + return s +} + +// SetRequestIdentifier sets the RequestIdentifier field's value. +func (s *FailedRequest) SetRequestIdentifier(v string) *FailedRequest { + s.RequestIdentifier = &v + return s +} + // Contains the filter to apply when retrieving metrics with the GetMetricDataV2 // (https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricDataV2.html) // API. @@ -56931,6 +57427,10 @@ type StopContactInput struct { // ContactId is a required field ContactId *string `min:"1" type:"string" required:"true"` + // The reason a contact can be disconnected. Only Amazon Connect outbound campaigns + // can provide this field. + DisconnectReason *DisconnectReason `type:"structure"` + // The identifier of the Amazon Connect instance. You can find the instance // ID (https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html) // in the Amazon Resource Name (ARN) of the instance. @@ -56985,6 +57485,12 @@ func (s *StopContactInput) SetContactId(v string) *StopContactInput { return s } +// SetDisconnectReason sets the DisconnectReason field's value. +func (s *StopContactInput) SetDisconnectReason(v *DisconnectReason) *StopContactInput { + s.DisconnectReason = v + return s +} + // SetInstanceId sets the InstanceId field's value. func (s *StopContactInput) SetInstanceId(v string) *StopContactInput { s.InstanceId = &v @@ -57451,6 +57957,48 @@ func (s *SubmitContactEvaluationOutput) SetEvaluationId(v string) *SubmitContact return s } +// Request for which contact was successfully created. +type SuccessfulRequest struct { + _ struct{} `type:"structure"` + + // The contactId of the contact that was created successfully. + ContactId *string `min:"1" type:"string"` + + // Request identifier provided in the API call in the ContactDataRequest to + // create a contact. + RequestIdentifier *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SuccessfulRequest) 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 SuccessfulRequest) GoString() string { + return s.String() +} + +// SetContactId sets the ContactId field's value. +func (s *SuccessfulRequest) SetContactId(v string) *SuccessfulRequest { + s.ContactId = &v + return s +} + +// SetRequestIdentifier sets the RequestIdentifier field's value. +func (s *SuccessfulRequest) SetRequestIdentifier(v string) *SuccessfulRequest { + s.RequestIdentifier = &v + return s +} + type SuspendContactRecordingInput struct { _ struct{} `type:"structure"` @@ -66580,6 +67128,26 @@ func EncryptionType_Values() []string { } } +const ( + // EndpointTypeTelephoneNumber is a EndpointType enum value + EndpointTypeTelephoneNumber = "TELEPHONE_NUMBER" + + // EndpointTypeVoip is a EndpointType enum value + EndpointTypeVoip = "VOIP" + + // EndpointTypeContactFlow is a EndpointType enum value + EndpointTypeContactFlow = "CONTACT_FLOW" +) + +// EndpointType_Values returns all elements of the EndpointType enum +func EndpointType_Values() []string { + return []string{ + EndpointTypeTelephoneNumber, + EndpointTypeVoip, + EndpointTypeContactFlow, + } +} + const ( // EvaluationFormQuestionTypeText is a EvaluationFormQuestionType enum value EvaluationFormQuestionTypeText = "TEXT" @@ -66720,6 +67288,54 @@ func EventSourceName_Values() []string { } } +const ( + // FailureReasonCodeInvalidAttributeKey is a FailureReasonCode enum value + FailureReasonCodeInvalidAttributeKey = "INVALID_ATTRIBUTE_KEY" + + // FailureReasonCodeInvalidCustomerEndpoint is a FailureReasonCode enum value + FailureReasonCodeInvalidCustomerEndpoint = "INVALID_CUSTOMER_ENDPOINT" + + // FailureReasonCodeInvalidSystemEndpoint is a FailureReasonCode enum value + FailureReasonCodeInvalidSystemEndpoint = "INVALID_SYSTEM_ENDPOINT" + + // FailureReasonCodeInvalidQueue is a FailureReasonCode enum value + FailureReasonCodeInvalidQueue = "INVALID_QUEUE" + + // FailureReasonCodeMissingCampaign is a FailureReasonCode enum value + FailureReasonCodeMissingCampaign = "MISSING_CAMPAIGN" + + // FailureReasonCodeMissingCustomerEndpoint is a FailureReasonCode enum value + FailureReasonCodeMissingCustomerEndpoint = "MISSING_CUSTOMER_ENDPOINT" + + // FailureReasonCodeMissingQueueIdAndSystemEndpoint is a FailureReasonCode enum value + FailureReasonCodeMissingQueueIdAndSystemEndpoint = "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT" + + // FailureReasonCodeRequestThrottled is a FailureReasonCode enum value + FailureReasonCodeRequestThrottled = "REQUEST_THROTTLED" + + // FailureReasonCodeIdempotencyException is a FailureReasonCode enum value + FailureReasonCodeIdempotencyException = "IDEMPOTENCY_EXCEPTION" + + // FailureReasonCodeInternalError is a FailureReasonCode enum value + FailureReasonCodeInternalError = "INTERNAL_ERROR" +) + +// FailureReasonCode_Values returns all elements of the FailureReasonCode enum +func FailureReasonCode_Values() []string { + return []string{ + FailureReasonCodeInvalidAttributeKey, + FailureReasonCodeInvalidCustomerEndpoint, + FailureReasonCodeInvalidSystemEndpoint, + FailureReasonCodeInvalidQueue, + FailureReasonCodeMissingCampaign, + FailureReasonCodeMissingCustomerEndpoint, + FailureReasonCodeMissingQueueIdAndSystemEndpoint, + FailureReasonCodeRequestThrottled, + FailureReasonCodeIdempotencyException, + FailureReasonCodeInternalError, + } +} + const ( // GroupingQueue is a Grouping enum value GroupingQueue = "QUEUE" diff --git a/service/connect/connectiface/interface.go b/service/connect/connectiface/interface.go index 9c4c3e302b8..f06c36857c3 100644 --- a/service/connect/connectiface/interface.go +++ b/service/connect/connectiface/interface.go @@ -112,6 +112,10 @@ type ConnectAPI interface { BatchGetFlowAssociationWithContext(aws.Context, *connect.BatchGetFlowAssociationInput, ...request.Option) (*connect.BatchGetFlowAssociationOutput, error) BatchGetFlowAssociationRequest(*connect.BatchGetFlowAssociationInput) (*request.Request, *connect.BatchGetFlowAssociationOutput) + BatchPutContact(*connect.BatchPutContactInput) (*connect.BatchPutContactOutput, error) + BatchPutContactWithContext(aws.Context, *connect.BatchPutContactInput, ...request.Option) (*connect.BatchPutContactOutput, error) + BatchPutContactRequest(*connect.BatchPutContactInput) (*request.Request, *connect.BatchPutContactOutput) + ClaimPhoneNumber(*connect.ClaimPhoneNumberInput) (*connect.ClaimPhoneNumberOutput, error) ClaimPhoneNumberWithContext(aws.Context, *connect.ClaimPhoneNumberInput, ...request.Option) (*connect.ClaimPhoneNumberOutput, error) ClaimPhoneNumberRequest(*connect.ClaimPhoneNumberInput) (*request.Request, *connect.ClaimPhoneNumberOutput) diff --git a/service/costexplorer/api.go b/service/costexplorer/api.go index 94801762a49..c3d4d3b2d3c 100644 --- a/service/costexplorer/api.go +++ b/service/costexplorer/api.go @@ -6614,7 +6614,7 @@ func (s *EBSResourceUtilization) SetEbsWriteOpsPerSecond(v string) *EBSResourceU return s } -// Details about the Amazon EC2 instances that Amazon Web Services recommends +// Details about the Amazon EC2 reservations that Amazon Web Services recommends // that you purchase. type EC2InstanceDetails struct { _ struct{} `type:"structure"` @@ -6931,8 +6931,8 @@ func (s *EC2Specification) SetOfferingClass(v string) *EC2Specification { return s } -// Details about the Amazon OpenSearch Service instances that Amazon Web Services -// recommends that you purchase. +// Details about the Amazon OpenSearch Service reservations that Amazon Web +// Services recommends that you purchase. type ESInstanceDetails struct { _ struct{} `type:"structure"` @@ -7000,8 +7000,8 @@ func (s *ESInstanceDetails) SetSizeFlexEligible(v bool) *ESInstanceDetails { return s } -// Details about the Amazon ElastiCache instances that Amazon Web Services recommends -// that you purchase. +// Details about the Amazon ElastiCache reservations that Amazon Web Services +// recommends that you purchase. type ElastiCacheInstanceDetails struct { _ struct{} `type:"structure"` @@ -11711,26 +11711,32 @@ func (s *Impact) SetTotalImpactPercentage(v float64) *Impact { return s } -// Details about the instances that Amazon Web Services recommends that you +// Details about the reservations that Amazon Web Services recommends that you // purchase. type InstanceDetails struct { _ struct{} `type:"structure"` - // The Amazon EC2 instances that Amazon Web Services recommends that you purchase. + // The Amazon EC2 reservations that Amazon Web Services recommends that you + // purchase. EC2InstanceDetails *EC2InstanceDetails `type:"structure"` - // The Amazon OpenSearch Service instances that Amazon Web Services recommends + // The Amazon OpenSearch Service reservations that Amazon Web Services recommends // that you purchase. ESInstanceDetails *ESInstanceDetails `type:"structure"` - // The ElastiCache instances that Amazon Web Services recommends that you purchase. + // The ElastiCache reservations that Amazon Web Services recommends that you + // purchase. ElastiCacheInstanceDetails *ElastiCacheInstanceDetails `type:"structure"` - // The Amazon RDS instances that Amazon Web Services recommends that you purchase. - RDSInstanceDetails *RDSInstanceDetails `type:"structure"` + // The MemoryDB reservations that Amazon Web Services recommends that you purchase. + MemoryDBInstanceDetails *MemoryDBInstanceDetails `type:"structure"` - // The Amazon Redshift instances that Amazon Web Services recommends that you + // The Amazon RDS reservations that Amazon Web Services recommends that you // purchase. + RDSInstanceDetails *RDSInstanceDetails `type:"structure"` + + // The Amazon Redshift reservations that Amazon Web Services recommends that + // you purchase. RedshiftInstanceDetails *RedshiftInstanceDetails `type:"structure"` } @@ -11770,6 +11776,12 @@ func (s *InstanceDetails) SetElastiCacheInstanceDetails(v *ElastiCacheInstanceDe return s } +// SetMemoryDBInstanceDetails sets the MemoryDBInstanceDetails field's value. +func (s *InstanceDetails) SetMemoryDBInstanceDetails(v *MemoryDBInstanceDetails) *InstanceDetails { + s.MemoryDBInstanceDetails = v + return s +} + // SetRDSInstanceDetails sets the RDSInstanceDetails field's value. func (s *InstanceDetails) SetRDSInstanceDetails(v *RDSInstanceDetails) *InstanceDetails { s.RDSInstanceDetails = v @@ -12333,6 +12345,75 @@ func (s *ListTagsForResourceOutput) SetResourceTags(v []*ResourceTag) *ListTagsF return s } +// Details about the MemoryDB reservations that Amazon Web Services recommends +// that you purchase. +type MemoryDBInstanceDetails struct { + _ struct{} `type:"structure"` + + // Determines whether the recommendation is for a current generation instance. + CurrentGeneration *bool `type:"boolean"` + + // The instance family of the recommended reservation. + Family *string `type:"string"` + + // The node type of the recommended reservation. + NodeType *string `type:"string"` + + // The Amazon Web Services Region of the recommended reservation. + Region *string `type:"string"` + + // Determines whether the recommended reservation is size flexible. + SizeFlexEligible *bool `type:"boolean"` +} + +// 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 MemoryDBInstanceDetails) 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 MemoryDBInstanceDetails) GoString() string { + return s.String() +} + +// SetCurrentGeneration sets the CurrentGeneration field's value. +func (s *MemoryDBInstanceDetails) SetCurrentGeneration(v bool) *MemoryDBInstanceDetails { + s.CurrentGeneration = &v + return s +} + +// SetFamily sets the Family field's value. +func (s *MemoryDBInstanceDetails) SetFamily(v string) *MemoryDBInstanceDetails { + s.Family = &v + return s +} + +// SetNodeType sets the NodeType field's value. +func (s *MemoryDBInstanceDetails) SetNodeType(v string) *MemoryDBInstanceDetails { + s.NodeType = &v + return s +} + +// SetRegion sets the Region field's value. +func (s *MemoryDBInstanceDetails) SetRegion(v string) *MemoryDBInstanceDetails { + s.Region = &v + return s +} + +// SetSizeFlexEligible sets the SizeFlexEligible field's value. +func (s *MemoryDBInstanceDetails) SetSizeFlexEligible(v bool) *MemoryDBInstanceDetails { + s.SizeFlexEligible = &v + return s +} + // The aggregated value for a metric. type MetricValue struct { _ struct{} `type:"structure"` @@ -12562,7 +12643,7 @@ func (s *ProvideAnomalyFeedbackOutput) SetAnomalyId(v string) *ProvideAnomalyFee return s } -// Details about the Amazon RDS instances that Amazon Web Services recommends +// Details about the Amazon RDS reservations that Amazon Web Services recommends // that you purchase. type RDSInstanceDetails struct { _ struct{} `type:"structure"` @@ -13040,7 +13121,7 @@ func (s *RecommendationDetailHourlyMetrics) SetStartTime(v string) *Recommendati return s } -// Details about the Amazon Redshift instances that Amazon Web Services recommends +// Details about the Amazon Redshift reservations that Amazon Web Services recommends // that you purchase. type RedshiftInstanceDetails struct { _ struct{} `type:"structure"` @@ -13536,7 +13617,7 @@ type ReservationPurchaseRecommendationDetail struct { // during the specified historical period if you had a reservation. EstimatedReservationCostForLookbackPeriod *string `type:"string"` - // Details about the instances that Amazon Web Services recommends that you + // Details about the reservations that Amazon Web Services recommends that you // purchase. InstanceDetails *InstanceDetails `type:"structure"` diff --git a/service/docdb/api.go b/service/docdb/api.go index 34843b85431..44a7dcafe7a 100644 --- a/service/docdb/api.go +++ b/service/docdb/api.go @@ -6028,6 +6028,53 @@ func (s *Certificate) SetValidTill(v time.Time) *Certificate { return s } +// Returns the details of the DB instance’s server certificate. +// +// For more information, see Updating Your Amazon DocumentDB TLS Certificates +// (https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) +// and Encrypting Data in Transit (https://docs.aws.amazon.com/documentdb/latest/developerguide/security.encryption.ssl.html) +// in the Amazon DocumentDB Developer Guide. +type CertificateDetails struct { + _ struct{} `type:"structure"` + + // The CA identifier of the CA certificate used for the DB instance's server + // certificate. + CAIdentifier *string `type:"string"` + + // The expiration date of the DB instance’s server certificate. + ValidTill *time.Time `type:"timestamp"` +} + +// 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 CertificateDetails) 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 CertificateDetails) GoString() string { + return s.String() +} + +// SetCAIdentifier sets the CAIdentifier field's value. +func (s *CertificateDetails) SetCAIdentifier(v string) *CertificateDetails { + s.CAIdentifier = &v + return s +} + +// SetValidTill sets the ValidTill field's value. +func (s *CertificateDetails) SetValidTill(v time.Time) *CertificateDetails { + s.ValidTill = &v + return s +} + // The configuration setting for the log types to be enabled for export to Amazon // CloudWatch Logs for a specific instance or cluster. // @@ -7054,6 +7101,14 @@ type CreateDBInstanceInput struct { // Example: us-east-1d AvailabilityZone *string `type:"string"` + // The CA certificate identifier to use for the DB instance's server certificate. + // + // For more information, see Updating Your Amazon DocumentDB TLS Certificates + // (https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + // and Encrypting Data in Transit (https://docs.aws.amazon.com/documentdb/latest/developerguide/security.encryption.ssl.html) + // in the Amazon DocumentDB Developer Guide. + CACertificateIdentifier *string `type:"string"` + // A value that indicates whether to copy tags from the DB instance to snapshots // of the DB instance. By default, tags are not copied. CopyTagsToSnapshot *bool `type:"boolean"` @@ -7185,6 +7240,12 @@ func (s *CreateDBInstanceInput) SetAvailabilityZone(v string) *CreateDBInstanceI return s } +// SetCACertificateIdentifier sets the CACertificateIdentifier field's value. +func (s *CreateDBInstanceInput) SetCACertificateIdentifier(v string) *CreateDBInstanceInput { + s.CACertificateIdentifier = &v + return s +} + // SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. func (s *CreateDBInstanceInput) SetCopyTagsToSnapshot(v bool) *CreateDBInstanceInput { s.CopyTagsToSnapshot = &v @@ -8515,6 +8576,18 @@ type DBEngineVersion struct { // CloudWatch Logs. ExportableLogTypes []*string `type:"list"` + // A list of the supported CA certificate identifiers. + // + // For more information, see Updating Your Amazon DocumentDB TLS Certificates + // (https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + // and Encrypting Data in Transit (https://docs.aws.amazon.com/documentdb/latest/developerguide/security.encryption.ssl.html) + // in the Amazon DocumentDB Developer Guide. + SupportedCACertificateIdentifiers []*string `type:"list"` + + // Indicates whether the engine version supports rotating the server certificate + // without rebooting the DB instance. + SupportsCertificateRotationWithoutRestart *bool `type:"boolean"` + // A value that indicates whether the engine version supports exporting the // log types specified by ExportableLogTypes to CloudWatch Logs. SupportsLogExportsToCloudwatchLogs *bool `type:"boolean"` @@ -8578,6 +8651,18 @@ func (s *DBEngineVersion) SetExportableLogTypes(v []*string) *DBEngineVersion { return s } +// SetSupportedCACertificateIdentifiers sets the SupportedCACertificateIdentifiers field's value. +func (s *DBEngineVersion) SetSupportedCACertificateIdentifiers(v []*string) *DBEngineVersion { + s.SupportedCACertificateIdentifiers = v + return s +} + +// SetSupportsCertificateRotationWithoutRestart sets the SupportsCertificateRotationWithoutRestart field's value. +func (s *DBEngineVersion) SetSupportsCertificateRotationWithoutRestart(v bool) *DBEngineVersion { + s.SupportsCertificateRotationWithoutRestart = &v + return s +} + // SetSupportsLogExportsToCloudwatchLogs sets the SupportsLogExportsToCloudwatchLogs field's value. func (s *DBEngineVersion) SetSupportsLogExportsToCloudwatchLogs(v bool) *DBEngineVersion { s.SupportsLogExportsToCloudwatchLogs = &v @@ -8609,6 +8694,9 @@ type DBInstance struct { // The identifier of the CA certificate for this DB instance. CACertificateIdentifier *string `type:"string"` + // The details of the DB instance's server certificate. + CertificateDetails *CertificateDetails `type:"structure"` + // A value that indicates whether to copy tags from the DB instance to snapshots // of the DB instance. By default, tags are not copied. CopyTagsToSnapshot *bool `type:"boolean"` @@ -8737,6 +8825,12 @@ func (s *DBInstance) SetCACertificateIdentifier(v string) *DBInstance { return s } +// SetCertificateDetails sets the CertificateDetails field's value. +func (s *DBInstance) SetCertificateDetails(v *CertificateDetails) *DBInstance { + s.CertificateDetails = v + return s +} + // SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. func (s *DBInstance) SetCopyTagsToSnapshot(v bool) *DBInstance { s.CopyTagsToSnapshot = &v @@ -13223,6 +13317,21 @@ type ModifyDBInstanceInput struct { // Indicates the certificate that needs to be associated with the instance. CACertificateIdentifier *string `type:"string"` + // Specifies whether the DB instance is restarted when you rotate your SSL/TLS + // certificate. + // + // By default, the DB instance is restarted when you rotate your SSL/TLS certificate. + // The certificate is not updated until the DB instance is restarted. + // + // Set this parameter only if you are not using SSL/TLS to connect to the DB + // instance. + // + // If you are using SSL/TLS to connect to the DB instance, see Updating Your + // Amazon DocumentDB TLS Certificates (https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + // and Encrypting Data in Transit (https://docs.aws.amazon.com/documentdb/latest/developerguide/security.encryption.ssl.html) + // in the Amazon DocumentDB Developer Guide. + CertificateRotationRestart *bool `type:"boolean"` + // A value that indicates whether to copy all tags from the DB instance to snapshots // of the DB instance. By default, tags are not copied. CopyTagsToSnapshot *bool `type:"boolean"` @@ -13355,6 +13464,12 @@ func (s *ModifyDBInstanceInput) SetCACertificateIdentifier(v string) *ModifyDBIn return s } +// SetCertificateRotationRestart sets the CertificateRotationRestart field's value. +func (s *ModifyDBInstanceInput) SetCertificateRotationRestart(v bool) *ModifyDBInstanceInput { + s.CertificateRotationRestart = &v + return s +} + // SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. func (s *ModifyDBInstanceInput) SetCopyTagsToSnapshot(v bool) *ModifyDBInstanceInput { s.CopyTagsToSnapshot = &v diff --git a/service/mwaa/api.go b/service/mwaa/api.go index 963a2ec205a..ae6ad925579 100644 --- a/service/mwaa/api.go +++ b/service/mwaa/api.go @@ -699,7 +699,12 @@ const opPublishMetrics = "PublishMetrics" // } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/PublishMetrics +// +// Deprecated: This API is for internal use and not meant for public use, and is no longer available. func (c *MWAA) PublishMetricsRequest(input *PublishMetricsInput) (req *request.Request, output *PublishMetricsOutput) { + if c.Client.Config.Logger != nil { + c.Client.Config.Logger.Log("This operation, PublishMetrics, has been deprecated") + } op := &request.Operation{ Name: opPublishMetrics, HTTPMethod: "POST", @@ -738,6 +743,8 @@ func (c *MWAA) PublishMetricsRequest(input *PublishMetricsInput) (req *request.R // InternalServerException: An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/PublishMetrics +// +// Deprecated: This API is for internal use and not meant for public use, and is no longer available. func (c *MWAA) PublishMetrics(input *PublishMetricsInput) (*PublishMetricsOutput, error) { req, out := c.PublishMetricsRequest(input) return out, req.Send() @@ -752,6 +759,8 @@ func (c *MWAA) PublishMetrics(input *PublishMetricsInput) (*PublishMetricsOutput // 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. +// +// Deprecated: This API is for internal use and not meant for public use, and is no longer available. func (c *MWAA) PublishMetricsWithContext(ctx aws.Context, input *PublishMetricsInput, opts ...request.Option) (*PublishMetricsOutput, error) { req, out := c.PublishMetricsRequest(input) req.SetContext(ctx) @@ -1198,9 +1207,10 @@ type CreateEnvironmentInput struct { AirflowConfigurationOptions map[string]*string `type:"map" sensitive:"true"` // The Apache Airflow version for your environment. If no value is specified, - // it defaults to the latest version. Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, - // and 2.5.1. For more information, see Apache Airflow versions on Amazon Managed - // Workflows for Apache Airflow (MWAA) (https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html). + // it defaults to the latest version. For more information, see Apache Airflow + // versions on Amazon Managed Workflows for Apache Airflow (MWAA) (https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html). + // + // Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2. AirflowVersion *string `min:"1" type:"string"` // The relative path to the DAGs folder on your Amazon S3 bucket. For example, @@ -1764,8 +1774,10 @@ func (s DeleteEnvironmentOutput) GoString() string { // Internal only. Represents the dimensions of a metric. To learn more about // the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics // in Amazon CloudWatch (https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html). +// +// Deprecated: This type is for internal use and not meant for public use. Data set for this type will be ignored. type Dimension struct { - _ struct{} `type:"structure"` + _ struct{} `deprecated:"true" type:"structure"` // Internal only. The name of the dimension. // @@ -1837,8 +1849,9 @@ type Environment struct { // String and GoString methods. AirflowConfigurationOptions map[string]*string `type:"map" sensitive:"true"` - // The Apache Airflow version on your environment. Valid values: 1.10.12, 2.0.2, - // 2.2.2, 2.4.3, and 2.5.1. + // The Apache Airflow version on your environment. + // + // Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2. AirflowVersion *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the Amazon MWAA environment. @@ -2756,11 +2769,13 @@ func (s *LoggingConfigurationInput) SetWorkerLogs(v *ModuleLoggingConfigurationI // Internal only. Collects Apache Airflow metrics. To learn more about the metrics // published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon // CloudWatch (https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html). +// +// Deprecated: This type is for internal use and not meant for public use. Data set for this type will be ignored. type MetricDatum struct { - _ struct{} `type:"structure"` + _ struct{} `deprecated:"true" type:"structure"` // Internal only. The dimensions associated with the metric. - Dimensions []*Dimension `type:"list"` + Dimensions []*Dimension `deprecated:"true" type:"list"` // Internal only. The name of the metric. // @@ -2768,7 +2783,7 @@ type MetricDatum struct { MetricName *string `type:"string" required:"true"` // Internal only. The statistical values for the metric. - StatisticValues *StatisticSet `type:"structure"` + StatisticValues *StatisticSet `deprecated:"true" type:"structure"` // Internal only. The time the metric data was received. // @@ -3037,8 +3052,9 @@ func (s *NetworkConfiguration) SetSubnetIds(v []*string) *NetworkConfiguration { return s } +// Deprecated: This type is for internal use and not meant for public use. Data set for this type will be ignored. type PublishMetricsInput struct { - _ struct{} `type:"structure"` + _ struct{} `deprecated:"true" type:"structure"` // Internal only. The name of the environment. // @@ -3050,7 +3066,7 @@ type PublishMetricsInput struct { // in Amazon CloudWatch (https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html). // // MetricData is a required field - MetricData []*MetricDatum `type:"list" required:"true"` + MetricData []*MetricDatum `deprecated:"true" type:"list" required:"true"` } // String returns the string representation. @@ -3112,8 +3128,9 @@ func (s *PublishMetricsInput) SetMetricData(v []*MetricDatum) *PublishMetricsInp return s } +// Deprecated: This type is for internal use and not meant for public use. Data set for this type will be ignored. type PublishMetricsOutput struct { - _ struct{} `type:"structure"` + _ struct{} `deprecated:"true" type:"structure"` } // String returns the string representation. @@ -3201,8 +3218,10 @@ func (s *ResourceNotFoundException) RequestID() string { // Internal only. Represents a set of statistics that describe a specific metric. // To learn more about the metrics published to Amazon CloudWatch, see Amazon // MWAA performance metrics in Amazon CloudWatch (https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html). +// +// Deprecated: This type is for internal use and not meant for public use. Data set for this type will be ignored. type StatisticSet struct { - _ struct{} `type:"structure"` + _ struct{} `deprecated:"true" type:"structure"` // Internal only. The maximum value of the sample set. Maximum *float64 `type:"double"` @@ -3456,7 +3475,7 @@ type UpdateEnvironmentInput struct { // Airflow version. For more information about updating your resources, see // Upgrading an Amazon MWAA environment (https://docs.aws.amazon.com/mwaa/latest/userguide/upgrading-environment.html). // - // Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, and 2.5.1. + // Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2. AirflowVersion *string `min:"1" type:"string"` // The relative path to the DAGs folder on your Amazon S3 bucket. For example, diff --git a/service/mwaa/doc.go b/service/mwaa/doc.go index 996e9701af9..da11df858e1 100644 --- a/service/mwaa/doc.go +++ b/service/mwaa/doc.go @@ -23,14 +23,10 @@ // the Airflow environment. CreateCliToken (https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html) // CreateWebLoginToken (https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html) // -// - ops.airflow.{region}.amazonaws.com - This endpoint is used to push environment -// metrics that track environment health. PublishMetrics (https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html) -// // # Regions // -// For a list of regions that Amazon MWAA supports, see Region availability -// (https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html#regions-mwaa) -// in the Amazon MWAA User Guide. +// For a list of supported regions, see Amazon MWAA endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/mwaa.html) +// in the Amazon Web Services General Reference. // // See https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01 for more information on this service. // diff --git a/service/polly/api.go b/service/polly/api.go index e2d1da7e207..05c6b23e3dd 100644 --- a/service/polly/api.go +++ b/service/polly/api.go @@ -4415,6 +4415,12 @@ const ( // VoiceIdZayd is a VoiceId enum value VoiceIdZayd = "Zayd" + + // VoiceIdDanielle is a VoiceId enum value + VoiceIdDanielle = "Danielle" + + // VoiceIdGregory is a VoiceId enum value + VoiceIdGregory = "Gregory" ) // VoiceId_Values returns all elements of the VoiceId enum @@ -4513,5 +4519,7 @@ func VoiceId_Values() []string { VoiceIdLisa, VoiceIdIsabelle, VoiceIdZayd, + VoiceIdDanielle, + VoiceIdGregory, } }