diff --git a/codegen/sdk-codegen/aws-models/api-gateway.json b/codegen/sdk-codegen/aws-models/api-gateway.json index 718c4eb85f0..70d7472e29c 100644 --- a/codegen/sdk-codegen/aws-models/api-gateway.json +++ b/codegen/sdk-codegen/aws-models/api-gateway.json @@ -6478,7 +6478,20 @@ "outputToken": "position", "items": "items", "pageSize": "limit" - } + }, + "smithy.test#smokeTests": [ + { + "id": "GetDomainNamesSuccess", + "params": {}, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.apigateway#GetDomainNamesRequest": { diff --git a/codegen/sdk-codegen/aws-models/cognito-identity.json b/codegen/sdk-codegen/aws-models/cognito-identity.json index fa5c4a69b1a..858d327920f 100644 --- a/codegen/sdk-codegen/aws-models/cognito-identity.json +++ b/codegen/sdk-codegen/aws-models/cognito-identity.json @@ -117,7 +117,7 @@ "sdkId": "Cognito Identity", "arnNamespace": "cognito-identity", "cloudFormationName": "Cognito", - "cloudTrailEventSource": "cognitoidentity.amazonaws.com", + "cloudTrailEventSource": "cognito-identity.amazonaws.com", "endpointPrefix": "cognito-identity" }, "aws.auth#sigv4": { @@ -2484,7 +2484,22 @@ "outputToken": "NextToken", "items": "IdentityPools", "pageSize": "MaxResults" - } + }, + "smithy.test#smokeTests": [ + { + "id": "ListIdentityPoolsSuccess", + "params": { + "MaxResults": 10 + }, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.cognitoidentity#ListIdentityPoolsInput": { diff --git a/codegen/sdk-codegen/aws-models/connect.json b/codegen/sdk-codegen/aws-models/connect.json index 7a735258203..04b778e2b98 100644 --- a/codegen/sdk-codegen/aws-models/connect.json +++ b/codegen/sdk-codegen/aws-models/connect.json @@ -52,6 +52,15 @@ "smithy.api#httpError": 403 } }, + "com.amazonaws.connect#AccessTokenDuration": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 10, + "max": 60 + } + } + }, "com.amazonaws.connect#ActionSummaries": { "type": "list", "member": { @@ -375,7 +384,7 @@ } }, "traits": { - "smithy.api#documentation": "

A structure that defines search criteria for contacts using agent hierarchy group levels.\n For more information about agent hierarchies, see Set Up Agent Hierarchies in the\n Amazon Connect Administrator Guide.

" + "smithy.api#documentation": "

A structure that defines search criteria for contacts using agent hierarchy group levels.\n For more information about agent hierarchies, see Set Up Agent Hierarchies in the\n Amazon Connect Administrator Guide.

" } }, "com.amazonaws.connect#AgentId": { @@ -733,7 +742,7 @@ } }, "traits": { - "smithy.api#documentation": "

Can be used to define a list of preferred agents to target the contact within the queue.\n Note that agents must have the queue in their routing profile in order to be offered the\n contact.

" + "smithy.api#documentation": "

Can be used to define a list of preferred agents to target the contact within the queue.\n Note that agents must have the queue in their routing profile in order to be offered the\n contact.

" } }, "com.amazonaws.connect#AgentsMinOneMaxHundred": { @@ -1021,6 +1030,9 @@ { "target": "com.amazonaws.connect#DescribeAgentStatus" }, + { + "target": "com.amazonaws.connect#DescribeAuthenticationProfile" + }, { "target": "com.amazonaws.connect#DescribeContact" }, @@ -1177,6 +1189,9 @@ { "target": "com.amazonaws.connect#ListApprovedOrigins" }, + { + "target": "com.amazonaws.connect#ListAuthenticationProfiles" + }, { "target": "com.amazonaws.connect#ListBots" }, @@ -1423,6 +1438,9 @@ { "target": "com.amazonaws.connect#UpdateAgentStatus" }, + { + "target": "com.amazonaws.connect#UpdateAuthenticationProfile" + }, { "target": "com.amazonaws.connect#UpdateContact" }, @@ -1571,7 +1589,7 @@ "name": "connect" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Connect is a cloud-based contact center solution that you use to set up and\n manage a customer contact center and provide reliable customer engagement at any scale.

\n

Amazon Connect provides metrics and real-time reporting that enable you to optimize\n contact routing. You can also resolve customer issues more efficiently by getting customers in\n touch with the appropriate agents.

\n

There are limits to the number of Amazon Connect resources that you can create. There\n are also limits to the number of requests that you can make per second. For more information, see\n Amazon Connect Service Quotas in the Amazon Connect Administrator\n Guide.

\n

You can connect programmatically to an Amazon Web Services service by using an endpoint. For\n a list of Amazon Connect endpoints, see Amazon Connect Endpoints.

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

Amazon Connect is a cloud-based contact center solution that you use to set up and\n manage a customer contact center and provide reliable customer engagement at any scale.

\n

Amazon Connect provides metrics and real-time reporting that enable you to optimize\n contact routing. You can also resolve customer issues more efficiently by getting customers in\n touch with the appropriate agents.

\n

There are limits to the number of Amazon Connect resources that you can create. There\n are also limits to the number of requests that you can make per second. For more information, see\n Amazon Connect Service Quotas in the Amazon Connect Administrator\n Guide.

\n

You can connect programmatically to an Amazon Web Services service by using an endpoint. For\n a list of Amazon Connect endpoints, see Amazon Connect Endpoints.

", "smithy.api#title": "Amazon Connect Service", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -3965,6 +3983,165 @@ "smithy.api#default": 0 } }, + "com.amazonaws.connect#AuthenticationProfile": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#AuthenticationProfileId", + "traits": { + "smithy.api#documentation": "

A unique identifier for the authentication profile.

" + } + }, + "Arn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the authentication profile.

" + } + }, + "Name": { + "target": "com.amazonaws.connect#AuthenticationProfileName", + "traits": { + "smithy.api#documentation": "

The name for the authentication profile.

" + } + }, + "Description": { + "target": "com.amazonaws.connect#AuthenticationProfileDescription", + "traits": { + "smithy.api#documentation": "

The description for the authentication profile.

" + } + }, + "AllowedIps": { + "target": "com.amazonaws.connect#IpCidrList", + "traits": { + "smithy.api#documentation": "

A list of IP address range strings that are allowed to access the Amazon Connect\n instance. For more information about how to configure IP addresses, see Configure\n IP address based access control in the Amazon Connect Administrator\n Guide.

" + } + }, + "BlockedIps": { + "target": "com.amazonaws.connect#IpCidrList", + "traits": { + "smithy.api#documentation": "

A list of IP address range strings that are blocked from accessing the Amazon Connect\n instance. For more information about how to configure IP addresses, see Configure\n IP address based access control in the Amazon Connect Administrator\n Guide.

" + } + }, + "IsDefault": { + "target": "com.amazonaws.connect#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Shows whether the authentication profile is the default authentication profile for the\n Amazon Connect instance. The default authentication profile applies to all agents in an\n Amazon Connect instance, unless overridden by another authentication profile.

" + } + }, + "CreatedTime": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp when the authentication profile was created.

" + } + }, + "LastModifiedTime": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp when the authentication profile was last modified.

" + } + }, + "LastModifiedRegion": { + "target": "com.amazonaws.connect#RegionName", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Region where the authentication profile was last modified.

" + } + }, + "PeriodicSessionDuration": { + "target": "com.amazonaws.connect#AccessTokenDuration", + "traits": { + "smithy.api#documentation": "

The short lived session duration configuration for users logged in to Amazon Connect, in\n minutes. This value determines the maximum possible time before an agent is authenticated. For\n more information, see Configure the session duration in the Amazon Connect Administrator\n Guide.

" + } + }, + "MaxSessionDuration": { + "target": "com.amazonaws.connect#RefreshTokenDuration", + "traits": { + "smithy.api#documentation": "

The long lived session duration for users logged in to Amazon Connect, in minutes. After\n this time period, users must log in again. For more information, see Configure the session duration in the Amazon Connect Administrator\n Guide.

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

This API is in preview release for Amazon Connect and is subject to change. To \nrequest access to this API, contact Amazon Web Services Support.

\n

Information about an authentication profile. An authentication profile is a resource that\n stores the authentication settings for users in your contact center. You use authentication\n profiles to set up IP address range restrictions and session timeouts. For more information, see \n Set IP address restrictions or session timeouts. \n

" + } + }, + "com.amazonaws.connect#AuthenticationProfileDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 250 + } + } + }, + "com.amazonaws.connect#AuthenticationProfileId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.connect#AuthenticationProfileName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.connect#AuthenticationProfileSummary": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.connect#AuthenticationProfileId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the authentication profile.

" + } + }, + "Arn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the authentication profile summary.

" + } + }, + "Name": { + "target": "com.amazonaws.connect#AuthenticationProfileName", + "traits": { + "smithy.api#documentation": "

The name of the authentication profile summary.

" + } + }, + "IsDefault": { + "target": "com.amazonaws.connect#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Shows whether the authentication profile is the default authentication profile for the\n Amazon Connect instance. The default authentication profile applies to all agents in an\n Amazon Connect instance, unless overridden by another authentication profile.

" + } + }, + "LastModifiedTime": { + "target": "com.amazonaws.connect#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp when the authentication profile summary was last modified.

" + } + }, + "LastModifiedRegion": { + "target": "com.amazonaws.connect#RegionName", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Region when the authentication profile summary was last\n modified.

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

This API is in preview release for Amazon Connect and is subject to change. To \nrequest access to this API, contact Amazon Web Services Support.

\n

A summary of a given authentication profile.

" + } + }, + "com.amazonaws.connect#AuthenticationProfileSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#AuthenticationProfileSummary" + } + }, "com.amazonaws.connect#AutoAccept": { "type": "boolean", "traits": { @@ -4945,7 +5122,7 @@ "InstanceId": { "target": "com.amazonaws.connect#InstanceId", "traits": { - "smithy.api#documentation": "

The unique identifier of the Connect instance.

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

The unique identifier of the Amazon Connect instance.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -10902,6 +11079,78 @@ "smithy.api#output": {} } }, + "com.amazonaws.connect#DescribeAuthenticationProfile": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#DescribeAuthenticationProfileRequest" + }, + "output": { + "target": "com.amazonaws.connect#DescribeAuthenticationProfileResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidParameterException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

This API is in preview release for Amazon Connect and is subject to change. To \nrequest access to this API, contact Amazon Web Services Support.

\n

Describes the target authentication profile.

", + "smithy.api#http": { + "method": "GET", + "uri": "/authentication-profiles/{InstanceId}/{AuthenticationProfileId}", + "code": 200 + } + } + }, + "com.amazonaws.connect#DescribeAuthenticationProfileRequest": { + "type": "structure", + "members": { + "AuthenticationProfileId": { + "target": "com.amazonaws.connect#AuthenticationProfileId", + "traits": { + "smithy.api#documentation": "

A unique identifier for the authentication profile.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.connect#DescribeAuthenticationProfileResponse": { + "type": "structure", + "members": { + "AuthenticationProfile": { + "target": "com.amazonaws.connect#AuthenticationProfile", + "traits": { + "smithy.api#documentation": "

The authentication profile object being described.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.connect#DescribeContact": { "type": "operation", "input": { @@ -18833,6 +19082,22 @@ "target": "com.amazonaws.connect#InvisibleFieldInfo" } }, + "com.amazonaws.connect#IpCidr": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 50 + }, + "smithy.api#pattern": "^[A-Za-z0-9:/]*$" + } + }, + "com.amazonaws.connect#IpCidrList": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#IpCidr" + } + }, "com.amazonaws.connect#JoinToken": { "type": "string", "traits": { @@ -19306,6 +19571,96 @@ "smithy.api#output": {} } }, + "com.amazonaws.connect#ListAuthenticationProfiles": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#ListAuthenticationProfilesRequest" + }, + "output": { + "target": "com.amazonaws.connect#ListAuthenticationProfilesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidParameterException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

This API is in preview release for Amazon Connect and is subject to change. To \nrequest access to this API, contact Amazon Web Services Support.

\n

Provides summary information about the authentication profiles in a specified Amazon Connect instance.

", + "smithy.api#http": { + "method": "GET", + "uri": "/authentication-profiles-summary/{InstanceId}", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "AuthenticationProfileSummaryList", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.connect#ListAuthenticationProfilesRequest": { + "type": "structure", + "members": { + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MaxResults": { + "target": "com.amazonaws.connect#MaxResult1000", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return per page.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.connect#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.connect#ListAuthenticationProfilesResponse": { + "type": "structure", + "members": { + "AuthenticationProfileSummaryList": { + "target": "com.amazonaws.connect#AuthenticationProfileSummaryList", + "traits": { + "smithy.api#documentation": "

A summary of a given authentication profile.

" + } + }, + "NextToken": { + "target": "com.amazonaws.connect#NextToken", + "traits": { + "smithy.api#documentation": "

If there are additional results, this is the token for the next set of results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.connect#ListBots": { "type": "operation", "input": { @@ -28305,6 +28660,15 @@ } } }, + "com.amazonaws.connect#RefreshTokenDuration": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 360, + "max": 720 + } + } + }, "com.amazonaws.connect#RegionName": { "type": "string", "traits": { @@ -29886,7 +30250,7 @@ "ContactFlows": { "target": "com.amazonaws.connect#ContactFlowSearchSummaryList", "traits": { - "smithy.api#documentation": "

Information about the contact flows.

" + "smithy.api#documentation": "

Information about the flows.

" } }, "NextToken": { @@ -32056,7 +32420,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides a pre-signed Amazon S3 URL in response for uploading your content.

\n \n

You may only use this API to upload attachments to a Connect\n Case.

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

Provides a pre-signed Amazon S3 URL in response for uploading your content.

\n \n

You may only use this API to upload attachments to an Amazon Connect Case.

\n
", "smithy.api#http": { "method": "PUT", "uri": "/attached-files/{InstanceId}", @@ -32077,7 +32441,7 @@ "InstanceId": { "target": "com.amazonaws.connect#InstanceId", "traits": { - "smithy.api#documentation": "

The unique identifier of the Connect instance.

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

The unique identifier of the Amazon Connect instance.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -32917,7 +33281,7 @@ "ContactFlowId": { "target": "com.amazonaws.connect#ContactFlowId", "traits": { - "smithy.api#documentation": "

The identifier of the flow for the call. To see the ContactFlowId in the Amazon Connect admin website, on the\n navigation menu go to Routing, Contact\n Flows. Choose the flow. On the flow page, under the name of the flow, choose\n Show additional flow information. The ContactFlowId is the last\n part of the ARN, shown here in bold:

\n

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx\n

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

The identifier of the flow for the call. To see the ContactFlowId in the Amazon Connect admin website, on the\n navigation menu go to Routing, Flows. Choose the flow. On the flow page, under the name of the flow, choose\n Show additional flow information. The ContactFlowId is the last\n part of the ARN, shown here in bold:

\n

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx\n

", "smithy.api#required": {} } }, @@ -35101,6 +35465,94 @@ "smithy.api#input": {} } }, + "com.amazonaws.connect#UpdateAuthenticationProfile": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#UpdateAuthenticationProfileRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidParameterException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

This API is in preview release for Amazon Connect and is subject to change. To \nrequest access to this API, contact Amazon Web Services Support.

\n

Updates the selected authentication profile.

", + "smithy.api#http": { + "method": "POST", + "uri": "/authentication-profiles/{InstanceId}/{AuthenticationProfileId}", + "code": 200 + } + } + }, + "com.amazonaws.connect#UpdateAuthenticationProfileRequest": { + "type": "structure", + "members": { + "AuthenticationProfileId": { + "target": "com.amazonaws.connect#AuthenticationProfileId", + "traits": { + "smithy.api#documentation": "

A unique identifier for the authentication profile.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "

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

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.connect#AuthenticationProfileName", + "traits": { + "smithy.api#documentation": "

The name for the authentication profile.

" + } + }, + "Description": { + "target": "com.amazonaws.connect#AuthenticationProfileDescription", + "traits": { + "smithy.api#documentation": "

The description for the authentication profile.

" + } + }, + "AllowedIps": { + "target": "com.amazonaws.connect#IpCidrList", + "traits": { + "smithy.api#documentation": "

A list of IP address range strings that are allowed to access the instance. For more\n information on how to configure IP addresses, seeConfigure session timeouts in the Amazon Connect Administrator\n Guide.

" + } + }, + "BlockedIps": { + "target": "com.amazonaws.connect#IpCidrList", + "traits": { + "smithy.api#documentation": "

A list of IP address range strings that are blocked from accessing the instance. For more\n information on how to configure IP addresses, For more information on how to configure IP\n addresses, see Configure\n IP-based access control in the Amazon Connect Administrator\n Guide.

" + } + }, + "PeriodicSessionDuration": { + "target": "com.amazonaws.connect#AccessTokenDuration", + "traits": { + "smithy.api#documentation": "

The short lived session duration configuration for users logged in to Amazon Connect, in\n minutes. This value determines the maximum possible time before an agent is authenticated. For\n more information, For more information on how to configure IP addresses, see Configure session timeouts in the Amazon Connect Administrator\n Guide.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.connect#UpdateCaseActionDefinition": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/docdb.json b/codegen/sdk-codegen/aws-models/docdb.json index 4d44afab95d..5dd71316973 100644 --- a/codegen/sdk-codegen/aws-models/docdb.json +++ b/codegen/sdk-codegen/aws-models/docdb.json @@ -4675,7 +4675,20 @@ "outputToken": "Marker", "items": "DBEngineVersions", "pageSize": "MaxRecords" - } + }, + "smithy.test#smokeTests": [ + { + "id": "DescribeDBEngineVersionsSuccess", + "params": {}, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.docdb#DescribeDBEngineVersionsMessage": { diff --git a/codegen/sdk-codegen/aws-models/eks.json b/codegen/sdk-codegen/aws-models/eks.json index d6916f4981d..ab611be9b6b 100644 --- a/codegen/sdk-codegen/aws-models/eks.json +++ b/codegen/sdk-codegen/aws-models/eks.json @@ -2312,6 +2312,12 @@ "traits": { "smithy.api#enumValue": "SPOT" } + }, + "CAPACITY_BLOCK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CAPACITY_BLOCK" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/payment-cryptography-data.json b/codegen/sdk-codegen/aws-models/payment-cryptography-data.json index b4d185a3ffa..cb412cc47a4 100644 --- a/codegen/sdk-codegen/aws-models/payment-cryptography-data.json +++ b/codegen/sdk-codegen/aws-models/payment-cryptography-data.json @@ -123,7 +123,7 @@ } }, "PanSequenceNumber": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals2", + "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals2", "traits": { "smithy.api#documentation": "

A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).

", "smithy.api#required": {} @@ -327,7 +327,7 @@ "KeyIdentifier": { "target": "com.amazonaws.paymentcryptographydata#KeyArnOrKeyAliasType", "traits": { - "smithy.api#documentation": "

The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.

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

The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.

\n

When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -345,6 +345,12 @@ "smithy.api#documentation": "

The encryption key type and attributes for ciphertext decryption.

", "smithy.api#required": {} } + }, + "WrappedKey": { + "target": "com.amazonaws.paymentcryptographydata#WrappedKey", + "traits": { + "smithy.api#documentation": "

The WrappedKeyBlock containing the encryption key for ciphertext decryption.

" + } } }, "traits": { @@ -569,7 +575,7 @@ } }, "PanSequenceNumber": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals2", + "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals2", "traits": { "smithy.api#documentation": "

A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).

", "smithy.api#required": {} @@ -598,7 +604,7 @@ "type": "structure", "members": { "PanSequenceNumber": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals2", + "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals2", "traits": { "smithy.api#documentation": "

A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).

", "smithy.api#required": {} @@ -648,7 +654,7 @@ } }, "PanSequenceNumber": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals2", + "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals2", "traits": { "smithy.api#documentation": "

A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).

", "smithy.api#required": {} @@ -748,7 +754,7 @@ "KeyIdentifier": { "target": "com.amazonaws.paymentcryptographydata#KeyArnOrKeyAliasType", "traits": { - "smithy.api#documentation": "

The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.

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

The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.

\n

When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -766,6 +772,12 @@ "smithy.api#documentation": "

The encryption key type and attributes for plaintext encryption.

", "smithy.api#required": {} } + }, + "WrappedKey": { + "target": "com.amazonaws.paymentcryptographydata#WrappedKey", + "traits": { + "smithy.api#documentation": "

The WrappedKeyBlock containing the encryption key for plaintext encryption.

" + } } }, "traits": { @@ -1361,16 +1373,6 @@ "smithy.api#pattern": "^[0-9a-fA-F]+$" } }, - "com.amazonaws.paymentcryptographydata#HexLengthEquals2": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 2, - "max": 2 - }, - "smithy.api#pattern": "^[0-9a-fA-F]+$" - } - }, "com.amazonaws.paymentcryptographydata#HexLengthEquals4": { "type": "string", "traits": { @@ -1557,12 +1559,12 @@ "smithy.api#documentation": "

Parameters that are required to generate or verify Ibm3624 random PIN.

" } }, - "com.amazonaws.paymentcryptographydata#IntegerRangeBetween0And9": { + "com.amazonaws.paymentcryptographydata#IntegerRangeBetween0And6": { "type": "integer", "traits": { "smithy.api#range": { "min": 0, - "max": 9 + "max": 6 } } }, @@ -1636,6 +1638,21 @@ "smithy.api#pattern": "^[0-9a-fA-F]+$" } }, + "com.amazonaws.paymentcryptographydata#KeyCheckValueAlgorithm": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CMAC", + "name": "CMAC" + }, + { + "value": "ANSI_X9_24", + "name": "ANSI_X9_24" + } + ] + } + }, "com.amazonaws.paymentcryptographydata#MacAlgorithm": { "type": "string", "traits": { @@ -1717,7 +1734,7 @@ } }, "PanSequenceNumber": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals2", + "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals2", "traits": { "smithy.api#documentation": "

A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).

", "smithy.api#required": {} @@ -1846,6 +1863,16 @@ "smithy.api#pattern": "^[0-9]+$" } }, + "com.amazonaws.paymentcryptographydata#NumberLengthEquals2": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 2 + }, + "smithy.api#pattern": "^[0-9]+$" + } + }, "com.amazonaws.paymentcryptographydata#NumberLengthEquals3": { "type": "string", "traits": { @@ -2731,7 +2758,7 @@ } ], "traits": { - "smithy.api#documentation": "

Re-encrypt ciphertext using DUKPT, Symmetric and Asymmetric Data Encryption Keys.

\n

You can either generate an encryption key within Amazon Web Services Payment Cryptography by calling CreateKey or import your own encryption key by calling ImportKey. The KeyArn for use with this operation must be in a compatible key state with KeyModesOfUse set to Encrypt. In asymmetric encryption, ciphertext is encrypted using public component (imported by calling ImportKey) of the asymmetric key pair created outside of Amazon Web Services Payment Cryptography.

\n

For symmetric and DUKPT encryption, Amazon Web Services Payment Cryptography supports TDES and AES algorithms. For asymmetric encryption, Amazon Web Services Payment Cryptography supports RSA. To encrypt using DUKPT, a DUKPT key must already exist within your account with KeyModesOfUse set to DeriveKey or a new DUKPT can be generated by calling CreateKey.

\n

For information about valid keys for this operation, see Understanding key attributes and Key types for specific data operations in the Amazon Web Services Payment Cryptography User Guide.

\n

\n Cross-account use: This operation can't be used across different Amazon Web Services accounts.

\n

\n Related operations:\n

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

Re-encrypt ciphertext using DUKPT or Symmetric data encryption keys.

\n

You can either generate an encryption key within Amazon Web Services Payment Cryptography by calling CreateKey or import your own encryption key by calling ImportKey. The KeyArn for use with this operation must be in a compatible key state with KeyModesOfUse set to Encrypt.

\n

For symmetric and DUKPT encryption, Amazon Web Services Payment Cryptography supports TDES and AES algorithms. To encrypt using DUKPT, a DUKPT key must already exist within your account with KeyModesOfUse set to DeriveKey or a new DUKPT can be generated by calling CreateKey.

\n

For information about valid keys for this operation, see Understanding key attributes and Key types for specific data operations in the Amazon Web Services Payment Cryptography User Guide.

\n

\n Cross-account use: This operation can't be used across different Amazon Web Services accounts.

\n

\n Related operations:\n

\n ", "smithy.api#http": { "method": "POST", "uri": "/keys/{IncomingKeyIdentifier}/reencrypt", @@ -2745,7 +2772,7 @@ "IncomingKeyIdentifier": { "target": "com.amazonaws.paymentcryptographydata#KeyArnOrKeyAliasType", "traits": { - "smithy.api#documentation": "

The keyARN of the encryption key of incoming ciphertext data.

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

The keyARN of the encryption key of incoming ciphertext data.

\n

When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2777,6 +2804,18 @@ "smithy.api#documentation": "

The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.

", "smithy.api#required": {} } + }, + "IncomingWrappedKey": { + "target": "com.amazonaws.paymentcryptographydata#WrappedKey", + "traits": { + "smithy.api#documentation": "

The WrappedKeyBlock containing the encryption key of incoming ciphertext data.

" + } + }, + "OutgoingWrappedKey": { + "target": "com.amazonaws.paymentcryptographydata#WrappedKey", + "traits": { + "smithy.api#documentation": "

The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.

" + } } }, "traits": { @@ -2856,7 +2895,7 @@ } }, "PanSequenceNumber": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals2", + "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals2", "traits": { "smithy.api#documentation": "

A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).

", "smithy.api#required": {} @@ -2963,7 +3002,7 @@ } }, "PanSequenceNumber": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals2", + "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals2", "traits": { "smithy.api#documentation": "

A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).

", "smithy.api#required": {} @@ -2992,7 +3031,7 @@ } }, "PanSequenceNumber": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals2", + "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals2", "traits": { "smithy.api#documentation": "

A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).

", "smithy.api#required": {} @@ -3021,7 +3060,7 @@ } }, "PanSequenceNumber": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals2", + "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals2", "traits": { "smithy.api#documentation": "

A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).

", "smithy.api#required": {} @@ -3057,7 +3096,7 @@ } }, "PanSequenceNumber": { - "target": "com.amazonaws.paymentcryptographydata#HexLengthEquals2", + "target": "com.amazonaws.paymentcryptographydata#NumberLengthEquals2", "traits": { "smithy.api#documentation": "

A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).

", "smithy.api#required": {} @@ -3108,6 +3147,17 @@ "smithy.api#httpError": 429 } }, + "com.amazonaws.paymentcryptographydata#Tr31WrappedKeyBlock": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 56, + "max": 9984 + }, + "smithy.api#pattern": "^[0-9A-Z]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.paymentcryptographydata#TranslatePinData": { "type": "operation", "input": { @@ -3148,7 +3198,7 @@ "IncomingKeyIdentifier": { "target": "com.amazonaws.paymentcryptographydata#KeyArnOrKeyAliasType", "traits": { - "smithy.api#documentation": "

The keyARN of the encryption key under which incoming PIN block data is encrypted. This key type can be PEK or BDK.

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

The keyARN of the encryption key under which incoming PIN block data is encrypted. This key type can be PEK or BDK.

\n

When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key for PIN block. Otherwise, it is the key identifier used to perform the operation.

", "smithy.api#required": {} } }, @@ -3191,6 +3241,18 @@ "traits": { "smithy.api#documentation": "

The attributes and values to use for outgoing DUKPT encryption key after PIN block translation.

" } + }, + "IncomingWrappedKey": { + "target": "com.amazonaws.paymentcryptographydata#WrappedKey", + "traits": { + "smithy.api#documentation": "

The WrappedKeyBlock containing the encryption key under which incoming PIN block data is encrypted.

" + } + }, + "OutgoingWrappedKey": { + "target": "com.amazonaws.paymentcryptographydata#WrappedKey", + "traits": { + "smithy.api#documentation": "

The WrappedKeyBlock containing the encryption key for encrypting outgoing PIN block data.

" + } } }, "traits": { @@ -3825,7 +3887,7 @@ "type": "structure", "members": { "PinVerificationKeyIndex": { - "target": "com.amazonaws.paymentcryptographydata#IntegerRangeBetween0And9", + "target": "com.amazonaws.paymentcryptographydata#IntegerRangeBetween0And6", "traits": { "smithy.api#documentation": "

The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).

", "smithy.api#required": {} @@ -3840,7 +3902,7 @@ "type": "structure", "members": { "PinVerificationKeyIndex": { - "target": "com.amazonaws.paymentcryptographydata#IntegerRangeBetween0And9", + "target": "com.amazonaws.paymentcryptographydata#IntegerRangeBetween0And6", "traits": { "smithy.api#documentation": "

The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).

", "smithy.api#required": {} @@ -3869,7 +3931,7 @@ } }, "PinVerificationKeyIndex": { - "target": "com.amazonaws.paymentcryptographydata#IntegerRangeBetween0And9", + "target": "com.amazonaws.paymentcryptographydata#IntegerRangeBetween0And6", "traits": { "smithy.api#documentation": "

The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).

", "smithy.api#required": {} @@ -3879,6 +3941,41 @@ "traits": { "smithy.api#documentation": "

Parameters that are required to generate or verify Visa PVV (PIN Verification Value).

" } + }, + "com.amazonaws.paymentcryptographydata#WrappedKey": { + "type": "structure", + "members": { + "WrappedKeyMaterial": { + "target": "com.amazonaws.paymentcryptographydata#WrappedKeyMaterial", + "traits": { + "smithy.api#documentation": "

Parameter information of a WrappedKeyBlock for encryption key exchange.

", + "smithy.api#required": {} + } + }, + "KeyCheckValueAlgorithm": { + "target": "com.amazonaws.paymentcryptographydata#KeyCheckValueAlgorithm", + "traits": { + "smithy.api#documentation": "

The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.

\n

For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.

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

Parameter information of a WrappedKeyBlock for encryption key exchange.

" + } + }, + "com.amazonaws.paymentcryptographydata#WrappedKeyMaterial": { + "type": "union", + "members": { + "Tr31KeyBlock": { + "target": "com.amazonaws.paymentcryptographydata#Tr31WrappedKeyBlock", + "traits": { + "smithy.api#documentation": "

The TR-31 wrapped key block.

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

Parameter information of a WrappedKeyBlock for encryption key exchange.

" + } } } } \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/payment-cryptography.json b/codegen/sdk-codegen/aws-models/payment-cryptography.json index 0a26efe18c1..7de7326ffe0 100644 --- a/codegen/sdk-codegen/aws-models/payment-cryptography.json +++ b/codegen/sdk-codegen/aws-models/payment-cryptography.json @@ -456,6 +456,16 @@ "smithy.api#output": {} } }, + "com.amazonaws.paymentcryptography#EvenHexLengthBetween16And32": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 16, + "max": 32 + }, + "smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$" + } + }, "com.amazonaws.paymentcryptography#ExportAttributes": { "type": "structure", "members": { @@ -682,7 +692,7 @@ } }, "RandomNonce": { - "target": "com.amazonaws.paymentcryptography#HexLength16", + "target": "com.amazonaws.paymentcryptography#EvenHexLengthBetween16And32", "traits": { "smithy.api#documentation": "

A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.

" } @@ -1113,16 +1123,6 @@ "smithy.api#output": {} } }, - "com.amazonaws.paymentcryptography#HexLength16": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 16, - "max": 16 - }, - "smithy.api#pattern": "^[0-9A-F]+$" - } - }, "com.amazonaws.paymentcryptography#HexLength20Or24": { "type": "string", "traits": { @@ -1366,7 +1366,7 @@ } }, "RandomNonce": { - "target": "com.amazonaws.paymentcryptography#HexLength16", + "target": "com.amazonaws.paymentcryptography#EvenHexLengthBetween16And32", "traits": { "smithy.api#documentation": "

A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.

" } @@ -3552,7 +3552,8 @@ "min": 56, "max": 9984 }, - "smithy.api#pattern": "^[0-9A-Z]+$" + "smithy.api#pattern": "^[0-9A-Z]+$", + "smithy.api#sensitive": {} } }, "com.amazonaws.paymentcryptography#Tr34KeyBlockFormat": { diff --git a/codegen/sdk-codegen/aws-models/sfn.json b/codegen/sdk-codegen/aws-models/sfn.json index 2ba9e6cc3f2..ec94cc0dae1 100644 --- a/codegen/sdk-codegen/aws-models/sfn.json +++ b/codegen/sdk-codegen/aws-models/sfn.json @@ -150,7 +150,7 @@ "sdkId": "SFN", "arnNamespace": "states", "cloudFormationName": "StepFunctions", - "cloudTrailEventSource": "sfn.amazonaws.com", + "cloudTrailEventSource": "states.amazonaws.com", "docId": "states-2016-11-23", "endpointPrefix": "states" }, @@ -4222,7 +4222,20 @@ "outputToken": "nextToken", "items": "activities", "pageSize": "maxResults" - } + }, + "smithy.test#smokeTests": [ + { + "id": "ListActivitiesSuccess", + "params": {}, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.sfn#ListActivitiesInput": { diff --git a/codegen/sdk-codegen/aws-models/swf.json b/codegen/sdk-codegen/aws-models/swf.json index 03d54ccf9cf..be786921950 100644 --- a/codegen/sdk-codegen/aws-models/swf.json +++ b/codegen/sdk-codegen/aws-models/swf.json @@ -3761,7 +3761,22 @@ "outputToken": "nextPageToken", "items": "domainInfos", "pageSize": "maximumPageSize" - } + }, + "smithy.test#smokeTests": [ + { + "id": "ListDomainsSuccess", + "params": { + "registrationStatus": "REGISTERED" + }, + "vendorParams": { + "region": "us-west-2" + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "expect": { + "success": {} + } + } + ] } }, "com.amazonaws.swf#ListDomainsInput": { diff --git a/codegen/sdk-codegen/aws-models/wafv2.json b/codegen/sdk-codegen/aws-models/wafv2.json index a1d41b158cd..3c9d522963e 100644 --- a/codegen/sdk-codegen/aws-models/wafv2.json +++ b/codegen/sdk-codegen/aws-models/wafv2.json @@ -7153,7 +7153,7 @@ "InvalidFallbackBehavior": { "target": "com.amazonaws.wafv2#BodyParsingFallbackBehavior", "traits": { - "smithy.api#documentation": "

What WAF should do if it fails to completely parse the JSON body. The options are\n the following:

\n \n

If you don't provide this setting, WAF parses and evaluates the content only up to the\n first parsing failure that it encounters.

\n

WAF does its best to parse the entire JSON body, but might be forced to stop for\n reasons such as invalid characters, duplicate keys, truncation, and any content whose root\n node isn't an object or an array.

\n

WAF parses the JSON in the following examples as two valid key, value pairs:

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

What WAF should do if it fails to completely parse the JSON body. The options are\n the following:

\n \n

If you don't provide this setting, WAF parses and evaluates the content only up to the\n first parsing failure that it encounters.

\n \n

WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When \n parsing succeeds, WAF doesn't apply the fallback behavior. For more information, \n see JSON body \n in the WAF Developer Guide.

\n
" } }, "OversizeHandling": { @@ -7164,7 +7164,7 @@ } }, "traits": { - "smithy.api#documentation": "

Inspect the body of the web request as JSON. The body immediately follows the request\n headers.

\n

This is used to indicate the web request component to inspect, in the FieldToMatch specification.

\n

Use the specifications in this object to indicate which parts of the JSON body to\n inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON\n that result from the matches that you indicate.\n

\n

Example JSON: \"JsonBody\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"ALL\"\n }\n

" + "smithy.api#documentation": "

Inspect the body of the web request as JSON. The body immediately follows the request\n headers.

\n

This is used to indicate the web request component to inspect, in the FieldToMatch specification.

\n

Use the specifications in this object to indicate which parts of the JSON body to\n inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON\n that result from the matches that you indicate.

\n

Example JSON: \"JsonBody\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"ALL\"\n }\n

\n

For additional information about this request component option, see JSON body \n in the WAF Developer Guide.

" } }, "com.amazonaws.wafv2#JsonMatchPattern": {