diff --git a/.changes/2.1652.0.json b/.changes/2.1652.0.json new file mode 100644 index 0000000000..2c516b3688 --- /dev/null +++ b/.changes/2.1652.0.json @@ -0,0 +1,47 @@ +[ + { + "type": "feature", + "category": "APIGateway", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." + }, + { + "type": "feature", + "category": "CognitoIdentity", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." + }, + { + "type": "feature", + "category": "Connect", + "description": "Authentication profiles are Amazon Connect resources (in gated preview) that allow you to configure authentication settings for users in your contact center. This release adds support for new ListAuthenticationProfiles, DescribeAuthenticationProfile and UpdateAuthenticationProfile APIs." + }, + { + "type": "feature", + "category": "DocDB", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." + }, + { + "type": "feature", + "category": "EKS", + "description": "Updates EKS managed node groups to support EC2 Capacity Blocks for ML" + }, + { + "type": "feature", + "category": "PaymentCryptography", + "description": "Added further restrictions on logging of potentially sensitive inputs and outputs." + }, + { + "type": "feature", + "category": "PaymentCryptographyData", + "description": "Adding support for dynamic keys for encrypt, decrypt, re-encrypt and translate pin functions. With this change, customers can use one-time TR-31 keys directly in dataplane operations without the need to first import them into the service." + }, + { + "type": "feature", + "category": "SWF", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." + }, + { + "type": "feature", + "category": "StepFunctions", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index daf3068b3c..25e9bd8ecd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,18 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1652.0 +* feature: APIGateway: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* feature: CognitoIdentity: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* feature: Connect: Authentication profiles are Amazon Connect resources (in gated preview) that allow you to configure authentication settings for users in your contact center. This release adds support for new ListAuthenticationProfiles, DescribeAuthenticationProfile and UpdateAuthenticationProfile APIs. +* feature: DocDB: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* feature: EKS: Updates EKS managed node groups to support EC2 Capacity Blocks for ML +* feature: PaymentCryptography: Added further restrictions on logging of potentially sensitive inputs and outputs. +* feature: PaymentCryptographyData: Adding support for dynamic keys for encrypt, decrypt, re-encrypt and translate pin functions. With this change, customers can use one-time TR-31 keys directly in dataplane operations without the need to first import them into the service. +* feature: SWF: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* feature: StepFunctions: Add v2 smoke tests and smithy smokeTests trait for SDK testing. + ## 2.1651.0 * feature: ACMPCA: Added CCPC_LEVEL_1_OR_HIGHER KeyStorageSecurityStandard and SM2 KeyAlgorithm and SM3WITHSM2 SigningAlgorithm for China regions. * feature: CloudHSMV2: Added 3 new APIs to support backup sharing: GetResourcePolicy, PutResourcePolicy, and DeleteResourcePolicy. Added BackupArn to the output of the DescribeBackups API. Added support for BackupArn in the CreateCluster API. diff --git a/README.md b/README.md index c8b2f66fc4..215c8d98c8 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true; To use the SDK in the browser, simply add the following script tag to your HTML pages: - + You can also build a custom browser SDK with your specified set of AWS services. This can allow you to reduce the SDK's size, specify different API versions of diff --git a/apis/apigateway-2015-07-09.min.json b/apis/apigateway-2015-07-09.min.json index da85f017ed..4010e4fc8a 100644 --- a/apis/apigateway-2015-07-09.min.json +++ b/apis/apigateway-2015-07-09.min.json @@ -4,10 +4,16 @@ "apiVersion": "2015-07-09", "endpointPrefix": "apigateway", "protocol": "rest-json", + "protocols": [ + "rest-json" + ], "serviceFullName": "Amazon API Gateway", "serviceId": "API Gateway", "signatureVersion": "v4", - "uid": "apigateway-2015-07-09" + "uid": "apigateway-2015-07-09", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "CreateApiKey": { diff --git a/apis/apigateway-2015-07-09.normal.json b/apis/apigateway-2015-07-09.normal.json index 460444e39d..507f8e091c 100644 --- a/apis/apigateway-2015-07-09.normal.json +++ b/apis/apigateway-2015-07-09.normal.json @@ -4,10 +4,16 @@ "apiVersion": "2015-07-09", "endpointPrefix": "apigateway", "protocol": "rest-json", + "protocols": [ + "rest-json" + ], "serviceFullName": "Amazon API Gateway", "serviceId": "API Gateway", "signatureVersion": "v4", - "uid": "apigateway-2015-07-09" + "uid": "apigateway-2015-07-09", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "CreateApiKey": { diff --git a/apis/cognito-identity-2014-06-30.min.json b/apis/cognito-identity-2014-06-30.min.json index 8c8b7a6ad4..8cf8ab2c49 100644 --- a/apis/cognito-identity-2014-06-30.min.json +++ b/apis/cognito-identity-2014-06-30.min.json @@ -5,11 +5,17 @@ "endpointPrefix": "cognito-identity", "jsonVersion": "1.1", "protocol": "json", + "protocols": [ + "json" + ], "serviceFullName": "Amazon Cognito Identity", "serviceId": "Cognito Identity", "signatureVersion": "v4", "targetPrefix": "AWSCognitoIdentityService", - "uid": "cognito-identity-2014-06-30" + "uid": "cognito-identity-2014-06-30", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "CreateIdentityPool": { @@ -148,7 +154,10 @@ } } }, - "authtype": "none" + "authtype": "none", + "auth": [ + "smithy.api#noAuth" + ] }, "GetId": { "input": { @@ -170,7 +179,10 @@ "IdentityId": {} } }, - "authtype": "none" + "authtype": "none", + "auth": [ + "smithy.api#noAuth" + ] }, "GetIdentityPoolRoles": { "input": { @@ -215,7 +227,10 @@ "Token": {} } }, - "authtype": "none" + "authtype": "none", + "auth": [ + "smithy.api#noAuth" + ] }, "GetOpenIdTokenForDeveloperIdentity": { "input": { @@ -508,7 +523,10 @@ } } }, - "authtype": "none" + "authtype": "none", + "auth": [ + "smithy.api#noAuth" + ] }, "UntagResource": { "input": { diff --git a/apis/cognito-identity-2014-06-30.normal.json b/apis/cognito-identity-2014-06-30.normal.json index 008dbae6dd..99e3048c5f 100644 --- a/apis/cognito-identity-2014-06-30.normal.json +++ b/apis/cognito-identity-2014-06-30.normal.json @@ -5,11 +5,17 @@ "endpointPrefix": "cognito-identity", "jsonVersion": "1.1", "protocol": "json", + "protocols": [ + "json" + ], "serviceFullName": "Amazon Cognito Identity", "serviceId": "Cognito Identity", "signatureVersion": "v4", "targetPrefix": "AWSCognitoIdentityService", - "uid": "cognito-identity-2014-06-30" + "uid": "cognito-identity-2014-06-30", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "CreateIdentityPool": { @@ -200,7 +206,10 @@ } ], "documentation": "
Returns credentials for the provided identity ID. Any provided logins will be validated against supported login providers. If the token is for cognito-identity.amazonaws.com, it will be passed through to AWS Security Token Service with the appropriate role for the token.
This is a public API. You do not need any credentials to call this API.
", - "authtype": "none" + "authtype": "none", + "auth": [ + "smithy.api#noAuth" + ] }, "GetId": { "name": "GetId", @@ -241,7 +250,10 @@ } ], "documentation": "Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an implicit linked account.
This is a public API. You do not need any credentials to call this API.
", - "authtype": "none" + "authtype": "none", + "auth": [ + "smithy.api#noAuth" + ] }, "GetIdentityPoolRoles": { "name": "GetIdentityPoolRoles", @@ -313,7 +325,10 @@ } ], "documentation": "Gets an OpenID token, using a known Cognito ID. This known Cognito ID is returned by GetId. You can optionally add additional logins for the identity. Supplying multiple logins creates an implicit link.
The OpenID token is valid for 10 minutes.
This is a public API. You do not need any credentials to call this API.
", - "authtype": "none" + "authtype": "none", + "auth": [ + "smithy.api#noAuth" + ] }, "GetOpenIdTokenForDeveloperIdentity": { "name": "GetOpenIdTokenForDeveloperIdentity", @@ -704,7 +719,10 @@ } ], "documentation": "Unlinks a federated identity from an existing account. Unlinked logins will be considered new identities next time they are seen. Removing the last linked login will make this identity inaccessible.
This is a public API. You do not need any credentials to call this API.
", - "authtype": "none" + "authtype": "none", + "auth": [ + "smithy.api#noAuth" + ] }, "UntagResource": { "name": "UntagResource", diff --git a/apis/connect-2017-08-08.min.json b/apis/connect-2017-08-08.min.json index 0a6af5e01a..9f952a341f 100644 --- a/apis/connect-2017-08-08.min.json +++ b/apis/connect-2017-08-08.min.json @@ -2306,6 +2306,65 @@ } } }, + "DescribeAuthenticationProfile": { + "http": { + "method": "GET", + "requestUri": "/authentication-profiles/{InstanceId}/{AuthenticationProfileId}" + }, + "input": { + "type": "structure", + "required": [ + "AuthenticationProfileId", + "InstanceId" + ], + "members": { + "AuthenticationProfileId": { + "location": "uri", + "locationName": "AuthenticationProfileId" + }, + "InstanceId": { + "location": "uri", + "locationName": "InstanceId" + } + } + }, + "output": { + "type": "structure", + "members": { + "AuthenticationProfile": { + "type": "structure", + "members": { + "Id": {}, + "Arn": {}, + "Name": {}, + "Description": {}, + "AllowedIps": { + "shape": "Sch" + }, + "BlockedIps": { + "shape": "Sch" + }, + "IsDefault": { + "type": "boolean" + }, + "CreatedTime": { + "type": "timestamp" + }, + "LastModifiedTime": { + "type": "timestamp" + }, + "LastModifiedRegion": {}, + "PeriodicSessionDuration": { + "type": "integer" + }, + "MaxSessionDuration": { + "type": "integer" + } + } + } + } + } + }, "DescribeContact": { "http": { "method": "GET", @@ -2340,10 +2399,10 @@ "PreviousContactId": {}, "InitiationMethod": {}, "Name": { - "shape": "Scf" + "shape": "Scp" }, "Description": { - "shape": "Scg" + "shape": "Scq" }, "Channel": {}, "QueueInfo": { @@ -2369,27 +2428,27 @@ "type": "structure", "members": { "Level1": { - "shape": "Scn" + "shape": "Scx" }, "Level2": { - "shape": "Scn" + "shape": "Scx" }, "Level3": { - "shape": "Scn" + "shape": "Scx" }, "Level4": { - "shape": "Scn" + "shape": "Scx" }, "Level5": { - "shape": "Scn" + "shape": "Scx" } } }, "DeviceInfo": { - "shape": "Sco" + "shape": "Scy" }, "Capabilities": { - "shape": "Scs" + "shape": "Sd2" } } }, @@ -2431,7 +2490,7 @@ "type": "long" }, "Tags": { - "shape": "Scz" + "shape": "Sd9" }, "ConnectedToSystemTimestamp": { "type": "timestamp" @@ -2456,7 +2515,7 @@ } }, "Expression": { - "shape": "Sd7" + "shape": "Sdh" }, "Status": {} } @@ -2474,10 +2533,10 @@ "type": "structure", "members": { "DeviceInfo": { - "shape": "Sco" + "shape": "Scy" }, "Capabilities": { - "shape": "Scs" + "shape": "Sd2" } } }, @@ -2503,7 +2562,7 @@ "type": "structure", "members": { "Audio": { - "shape": "Sdo" + "shape": "Sdy" } } }, @@ -2511,7 +2570,7 @@ "type": "structure", "members": { "Audio": { - "shape": "Sdo" + "shape": "Sdy" } } } @@ -2524,7 +2583,7 @@ } }, "SegmentAttributes": { - "shape": "Sdv" + "shape": "Se5" } } } @@ -2586,7 +2645,7 @@ "EvaluatorArn": {}, "ContactAgentId": {}, "Score": { - "shape": "Se3" + "shape": "Sed" } } }, @@ -2597,23 +2656,23 @@ "type": "structure", "members": { "Value": { - "shape": "Se7" + "shape": "Seh" }, "SystemSuggestedValue": { - "shape": "Se7" + "shape": "Seh" } } } }, "Notes": { - "shape": "Sea" + "shape": "Sek" }, "Status": {}, "Scores": { "type": "map", "key": {}, "value": { - "shape": "Se3" + "shape": "Sed" } }, "CreatedTime": { @@ -2681,7 +2740,7 @@ "type": "structure", "members": { "ContactFlow": { - "shape": "Sei" + "shape": "Ses" } } } @@ -2712,7 +2771,7 @@ "type": "structure", "members": { "ContactFlowModule": { - "shape": "Sem" + "shape": "Sew" } } } @@ -2825,7 +2884,7 @@ "type": "structure", "members": { "HoursOfOperation": { - "shape": "Sew" + "shape": "Sf6" } } } @@ -2911,7 +2970,7 @@ "type": "structure", "members": { "Attribute": { - "shape": "Sf6" + "shape": "Sfg" } } } @@ -3025,7 +3084,7 @@ "type": "structure", "members": { "PredefinedAttribute": { - "shape": "Sfk" + "shape": "Sfu" } } } @@ -3056,7 +3115,7 @@ "type": "structure", "members": { "Prompt": { - "shape": "Sfn" + "shape": "Sfx" } } } @@ -3087,7 +3146,7 @@ "type": "structure", "members": { "Queue": { - "shape": "Sfq" + "shape": "Sg0" } } } @@ -3118,7 +3177,7 @@ "type": "structure", "members": { "QuickConnect": { - "shape": "Sfu" + "shape": "Sg4" } } } @@ -3149,7 +3208,7 @@ "type": "structure", "members": { "RoutingProfile": { - "shape": "Sfx" + "shape": "Sg7" } } } @@ -3409,19 +3468,19 @@ "type": "structure", "members": { "LevelOne": { - "shape": "Sgk" + "shape": "Sgu" }, "LevelTwo": { - "shape": "Sgk" + "shape": "Sgu" }, "LevelThree": { - "shape": "Sgk" + "shape": "Sgu" }, "LevelFour": { - "shape": "Sgk" + "shape": "Sgu" }, "LevelFive": { - "shape": "Sgk" + "shape": "Sgu" } } }, @@ -3461,19 +3520,19 @@ "type": "structure", "members": { "LevelOne": { - "shape": "Sgo" + "shape": "Sgy" }, "LevelTwo": { - "shape": "Sgo" + "shape": "Sgy" }, "LevelThree": { - "shape": "Sgo" + "shape": "Sgy" }, "LevelFour": { - "shape": "Sgo" + "shape": "Sgy" }, "LevelFive": { - "shape": "Sgo" + "shape": "Sgy" } } } @@ -4056,15 +4115,15 @@ "locationName": "InstanceId" }, "Filters": { - "shape": "Shp" + "shape": "Shz" }, "Groupings": { - "shape": "Shv" + "shape": "Si5" }, "CurrentMetrics": { "type": "list", "member": { - "shape": "Shy" + "shape": "Si8" } }, "NextToken": {}, @@ -4093,7 +4152,7 @@ "type": "structure", "members": { "Dimensions": { - "shape": "Si9" + "shape": "Sij" }, "Collections": { "type": "list", @@ -4101,7 +4160,7 @@ "type": "structure", "members": { "Metric": { - "shape": "Shy" + "shape": "Si8" }, "Value": { "type": "double" @@ -4140,7 +4199,7 @@ "type": "structure", "members": { "Queues": { - "shape": "Shq" + "shape": "Si0" }, "ContactFilter": { "type": "structure", @@ -4152,7 +4211,7 @@ } }, "RoutingProfiles": { - "shape": "Shs" + "shape": "Si2" }, "Agents": { "type": "list", @@ -4187,25 +4246,25 @@ } }, "RoutingProfile": { - "shape": "Sib" + "shape": "Sil" }, "HierarchyPath": { "type": "structure", "members": { "LevelOne": { - "shape": "Sis" + "shape": "Sj2" }, "LevelTwo": { - "shape": "Sis" + "shape": "Sj2" }, "LevelThree": { - "shape": "Sis" + "shape": "Sj2" }, "LevelFour": { - "shape": "Sis" + "shape": "Sj2" }, "LevelFive": { - "shape": "Sis" + "shape": "Sj2" } } }, @@ -4220,13 +4279,13 @@ } }, "AvailableSlotsByChannel": { - "shape": "Siu" + "shape": "Sj4" }, "MaxSlotsByChannel": { - "shape": "Siu" + "shape": "Sj4" }, "ActiveSlotsByChannel": { - "shape": "Siu" + "shape": "Sj4" }, "Contacts": { "type": "list", @@ -4244,7 +4303,7 @@ "type": "timestamp" }, "Queue": { - "shape": "Sia" + "shape": "Sik" } } } @@ -4283,13 +4342,13 @@ "type": "structure", "members": { "AccessToken": { - "shape": "Sj1" + "shape": "Sjb" }, "AccessTokenExpiration": { "type": "timestamp" }, "RefreshToken": { - "shape": "Sj1" + "shape": "Sjb" }, "RefreshTokenExpiration": { "type": "timestamp" @@ -4364,15 +4423,15 @@ "type": "timestamp" }, "Filters": { - "shape": "Shp" + "shape": "Shz" }, "Groupings": { - "shape": "Shv" + "shape": "Si5" }, "HistoricalMetrics": { "type": "list", "member": { - "shape": "Sj6" + "shape": "Sjg" } }, "NextToken": {}, @@ -4391,7 +4450,7 @@ "type": "structure", "members": { "Dimensions": { - "shape": "Si9" + "shape": "Sij" }, "Collections": { "type": "list", @@ -4399,7 +4458,7 @@ "type": "structure", "members": { "Metric": { - "shape": "Sj6" + "shape": "Sjg" }, "Value": { "type": "double" @@ -4461,7 +4520,7 @@ "Metrics": { "type": "list", "member": { - "shape": "Sjr" + "shape": "Sk1" } }, "NextToken": {}, @@ -4502,7 +4561,7 @@ "type": "structure", "members": { "Metric": { - "shape": "Sjr" + "shape": "Sk1" }, "Value": { "type": "double" @@ -4632,15 +4691,15 @@ "type": "structure", "members": { "TelephonyConfig": { - "shape": "Skg" + "shape": "Skq" }, "Id": {}, "Arn": {}, "SignInConfig": { - "shape": "Skl" + "shape": "Skv" }, "AgentConfig": { - "shape": "Sko" + "shape": "Sky" } } } @@ -4807,6 +4866,57 @@ } } }, + "ListAuthenticationProfiles": { + "http": { + "method": "GET", + "requestUri": "/authentication-profiles-summary/{InstanceId}" + }, + "input": { + "type": "structure", + "required": [ + "InstanceId" + ], + "members": { + "InstanceId": { + "location": "uri", + "locationName": "InstanceId" + }, + "MaxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + }, + "NextToken": { + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "output": { + "type": "structure", + "members": { + "AuthenticationProfileSummaryList": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Id": {}, + "Arn": {}, + "Name": {}, + "IsDefault": { + "type": "boolean" + }, + "LastModifiedTime": { + "type": "timestamp" + }, + "LastModifiedRegion": {} + } + } + }, + "NextToken": {} + } + } + }, "ListBots": { "http": { "method": "GET", @@ -4913,7 +5023,7 @@ "Status": {}, "EvaluatorArn": {}, "Score": { - "shape": "Se3" + "shape": "Sed" }, "CreatedTime": { "type": "timestamp" @@ -5443,7 +5553,7 @@ "Attributes": { "type": "list", "member": { - "shape": "Sf6" + "shape": "Sfg" } }, "NextToken": {} @@ -5695,12 +5805,12 @@ "locationName": "InstanceId" }, "PhoneNumberTypes": { - "shape": "Sn4", + "shape": "Sni", "location": "querystring", "locationName": "phoneNumberTypes" }, "PhoneNumberCountryCodes": { - "shape": "Sn5", + "shape": "Snj", "location": "querystring", "locationName": "phoneNumberCountryCodes" }, @@ -5749,10 +5859,10 @@ }, "NextToken": {}, "PhoneNumberCountryCodes": { - "shape": "Sn5" + "shape": "Snj" }, "PhoneNumberTypes": { - "shape": "Sn4" + "shape": "Sni" }, "PhoneNumberPrefix": {} } @@ -5911,7 +6021,7 @@ "members": { "NextToken": {}, "QuickConnectSummaryList": { - "shape": "Snq" + "shape": "So4" }, "LastModifiedTime": { "type": "timestamp" @@ -6011,7 +6121,7 @@ "type": "structure", "members": { "QuickConnectSummaryList": { - "shape": "Snq" + "shape": "So4" }, "NextToken": {} } @@ -6081,7 +6191,7 @@ "Content": {}, "ContentType": {}, "Time": { - "shape": "Sof" + "shape": "Sot" }, "Redaction": { "type": "structure", @@ -6089,7 +6199,7 @@ "CharacterOffsets": { "type": "list", "member": { - "shape": "Soj" + "shape": "Sox" } } } @@ -6127,7 +6237,7 @@ "members": { "Id": {}, "CharacterOffsets": { - "shape": "Soj" + "shape": "Sox" } } } @@ -6165,7 +6275,7 @@ "Content": {}, "Id": {}, "CharacterOffsets": { - "shape": "Soj" + "shape": "Sox" } } } @@ -6189,7 +6299,7 @@ "DisplayName": {}, "EventType": {}, "Time": { - "shape": "Sof" + "shape": "Sot" } } }, @@ -6224,7 +6334,7 @@ } }, "Time": { - "shape": "Sof" + "shape": "Sot" } } } @@ -6876,7 +6986,7 @@ "UserHierarchyGroupSummaryList": { "type": "list", "member": { - "shape": "Sgk" + "shape": "Sgu" } }, "NextToken": {} @@ -7326,12 +7436,12 @@ "type": "structure", "members": { "TagFilter": { - "shape": "Srm" + "shape": "Ss0" } } }, "SearchCriteria": { - "shape": "Srq" + "shape": "Ss4" } } }, @@ -7341,7 +7451,7 @@ "ContactFlowModules": { "type": "list", "member": { - "shape": "Sem" + "shape": "Sew" } }, "NextToken": {}, @@ -7370,12 +7480,12 @@ "type": "structure", "members": { "TagFilter": { - "shape": "Srm" + "shape": "Ss0" } } }, "SearchCriteria": { - "shape": "Sry" + "shape": "Ssc" } } }, @@ -7385,7 +7495,7 @@ "ContactFlows": { "type": "list", "member": { - "shape": "Sei" + "shape": "Ses" } }, "NextToken": {}, @@ -7435,19 +7545,19 @@ "type": "structure", "members": { "L1Ids": { - "shape": "Ss8" + "shape": "Ssm" }, "L2Ids": { - "shape": "Ss8" + "shape": "Ssm" }, "L3Ids": { - "shape": "Ss8" + "shape": "Ssm" }, "L4Ids": { - "shape": "Ss8" + "shape": "Ssm" }, "L5Ids": { - "shape": "Ss8" + "shape": "Ssm" } } }, @@ -7623,12 +7733,12 @@ "type": "structure", "members": { "TagFilter": { - "shape": "Srm" + "shape": "Ss0" } } }, "SearchCriteria": { - "shape": "Ssz" + "shape": "Std" } } }, @@ -7638,7 +7748,7 @@ "HoursOfOperations": { "type": "list", "member": { - "shape": "Sew" + "shape": "Sf6" } }, "NextToken": {}, @@ -7664,7 +7774,7 @@ "type": "integer" }, "SearchCriteria": { - "shape": "St4" + "shape": "Sti" } } }, @@ -7674,7 +7784,7 @@ "PredefinedAttributes": { "type": "list", "member": { - "shape": "Sfk" + "shape": "Sfu" } }, "NextToken": {}, @@ -7703,12 +7813,12 @@ "type": "structure", "members": { "TagFilter": { - "shape": "Srm" + "shape": "Ss0" } } }, "SearchCriteria": { - "shape": "Sta" + "shape": "Sto" } } }, @@ -7718,7 +7828,7 @@ "Prompts": { "type": "list", "member": { - "shape": "Sfn" + "shape": "Sfx" } }, "NextToken": {}, @@ -7747,12 +7857,12 @@ "type": "structure", "members": { "TagFilter": { - "shape": "Srm" + "shape": "Ss0" } } }, "SearchCriteria": { - "shape": "Sth" + "shape": "Stv" } } }, @@ -7762,7 +7872,7 @@ "Queues": { "type": "list", "member": { - "shape": "Sfq" + "shape": "Sg0" } }, "NextToken": {}, @@ -7791,12 +7901,12 @@ "type": "structure", "members": { "TagFilter": { - "shape": "Srm" + "shape": "Ss0" } } }, "SearchCriteria": { - "shape": "Sto" + "shape": "Su2" } } }, @@ -7806,7 +7916,7 @@ "QuickConnects": { "type": "list", "member": { - "shape": "Sfu" + "shape": "Sg4" } }, "NextToken": {}, @@ -7887,12 +7997,12 @@ "type": "structure", "members": { "TagFilter": { - "shape": "Srm" + "shape": "Ss0" } } }, "SearchCriteria": { - "shape": "Su3" + "shape": "Suh" } } }, @@ -7902,7 +8012,7 @@ "RoutingProfiles": { "type": "list", "member": { - "shape": "Sfx" + "shape": "Sg7" } }, "NextToken": {}, @@ -7928,13 +8038,13 @@ "type": "integer" }, "SearchCriteria": { - "shape": "Su8" + "shape": "Sum" }, "SearchFilter": { "type": "structure", "members": { "TagFilter": { - "shape": "Srm" + "shape": "Ss0" } } } @@ -7985,7 +8095,7 @@ "type": "structure", "members": { "TagFilter": { - "shape": "Srm" + "shape": "Ss0" }, "UserAttributeFilter": { "type": "structure", @@ -7993,24 +8103,24 @@ "OrConditions": { "type": "list", "member": { - "shape": "Sui" + "shape": "Suw" } }, "AndCondition": { - "shape": "Sui" + "shape": "Suw" }, "TagCondition": { - "shape": "Srp" + "shape": "Ss3" }, "HierarchyGroupCondition": { - "shape": "Suj" + "shape": "Sux" } } } } }, "SearchCriteria": { - "shape": "Sul" + "shape": "Suz" } } }, @@ -8143,16 +8253,16 @@ "type": "structure", "members": { "SupportedMessagingContentTypes": { - "shape": "Sv4" + "shape": "Svi" }, "ParticipantDetails": { - "shape": "Sv6" + "shape": "Svk" }, "Attributes": { "shape": "S38" }, "StreamingConfiguration": { - "shape": "Sv7" + "shape": "Svl" } } } @@ -8254,7 +8364,7 @@ "shape": "S38" }, "ParticipantDetails": { - "shape": "Sv6" + "shape": "Svk" }, "InitialMessage": { "type": "structure", @@ -8274,7 +8384,7 @@ "type": "integer" }, "SupportedMessagingContentTypes": { - "shape": "Sv4" + "shape": "Svi" }, "PersistentChat": { "type": "structure", @@ -8285,7 +8395,7 @@ }, "RelatedContactId": {}, "SegmentAttributes": { - "shape": "Sdv" + "shape": "Se5" } } }, @@ -8381,7 +8491,7 @@ "InstanceId": {}, "ContactId": {}, "ChatStreamingConfiguration": { - "shape": "Sv7" + "shape": "Svl" }, "ClientToken": { "idempotencyToken": true @@ -8412,10 +8522,10 @@ ], "members": { "Name": { - "shape": "Scf" + "shape": "Scp" }, "Description": { - "shape": "Scg" + "shape": "Scq" }, "References": { "shape": "S7l" @@ -8473,13 +8583,13 @@ "shape": "S38" }, "Name": { - "shape": "Scf" + "shape": "Scp" }, "References": { "shape": "S7l" }, "Description": { - "shape": "Scg" + "shape": "Scq" }, "ClientToken": { "idempotencyToken": true @@ -8524,22 +8634,22 @@ "type": "structure", "members": { "Customer": { - "shape": "Scs" + "shape": "Sd2" }, "Agent": { - "shape": "Scs" + "shape": "Sd2" } } }, "ParticipantDetails": { - "shape": "Sv6" + "shape": "Svk" }, "RelatedContactId": {}, "References": { "shape": "S7l" }, "Description": { - "shape": "Scg" + "shape": "Scq" } } }, @@ -8685,10 +8795,10 @@ "locationName": "EvaluationId" }, "Answers": { - "shape": "Swo" + "shape": "Sx2" }, "Notes": { - "shape": "Sea" + "shape": "Sek" } } }, @@ -8741,7 +8851,7 @@ "ContactId": {}, "InstanceId": {}, "Tags": { - "shape": "Scz" + "shape": "Sd9" } } }, @@ -8893,6 +9003,39 @@ } } }, + "UpdateAuthenticationProfile": { + "http": { + "requestUri": "/authentication-profiles/{InstanceId}/{AuthenticationProfileId}" + }, + "input": { + "type": "structure", + "required": [ + "AuthenticationProfileId", + "InstanceId" + ], + "members": { + "AuthenticationProfileId": { + "location": "uri", + "locationName": "AuthenticationProfileId" + }, + "InstanceId": { + "location": "uri", + "locationName": "InstanceId" + }, + "Name": {}, + "Description": {}, + "AllowedIps": { + "shape": "Sch" + }, + "BlockedIps": { + "shape": "Sch" + }, + "PeriodicSessionDuration": { + "type": "integer" + } + } + } + }, "UpdateContact": { "http": { "requestUri": "/contacts/{InstanceId}/{ContactId}" @@ -8913,10 +9056,10 @@ "locationName": "ContactId" }, "Name": { - "shape": "Scf" + "shape": "Scp" }, "Description": { - "shape": "Scg" + "shape": "Scq" }, "References": { "shape": "S7l" @@ -8972,10 +9115,10 @@ "locationName": "EvaluationId" }, "Answers": { - "shape": "Swo" + "shape": "Sx2" }, "Notes": { - "shape": "Sea" + "shape": "Sek" } } }, @@ -9954,13 +10097,13 @@ "locationName": "Id" }, "TelephonyConfig": { - "shape": "Skg" + "shape": "Skq" }, "SignInConfig": { - "shape": "Skl" + "shape": "Skv" }, "AgentConfig": { - "shape": "Sko" + "shape": "Sky" } } }, @@ -10031,19 +10174,19 @@ "type": "structure", "members": { "LevelOne": { - "shape": "Sz0" + "shape": "Szf" }, "LevelTwo": { - "shape": "Sz0" + "shape": "Szf" }, "LevelThree": { - "shape": "Sz0" + "shape": "Szf" }, "LevelFour": { - "shape": "Sz0" + "shape": "Szf" }, "LevelFive": { - "shape": "Sz0" + "shape": "Szf" } } }, @@ -11142,21 +11285,25 @@ "ViewContentSha256": {} } }, - "Scf": { + "Sch": { + "type": "list", + "member": {} + }, + "Scp": { "type": "string", "sensitive": true }, - "Scg": { + "Scq": { "type": "string", "sensitive": true }, - "Scn": { + "Scx": { "type": "structure", "members": { "Arn": {} } }, - "Sco": { + "Scy": { "type": "structure", "members": { "PlatformName": {}, @@ -11164,18 +11311,18 @@ "OperatingSystem": {} } }, - "Scs": { + "Sd2": { "type": "structure", "members": { "Video": {} } }, - "Scz": { + "Sd9": { "type": "map", "key": {}, "value": {} }, - "Sd7": { + "Sdh": { "type": "structure", "members": { "AttributeCondition": { @@ -11204,20 +11351,20 @@ } }, "AndExpression": { - "shape": "Sdg" + "shape": "Sdq" }, "OrExpression": { - "shape": "Sdg" + "shape": "Sdq" } } }, - "Sdg": { + "Sdq": { "type": "list", "member": { - "shape": "Sd7" + "shape": "Sdh" } }, - "Sdo": { + "Sdy": { "type": "structure", "members": { "QualityScore": { @@ -11229,7 +11376,7 @@ } } }, - "Sdv": { + "Se5": { "type": "map", "key": {}, "value": { @@ -11239,7 +11386,7 @@ } } }, - "Se3": { + "Sed": { "type": "structure", "members": { "Percentage": { @@ -11253,7 +11400,7 @@ } } }, - "Se7": { + "Seh": { "type": "structure", "members": { "StringValue": {}, @@ -11266,7 +11413,7 @@ }, "union": true }, - "Sea": { + "Sek": { "type": "map", "key": {}, "value": { @@ -11276,7 +11423,7 @@ } } }, - "Sei": { + "Ses": { "type": "structure", "members": { "Arn": {}, @@ -11292,7 +11439,7 @@ } } }, - "Sem": { + "Sew": { "type": "structure", "members": { "Arn": {}, @@ -11307,7 +11454,7 @@ } } }, - "Sew": { + "Sf6": { "type": "structure", "members": { "HoursOfOperationId": {}, @@ -11327,14 +11474,14 @@ "LastModifiedRegion": {} } }, - "Sf6": { + "Sfg": { "type": "structure", "members": { "AttributeType": {}, "Value": {} } }, - "Sfk": { + "Sfu": { "type": "structure", "members": { "Name": {}, @@ -11347,7 +11494,7 @@ "LastModifiedRegion": {} } }, - "Sfn": { + "Sfx": { "type": "structure", "members": { "PromptARN": {}, @@ -11363,7 +11510,7 @@ "LastModifiedRegion": {} } }, - "Sfq": { + "Sg0": { "type": "structure", "members": { "Name": {}, @@ -11387,7 +11534,7 @@ "LastModifiedRegion": {} } }, - "Sfu": { + "Sg4": { "type": "structure", "members": { "QuickConnectARN": {}, @@ -11406,7 +11553,7 @@ "LastModifiedRegion": {} } }, - "Sfx": { + "Sg7": { "type": "structure", "members": { "InstanceId": {}, @@ -11441,7 +11588,7 @@ } } }, - "Sgk": { + "Sgu": { "type": "structure", "members": { "Id": {}, @@ -11453,7 +11600,7 @@ "LastModifiedRegion": {} } }, - "Sgo": { + "Sgy": { "type": "structure", "members": { "Id": {}, @@ -11465,18 +11612,18 @@ "LastModifiedRegion": {} } }, - "Shp": { + "Shz": { "type": "structure", "members": { "Queues": { - "shape": "Shq" + "shape": "Si0" }, "Channels": { "type": "list", "member": {} }, "RoutingProfiles": { - "shape": "Shs" + "shape": "Si2" }, "RoutingStepExpressions": { "type": "list", @@ -11484,71 +11631,71 @@ } } }, - "Shq": { + "Si0": { "type": "list", "member": {} }, - "Shs": { + "Si2": { "type": "list", "member": {} }, - "Shv": { + "Si5": { "type": "list", "member": {} }, - "Shy": { + "Si8": { "type": "structure", "members": { "Name": {}, "Unit": {} } }, - "Si9": { + "Sij": { "type": "structure", "members": { "Queue": { - "shape": "Sia" + "shape": "Sik" }, "Channel": {}, "RoutingProfile": { - "shape": "Sib" + "shape": "Sil" }, "RoutingStepExpression": {} } }, - "Sia": { + "Sik": { "type": "structure", "members": { "Id": {}, "Arn": {} } }, - "Sib": { + "Sil": { "type": "structure", "members": { "Id": {}, "Arn": {} } }, - "Sis": { + "Sj2": { "type": "structure", "members": { "Id": {}, "Arn": {} } }, - "Siu": { + "Sj4": { "type": "map", "key": {}, "value": { "type": "integer" } }, - "Sj1": { + "Sjb": { "type": "string", "sensitive": true }, - "Sj6": { + "Sjg": { "type": "structure", "members": { "Name": {}, @@ -11565,7 +11712,7 @@ "Unit": {} } }, - "Sjr": { + "Sk1": { "type": "structure", "members": { "Name": {}, @@ -11599,18 +11746,18 @@ } } }, - "Skg": { + "Skq": { "type": "structure", "required": [ "Distributions" ], "members": { "Distributions": { - "shape": "Skh" + "shape": "Skr" } } }, - "Skh": { + "Skr": { "type": "list", "member": { "type": "structure", @@ -11626,7 +11773,7 @@ } } }, - "Skl": { + "Skv": { "type": "structure", "required": [ "Distributions" @@ -11650,26 +11797,26 @@ } } }, - "Sko": { + "Sky": { "type": "structure", "required": [ "Distributions" ], "members": { "Distributions": { - "shape": "Skh" + "shape": "Skr" } } }, - "Sn4": { + "Sni": { "type": "list", "member": {} }, - "Sn5": { + "Snj": { "type": "list", "member": {} }, - "Snq": { + "So4": { "type": "list", "member": { "type": "structure", @@ -11685,7 +11832,7 @@ } } }, - "Sof": { + "Sot": { "type": "structure", "members": { "AbsoluteTime": { @@ -11695,7 +11842,7 @@ }, "union": true }, - "Soj": { + "Sox": { "type": "structure", "required": [ "BeginOffsetChar", @@ -11710,57 +11857,57 @@ } } }, - "Srm": { + "Ss0": { "type": "structure", "members": { "OrConditions": { "type": "list", "member": { - "shape": "Sro" + "shape": "Ss2" } }, "AndConditions": { - "shape": "Sro" + "shape": "Ss2" }, "TagCondition": { - "shape": "Srp" + "shape": "Ss3" } } }, - "Sro": { + "Ss2": { "type": "list", "member": { - "shape": "Srp" + "shape": "Ss3" } }, - "Srp": { + "Ss3": { "type": "structure", "members": { "TagKey": {}, "TagValue": {} } }, - "Srq": { + "Ss4": { "type": "structure", "members": { "OrConditions": { - "shape": "Srr" + "shape": "Ss5" }, "AndConditions": { - "shape": "Srr" + "shape": "Ss5" }, "StringCondition": { - "shape": "Srs" + "shape": "Ss6" } } }, - "Srr": { + "Ss5": { "type": "list", "member": { - "shape": "Srq" + "shape": "Ss4" } }, - "Srs": { + "Ss6": { "type": "structure", "members": { "FieldName": {}, @@ -11768,220 +11915,220 @@ "ComparisonType": {} } }, - "Sry": { + "Ssc": { "type": "structure", "members": { "OrConditions": { - "shape": "Srz" + "shape": "Ssd" }, "AndConditions": { - "shape": "Srz" + "shape": "Ssd" }, "StringCondition": { - "shape": "Srs" + "shape": "Ss6" }, "TypeCondition": {}, "StateCondition": {}, "StatusCondition": {} } }, - "Srz": { + "Ssd": { "type": "list", "member": { - "shape": "Sry" + "shape": "Ssc" } }, - "Ss8": { + "Ssm": { "type": "list", "member": {} }, - "Ssz": { + "Std": { "type": "structure", "members": { "OrConditions": { - "shape": "St0" + "shape": "Ste" }, "AndConditions": { - "shape": "St0" + "shape": "Ste" }, "StringCondition": { - "shape": "Srs" + "shape": "Ss6" } } }, - "St0": { + "Ste": { "type": "list", "member": { - "shape": "Ssz" + "shape": "Std" } }, - "St4": { + "Sti": { "type": "structure", "members": { "OrConditions": { - "shape": "St5" + "shape": "Stj" }, "AndConditions": { - "shape": "St5" + "shape": "Stj" }, "StringCondition": { - "shape": "Srs" + "shape": "Ss6" } } }, - "St5": { + "Stj": { "type": "list", "member": { - "shape": "St4" + "shape": "Sti" } }, - "Sta": { + "Sto": { "type": "structure", "members": { "OrConditions": { - "shape": "Stb" + "shape": "Stp" }, "AndConditions": { - "shape": "Stb" + "shape": "Stp" }, "StringCondition": { - "shape": "Srs" + "shape": "Ss6" } } }, - "Stb": { + "Stp": { "type": "list", "member": { - "shape": "Sta" + "shape": "Sto" } }, - "Sth": { + "Stv": { "type": "structure", "members": { "OrConditions": { - "shape": "Sti" + "shape": "Stw" }, "AndConditions": { - "shape": "Sti" + "shape": "Stw" }, "StringCondition": { - "shape": "Srs" + "shape": "Ss6" }, "QueueTypeCondition": {} } }, - "Sti": { + "Stw": { "type": "list", "member": { - "shape": "Sth" + "shape": "Stv" } }, - "Sto": { + "Su2": { "type": "structure", "members": { "OrConditions": { - "shape": "Stp" + "shape": "Su3" }, "AndConditions": { - "shape": "Stp" + "shape": "Su3" }, "StringCondition": { - "shape": "Srs" + "shape": "Ss6" } } }, - "Stp": { + "Su3": { "type": "list", "member": { - "shape": "Sto" + "shape": "Su2" } }, - "Su3": { + "Suh": { "type": "structure", "members": { "OrConditions": { - "shape": "Su4" + "shape": "Sui" }, "AndConditions": { - "shape": "Su4" + "shape": "Sui" }, "StringCondition": { - "shape": "Srs" + "shape": "Ss6" } } }, - "Su4": { + "Sui": { "type": "list", "member": { - "shape": "Su3" + "shape": "Suh" } }, - "Su8": { + "Sum": { "type": "structure", "members": { "OrConditions": { - "shape": "Su9" + "shape": "Sun" }, "AndConditions": { - "shape": "Su9" + "shape": "Sun" }, "StringCondition": { - "shape": "Srs" + "shape": "Ss6" } } }, - "Su9": { + "Sun": { "type": "list", "member": { - "shape": "Su8" + "shape": "Sum" } }, - "Sui": { + "Suw": { "type": "structure", "members": { "TagConditions": { - "shape": "Sro" + "shape": "Ss2" }, "HierarchyGroupCondition": { - "shape": "Suj" + "shape": "Sux" } } }, - "Suj": { + "Sux": { "type": "structure", "members": { "Value": {}, "HierarchyGroupMatchType": {} } }, - "Sul": { + "Suz": { "type": "structure", "members": { "OrConditions": { - "shape": "Sum" + "shape": "Sv0" }, "AndConditions": { - "shape": "Sum" + "shape": "Sv0" }, "StringCondition": { - "shape": "Srs" + "shape": "Ss6" }, "HierarchyGroupCondition": { - "shape": "Suj" + "shape": "Sux" } } }, - "Sum": { + "Sv0": { "type": "list", "member": { - "shape": "Sul" + "shape": "Suz" } }, - "Sv4": { + "Svi": { "type": "list", "member": {} }, - "Sv6": { + "Svk": { "type": "structure", "required": [ "DisplayName" @@ -11990,7 +12137,7 @@ "DisplayName": {} } }, - "Sv7": { + "Svl": { "type": "structure", "required": [ "StreamingEndpointArn" @@ -11999,19 +12146,19 @@ "StreamingEndpointArn": {} } }, - "Swo": { + "Sx2": { "type": "map", "key": {}, "value": { "type": "structure", "members": { "Value": { - "shape": "Se7" + "shape": "Seh" } } } }, - "Sz0": { + "Szf": { "type": "structure", "required": [ "Name" diff --git a/apis/connect-2017-08-08.normal.json b/apis/connect-2017-08-08.normal.json index d743a52f4f..b5d190ae02 100644 --- a/apis/connect-2017-08-08.normal.json +++ b/apis/connect-2017-08-08.normal.json @@ -2366,6 +2366,37 @@ ], "documentation": "This API is in preview release for Amazon Connect and is subject to change.
Describes an agent status.
" }, + "DescribeAuthenticationProfile": { + "name": "DescribeAuthenticationProfile", + "http": { + "method": "GET", + "requestUri": "/authentication-profiles/{InstanceId}/{AuthenticationProfileId}" + }, + "input": { + "shape": "DescribeAuthenticationProfileRequest" + }, + "output": { + "shape": "DescribeAuthenticationProfileResponse" + }, + "errors": [ + { + "shape": "InvalidRequestException" + }, + { + "shape": "InvalidParameterException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServiceException" + } + ], + "documentation": "This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Describes the target authentication profile.
" + }, "DescribeContact": { "name": "DescribeContact", "http": { @@ -3952,6 +3983,37 @@ ], "documentation": "This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all approved origins associated with the instance.
" }, + "ListAuthenticationProfiles": { + "name": "ListAuthenticationProfiles", + "http": { + "method": "GET", + "requestUri": "/authentication-profiles-summary/{InstanceId}" + }, + "input": { + "shape": "ListAuthenticationProfilesRequest" + }, + "output": { + "shape": "ListAuthenticationProfilesResponse" + }, + "errors": [ + { + "shape": "InvalidRequestException" + }, + { + "shape": "InvalidParameterException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServiceException" + } + ], + "documentation": "This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Provides summary information about the authentication profiles in a specified Amazon Connect instance.
" + }, "ListBots": { "name": "ListBots", "http": { @@ -5946,7 +6008,7 @@ "shape": "ServiceQuotaExceededException" } ], - "documentation": "Provides a pre-signed Amazon S3 URL in response for uploading your content.
You may only use this API to upload attachments to a Connect Case.
Provides a pre-signed Amazon S3 URL in response for uploading your content.
You may only use this API to upload attachments to an Amazon Connect Case.
This API is in preview release for Amazon Connect and is subject to change.
Updates agent status.
" }, + "UpdateAuthenticationProfile": { + "name": "UpdateAuthenticationProfile", + "http": { + "method": "POST", + "requestUri": "/authentication-profiles/{InstanceId}/{AuthenticationProfileId}" + }, + "input": { + "shape": "UpdateAuthenticationProfileRequest" + }, + "errors": [ + { + "shape": "InvalidRequestException" + }, + { + "shape": "InvalidParameterException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServiceException" + } + ], + "documentation": "This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Updates the selected authentication profile.
" + }, "UpdateContact": { "name": "UpdateContact", "http": { @@ -7910,6 +8000,12 @@ "AWSAccountId": { "type": "string" }, + "AccessTokenDuration": { + "type": "integer", + "box": true, + "max": 60, + "min": 10 + }, "ActionSummaries": { "type": "list", "member": { @@ -9099,6 +9195,111 @@ "AudioQualityScore": { "type": "float" }, + "AuthenticationProfile": { + "type": "structure", + "members": { + "Id": { + "shape": "AuthenticationProfileId", + "documentation": "A unique identifier for the authentication profile.
" + }, + "Arn": { + "shape": "ARN", + "documentation": "The Amazon Resource Name (ARN) for the authentication profile.
" + }, + "Name": { + "shape": "AuthenticationProfileName", + "documentation": "The name for the authentication profile.
" + }, + "Description": { + "shape": "AuthenticationProfileDescription", + "documentation": "The description for the authentication profile.
" + }, + "AllowedIps": { + "shape": "IpCidrList", + "documentation": "A list of IP address range strings that are allowed to access the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
" + }, + "BlockedIps": { + "shape": "IpCidrList", + "documentation": "A list of IP address range strings that are blocked from accessing the Amazon Connect instance. For more information about how to configure IP addresses, see Configure IP address based access control in the Amazon Connect Administrator Guide.
" + }, + "IsDefault": { + "shape": "Boolean", + "documentation": "Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless overridden by another authentication profile.
" + }, + "CreatedTime": { + "shape": "Timestamp", + "documentation": "The timestamp when the authentication profile was created.
" + }, + "LastModifiedTime": { + "shape": "Timestamp", + "documentation": "The timestamp when the authentication profile was last modified.
" + }, + "LastModifiedRegion": { + "shape": "RegionName", + "documentation": "The Amazon Web Services Region where the authentication profile was last modified.
" + }, + "PeriodicSessionDuration": { + "shape": "AccessTokenDuration", + "documentation": "The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.
" + }, + "MaxSessionDuration": { + "shape": "RefreshTokenDuration", + "documentation": "The long lived session duration for users logged in to Amazon Connect, in minutes. After this time period, users must log in again. For more information, see Configure the session duration in the Amazon Connect Administrator Guide.
" + } + }, + "documentation": "This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
Information about an authentication profile. An authentication profile is a resource that stores the authentication settings for users in your contact center. You use authentication profiles to set up IP address range restrictions and session timeouts. For more information, see Set IP address restrictions or session timeouts.
" + }, + "AuthenticationProfileDescription": { + "type": "string", + "max": 250, + "min": 1 + }, + "AuthenticationProfileId": { + "type": "string", + "max": 100, + "min": 1 + }, + "AuthenticationProfileName": { + "type": "string", + "max": 128, + "min": 1 + }, + "AuthenticationProfileSummary": { + "type": "structure", + "members": { + "Id": { + "shape": "AuthenticationProfileId", + "documentation": "The unique identifier of the authentication profile.
" + }, + "Arn": { + "shape": "ARN", + "documentation": "The Amazon Resource Name (ARN) of the authentication profile summary.
" + }, + "Name": { + "shape": "AuthenticationProfileName", + "documentation": "The name of the authentication profile summary.
" + }, + "IsDefault": { + "shape": "Boolean", + "documentation": "Shows whether the authentication profile is the default authentication profile for the Amazon Connect instance. The default authentication profile applies to all agents in an Amazon Connect instance, unless overridden by another authentication profile.
" + }, + "LastModifiedTime": { + "shape": "Timestamp", + "documentation": "The timestamp when the authentication profile summary was last modified.
" + }, + "LastModifiedRegion": { + "shape": "RegionName", + "documentation": "The Amazon Web Services Region when the authentication profile summary was last modified.
" + } + }, + "documentation": "This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.
A summary of a given authentication profile.
" + }, + "AuthenticationProfileSummaryList": { + "type": "list", + "member": { + "shape": "AuthenticationProfileSummary" + } + }, "AutoAccept": { "type": "boolean" }, @@ -9598,7 +9799,7 @@ "members": { "InstanceId": { "shape": "InstanceId", - "documentation": "The unique identifier of the Connect instance.
", + "documentation": "The unique identifier of the Amazon Connect instance.
", "location": "uri", "locationName": "InstanceId" }, @@ -12472,6 +12673,36 @@ } } }, + "DescribeAuthenticationProfileRequest": { + "type": "structure", + "required": [ + "AuthenticationProfileId", + "InstanceId" + ], + "members": { + "AuthenticationProfileId": { + "shape": "AuthenticationProfileId", + "documentation": "A unique identifier for the authentication profile.
", + "location": "uri", + "locationName": "AuthenticationProfileId" + }, + "InstanceId": { + "shape": "InstanceId", + "documentation": "The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
", + "location": "uri", + "locationName": "InstanceId" + } + } + }, + "DescribeAuthenticationProfileResponse": { + "type": "structure", + "members": { + "AuthenticationProfile": { + "shape": "AuthenticationProfile", + "documentation": "The authentication profile object being described.
" + } + } + }, "DescribeContactEvaluationRequest": { "type": "structure", "required": [ @@ -16589,6 +16820,18 @@ "shape": "InvisibleFieldInfo" } }, + "IpCidr": { + "type": "string", + "max": 50, + "min": 2, + "pattern": "^[A-Za-z0-9:/]*$" + }, + "IpCidrList": { + "type": "list", + "member": { + "shape": "IpCidr" + } + }, "JoinToken": { "type": "string", "sensitive": true @@ -16847,6 +17090,46 @@ } } }, + "ListAuthenticationProfilesRequest": { + "type": "structure", + "required": [ + "InstanceId" + ], + "members": { + "InstanceId": { + "shape": "InstanceId", + "documentation": "The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
", + "location": "uri", + "locationName": "InstanceId" + }, + "MaxResults": { + "shape": "MaxResult1000", + "documentation": "The maximum number of results to return per page.
", + "box": true, + "location": "querystring", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "NextToken", + "documentation": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
", + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "ListAuthenticationProfilesResponse": { + "type": "structure", + "members": { + "AuthenticationProfileSummaryList": { + "shape": "AuthenticationProfileSummaryList", + "documentation": "A summary of a given authentication profile.
" + }, + "NextToken": { + "shape": "NextToken", + "documentation": "If there are additional results, this is the token for the next set of results.
" + } + } + }, "ListBotsRequest": { "type": "structure", "required": [ @@ -21113,6 +21396,12 @@ "max": 4096, "min": 0 }, + "RefreshTokenDuration": { + "type": "integer", + "box": true, + "max": 720, + "min": 360 + }, "RegionName": { "type": "string", "pattern": "[a-z]{2}(-[a-z]+){1,2}(-[0-9])?" @@ -21960,7 +22249,7 @@ "members": { "ContactFlows": { "shape": "ContactFlowSearchSummaryList", - "documentation": "Information about the contact flows.
" + "documentation": "Information about the flows.
" }, "NextToken": { "shape": "NextToken2500", @@ -23104,7 +23393,7 @@ }, "InstanceId": { "shape": "InstanceId", - "documentation": "The unique identifier of the Connect instance.
", + "documentation": "The unique identifier of the Amazon Connect instance.
", "location": "uri", "locationName": "InstanceId" }, @@ -23526,7 +23815,7 @@ }, "ContactFlowId": { "shape": "ContactFlowId", - "documentation": "The identifier of the flow for the call. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
" + "documentation": "The identifier of the flow for the call. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Flows. Choose the flow. On the flow page, under the name of the flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
" }, "InstanceId": { "shape": "InstanceId", @@ -24678,6 +24967,48 @@ } } }, + "UpdateAuthenticationProfileRequest": { + "type": "structure", + "required": [ + "AuthenticationProfileId", + "InstanceId" + ], + "members": { + "AuthenticationProfileId": { + "shape": "AuthenticationProfileId", + "documentation": "A unique identifier for the authentication profile.
", + "location": "uri", + "locationName": "AuthenticationProfileId" + }, + "InstanceId": { + "shape": "InstanceId", + "documentation": "The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
", + "location": "uri", + "locationName": "InstanceId" + }, + "Name": { + "shape": "AuthenticationProfileName", + "documentation": "The name for the authentication profile.
" + }, + "Description": { + "shape": "AuthenticationProfileDescription", + "documentation": "The description for the authentication profile.
" + }, + "AllowedIps": { + "shape": "IpCidrList", + "documentation": "A list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, seeConfigure session timeouts in the Amazon Connect Administrator Guide.
" + }, + "BlockedIps": { + "shape": "IpCidrList", + "documentation": "A list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see Configure IP-based access control in the Amazon Connect Administrator Guide.
" + }, + "PeriodicSessionDuration": { + "shape": "AccessTokenDuration", + "documentation": "The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see Configure session timeouts in the Amazon Connect Administrator Guide.
", + "box": true + } + } + }, "UpdateCaseActionDefinition": { "type": "structure", "required": [ @@ -27177,5 +27508,5 @@ "type": "timestamp" } }, - "documentation": "Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.
There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
" + "documentation": "Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.
There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
" } \ No newline at end of file diff --git a/apis/connect-2017-08-08.paginators.json b/apis/connect-2017-08-08.paginators.json index 7ba21e5e2e..c80e204037 100644 --- a/apis/connect-2017-08-08.paginators.json +++ b/apis/connect-2017-08-08.paginators.json @@ -32,6 +32,12 @@ "output_token": "NextToken", "result_key": "Origins" }, + "ListAuthenticationProfiles": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "AuthenticationProfileSummaryList" + }, "ListBots": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/apis/docdb-2014-10-31.min.json b/apis/docdb-2014-10-31.min.json index 418d2bd7a0..efb35a52af 100644 --- a/apis/docdb-2014-10-31.min.json +++ b/apis/docdb-2014-10-31.min.json @@ -4,13 +4,19 @@ "apiVersion": "2014-10-31", "endpointPrefix": "rds", "protocol": "query", + "protocols": [ + "query" + ], "serviceAbbreviation": "Amazon DocDB", "serviceFullName": "Amazon DocumentDB with MongoDB compatibility", "serviceId": "DocDB", "signatureVersion": "v4", "signingName": "rds", "uid": "docdb-2014-10-31", - "xmlNamespace": "http://rds.amazonaws.com/doc/2014-10-31/" + "xmlNamespace": "http://rds.amazonaws.com/doc/2014-10-31/", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "AddSourceIdentifierToSubscription": { diff --git a/apis/docdb-2014-10-31.normal.json b/apis/docdb-2014-10-31.normal.json index 71214492be..310ac260fb 100644 --- a/apis/docdb-2014-10-31.normal.json +++ b/apis/docdb-2014-10-31.normal.json @@ -4,13 +4,19 @@ "apiVersion": "2014-10-31", "endpointPrefix": "rds", "protocol": "query", + "protocols": [ + "query" + ], "serviceAbbreviation": "Amazon DocDB", "serviceFullName": "Amazon DocumentDB with MongoDB compatibility", "serviceId": "DocDB", "signatureVersion": "v4", "signingName": "rds", "uid": "docdb-2014-10-31", - "xmlNamespace": "http://rds.amazonaws.com/doc/2014-10-31/" + "xmlNamespace": "http://rds.amazonaws.com/doc/2014-10-31/", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "AddSourceIdentifierToSubscription": { diff --git a/apis/eks-2017-11-01.normal.json b/apis/eks-2017-11-01.normal.json index 6435c5ecce..f01693a098 100644 --- a/apis/eks-2017-11-01.normal.json +++ b/apis/eks-2017-11-01.normal.json @@ -2245,7 +2245,8 @@ "type": "string", "enum": [ "ON_DEMAND", - "SPOT" + "SPOT", + "CAPACITY_BLOCK" ] }, "Category": { diff --git a/apis/payment-cryptography-2021-09-14.min.json b/apis/payment-cryptography-2021-09-14.min.json index d46c5f5e00..9b7a4325e9 100644 --- a/apis/payment-cryptography-2021-09-14.min.json +++ b/apis/payment-cryptography-2021-09-14.min.json @@ -2,9 +2,15 @@ "version": "2.0", "metadata": { "apiVersion": "2021-09-14", + "auth": [ + "aws.auth#sigv4" + ], "endpointPrefix": "controlplane.payment-cryptography", "jsonVersion": "1.0", "protocol": "json", + "protocols": [ + "json" + ], "serviceFullName": "Payment Cryptography Control Plane", "serviceId": "Payment Cryptography", "signatureVersion": "v4", @@ -409,7 +415,10 @@ ], "members": { "WrappingKeyIdentifier": {}, - "WrappedKeyBlock": {} + "WrappedKeyBlock": { + "type": "string", + "sensitive": true + } } }, "Tr34KeyBlock": { diff --git a/apis/payment-cryptography-2021-09-14.normal.json b/apis/payment-cryptography-2021-09-14.normal.json index 093f03acaf..2ad81f9201 100644 --- a/apis/payment-cryptography-2021-09-14.normal.json +++ b/apis/payment-cryptography-2021-09-14.normal.json @@ -2,9 +2,15 @@ "version": "2.0", "metadata": { "apiVersion": "2021-09-14", + "auth": [ + "aws.auth#sigv4" + ], "endpointPrefix": "controlplane.payment-cryptography", "jsonVersion": "1.0", "protocol": "json", + "protocols": [ + "json" + ], "serviceFullName": "Payment Cryptography Control Plane", "serviceId": "Payment Cryptography", "signatureVersion": "v4", @@ -926,6 +932,12 @@ } } }, + "EvenHexLengthBetween16And32": { + "type": "string", + "max": 32, + "min": 16, + "pattern": "(?:[0-9a-fA-F][0-9a-fA-F])+" + }, "ExportAttributes": { "type": "structure", "members": { @@ -1071,7 +1083,7 @@ "documentation": "The format of key block that Amazon Web Services Payment Cryptography will use during key export.
" }, "RandomNonce": { - "shape": "HexLength16", + "shape": "EvenHexLengthBetween16And32", "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.
" }, "KeyBlockHeaders": { @@ -1256,12 +1268,6 @@ } } }, - "HexLength16": { - "type": "string", - "max": 16, - "min": 16, - "pattern": "[0-9A-F]+" - }, "HexLength20Or24": { "type": "string", "max": 24, @@ -1415,7 +1421,7 @@ "documentation": "The key block format to use during key import. The only value allowed is X9_TR34_2012
.
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.
" } }, @@ -2050,7 +2056,8 @@ "type": "string", "max": 9984, "min": 56, - "pattern": "[0-9A-Z]+" + "pattern": "[0-9A-Z]+", + "sensitive": true }, "Tr34KeyBlockFormat": { "type": "string", diff --git a/apis/payment-cryptography-data-2022-02-03.min.json b/apis/payment-cryptography-data-2022-02-03.min.json index c2e5bbbd55..5e2946a8ae 100644 --- a/apis/payment-cryptography-data-2022-02-03.min.json +++ b/apis/payment-cryptography-data-2022-02-03.min.json @@ -2,9 +2,14 @@ "version": "2.0", "metadata": { "apiVersion": "2022-02-03", + "auth": [ + "aws.auth#sigv4" + ], "endpointPrefix": "dataplane.payment-cryptography", - "jsonVersion": "1.1", "protocol": "rest-json", + "protocols": [ + "rest-json" + ], "serviceFullName": "Payment Cryptography Data Plane", "serviceId": "Payment Cryptography Data", "signatureVersion": "v4", @@ -20,20 +25,23 @@ "input": { "type": "structure", "required": [ + "KeyIdentifier", "CipherText", - "DecryptionAttributes", - "KeyIdentifier" + "DecryptionAttributes" ], "members": { + "KeyIdentifier": { + "location": "uri", + "locationName": "KeyIdentifier" + }, "CipherText": { - "shape": "S2" + "shape": "S3" }, "DecryptionAttributes": { - "shape": "S3" + "shape": "S4" }, - "KeyIdentifier": { - "location": "uri", - "locationName": "KeyIdentifier" + "WrappedKey": { + "shape": "Sl" } } }, @@ -48,7 +56,7 @@ "KeyArn": {}, "KeyCheckValue": {}, "PlainText": { - "shape": "S2" + "shape": "S3" } } } @@ -61,14 +69,11 @@ "input": { "type": "structure", "required": [ - "EncryptionAttributes", "KeyIdentifier", - "PlainText" + "PlainText", + "EncryptionAttributes" ], "members": { - "EncryptionAttributes": { - "shape": "S3" - }, "KeyIdentifier": { "location": "uri", "locationName": "KeyIdentifier" @@ -76,21 +81,27 @@ "PlainText": { "type": "string", "sensitive": true + }, + "EncryptionAttributes": { + "shape": "S4" + }, + "WrappedKey": { + "shape": "Sl" } } }, "output": { "type": "structure", "required": [ - "CipherText", - "KeyArn" + "KeyArn", + "CipherText" ], "members": { - "CipherText": { - "shape": "S2" - }, "KeyArn": {}, - "KeyCheckValue": {} + "KeyCheckValue": {}, + "CipherText": { + "shape": "S3" + } } } }, @@ -102,42 +113,42 @@ "input": { "type": "structure", "required": [ - "GenerationAttributes", "KeyIdentifier", - "PrimaryAccountNumber" + "PrimaryAccountNumber", + "GenerationAttributes" ], "members": { + "KeyIdentifier": {}, + "PrimaryAccountNumber": { + "shape": "Sh" + }, "GenerationAttributes": { "type": "structure", "members": { "AmexCardSecurityCodeVersion1": { - "shape": "St" + "shape": "Sx" }, "AmexCardSecurityCodeVersion2": { - "shape": "Sv" - }, - "CardHolderVerificationValue": { - "shape": "Sx" + "shape": "Sz" }, "CardVerificationValue1": { - "shape": "S10" + "shape": "S11" }, "CardVerificationValue2": { - "shape": "S11" + "shape": "S12" + }, + "CardHolderVerificationValue": { + "shape": "S13" }, "DynamicCardVerificationCode": { - "shape": "S12" + "shape": "S16" }, "DynamicCardVerificationValue": { - "shape": "S14" + "shape": "S18" } }, "union": true }, - "KeyIdentifier": {}, - "PrimaryAccountNumber": { - "shape": "Sg" - }, "ValidationDataLength": { "type": "integer" } @@ -165,20 +176,20 @@ "input": { "type": "structure", "required": [ - "GenerationAttributes", "KeyIdentifier", - "MessageData" + "MessageData", + "GenerationAttributes" ], "members": { + "KeyIdentifier": {}, + "MessageData": { + "shape": "S1d" + }, "GenerationAttributes": { - "shape": "S19" + "shape": "S1e" }, - "KeyIdentifier": {}, "MacLength": { "type": "integer" - }, - "MessageData": { - "shape": "S1h" } } }, @@ -204,126 +215,126 @@ "input": { "type": "structure", "required": [ + "GenerationKeyIdentifier", "EncryptionKeyIdentifier", "GenerationAttributes", - "GenerationKeyIdentifier", - "PinBlockFormat", - "PrimaryAccountNumber" + "PrimaryAccountNumber", + "PinBlockFormat" ], "members": { + "GenerationKeyIdentifier": {}, "EncryptionKeyIdentifier": {}, "GenerationAttributes": { "type": "structure", "members": { - "Ibm3624NaturalPin": { + "VisaPin": { "type": "structure", "required": [ - "DecimalizationTable", - "PinValidationData", - "PinValidationDataPadCharacter" + "PinVerificationKeyIndex" ], "members": { - "DecimalizationTable": {}, - "PinValidationData": {}, - "PinValidationDataPadCharacter": {} + "PinVerificationKeyIndex": { + "type": "integer" + } } }, - "Ibm3624PinFromOffset": { + "VisaPinVerificationValue": { "type": "structure", "required": [ - "DecimalizationTable", - "PinOffset", - "PinValidationData", - "PinValidationDataPadCharacter" + "EncryptedPinBlock", + "PinVerificationKeyIndex" ], "members": { - "DecimalizationTable": {}, - "PinOffset": {}, - "PinValidationData": {}, - "PinValidationDataPadCharacter": {} + "EncryptedPinBlock": {}, + "PinVerificationKeyIndex": { + "type": "integer" + } } }, "Ibm3624PinOffset": { "type": "structure", "required": [ - "DecimalizationTable", "EncryptedPinBlock", - "PinValidationData", - "PinValidationDataPadCharacter" + "DecimalizationTable", + "PinValidationDataPadCharacter", + "PinValidationData" ], "members": { - "DecimalizationTable": {}, "EncryptedPinBlock": {}, - "PinValidationData": {}, - "PinValidationDataPadCharacter": {} + "DecimalizationTable": {}, + "PinValidationDataPadCharacter": {}, + "PinValidationData": {} } }, - "Ibm3624RandomPin": { + "Ibm3624NaturalPin": { "type": "structure", "required": [ "DecimalizationTable", - "PinValidationData", - "PinValidationDataPadCharacter" + "PinValidationDataPadCharacter", + "PinValidationData" ], "members": { "DecimalizationTable": {}, - "PinValidationData": {}, - "PinValidationDataPadCharacter": {} + "PinValidationDataPadCharacter": {}, + "PinValidationData": {} } }, - "VisaPin": { + "Ibm3624RandomPin": { "type": "structure", "required": [ - "PinVerificationKeyIndex" + "DecimalizationTable", + "PinValidationDataPadCharacter", + "PinValidationData" ], "members": { - "PinVerificationKeyIndex": { - "type": "integer" - } + "DecimalizationTable": {}, + "PinValidationDataPadCharacter": {}, + "PinValidationData": {} } }, - "VisaPinVerificationValue": { + "Ibm3624PinFromOffset": { "type": "structure", "required": [ - "EncryptedPinBlock", - "PinVerificationKeyIndex" + "DecimalizationTable", + "PinValidationDataPadCharacter", + "PinValidationData", + "PinOffset" ], "members": { - "EncryptedPinBlock": {}, - "PinVerificationKeyIndex": { - "type": "integer" - } + "DecimalizationTable": {}, + "PinValidationDataPadCharacter": {}, + "PinValidationData": {}, + "PinOffset": {} } } }, "union": true }, - "GenerationKeyIdentifier": {}, - "PinBlockFormat": {}, "PinDataLength": { "type": "integer" }, "PrimaryAccountNumber": { - "shape": "Sg" - } + "shape": "Sh" + }, + "PinBlockFormat": {} } }, "output": { "type": "structure", "required": [ - "EncryptedPinBlock", - "EncryptionKeyArn", - "EncryptionKeyCheckValue", "GenerationKeyArn", "GenerationKeyCheckValue", + "EncryptionKeyArn", + "EncryptionKeyCheckValue", + "EncryptedPinBlock", "PinData" ], "members": { - "EncryptedPinBlock": {}, - "EncryptionKeyArn": {}, - "EncryptionKeyCheckValue": {}, "GenerationKeyArn": {}, "GenerationKeyCheckValue": {}, + "EncryptionKeyArn": {}, + "EncryptionKeyCheckValue": {}, + "EncryptedPinBlock": {}, "PinData": { "type": "structure", "members": { @@ -343,42 +354,48 @@ "input": { "type": "structure", "required": [ + "IncomingKeyIdentifier", + "OutgoingKeyIdentifier", "CipherText", "IncomingEncryptionAttributes", - "IncomingKeyIdentifier", - "OutgoingEncryptionAttributes", - "OutgoingKeyIdentifier" + "OutgoingEncryptionAttributes" ], "members": { - "CipherText": { - "shape": "S2" - }, - "IncomingEncryptionAttributes": { - "shape": "S23" - }, "IncomingKeyIdentifier": { "location": "uri", "locationName": "IncomingKeyIdentifier" }, + "OutgoingKeyIdentifier": {}, + "CipherText": { + "shape": "S3" + }, + "IncomingEncryptionAttributes": { + "shape": "S27" + }, "OutgoingEncryptionAttributes": { - "shape": "S23" + "shape": "S27" }, - "OutgoingKeyIdentifier": {} + "IncomingWrappedKey": { + "shape": "Sl" + }, + "OutgoingWrappedKey": { + "shape": "Sl" + } } }, "output": { "type": "structure", "required": [ - "CipherText", "KeyArn", - "KeyCheckValue" + "KeyCheckValue", + "CipherText" ], "members": { - "CipherText": { - "shape": "S2" - }, "KeyArn": {}, - "KeyCheckValue": {} + "KeyCheckValue": {}, + "CipherText": { + "shape": "S3" + } } } }, @@ -390,44 +407,50 @@ "input": { "type": "structure", "required": [ - "EncryptedPinBlock", "IncomingKeyIdentifier", - "IncomingTranslationAttributes", "OutgoingKeyIdentifier", - "OutgoingTranslationAttributes" + "IncomingTranslationAttributes", + "OutgoingTranslationAttributes", + "EncryptedPinBlock" ], "members": { + "IncomingKeyIdentifier": {}, + "OutgoingKeyIdentifier": {}, + "IncomingTranslationAttributes": { + "shape": "S2a" + }, + "OutgoingTranslationAttributes": { + "shape": "S2a" + }, "EncryptedPinBlock": { "type": "string", "sensitive": true }, "IncomingDukptAttributes": { - "shape": "S27" - }, - "IncomingKeyIdentifier": {}, - "IncomingTranslationAttributes": { - "shape": "S28" + "shape": "S2e" }, "OutgoingDukptAttributes": { - "shape": "S27" + "shape": "S2e" }, - "OutgoingKeyIdentifier": {}, - "OutgoingTranslationAttributes": { - "shape": "S28" + "IncomingWrappedKey": { + "shape": "Sl" + }, + "OutgoingWrappedKey": { + "shape": "Sl" } } }, "output": { "type": "structure", "required": [ + "PinBlock", "KeyArn", - "KeyCheckValue", - "PinBlock" + "KeyCheckValue" ], "members": { + "PinBlock": {}, "KeyArn": {}, - "KeyCheckValue": {}, - "PinBlock": {} + "KeyCheckValue": {} } } }, @@ -439,121 +462,121 @@ "input": { "type": "structure", "required": [ - "AuthRequestCryptogram", "KeyIdentifier", + "TransactionData", + "AuthRequestCryptogram", "MajorKeyDerivationMode", - "SessionKeyDerivationAttributes", - "TransactionData" + "SessionKeyDerivationAttributes" ], "members": { + "KeyIdentifier": {}, + "TransactionData": {}, "AuthRequestCryptogram": {}, - "AuthResponseAttributes": { + "MajorKeyDerivationMode": {}, + "SessionKeyDerivationAttributes": { "type": "structure", "members": { - "ArpcMethod1": { + "EmvCommon": { "type": "structure", "required": [ - "AuthResponseCode" + "PrimaryAccountNumber", + "PanSequenceNumber", + "ApplicationTransactionCounter" ], "members": { - "AuthResponseCode": {} + "PrimaryAccountNumber": { + "shape": "Sh" + }, + "PanSequenceNumber": {}, + "ApplicationTransactionCounter": {} } }, - "ArpcMethod2": { - "type": "structure", - "required": [ - "CardStatusUpdate" - ], - "members": { - "CardStatusUpdate": {}, - "ProprietaryAuthenticationData": {} - } - } - }, - "union": true - }, - "KeyIdentifier": {}, - "MajorKeyDerivationMode": {}, - "SessionKeyDerivationAttributes": { - "type": "structure", - "members": { - "Amex": { + "Mastercard": { "type": "structure", "required": [ + "PrimaryAccountNumber", "PanSequenceNumber", - "PrimaryAccountNumber" + "ApplicationTransactionCounter", + "UnpredictableNumber" ], "members": { - "PanSequenceNumber": {}, "PrimaryAccountNumber": { - "shape": "Sg" - } + "shape": "Sh" + }, + "PanSequenceNumber": {}, + "ApplicationTransactionCounter": {}, + "UnpredictableNumber": {} } }, "Emv2000": { "type": "structure", "required": [ - "ApplicationTransactionCounter", + "PrimaryAccountNumber", "PanSequenceNumber", - "PrimaryAccountNumber" + "ApplicationTransactionCounter" ], "members": { - "ApplicationTransactionCounter": {}, - "PanSequenceNumber": {}, "PrimaryAccountNumber": { - "shape": "Sg" - } + "shape": "Sh" + }, + "PanSequenceNumber": {}, + "ApplicationTransactionCounter": {} } }, - "EmvCommon": { + "Amex": { "type": "structure", "required": [ - "ApplicationTransactionCounter", - "PanSequenceNumber", - "PrimaryAccountNumber" + "PrimaryAccountNumber", + "PanSequenceNumber" ], "members": { - "ApplicationTransactionCounter": {}, - "PanSequenceNumber": {}, "PrimaryAccountNumber": { - "shape": "Sg" - } + "shape": "Sh" + }, + "PanSequenceNumber": {} } }, - "Mastercard": { + "Visa": { "type": "structure", "required": [ - "ApplicationTransactionCounter", - "PanSequenceNumber", "PrimaryAccountNumber", - "UnpredictableNumber" + "PanSequenceNumber" ], "members": { - "ApplicationTransactionCounter": {}, - "PanSequenceNumber": {}, "PrimaryAccountNumber": { - "shape": "Sg" + "shape": "Sh" }, - "UnpredictableNumber": {} + "PanSequenceNumber": {} + } + } + }, + "union": true + }, + "AuthResponseAttributes": { + "type": "structure", + "members": { + "ArpcMethod1": { + "type": "structure", + "required": [ + "AuthResponseCode" + ], + "members": { + "AuthResponseCode": {} } }, - "Visa": { + "ArpcMethod2": { "type": "structure", "required": [ - "PanSequenceNumber", - "PrimaryAccountNumber" + "CardStatusUpdate" ], "members": { - "PanSequenceNumber": {}, - "PrimaryAccountNumber": { - "shape": "Sg" - } + "CardStatusUpdate": {}, + "ProprietaryAuthenticationData": {} } } }, "union": true - }, - "TransactionData": {} + } } }, "output": { @@ -563,9 +586,9 @@ "KeyCheckValue" ], "members": { - "AuthResponseValue": {}, "KeyArn": {}, - "KeyCheckValue": {} + "KeyCheckValue": {}, + "AuthResponseValue": {} } } }, @@ -579,55 +602,55 @@ "required": [ "KeyIdentifier", "PrimaryAccountNumber", - "ValidationData", - "VerificationAttributes" + "VerificationAttributes", + "ValidationData" ], "members": { "KeyIdentifier": {}, "PrimaryAccountNumber": { - "shape": "Sg" + "shape": "Sh" }, - "ValidationData": {}, "VerificationAttributes": { "type": "structure", "members": { "AmexCardSecurityCodeVersion1": { - "shape": "St" + "shape": "Sx" }, "AmexCardSecurityCodeVersion2": { - "shape": "Sv" - }, - "CardHolderVerificationValue": { - "shape": "Sx" + "shape": "Sz" }, "CardVerificationValue1": { - "shape": "S10" + "shape": "S11" }, "CardVerificationValue2": { - "shape": "S11" + "shape": "S12" + }, + "CardHolderVerificationValue": { + "shape": "S13" + }, + "DynamicCardVerificationCode": { + "shape": "S16" + }, + "DynamicCardVerificationValue": { + "shape": "S18" }, "DiscoverDynamicCardVerificationCode": { "type": "structure", "required": [ - "ApplicationTransactionCounter", "CardExpiryDate", - "UnpredictableNumber" + "UnpredictableNumber", + "ApplicationTransactionCounter" ], "members": { - "ApplicationTransactionCounter": {}, "CardExpiryDate": {}, - "UnpredictableNumber": {} + "UnpredictableNumber": {}, + "ApplicationTransactionCounter": {} } - }, - "DynamicCardVerificationCode": { - "shape": "S12" - }, - "DynamicCardVerificationValue": { - "shape": "S14" } }, "union": true - } + }, + "ValidationData": {} } }, "output": { @@ -651,24 +674,24 @@ "type": "structure", "required": [ "KeyIdentifier", - "Mac", "MessageData", + "Mac", "VerificationAttributes" ], "members": { "KeyIdentifier": {}, + "MessageData": { + "shape": "S1d" + }, "Mac": { "type": "string", "sensitive": true }, + "VerificationAttributes": { + "shape": "S1e" + }, "MacLength": { "type": "integer" - }, - "MessageData": { - "shape": "S1h" - }, - "VerificationAttributes": { - "shape": "S19" } } }, @@ -692,52 +715,19 @@ "input": { "type": "structure", "required": [ - "EncryptedPinBlock", + "VerificationKeyIdentifier", "EncryptionKeyIdentifier", - "PinBlockFormat", - "PrimaryAccountNumber", "VerificationAttributes", - "VerificationKeyIdentifier" + "EncryptedPinBlock", + "PrimaryAccountNumber", + "PinBlockFormat" ], "members": { - "DukptAttributes": { - "type": "structure", - "required": [ - "DukptDerivationType", - "KeySerialNumber" - ], - "members": { - "DukptDerivationType": {}, - "KeySerialNumber": {} - } - }, - "EncryptedPinBlock": {}, + "VerificationKeyIdentifier": {}, "EncryptionKeyIdentifier": {}, - "PinBlockFormat": {}, - "PinDataLength": { - "type": "integer" - }, - "PrimaryAccountNumber": { - "shape": "Sg" - }, "VerificationAttributes": { "type": "structure", "members": { - "Ibm3624Pin": { - "type": "structure", - "required": [ - "DecimalizationTable", - "PinOffset", - "PinValidationData", - "PinValidationDataPadCharacter" - ], - "members": { - "DecimalizationTable": {}, - "PinOffset": {}, - "PinValidationData": {}, - "PinValidationDataPadCharacter": {} - } - }, "VisaPin": { "type": "structure", "required": [ @@ -750,38 +740,74 @@ }, "VerificationValue": {} } + }, + "Ibm3624Pin": { + "type": "structure", + "required": [ + "DecimalizationTable", + "PinValidationDataPadCharacter", + "PinValidationData", + "PinOffset" + ], + "members": { + "DecimalizationTable": {}, + "PinValidationDataPadCharacter": {}, + "PinValidationData": {}, + "PinOffset": {} + } } }, "union": true }, - "VerificationKeyIdentifier": {} + "EncryptedPinBlock": {}, + "PrimaryAccountNumber": { + "shape": "Sh" + }, + "PinBlockFormat": {}, + "PinDataLength": { + "type": "integer" + }, + "DukptAttributes": { + "type": "structure", + "required": [ + "KeySerialNumber", + "DukptDerivationType" + ], + "members": { + "KeySerialNumber": {}, + "DukptDerivationType": {} + } + } } }, "output": { "type": "structure", "required": [ - "EncryptionKeyArn", - "EncryptionKeyCheckValue", "VerificationKeyArn", - "VerificationKeyCheckValue" + "VerificationKeyCheckValue", + "EncryptionKeyArn", + "EncryptionKeyCheckValue" ], "members": { - "EncryptionKeyArn": {}, - "EncryptionKeyCheckValue": {}, "VerificationKeyArn": {}, - "VerificationKeyCheckValue": {} + "VerificationKeyCheckValue": {}, + "EncryptionKeyArn": {}, + "EncryptionKeyCheckValue": {} } } } }, "shapes": { - "S2": { + "S3": { "type": "string", "sensitive": true }, - "S3": { + "S4": { "type": "structure", "members": { + "Symmetric": { + "shape": "S5" + }, "Asymmetric": { "type": "structure", "members": { @@ -789,72 +815,88 @@ } }, "Dukpt": { - "shape": "S6" + "shape": "Sa" }, "Emv": { "type": "structure", "required": [ "MajorKeyDerivationMode", - "PanSequenceNumber", "PrimaryAccountNumber", + "PanSequenceNumber", "SessionDerivationData" ], "members": { - "InitializationVector": { - "shape": "S9" - }, "MajorKeyDerivationMode": {}, - "Mode": {}, - "PanSequenceNumber": {}, "PrimaryAccountNumber": { - "shape": "Sg" + "shape": "Sh" }, - "SessionDerivationData": {} + "PanSequenceNumber": {}, + "SessionDerivationData": {}, + "Mode": {}, + "InitializationVector": { + "shape": "S7" + } } - }, - "Symmetric": { - "shape": "Si" } }, "union": true }, - "S6": { + "S5": { "type": "structure", "required": [ - "KeySerialNumber" + "Mode" ], "members": { - "DukptKeyDerivationType": {}, - "DukptKeyVariant": {}, + "Mode": {}, "InitializationVector": { - "shape": "S9" + "shape": "S7" }, - "KeySerialNumber": {}, - "Mode": {} + "PaddingType": {} } }, - "S9": { + "S7": { "type": "string", "sensitive": true }, - "Sg": { + "Sa": { + "type": "structure", + "required": [ + "KeySerialNumber" + ], + "members": { + "KeySerialNumber": {}, + "Mode": {}, + "DukptKeyDerivationType": {}, + "DukptKeyVariant": {}, + "InitializationVector": { + "shape": "S7" + } + } + }, + "Sh": { "type": "string", "sensitive": true }, - "Si": { + "Sl": { "type": "structure", "required": [ - "Mode" + "WrappedKeyMaterial" ], "members": { - "InitializationVector": { - "shape": "S9" + "WrappedKeyMaterial": { + "type": "structure", + "members": { + "Tr31KeyBlock": { + "type": "string", + "sensitive": true + } + }, + "union": true }, - "Mode": {}, - "PaddingType": {} + "KeyCheckValueAlgorithm": {} } }, - "St": { + "Sx": { "type": "structure", "required": [ "CardExpiryDate" @@ -863,7 +905,7 @@ "CardExpiryDate": {} } }, - "Sv": { + "Sz": { "type": "structure", "required": [ "CardExpiryDate", @@ -874,20 +916,7 @@ "ServiceCode": {} } }, - "Sx": { - "type": "structure", - "required": [ - "ApplicationTransactionCounter", - "PanSequenceNumber", - "UnpredictableNumber" - ], - "members": { - "ApplicationTransactionCounter": {}, - "PanSequenceNumber": {}, - "UnpredictableNumber": {} - } - }, - "S10": { + "S11": { "type": "structure", "required": [ "CardExpiryDate", @@ -898,7 +927,7 @@ "ServiceCode": {} } }, - "S11": { + "S12": { "type": "structure", "required": [ "CardExpiryDate" @@ -907,64 +936,72 @@ "CardExpiryDate": {} } }, - "S12": { + "S13": { "type": "structure", "required": [ - "ApplicationTransactionCounter", + "UnpredictableNumber", "PanSequenceNumber", - "TrackData", - "UnpredictableNumber" + "ApplicationTransactionCounter" ], "members": { - "ApplicationTransactionCounter": {}, + "UnpredictableNumber": {}, "PanSequenceNumber": {}, - "TrackData": {}, - "UnpredictableNumber": {} + "ApplicationTransactionCounter": {} } }, - "S14": { + "S16": { "type": "structure", "required": [ - "ApplicationTransactionCounter", - "CardExpiryDate", + "UnpredictableNumber", "PanSequenceNumber", - "ServiceCode" + "ApplicationTransactionCounter", + "TrackData" ], "members": { + "UnpredictableNumber": {}, + "PanSequenceNumber": {}, "ApplicationTransactionCounter": {}, - "CardExpiryDate": {}, + "TrackData": {} + } + }, + "S18": { + "type": "structure", + "required": [ + "PanSequenceNumber", + "CardExpiryDate", + "ServiceCode", + "ApplicationTransactionCounter" + ], + "members": { "PanSequenceNumber": {}, - "ServiceCode": {} + "CardExpiryDate": {}, + "ServiceCode": {}, + "ApplicationTransactionCounter": {} } }, - "S19": { + "S1d": { + "type": "string", + "sensitive": true + }, + "S1e": { "type": "structure", "members": { "Algorithm": {}, - "DukptCmac": { - "shape": "S1b" - }, - "DukptIso9797Algorithm1": { - "shape": "S1b" - }, - "DukptIso9797Algorithm3": { - "shape": "S1b" - }, "EmvMac": { "type": "structure", "required": [ "MajorKeyDerivationMode", - "PanSequenceNumber", "PrimaryAccountNumber", + "PanSequenceNumber", "SessionKeyDerivationMode", "SessionKeyDerivationValue" ], "members": { "MajorKeyDerivationMode": {}, - "PanSequenceNumber": {}, "PrimaryAccountNumber": { - "shape": "Sg" + "shape": "Sh" }, + "PanSequenceNumber": {}, "SessionKeyDerivationMode": {}, "SessionKeyDerivationValue": { "type": "structure", @@ -975,78 +1012,83 @@ "union": true } } + }, + "DukptIso9797Algorithm1": { + "shape": "S1k" + }, + "DukptIso9797Algorithm3": { + "shape": "S1k" + }, + "DukptCmac": { + "shape": "S1k" } }, "union": true }, - "S1b": { + "S1k": { "type": "structure", "required": [ - "DukptKeyVariant", - "KeySerialNumber" + "KeySerialNumber", + "DukptKeyVariant" ], "members": { - "DukptDerivationType": {}, + "KeySerialNumber": {}, "DukptKeyVariant": {}, - "KeySerialNumber": {} + "DukptDerivationType": {} } }, - "S1h": { - "type": "string", - "sensitive": true - }, - "S23": { + "S27": { "type": "structure", "members": { - "Dukpt": { - "shape": "S6" - }, "Symmetric": { - "shape": "Si" + "shape": "S5" + }, + "Dukpt": { + "shape": "Sa" } }, "union": true }, - "S27": { - "type": "structure", - "required": [ - "KeySerialNumber" - ], - "members": { - "DukptKeyDerivationType": {}, - "DukptKeyVariant": {}, - "KeySerialNumber": {} - } - }, - "S28": { + "S2a": { "type": "structure", "members": { "IsoFormat0": { - "shape": "S29" + "shape": "S2b" }, "IsoFormat1": { "type": "structure", "members": {} }, "IsoFormat3": { - "shape": "S29" + "shape": "S2b" }, "IsoFormat4": { - "shape": "S29" + "shape": "S2b" } }, "union": true }, - "S29": { + "S2b": { "type": "structure", "required": [ "PrimaryAccountNumber" ], "members": { "PrimaryAccountNumber": { - "shape": "Sg" + "shape": "Sh" } } + }, + "S2e": { + "type": "structure", + "required": [ + "KeySerialNumber" + ], + "members": { + "KeySerialNumber": {}, + "DukptKeyDerivationType": {}, + "DukptKeyVariant": {} + } } } } \ No newline at end of file diff --git a/apis/payment-cryptography-data-2022-02-03.normal.json b/apis/payment-cryptography-data-2022-02-03.normal.json index 90cadc4f7d..c4ffb6ac22 100644 --- a/apis/payment-cryptography-data-2022-02-03.normal.json +++ b/apis/payment-cryptography-data-2022-02-03.normal.json @@ -2,9 +2,14 @@ "version": "2.0", "metadata": { "apiVersion": "2022-02-03", + "auth": [ + "aws.auth#sigv4" + ], "endpointPrefix": "dataplane.payment-cryptography", - "jsonVersion": "1.1", "protocol": "rest-json", + "protocols": [ + "rest-json" + ], "serviceFullName": "Payment Cryptography Data Plane", "serviceId": "Payment Cryptography Data", "signatureVersion": "v4", @@ -202,7 +207,7 @@ "shape": "InternalServerException" } ], - "documentation": "Re-encrypt ciphertext using DUKPT, Symmetric and Asymmetric Data Encryption Keys.
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.
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.
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.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
" + "documentation": "Re-encrypt ciphertext using DUKPT or Symmetric data encryption keys.
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
.
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.
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.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
" }, "TranslatePinData": { "name": "TranslatePinData", @@ -429,10 +434,6 @@ "shape": "AmexCardSecurityCodeVersion2", "documentation": "Card data parameters that are required to generate a Card Security Code (CSC2) for an AMEX payment card.
" }, - "CardHolderVerificationValue": { - "shape": "CardHolderVerificationValue", - "documentation": "Card data parameters that are required to generate a cardholder verification value for the payment card.
" - }, "CardVerificationValue1": { "shape": "CardVerificationValue1", "documentation": "Card data parameters that are required to generate Card Verification Value (CVV) for the payment card.
" @@ -441,6 +442,10 @@ "shape": "CardVerificationValue2", "documentation": "Card data parameters that are required to generate Card Verification Value (CVV2) for the payment card.
" }, + "CardHolderVerificationValue": { + "shape": "CardHolderVerificationValue", + "documentation": "Card data parameters that are required to generate a cardholder verification value for the payment card.
" + }, "DynamicCardVerificationCode": { "shape": "DynamicCardVerificationCode", "documentation": "Card data parameters that are required to generate CDynamic Card Verification Code (dCVC) for the payment card.
" @@ -456,22 +461,22 @@ "CardHolderVerificationValue": { "type": "structure", "required": [ - "ApplicationTransactionCounter", + "UnpredictableNumber", "PanSequenceNumber", - "UnpredictableNumber" + "ApplicationTransactionCounter" ], "members": { - "ApplicationTransactionCounter": { - "shape": "HexLengthBetween2And4", - "documentation": "The transaction counter value that comes from a point of sale terminal.
" + "UnpredictableNumber": { + "shape": "HexLengthBetween2And8", + "documentation": "A random number generated by the issuer.
" }, "PanSequenceNumber": { - "shape": "HexLengthEquals2", + "shape": "NumberLengthEquals2", "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" }, - "UnpredictableNumber": { - "shape": "HexLengthBetween2And8", - "documentation": "A random number generated by the issuer.
" + "ApplicationTransactionCounter": { + "shape": "HexLengthBetween2And4", + "documentation": "The transaction counter value that comes from a point of sale terminal.
" } }, "documentation": "Card data parameters that are required to generate a cardholder verification value for the payment card.
" @@ -486,10 +491,6 @@ "shape": "AmexCardSecurityCodeVersion2", "documentation": "Card data parameters that are required to verify a Card Security Code (CSC2) for an AMEX payment card.
" }, - "CardHolderVerificationValue": { - "shape": "CardHolderVerificationValue", - "documentation": "Card data parameters that are required to verify a cardholder verification value for the payment card.
" - }, "CardVerificationValue1": { "shape": "CardVerificationValue1", "documentation": "Card data parameters that are required to verify Card Verification Value (CVV) for the payment card.
" @@ -498,9 +499,9 @@ "shape": "CardVerificationValue2", "documentation": "Card data parameters that are required to verify Card Verification Value (CVV2) for the payment card.
" }, - "DiscoverDynamicCardVerificationCode": { - "shape": "DiscoverDynamicCardVerificationCode", - "documentation": "Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
" + "CardHolderVerificationValue": { + "shape": "CardHolderVerificationValue", + "documentation": "Card data parameters that are required to verify a cardholder verification value for the payment card.
" }, "DynamicCardVerificationCode": { "shape": "DynamicCardVerificationCode", @@ -509,6 +510,10 @@ "DynamicCardVerificationValue": { "shape": "DynamicCardVerificationValue", "documentation": "Card data parameters that are required to verify CDynamic Card Verification Value (dCVV) for the payment card.
" + }, + "DiscoverDynamicCardVerificationCode": { + "shape": "DiscoverDynamicCardVerificationCode", + "documentation": "Card data parameters that are required to verify CDynamic Card Verification Code (dCVC) for the payment card.
" } }, "documentation": "Card data parameters that are requried to verify Card Verification Values (CVV/CVV2), Dynamic Card Verification Values (dCVV/dCVV2), or Card Security Codes (CSC).
", @@ -593,11 +598,17 @@ "DecryptDataInput": { "type": "structure", "required": [ + "KeyIdentifier", "CipherText", - "DecryptionAttributes", - "KeyIdentifier" + "DecryptionAttributes" ], "members": { + "KeyIdentifier": { + "shape": "KeyArnOrKeyAliasType", + "documentation": "The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.
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.
", + "location": "uri", + "locationName": "KeyIdentifier" + }, "CipherText": { "shape": "HexEvenLengthBetween16And4096", "documentation": "The ciphertext to decrypt.
" @@ -606,11 +617,9 @@ "shape": "EncryptionDecryptionAttributes", "documentation": "The encryption key type and attributes for ciphertext decryption.
" }, - "KeyIdentifier": { - "shape": "KeyArnOrKeyAliasType", - "documentation": "The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.
The WrappedKeyBlock containing the encryption key for ciphertext decryption.
" } } }, @@ -639,15 +648,11 @@ "DiscoverDynamicCardVerificationCode": { "type": "structure", "required": [ - "ApplicationTransactionCounter", "CardExpiryDate", - "UnpredictableNumber" + "UnpredictableNumber", + "ApplicationTransactionCounter" ], "members": { - "ApplicationTransactionCounter": { - "shape": "HexLengthBetween2And4", - "documentation": "The transaction counter value that comes from the terminal.
" - }, "CardExpiryDate": { "shape": "NumberLengthEquals4", "documentation": "The expiry date of a payment card.
" @@ -655,6 +660,10 @@ "UnpredictableNumber": { "shape": "HexLengthBetween2And8", "documentation": "A random number that is generated by the issuer.
" + }, + "ApplicationTransactionCounter": { + "shape": "HexLengthBetween2And4", + "documentation": "The transaction counter value that comes from the terminal.
" } }, "documentation": "Parameters that are required to generate or verify dCVC (Dynamic Card Verification Code).
" @@ -662,17 +671,17 @@ "DukptAttributes": { "type": "structure", "required": [ - "DukptDerivationType", - "KeySerialNumber" + "KeySerialNumber", + "DukptDerivationType" ], "members": { - "DukptDerivationType": { - "shape": "DukptDerivationType", - "documentation": "The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128
as a derivation type for a BDK of AES_128
or TDES_2KEY
.
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
" + }, + "DukptDerivationType": { + "shape": "DukptDerivationType", + "documentation": "The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128
as a derivation type for a BDK of AES_128
or TDES_2KEY
.
Parameters that are used for Derived Unique Key Per Transaction (DUKPT) derivation algorithm.
" @@ -683,6 +692,10 @@ "KeySerialNumber" ], "members": { + "KeySerialNumber": { + "shape": "HexLengthBetween10And24", + "documentation": "The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
" + }, "DukptKeyDerivationType": { "shape": "DukptDerivationType", "documentation": "The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128
as a derivation type for a BDK of AES_128
or TDES_2KEY
The type of use of DUKPT, which can be for incoming data decryption, outgoing data encryption, or both.
" - }, - "KeySerialNumber": { - "shape": "HexLengthBetween10And24", - "documentation": "The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
" } }, "documentation": "Parameters required for encryption or decryption of data using DUKPT.
" @@ -714,6 +723,14 @@ "KeySerialNumber" ], "members": { + "KeySerialNumber": { + "shape": "HexLengthBetween10And24", + "documentation": "The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
" + }, + "Mode": { + "shape": "DukptEncryptionMode", + "documentation": "The block cipher method to use for encryption.
The default is CBC.
" + }, "DukptKeyDerivationType": { "shape": "DukptDerivationType", "documentation": "The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128
as a derivation type for a BDK of AES_128
or TDES_2KEY
An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
" - }, - "KeySerialNumber": { - "shape": "HexLengthBetween10And24", - "documentation": "The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
" - }, - "Mode": { - "shape": "DukptEncryptionMode", - "documentation": "The block cipher method to use for encryption.
The default is CBC.
" } }, "documentation": "Parameters that are required to encrypt plaintext data using DUKPT.
" @@ -755,27 +764,27 @@ "DynamicCardVerificationCode": { "type": "structure", "required": [ - "ApplicationTransactionCounter", + "UnpredictableNumber", "PanSequenceNumber", - "TrackData", - "UnpredictableNumber" + "ApplicationTransactionCounter", + "TrackData" ], "members": { - "ApplicationTransactionCounter": { - "shape": "HexLengthBetween2And4", - "documentation": "The transaction counter value that comes from the terminal.
" + "UnpredictableNumber": { + "shape": "HexLengthBetween2And8", + "documentation": "A random number generated by the issuer.
" }, "PanSequenceNumber": { - "shape": "HexLengthEquals2", + "shape": "NumberLengthEquals2", "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" }, + "ApplicationTransactionCounter": { + "shape": "HexLengthBetween2And4", + "documentation": "The transaction counter value that comes from the terminal.
" + }, "TrackData": { "shape": "HexLengthBetween2And160", "documentation": "The data on the two tracks of magnetic cards used for financial transactions. This includes the cardholder name, PAN, expiration date, bank ID (BIN) and several other numbers the issuing bank uses to validate the data received.
" - }, - "UnpredictableNumber": { - "shape": "HexLengthBetween2And8", - "documentation": "A random number generated by the issuer.
" } }, "documentation": "Parameters that are required to generate or verify Dynamic Card Verification Value (dCVV).
" @@ -783,27 +792,27 @@ "DynamicCardVerificationValue": { "type": "structure", "required": [ - "ApplicationTransactionCounter", - "CardExpiryDate", "PanSequenceNumber", - "ServiceCode" + "CardExpiryDate", + "ServiceCode", + "ApplicationTransactionCounter" ], "members": { - "ApplicationTransactionCounter": { - "shape": "HexLengthBetween2And4", - "documentation": "The transaction counter value that comes from the terminal.
" + "PanSequenceNumber": { + "shape": "NumberLengthEquals2", + "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" }, "CardExpiryDate": { "shape": "NumberLengthEquals4", "documentation": "The expiry date of a payment card.
" }, - "PanSequenceNumber": { - "shape": "HexLengthEquals2", - "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" - }, "ServiceCode": { "shape": "NumberLengthEquals3", "documentation": "The service code of the payment card. This is different from Card Security Code (CSC).
" + }, + "ApplicationTransactionCounter": { + "shape": "HexLengthBetween2And4", + "documentation": "The transaction counter value that comes from the terminal.
" } }, "documentation": "Parameters that are required to generate or verify Dynamic Card Verification Value (dCVV).
" @@ -812,34 +821,34 @@ "type": "structure", "required": [ "MajorKeyDerivationMode", - "PanSequenceNumber", "PrimaryAccountNumber", + "PanSequenceNumber", "SessionDerivationData" ], "members": { - "InitializationVector": { - "shape": "HexLength16Or32", - "documentation": "An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
" - }, "MajorKeyDerivationMode": { "shape": "EmvMajorKeyDerivationMode", "documentation": "The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
" }, - "Mode": { - "shape": "EmvEncryptionMode", - "documentation": "The block cipher method to use for encryption.
" - }, - "PanSequenceNumber": { - "shape": "HexLengthEquals2", - "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" - }, "PrimaryAccountNumber": { "shape": "NumberLengthBetween12And19", "documentation": "The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
" }, + "PanSequenceNumber": { + "shape": "NumberLengthEquals2", + "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" + }, "SessionDerivationData": { "shape": "HexLengthEquals16", "documentation": "The derivation value used to derive the ICC session key. It is typically the application transaction counter value padded with zeros or previous ARQC value padded with zeros as per EMV version 4.3 book 2.
" + }, + "Mode": { + "shape": "EmvEncryptionMode", + "documentation": "The block cipher method to use for encryption.
" + }, + "InitializationVector": { + "shape": "HexLength16Or32", + "documentation": "An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
" } }, "documentation": "Parameters for plaintext encryption using EMV keys.
" @@ -861,38 +870,38 @@ "EncryptDataInput": { "type": "structure", "required": [ - "EncryptionAttributes", "KeyIdentifier", - "PlainText" + "PlainText", + "EncryptionAttributes" ], "members": { - "EncryptionAttributes": { - "shape": "EncryptionDecryptionAttributes", - "documentation": "The encryption key type and attributes for plaintext encryption.
" - }, "KeyIdentifier": { "shape": "KeyArnOrKeyAliasType", - "documentation": "The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
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.
", "location": "uri", "locationName": "KeyIdentifier" }, "PlainText": { "shape": "HexEvenLengthBetween16And4064", "documentation": "The plaintext to be encrypted.
For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that you define in KeyAlgorithm
and padding type that you define in AsymmetricEncryptionAttributes
. For more information, see Encrypt data in the Amazon Web Services Payment Cryptography User Guide.
The encryption key type and attributes for plaintext encryption.
" + }, + "WrappedKey": { + "shape": "WrappedKey", + "documentation": "The WrappedKeyBlock containing the encryption key for plaintext encryption.
" } } }, "EncryptDataOutput": { "type": "structure", "required": [ - "CipherText", - "KeyArn" + "KeyArn", + "CipherText" ], "members": { - "CipherText": { - "shape": "HexEvenLengthBetween16And4096", - "documentation": "The encrypted ciphertext.
" - }, "KeyArn": { "shape": "KeyArn", "documentation": "The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
" + }, + "CipherText": { + "shape": "HexEvenLengthBetween16And4096", + "documentation": "The encrypted ciphertext.
" } } }, "EncryptionDecryptionAttributes": { "type": "structure", "members": { + "Symmetric": { + "shape": "SymmetricEncryptionAttributes", + "documentation": "Parameters that are required to perform encryption and decryption using symmetric keys.
" + }, "Asymmetric": { "shape": "AsymmetricEncryptionAttributes" }, @@ -915,10 +932,6 @@ "Emv": { "shape": "EmvEncryptionAttributes", "documentation": "Parameters for plaintext encryption using EMV keys.
" - }, - "Symmetric": { - "shape": "SymmetricEncryptionAttributes", - "documentation": "Parameters that are required to perform encryption and decryption using symmetric keys.
" } }, "documentation": "Parameters that are required to perform encryption and decryption operations.
", @@ -940,15 +953,11 @@ "GenerateCardValidationDataInput": { "type": "structure", "required": [ - "GenerationAttributes", "KeyIdentifier", - "PrimaryAccountNumber" + "PrimaryAccountNumber", + "GenerationAttributes" ], "members": { - "GenerationAttributes": { - "shape": "CardGenerationAttributes", - "documentation": "The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.
" - }, "KeyIdentifier": { "shape": "KeyArnOrKeyAliasType", "documentation": "The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate card data.
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
" }, + "GenerationAttributes": { + "shape": "CardGenerationAttributes", + "documentation": "The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.
" + }, "ValidationDataLength": { "shape": "IntegerRangeBetween3And5Type", "documentation": "The length of the CVV or CSC to be generated. The default value is 3.
" @@ -988,26 +1001,26 @@ "GenerateMacInput": { "type": "structure", "required": [ - "GenerationAttributes", "KeyIdentifier", - "MessageData" + "MessageData", + "GenerationAttributes" ], "members": { - "GenerationAttributes": { - "shape": "MacAttributes", - "documentation": "The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.
" - }, "KeyIdentifier": { "shape": "KeyArnOrKeyAliasType", "documentation": "The keyARN
of the MAC generation encryption key.
The length of a MAC under generation.
" - }, "MessageData": { "shape": "HexEvenLengthBetween2And4096", "documentation": "The data for which a MAC is under generation. This value must be hexBinary.
" + }, + "GenerationAttributes": { + "shape": "MacAttributes", + "documentation": "The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.
" + }, + "MacLength": { + "shape": "IntegerRangeBetween4And16", + "documentation": "The length of a MAC under generation.
" } } }, @@ -1036,13 +1049,17 @@ "GeneratePinDataInput": { "type": "structure", "required": [ + "GenerationKeyIdentifier", "EncryptionKeyIdentifier", "GenerationAttributes", - "GenerationKeyIdentifier", - "PinBlockFormat", - "PrimaryAccountNumber" + "PrimaryAccountNumber", + "PinBlockFormat" ], "members": { + "GenerationKeyIdentifier": { + "shape": "KeyArnOrKeyAliasType", + "documentation": "The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.
The attributes and values to use for PIN, PVV, or PIN Offset generation.
" }, - "GenerationKeyIdentifier": { - "shape": "KeyArnOrKeyAliasType", - "documentation": "The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.
The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0
and ISO_Format_3
.
The ISO_Format_0
PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.
The ISO_Format_3
PIN block format is the same as ISO_Format_0
except that the fill digits are random values from 10 to 15.
The length of PIN under generation.
" @@ -1066,40 +1075,44 @@ "PrimaryAccountNumber": { "shape": "NumberLengthBetween12And19", "documentation": "The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
" + }, + "PinBlockFormat": { + "shape": "PinBlockFormatForPinData", + "documentation": "The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0
and ISO_Format_3
.
The ISO_Format_0
PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.
The ISO_Format_3
PIN block format is the same as ISO_Format_0
except that the fill digits are random values from 10 to 15.
The PIN block encrypted under PEK from Amazon Web Services Payment Cryptography. The encrypted PIN block is a composite of PAN (Primary Account Number) and PIN (Personal Identification Number), generated in accordance with ISO 9564 standard.
" - }, - "EncryptionKeyArn": { + "GenerationKeyArn": { "shape": "KeyArn", - "documentation": "The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.
The keyARN
of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
" }, - "GenerationKeyArn": { + "EncryptionKeyArn": { "shape": "KeyArn", - "documentation": "The keyARN
of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
" }, + "EncryptedPinBlock": { + "shape": "HexLengthBetween16And32", + "documentation": "The PIN block encrypted under PEK from Amazon Web Services Payment Cryptography. The encrypted PIN block is a composite of PAN (Primary Account Number) and PIN (Personal Identification Number), generated in accordance with ISO 9564 standard.
" + }, "PinData": { "shape": "PinData", "documentation": "The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.
" @@ -1110,141 +1123,135 @@ "type": "string", "max": 32, "min": 16, - "pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", + "pattern": "(?:[0-9a-fA-F][0-9a-fA-F])+", "sensitive": true }, "HexEvenLengthBetween16And4064": { "type": "string", "max": 4064, "min": 16, - "pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", + "pattern": "(?:[0-9a-fA-F][0-9a-fA-F])+", "sensitive": true }, "HexEvenLengthBetween16And4096": { "type": "string", "max": 4096, "min": 16, - "pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", + "pattern": "(?:[0-9a-fA-F][0-9a-fA-F])+", "sensitive": true }, "HexEvenLengthBetween2And4096": { "type": "string", "max": 4096, "min": 2, - "pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", + "pattern": "(?:[0-9a-fA-F][0-9a-fA-F])+", "sensitive": true }, "HexEvenLengthBetween4And128": { "type": "string", "max": 128, "min": 4, - "pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$", + "pattern": "(?:[0-9a-fA-F][0-9a-fA-F])+", "sensitive": true }, "HexLength16Or32": { "type": "string", "max": 32, "min": 16, - "pattern": "^(?:[0-9a-fA-F]{16}|[0-9a-fA-F]{32})$", + "pattern": "(?:[0-9a-fA-F]{16}|[0-9a-fA-F]{32})", "sensitive": true }, "HexLengthBetween10And24": { "type": "string", "max": 24, "min": 10, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" }, "HexLengthBetween16And32": { "type": "string", "max": 32, "min": 16, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" }, "HexLengthBetween1And16": { "type": "string", "max": 16, "min": 1, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" }, "HexLengthBetween2And1024": { "type": "string", "max": 1024, "min": 2, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" }, "HexLengthBetween2And160": { "type": "string", "max": 160, "min": 2, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" }, "HexLengthBetween2And4": { "type": "string", "max": 4, "min": 2, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" }, "HexLengthBetween2And8": { "type": "string", "max": 8, "min": 2, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" }, "HexLengthBetween4And128": { "type": "string", "max": 128, "min": 4, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" }, "HexLengthEquals1": { "type": "string", "max": 1, "min": 1, - "pattern": "^[0-9A-F]+$" + "pattern": "[0-9A-F]+" }, "HexLengthEquals16": { "type": "string", "max": 16, "min": 16, - "pattern": "^[0-9a-fA-F]+$" - }, - "HexLengthEquals2": { - "type": "string", - "max": 2, - "min": 2, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" }, "HexLengthEquals4": { "type": "string", "max": 4, "min": 4, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" }, "HexLengthEquals8": { "type": "string", "max": 8, "min": 8, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" }, "Ibm3624NaturalPin": { "type": "structure", "required": [ "DecimalizationTable", - "PinValidationData", - "PinValidationDataPadCharacter" + "PinValidationDataPadCharacter", + "PinValidationData" ], "members": { "DecimalizationTable": { "shape": "NumberLengthEquals16", "documentation": "The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
" }, - "PinValidationData": { - "shape": "NumberLengthBetween4And16", - "documentation": "The unique data for cardholder identification.
" - }, "PinValidationDataPadCharacter": { "shape": "HexLengthEquals1", "documentation": "The padding character for validation data.
" + }, + "PinValidationData": { + "shape": "NumberLengthBetween4And16", + "documentation": "The unique data for cardholder identification.
" } }, "documentation": "Parameters that are required to generate or verify Ibm3624 natural PIN.
" @@ -1253,26 +1260,26 @@ "type": "structure", "required": [ "DecimalizationTable", - "PinOffset", + "PinValidationDataPadCharacter", "PinValidationData", - "PinValidationDataPadCharacter" + "PinOffset" ], "members": { "DecimalizationTable": { "shape": "NumberLengthEquals16", "documentation": "The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
" }, - "PinOffset": { - "shape": "NumberLengthBetween4And12", - "documentation": "The PIN offset value.
" + "PinValidationDataPadCharacter": { + "shape": "HexLengthEquals1", + "documentation": "The padding character for validation data.
" }, "PinValidationData": { "shape": "NumberLengthBetween4And16", "documentation": "The unique data for cardholder identification.
" }, - "PinValidationDataPadCharacter": { - "shape": "HexLengthEquals1", - "documentation": "The padding character for validation data.
" + "PinOffset": { + "shape": "NumberLengthBetween4And12", + "documentation": "The PIN offset value.
" } }, "documentation": "Parameters that are required to generate or verify Ibm3624 PIN from offset PIN.
" @@ -1280,27 +1287,27 @@ "Ibm3624PinOffset": { "type": "structure", "required": [ - "DecimalizationTable", "EncryptedPinBlock", - "PinValidationData", - "PinValidationDataPadCharacter" + "DecimalizationTable", + "PinValidationDataPadCharacter", + "PinValidationData" ], "members": { - "DecimalizationTable": { - "shape": "NumberLengthEquals16", - "documentation": "The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
" - }, "EncryptedPinBlock": { "shape": "HexLengthBetween16And32", "documentation": "The encrypted PIN block data. According to ISO 9564 standard, a PIN Block is an encoded representation of a payment card Personal Account Number (PAN) and the cardholder Personal Identification Number (PIN).
" }, - "PinValidationData": { - "shape": "NumberLengthBetween4And16", - "documentation": "The unique data for cardholder identification.
" + "DecimalizationTable": { + "shape": "NumberLengthEquals16", + "documentation": "The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
" }, "PinValidationDataPadCharacter": { "shape": "HexLengthEquals1", "documentation": "The padding character for validation data.
" + }, + "PinValidationData": { + "shape": "NumberLengthBetween4And16", + "documentation": "The unique data for cardholder identification.
" } }, "documentation": "Pparameters that are required to generate or verify Ibm3624 PIN offset PIN.
" @@ -1309,26 +1316,26 @@ "type": "structure", "required": [ "DecimalizationTable", - "PinOffset", + "PinValidationDataPadCharacter", "PinValidationData", - "PinValidationDataPadCharacter" + "PinOffset" ], "members": { "DecimalizationTable": { "shape": "NumberLengthEquals16", "documentation": "The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
" }, - "PinOffset": { - "shape": "NumberLengthBetween4And12", - "documentation": "The PIN offset value.
" + "PinValidationDataPadCharacter": { + "shape": "HexLengthEquals1", + "documentation": "The padding character for validation data.
" }, "PinValidationData": { "shape": "NumberLengthBetween4And16", "documentation": "The unique data for cardholder identification.
" }, - "PinValidationDataPadCharacter": { - "shape": "HexLengthEquals1", - "documentation": "The padding character for validation data.
" + "PinOffset": { + "shape": "NumberLengthBetween4And12", + "documentation": "The PIN offset value.
" } }, "documentation": "Parameters that are required to generate or verify Ibm3624 PIN verification PIN.
" @@ -1337,29 +1344,29 @@ "type": "structure", "required": [ "DecimalizationTable", - "PinValidationData", - "PinValidationDataPadCharacter" + "PinValidationDataPadCharacter", + "PinValidationData" ], "members": { "DecimalizationTable": { "shape": "NumberLengthEquals16", "documentation": "The decimalization table to use for IBM 3624 PIN algorithm. The table is used to convert the algorithm intermediate result from hexadecimal characters to decimal.
" }, - "PinValidationData": { - "shape": "NumberLengthBetween4And16", - "documentation": "The unique data for cardholder identification.
" - }, "PinValidationDataPadCharacter": { "shape": "HexLengthEquals1", "documentation": "The padding character for validation data.
" + }, + "PinValidationData": { + "shape": "NumberLengthBetween4And16", + "documentation": "The unique data for cardholder identification.
" } }, "documentation": "Parameters that are required to generate or verify Ibm3624 random PIN.
" }, - "IntegerRangeBetween0And9": { + "IntegerRangeBetween0And6": { "type": "integer", "box": true, - "max": 9, + "max": 6, "min": 0 }, "IntegerRangeBetween3And5Type": { @@ -1384,19 +1391,26 @@ "type": "string", "max": 150, "min": 70, - "pattern": "^arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:key/[0-9a-zA-Z]{16,64}$" + "pattern": "arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:key/[0-9a-zA-Z]{16,64}" }, "KeyArnOrKeyAliasType": { "type": "string", "max": 322, "min": 7, - "pattern": "^arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:(key/[0-9a-zA-Z]{16,64}|alias/[a-zA-Z0-9/_-]+)$|^alias/[a-zA-Z0-9/_-]+$" + "pattern": "arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:(key/[0-9a-zA-Z]{16,64}|alias/[a-zA-Z0-9/_-]+)$|^alias/[a-zA-Z0-9/_-]+" }, "KeyCheckValue": { "type": "string", "max": 16, "min": 4, - "pattern": "^[0-9a-fA-F]+$" + "pattern": "[0-9a-fA-F]+" + }, + "KeyCheckValueAlgorithm": { + "type": "string", + "enum": [ + "CMAC", + "ANSI_X9_24" + ] }, "MacAlgorithm": { "type": "string", @@ -1413,21 +1427,21 @@ "MacAlgorithmDukpt": { "type": "structure", "required": [ - "DukptKeyVariant", - "KeySerialNumber" + "KeySerialNumber", + "DukptKeyVariant" ], "members": { - "DukptDerivationType": { - "shape": "DukptDerivationType", - "documentation": "The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128
as a derivation type for a BDK of AES_128
or TDES_2KEY
.
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
" }, "DukptKeyVariant": { "shape": "DukptKeyVariant", "documentation": "The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
" }, - "KeySerialNumber": { - "shape": "HexLengthBetween10And24", - "documentation": "The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
" + "DukptDerivationType": { + "shape": "DukptDerivationType", + "documentation": "The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128
as a derivation type for a BDK of AES_128
or TDES_2KEY
.
Parameters required for DUKPT MAC generation and verification.
" @@ -1436,8 +1450,8 @@ "type": "structure", "required": [ "MajorKeyDerivationMode", - "PanSequenceNumber", "PrimaryAccountNumber", + "PanSequenceNumber", "SessionKeyDerivationMode", "SessionKeyDerivationValue" ], @@ -1446,14 +1460,14 @@ "shape": "MajorKeyDerivationMode", "documentation": "The method to use when deriving the master key for EMV MAC generation or verification.
" }, - "PanSequenceNumber": { - "shape": "HexLengthEquals2", - "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" - }, "PrimaryAccountNumber": { "shape": "NumberLengthBetween12And19", "documentation": "The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
" }, + "PanSequenceNumber": { + "shape": "NumberLengthEquals2", + "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" + }, "SessionKeyDerivationMode": { "shape": "SessionKeyDerivationMode", "documentation": "The method of deriving a session key for EMV MAC generation or verification.
" @@ -1472,9 +1486,9 @@ "shape": "MacAlgorithm", "documentation": "The encryption algorithm for MAC generation or verification.
" }, - "DukptCmac": { - "shape": "MacAlgorithmDukpt", - "documentation": "Parameters that are required for MAC generation or verification using DUKPT CMAC algorithm.
" + "EmvMac": { + "shape": "MacAlgorithmEmv", + "documentation": "Parameters that are required for MAC generation or verification using EMV MAC algorithm.
" }, "DukptIso9797Algorithm1": { "shape": "MacAlgorithmDukpt", @@ -1484,9 +1498,9 @@ "shape": "MacAlgorithmDukpt", "documentation": "Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm3.
" }, - "EmvMac": { - "shape": "MacAlgorithmEmv", - "documentation": "Parameters that are required for MAC generation or verification using EMV MAC algorithm.
" + "DukptCmac": { + "shape": "MacAlgorithmDukpt", + "documentation": "Parameters that are required for MAC generation or verification using DUKPT CMAC algorithm.
" } }, "documentation": "Parameters that are required for DUKPT, HMAC, or EMV MAC generation or verification.
", @@ -1503,44 +1517,50 @@ "type": "string", "max": 19, "min": 12, - "pattern": "^[0-9]+$", + "pattern": "[0-9]+", "sensitive": true }, "NumberLengthBetween3And5": { "type": "string", "max": 5, "min": 3, - "pattern": "^[0-9]+$" + "pattern": "[0-9]+" }, "NumberLengthBetween4And12": { "type": "string", "max": 12, "min": 4, - "pattern": "^[0-9]+$" + "pattern": "[0-9]+" }, "NumberLengthBetween4And16": { "type": "string", "max": 16, "min": 4, - "pattern": "^[0-9]+$" + "pattern": "[0-9]+" }, "NumberLengthEquals16": { "type": "string", "max": 16, "min": 16, - "pattern": "^[0-9]+$" + "pattern": "[0-9]+" + }, + "NumberLengthEquals2": { + "type": "string", + "max": 2, + "min": 2, + "pattern": "[0-9]+" }, "NumberLengthEquals3": { "type": "string", "max": 3, "min": 3, - "pattern": "^[0-9]+$" + "pattern": "[0-9]+" }, "NumberLengthEquals4": { "type": "string", "max": 4, "min": 4, - "pattern": "^[0-9]+$" + "pattern": "[0-9]+" }, "PaddingType": { "type": "string", @@ -1576,29 +1596,29 @@ "PinGenerationAttributes": { "type": "structure", "members": { - "Ibm3624NaturalPin": { - "shape": "Ibm3624NaturalPin", - "documentation": "Parameters that are required to generate or verify Ibm3624 natural PIN.
" + "VisaPin": { + "shape": "VisaPin", + "documentation": "Parameters that are required to generate or verify Visa PIN.
" }, - "Ibm3624PinFromOffset": { - "shape": "Ibm3624PinFromOffset", - "documentation": "Parameters that are required to generate or verify Ibm3624 PIN from offset PIN.
" + "VisaPinVerificationValue": { + "shape": "VisaPinVerificationValue", + "documentation": "Parameters that are required to generate or verify Visa PIN Verification Value (PVV).
" }, "Ibm3624PinOffset": { "shape": "Ibm3624PinOffset", "documentation": "Parameters that are required to generate or verify Ibm3624 PIN offset PIN.
" }, + "Ibm3624NaturalPin": { + "shape": "Ibm3624NaturalPin", + "documentation": "Parameters that are required to generate or verify Ibm3624 natural PIN.
" + }, "Ibm3624RandomPin": { "shape": "Ibm3624RandomPin", "documentation": "Parameters that are required to generate or verify Ibm3624 random PIN.
" }, - "VisaPin": { - "shape": "VisaPin", - "documentation": "Parameters that are required to generate or verify Visa PIN.
" - }, - "VisaPinVerificationValue": { - "shape": "VisaPinVerificationValue", - "documentation": "Parameters that are required to generate or verify Visa PIN Verification Value (PVV).
" + "Ibm3624PinFromOffset": { + "shape": "Ibm3624PinFromOffset", + "documentation": "Parameters that are required to generate or verify Ibm3624 PIN from offset PIN.
" } }, "documentation": "Parameters that are required for PIN data generation.
", @@ -1607,13 +1627,13 @@ "PinVerificationAttributes": { "type": "structure", "members": { - "Ibm3624Pin": { - "shape": "Ibm3624PinVerification", - "documentation": "Parameters that are required to generate or verify Ibm3624 PIN.
" - }, "VisaPin": { "shape": "VisaPinVerification", "documentation": "Parameters that are required to generate or verify Visa PIN.
" + }, + "Ibm3624Pin": { + "shape": "Ibm3624PinVerification", + "documentation": "Parameters that are required to generate or verify Ibm3624 PIN.
" } }, "documentation": "Parameters that are required for PIN data verification.
", @@ -1622,13 +1642,23 @@ "ReEncryptDataInput": { "type": "structure", "required": [ + "IncomingKeyIdentifier", + "OutgoingKeyIdentifier", "CipherText", "IncomingEncryptionAttributes", - "IncomingKeyIdentifier", - "OutgoingEncryptionAttributes", - "OutgoingKeyIdentifier" + "OutgoingEncryptionAttributes" ], "members": { + "IncomingKeyIdentifier": { + "shape": "KeyArnOrKeyAliasType", + "documentation": "The keyARN
of the encryption key of incoming ciphertext data.
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.
", + "location": "uri", + "locationName": "IncomingKeyIdentifier" + }, + "OutgoingKeyIdentifier": { + "shape": "KeyArnOrKeyAliasType", + "documentation": "The keyARN
of the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
Ciphertext to be encrypted. The minimum allowed length is 16 bytes and maximum allowed length is 4096 bytes.
" @@ -1637,34 +1667,28 @@ "shape": "ReEncryptionAttributes", "documentation": "The attributes and values for incoming ciphertext.
" }, - "IncomingKeyIdentifier": { - "shape": "KeyArnOrKeyAliasType", - "documentation": "The keyARN
of the encryption key of incoming ciphertext data.
The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
" }, - "OutgoingKeyIdentifier": { - "shape": "KeyArnOrKeyAliasType", - "documentation": "The keyARN
of the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
The WrappedKeyBlock containing the encryption key of incoming ciphertext data.
" + }, + "OutgoingWrappedKey": { + "shape": "WrappedKey", + "documentation": "The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
" } } }, "ReEncryptDataOutput": { "type": "structure", "required": [ - "CipherText", "KeyArn", - "KeyCheckValue" + "KeyCheckValue", + "CipherText" ], "members": { - "CipherText": { - "shape": "HexEvenLengthBetween16And4096", - "documentation": "The encrypted ciphertext.
" - }, "KeyArn": { "shape": "KeyArn", "documentation": "The keyARN (Amazon Resource Name) of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
" @@ -1672,18 +1696,22 @@ "KeyCheckValue": { "shape": "KeyCheckValue", "documentation": "The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
" + }, + "CipherText": { + "shape": "HexEvenLengthBetween16And4096", + "documentation": "The encrypted ciphertext.
" } } }, "ReEncryptionAttributes": { "type": "structure", "members": { - "Dukpt": { - "shape": "DukptEncryptionAttributes" - }, "Symmetric": { "shape": "SymmetricEncryptionAttributes", "documentation": "Parameters that are required to encrypt data using symmetric keys.
" + }, + "Dukpt": { + "shape": "DukptEncryptionAttributes" } }, "documentation": "Parameters that are required to perform reencryption operation.
", @@ -1692,17 +1720,17 @@ "SessionKeyAmex": { "type": "structure", "required": [ - "PanSequenceNumber", - "PrimaryAccountNumber" + "PrimaryAccountNumber", + "PanSequenceNumber" ], "members": { - "PanSequenceNumber": { - "shape": "HexLengthEquals2", - "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" - }, "PrimaryAccountNumber": { "shape": "NumberLengthBetween12And19", "documentation": "The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
" + }, + "PanSequenceNumber": { + "shape": "NumberLengthEquals2", + "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" } }, "documentation": "Parameters to derive session key for an Amex payment card.
" @@ -1710,14 +1738,6 @@ "SessionKeyDerivation": { "type": "structure", "members": { - "Amex": { - "shape": "SessionKeyAmex", - "documentation": "Parameters to derive session key for an Amex payment card for ARQC verification.
" - }, - "Emv2000": { - "shape": "SessionKeyEmv2000", - "documentation": "Parameters to derive session key for an Emv2000 payment card for ARQC verification.
" - }, "EmvCommon": { "shape": "SessionKeyEmvCommon", "documentation": "Parameters to derive session key for an Emv common payment card for ARQC verification.
" @@ -1726,6 +1746,14 @@ "shape": "SessionKeyMastercard", "documentation": "Parameters to derive session key for a Mastercard payment card for ARQC verification.
" }, + "Emv2000": { + "shape": "SessionKeyEmv2000", + "documentation": "Parameters to derive session key for an Emv2000 payment card for ARQC verification.
" + }, + "Amex": { + "shape": "SessionKeyAmex", + "documentation": "Parameters to derive session key for an Amex payment card for ARQC verification.
" + }, "Visa": { "shape": "SessionKeyVisa", "documentation": "Parameters to derive session key for a Visa payment cardfor ARQC verification.
" @@ -1762,22 +1790,22 @@ "SessionKeyEmv2000": { "type": "structure", "required": [ - "ApplicationTransactionCounter", + "PrimaryAccountNumber", "PanSequenceNumber", - "PrimaryAccountNumber" + "ApplicationTransactionCounter" ], "members": { - "ApplicationTransactionCounter": { - "shape": "HexLengthBetween2And4", - "documentation": "The transaction counter that is provided by the terminal during transaction processing.
" + "PrimaryAccountNumber": { + "shape": "NumberLengthBetween12And19", + "documentation": "The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
" }, "PanSequenceNumber": { - "shape": "HexLengthEquals2", + "shape": "NumberLengthEquals2", "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" }, - "PrimaryAccountNumber": { - "shape": "NumberLengthBetween12And19", - "documentation": "The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
" + "ApplicationTransactionCounter": { + "shape": "HexLengthBetween2And4", + "documentation": "The transaction counter that is provided by the terminal during transaction processing.
" } }, "documentation": "Parameters to derive session key for an Emv2000 payment card for ARQC verification.
" @@ -1785,22 +1813,22 @@ "SessionKeyEmvCommon": { "type": "structure", "required": [ - "ApplicationTransactionCounter", + "PrimaryAccountNumber", "PanSequenceNumber", - "PrimaryAccountNumber" + "ApplicationTransactionCounter" ], "members": { - "ApplicationTransactionCounter": { - "shape": "HexLengthBetween2And4", - "documentation": "The transaction counter that is provided by the terminal during transaction processing.
" + "PrimaryAccountNumber": { + "shape": "NumberLengthBetween12And19", + "documentation": "The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
" }, "PanSequenceNumber": { - "shape": "HexLengthEquals2", + "shape": "NumberLengthEquals2", "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" }, - "PrimaryAccountNumber": { - "shape": "NumberLengthBetween12And19", - "documentation": "The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
" + "ApplicationTransactionCounter": { + "shape": "HexLengthBetween2And4", + "documentation": "The transaction counter that is provided by the terminal during transaction processing.
" } }, "documentation": "Parameters to derive session key for an Emv common payment card for ARQC verification.
" @@ -1808,23 +1836,23 @@ "SessionKeyMastercard": { "type": "structure", "required": [ - "ApplicationTransactionCounter", - "PanSequenceNumber", "PrimaryAccountNumber", + "PanSequenceNumber", + "ApplicationTransactionCounter", "UnpredictableNumber" ], "members": { - "ApplicationTransactionCounter": { - "shape": "HexLengthBetween2And4", - "documentation": "The transaction counter that is provided by the terminal during transaction processing.
" + "PrimaryAccountNumber": { + "shape": "NumberLengthBetween12And19", + "documentation": "The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
" }, "PanSequenceNumber": { - "shape": "HexLengthEquals2", + "shape": "NumberLengthEquals2", "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" }, - "PrimaryAccountNumber": { - "shape": "NumberLengthBetween12And19", - "documentation": "The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
" + "ApplicationTransactionCounter": { + "shape": "HexLengthBetween2And4", + "documentation": "The transaction counter that is provided by the terminal during transaction processing.
" }, "UnpredictableNumber": { "shape": "HexLengthBetween2And8", @@ -1836,17 +1864,17 @@ "SessionKeyVisa": { "type": "structure", "required": [ - "PanSequenceNumber", - "PrimaryAccountNumber" + "PrimaryAccountNumber", + "PanSequenceNumber" ], "members": { - "PanSequenceNumber": { - "shape": "HexLengthEquals2", - "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" - }, "PrimaryAccountNumber": { "shape": "NumberLengthBetween12And19", "documentation": "The Primary Account Number (PAN) of the cardholder. A PAN is a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
" + }, + "PanSequenceNumber": { + "shape": "NumberLengthEquals2", + "documentation": "A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
" } }, "documentation": "Parameters to derive session key for Visa payment card for ARQC verification.
" @@ -1857,14 +1885,14 @@ "Mode" ], "members": { - "InitializationVector": { - "shape": "HexLength16Or32", - "documentation": "An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
" - }, "Mode": { "shape": "EncryptionMode", "documentation": "The block cipher method to use for encryption.
" }, + "InitializationVector": { + "shape": "HexLength16Or32", + "documentation": "An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
" + }, "PaddingType": { "shape": "PaddingType", "documentation": "The padding to be included with the data.
" @@ -1872,16 +1900,39 @@ }, "documentation": "Parameters requried to encrypt plaintext data using symmetric keys.
" }, + "Tr31WrappedKeyBlock": { + "type": "string", + "max": 9984, + "min": 56, + "pattern": "[0-9A-Z]+", + "sensitive": true + }, "TranslatePinDataInput": { "type": "structure", "required": [ - "EncryptedPinBlock", "IncomingKeyIdentifier", - "IncomingTranslationAttributes", "OutgoingKeyIdentifier", - "OutgoingTranslationAttributes" + "IncomingTranslationAttributes", + "OutgoingTranslationAttributes", + "EncryptedPinBlock" ], "members": { + "IncomingKeyIdentifier": { + "shape": "KeyArnOrKeyAliasType", + "documentation": "The keyARN
of the encryption key under which incoming PIN block data is encrypted. This key type can be PEK or BDK.
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.
" + }, + "OutgoingKeyIdentifier": { + "shape": "KeyArnOrKeyAliasType", + "documentation": "The keyARN
of the encryption key for encrypting outgoing PIN block data. This key type can be PEK or BDK.
The format of the incoming PIN block data for translation within Amazon Web Services Payment Cryptography.
" + }, + "OutgoingTranslationAttributes": { + "shape": "TranslationIsoFormats", + "documentation": "The format of the outgoing PIN block data after translation by Amazon Web Services Payment Cryptography.
" + }, "EncryptedPinBlock": { "shape": "HexEvenLengthBetween16And32", "documentation": "The encrypted PIN block data that Amazon Web Services Payment Cryptography translates.
" @@ -1890,36 +1941,32 @@ "shape": "DukptDerivationAttributes", "documentation": "The attributes and values to use for incoming DUKPT encryption key for PIN block translation.
" }, - "IncomingKeyIdentifier": { - "shape": "KeyArnOrKeyAliasType", - "documentation": "The keyARN
of the encryption key under which incoming PIN block data is encrypted. This key type can be PEK or BDK.
The format of the incoming PIN block data for translation within Amazon Web Services Payment Cryptography.
" - }, "OutgoingDukptAttributes": { "shape": "DukptDerivationAttributes", "documentation": "The attributes and values to use for outgoing DUKPT encryption key after PIN block translation.
" }, - "OutgoingKeyIdentifier": { - "shape": "KeyArnOrKeyAliasType", - "documentation": "The keyARN
of the encryption key for encrypting outgoing PIN block data. This key type can be PEK or BDK.
The WrappedKeyBlock containing the encryption key under which incoming PIN block data is encrypted.
" }, - "OutgoingTranslationAttributes": { - "shape": "TranslationIsoFormats", - "documentation": "The format of the outgoing PIN block data after translation by Amazon Web Services Payment Cryptography.
" + "OutgoingWrappedKey": { + "shape": "WrappedKey", + "documentation": "The WrappedKeyBlock containing the encryption key for encrypting outgoing PIN block data.
" } } }, "TranslatePinDataOutput": { "type": "structure", "required": [ + "PinBlock", "KeyArn", - "KeyCheckValue", - "PinBlock" + "KeyCheckValue" ], "members": { + "PinBlock": { + "shape": "HexLengthBetween16And32", + "documentation": "The outgoing encrypted PIN block data after translation.
" + }, "KeyArn": { "shape": "KeyArn", "documentation": "The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses to encrypt outgoing PIN block data after translation.
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
" - }, - "PinBlock": { - "shape": "HexLengthBetween16And32", - "documentation": "The outgoing encrypted PIN block data after translation.
" } } }, @@ -1978,25 +2021,25 @@ "VerifyAuthRequestCryptogramInput": { "type": "structure", "required": [ - "AuthRequestCryptogram", "KeyIdentifier", + "TransactionData", + "AuthRequestCryptogram", "MajorKeyDerivationMode", - "SessionKeyDerivationAttributes", - "TransactionData" + "SessionKeyDerivationAttributes" ], "members": { - "AuthRequestCryptogram": { - "shape": "HexLengthEquals16", - "documentation": "The auth request cryptogram imported into Amazon Web Services Payment Cryptography for ARQC verification using a major encryption key and transaction data.
" - }, - "AuthResponseAttributes": { - "shape": "CryptogramAuthResponse", - "documentation": "The attributes and values for auth request cryptogram verification. These parameters are required in case using ARPC Method 1 or Method 2 for ARQC verification.
" - }, "KeyIdentifier": { "shape": "KeyArnOrKeyAliasType", "documentation": "The keyARN
of the major encryption key that Amazon Web Services Payment Cryptography uses for ARQC verification.
The transaction data that Amazon Web Services Payment Cryptography uses for ARQC verification. The same transaction is used for ARQC generation outside of Amazon Web Services Payment Cryptography.
" + }, + "AuthRequestCryptogram": { + "shape": "HexLengthEquals16", + "documentation": "The auth request cryptogram imported into Amazon Web Services Payment Cryptography for ARQC verification using a major encryption key and transaction data.
" + }, "MajorKeyDerivationMode": { "shape": "MajorKeyDerivationMode", "documentation": "The method to use when deriving the major encryption key for ARQC verification within Amazon Web Services Payment Cryptography. The same key derivation mode was used for ARQC generation outside of Amazon Web Services Payment Cryptography.
" @@ -2005,9 +2048,9 @@ "shape": "SessionKeyDerivation", "documentation": "The attributes and values to use for deriving a session key for ARQC verification within Amazon Web Services Payment Cryptography. The same attributes were used for ARQC generation outside of Amazon Web Services Payment Cryptography.
" }, - "TransactionData": { - "shape": "HexLengthBetween2And1024", - "documentation": "The transaction data that Amazon Web Services Payment Cryptography uses for ARQC verification. The same transaction is used for ARQC generation outside of Amazon Web Services Payment Cryptography.
" + "AuthResponseAttributes": { + "shape": "CryptogramAuthResponse", + "documentation": "The attributes and values for auth request cryptogram verification. These parameters are required in case using ARPC Method 1 or Method 2 for ARQC verification.
" } } }, @@ -2018,10 +2061,6 @@ "KeyCheckValue" ], "members": { - "AuthResponseValue": { - "shape": "HexLengthBetween1And16", - "documentation": "The result for ARQC verification or ARPC generation within Amazon Web Services Payment Cryptography.
" - }, "KeyArn": { "shape": "KeyArn", "documentation": "The keyARN
of the major encryption key that Amazon Web Services Payment Cryptography uses for ARQC verification.
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
" + }, + "AuthResponseValue": { + "shape": "HexLengthBetween1And16", + "documentation": "The result for ARQC verification or ARPC generation within Amazon Web Services Payment Cryptography.
" } } }, @@ -2037,8 +2080,8 @@ "required": [ "KeyIdentifier", "PrimaryAccountNumber", - "ValidationData", - "VerificationAttributes" + "VerificationAttributes", + "ValidationData" ], "members": { "KeyIdentifier": { @@ -2049,13 +2092,13 @@ "shape": "NumberLengthBetween12And19", "documentation": "The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
" }, - "ValidationData": { - "shape": "NumberLengthBetween3And5", - "documentation": "The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.
" - }, "VerificationAttributes": { "shape": "CardVerificationAttributes", "documentation": "The algorithm to use for verification of card data within Amazon Web Services Payment Cryptography.
" + }, + "ValidationData": { + "shape": "NumberLengthBetween3And5", + "documentation": "The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.
" } } }, @@ -2080,8 +2123,8 @@ "type": "structure", "required": [ "KeyIdentifier", - "Mac", "MessageData", + "Mac", "VerificationAttributes" ], "members": { @@ -2089,21 +2132,21 @@ "shape": "KeyArnOrKeyAliasType", "documentation": "The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses to verify MAC data.
The MAC being verified.
" - }, - "MacLength": { - "shape": "IntegerRangeBetween4And16", - "documentation": "The length of the MAC.
" - }, "MessageData": { "shape": "HexEvenLengthBetween2And4096", "documentation": "The data on for which MAC is under verification. This value must be hexBinary.
" }, + "Mac": { + "shape": "HexEvenLengthBetween4And128", + "documentation": "The MAC being verified.
" + }, "VerificationAttributes": { "shape": "MacAttributes", "documentation": "The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.
" + }, + "MacLength": { + "shape": "IntegerRangeBetween4And16", + "documentation": "The length of the MAC.
" } } }, @@ -2127,25 +2170,33 @@ "VerifyPinDataInput": { "type": "structure", "required": [ - "EncryptedPinBlock", + "VerificationKeyIdentifier", "EncryptionKeyIdentifier", - "PinBlockFormat", - "PrimaryAccountNumber", "VerificationAttributes", - "VerificationKeyIdentifier" + "EncryptedPinBlock", + "PrimaryAccountNumber", + "PinBlockFormat" ], "members": { - "DukptAttributes": { - "shape": "DukptAttributes", - "documentation": "The attributes and values for the DUKPT encrypted PIN block data.
" + "VerificationKeyIdentifier": { + "shape": "KeyArnOrKeyAliasType", + "documentation": "The keyARN
of the PIN verification key.
The keyARN
of the encryption key under which the PIN block data is encrypted. This key type can be PEK or BDK.
The attributes and values for PIN data verification.
" }, "EncryptedPinBlock": { "shape": "HexLengthBetween16And32", "documentation": "The encrypted PIN block data that Amazon Web Services Payment Cryptography verifies.
" }, - "EncryptionKeyIdentifier": { - "shape": "KeyArnOrKeyAliasType", - "documentation": "The keyARN
of the encryption key under which the PIN block data is encrypted. This key type can be PEK or BDK.
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
" }, "PinBlockFormat": { "shape": "PinBlockFormatForPinData", @@ -2155,42 +2206,34 @@ "shape": "IntegerRangeBetween4And12", "documentation": "The length of PIN being verified.
" }, - "PrimaryAccountNumber": { - "shape": "NumberLengthBetween12And19", - "documentation": "The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
" - }, - "VerificationAttributes": { - "shape": "PinVerificationAttributes", - "documentation": "The attributes and values for PIN data verification.
" - }, - "VerificationKeyIdentifier": { - "shape": "KeyArnOrKeyAliasType", - "documentation": "The keyARN
of the PIN verification key.
The attributes and values for the DUKPT encrypted PIN block data.
" } } }, "VerifyPinDataOutput": { "type": "structure", "required": [ - "EncryptionKeyArn", - "EncryptionKeyCheckValue", "VerificationKeyArn", - "VerificationKeyCheckValue" + "VerificationKeyCheckValue", + "EncryptionKeyArn", + "EncryptionKeyCheckValue" ], "members": { - "EncryptionKeyArn": { + "VerificationKeyArn": { "shape": "KeyArn", - "documentation": "The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.
The keyARN
of the PIN encryption key that Amazon Web Services Payment Cryptography uses for PIN or PIN Offset verification.
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
" }, - "VerificationKeyArn": { + "EncryptionKeyArn": { "shape": "KeyArn", - "documentation": "The keyARN
of the PIN encryption key that Amazon Web Services Payment Cryptography uses for PIN or PIN Offset verification.
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
" } @@ -2203,7 +2246,7 @@ ], "members": { "PinVerificationKeyIndex": { - "shape": "IntegerRangeBetween0And9", + "shape": "IntegerRangeBetween0And6", "documentation": "The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).
" } }, @@ -2217,7 +2260,7 @@ ], "members": { "PinVerificationKeyIndex": { - "shape": "IntegerRangeBetween0And9", + "shape": "IntegerRangeBetween0And6", "documentation": "The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).
" }, "VerificationValue": { @@ -2239,11 +2282,39 @@ "documentation": "The encrypted PIN block data to verify.
" }, "PinVerificationKeyIndex": { - "shape": "IntegerRangeBetween0And9", + "shape": "IntegerRangeBetween0And6", "documentation": "The value for PIN verification index. It is used in the Visa PIN algorithm to calculate the PVV (PIN Verification Value).
" } }, "documentation": "Parameters that are required to generate or verify Visa PVV (PIN Verification Value).
" + }, + "WrappedKey": { + "type": "structure", + "required": [ + "WrappedKeyMaterial" + ], + "members": { + "WrappedKeyMaterial": { + "shape": "WrappedKeyMaterial", + "documentation": "Parameter information of a WrappedKeyBlock for encryption key exchange.
" + }, + "KeyCheckValueAlgorithm": { + "shape": "KeyCheckValueAlgorithm", + "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.
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.
" + } + }, + "documentation": "Parameter information of a WrappedKeyBlock for encryption key exchange.
" + }, + "WrappedKeyMaterial": { + "type": "structure", + "members": { + "Tr31KeyBlock": { + "shape": "Tr31WrappedKeyBlock", + "documentation": "The TR-31 wrapped key block.
" + } + }, + "documentation": "Parameter information of a WrappedKeyBlock for encryption key exchange.
", + "union": true } }, "documentation": "You use the Amazon Web Services Payment Cryptography Data Plane to manage how encryption keys are used for payment-related transaction processing and associated cryptographic operations. You can encrypt, decrypt, generate, verify, and translate payment-related cryptographic operations in Amazon Web Services Payment Cryptography. For more information, see Data operations in the Amazon Web Services Payment Cryptography User Guide.
To manage your encryption keys, you use the Amazon Web Services Payment Cryptography Control Plane. You can create, import, export, share, manage, and delete keys. You can also manage Identity and Access Management (IAM) policies for keys.
" diff --git a/apis/payment-cryptography-data-2022-02-03.waiters2.json b/apis/payment-cryptography-data-2022-02-03.waiters2.json new file mode 100644 index 0000000000..13f60ee66b --- /dev/null +++ b/apis/payment-cryptography-data-2022-02-03.waiters2.json @@ -0,0 +1,5 @@ +{ + "version": 2, + "waiters": { + } +} diff --git a/apis/states-2016-11-23.min.json b/apis/states-2016-11-23.min.json index 98df0dbc9f..a2ffe7f838 100644 --- a/apis/states-2016-11-23.min.json +++ b/apis/states-2016-11-23.min.json @@ -13,7 +13,10 @@ "serviceId": "SFN", "signatureVersion": "v4", "targetPrefix": "AWSStepFunctions", - "uid": "states-2016-11-23" + "uid": "states-2016-11-23", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "CreateActivity": { diff --git a/apis/states-2016-11-23.normal.json b/apis/states-2016-11-23.normal.json index e16f739111..f74b84ccef 100644 --- a/apis/states-2016-11-23.normal.json +++ b/apis/states-2016-11-23.normal.json @@ -13,7 +13,10 @@ "serviceId": "SFN", "signatureVersion": "v4", "targetPrefix": "AWSStepFunctions", - "uid": "states-2016-11-23" + "uid": "states-2016-11-23", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "CreateActivity": { diff --git a/apis/swf-2012-01-25.min.json b/apis/swf-2012-01-25.min.json index ab9da12edd..1fb4a7f956 100644 --- a/apis/swf-2012-01-25.min.json +++ b/apis/swf-2012-01-25.min.json @@ -13,7 +13,10 @@ "serviceId": "SWF", "signatureVersion": "v4", "targetPrefix": "SimpleWorkflowService", - "uid": "swf-2012-01-25" + "uid": "swf-2012-01-25", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "CountClosedWorkflowExecutions": { diff --git a/apis/swf-2012-01-25.normal.json b/apis/swf-2012-01-25.normal.json index 1b3f989482..b0ed3d37cc 100644 --- a/apis/swf-2012-01-25.normal.json +++ b/apis/swf-2012-01-25.normal.json @@ -13,7 +13,10 @@ "serviceId": "SWF", "signatureVersion": "v4", "targetPrefix": "SimpleWorkflowService", - "uid": "swf-2012-01-25" + "uid": "swf-2012-01-25", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "CountClosedWorkflowExecutions": { diff --git a/apis/wafv2-2019-07-29.min.json b/apis/wafv2-2019-07-29.min.json index a8c2e2c458..b3d9c059a5 100644 --- a/apis/wafv2-2019-07-29.min.json +++ b/apis/wafv2-2019-07-29.min.json @@ -13,7 +13,10 @@ "serviceId": "WAFV2", "signatureVersion": "v4", "targetPrefix": "AWSWAF_20190729", - "uid": "wafv2-2019-07-29" + "uid": "wafv2-2019-07-29", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "AssociateWebACL": { diff --git a/apis/wafv2-2019-07-29.normal.json b/apis/wafv2-2019-07-29.normal.json index 74d725716f..8ccc17a5ee 100644 --- a/apis/wafv2-2019-07-29.normal.json +++ b/apis/wafv2-2019-07-29.normal.json @@ -13,7 +13,10 @@ "serviceId": "WAFV2", "signatureVersion": "v4", "targetPrefix": "AWSWAF_20190729", - "uid": "wafv2-2019-07-29" + "uid": "wafv2-2019-07-29", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "AssociateWebACL": { @@ -4224,14 +4227,14 @@ }, "InvalidFallbackBehavior": { "shape": "BodyParsingFallbackBehavior", - "documentation": "What WAF should do if it fails to completely parse the JSON body. The options are the following:
EVALUATE_AS_STRING
- Inspect the body as plain text. WAF applies the text transformations and inspection criteria that you defined for the JSON inspection to the body text string.
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the request.
NO_MATCH
- Treat the web request as not matching the rule statement.
If you don't provide this setting, WAF parses and evaluates the content only up to the first parsing failure that it encounters.
WAF does its best to parse the entire JSON body, but might be forced to stop for reasons such as invalid characters, duplicate keys, truncation, and any content whose root node isn't an object or an array.
WAF parses the JSON in the following examples as two valid key, value pairs:
Missing comma: {\"key1\":\"value1\"\"key2\":\"value2\"}
Missing colon: {\"key1\":\"value1\",\"key2\"\"value2\"}
Extra colons: {\"key1\"::\"value1\",\"key2\"\"value2\"}
What WAF should do if it fails to completely parse the JSON body. The options are the following:
EVALUATE_AS_STRING
- Inspect the body as plain text. WAF applies the text transformations and inspection criteria that you defined for the JSON inspection to the body text string.
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the request.
NO_MATCH
- Treat the web request as not matching the rule statement.
If you don't provide this setting, WAF parses and evaluates the content only up to the first parsing failure that it encounters.
WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When parsing succeeds, WAF doesn't apply the fallback behavior. For more information, see JSON body in the WAF Developer Guide.
What WAF should do if the body is larger than WAF can inspect.
WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to WAF for inspection.
For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and you can increase the limit for each resource type in the web ACL AssociationConfig
, for additional processing fees.
The options for oversize handling are the following:
CONTINUE
- Inspect the available body contents normally, according to the rule inspection criteria.
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the request.
NO_MATCH
- Treat the web request as not matching the rule statement.
You can combine the MATCH
or NO_MATCH
settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over the limit.
Default: CONTINUE
Inspect the body of the web request as JSON. The body immediately follows the request headers.
This is used to indicate the web request component to inspect, in the FieldToMatch specification.
Use the specifications in this object to indicate which parts of the JSON body to inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON that result from the matches that you indicate.
Example JSON: \"JsonBody\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"ALL\" }
Inspect the body of the web request as JSON. The body immediately follows the request headers.
This is used to indicate the web request component to inspect, in the FieldToMatch specification.
Use the specifications in this object to indicate which parts of the JSON body to inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON that result from the matches that you indicate.
Example JSON: \"JsonBody\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"ALL\" }
For additional information about this request component option, see JSON body in the WAF Developer Guide.
" }, "JsonMatchPattern": { "type": "structure", diff --git a/clients/connect.d.ts b/clients/connect.d.ts index ae788dd647..927a386376 100644 --- a/clients/connect.d.ts +++ b/clients/connect.d.ts @@ -579,6 +579,14 @@ declare class Connect extends Service { * This API is in preview release for Amazon Connect and is subject to change. Describes an agent status. */ describeAgentStatus(callback?: (err: AWSError, data: Connect.Types.DescribeAgentStatusResponse) => void): Request>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],443:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],444:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s G((f-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,u=0;u =0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),a(o,d)?i(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],448:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a >1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],443:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],444:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s G((f-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,u=0;u =0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),a(o,d)?i(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],448:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*k>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=I?C:m>=I+k?k:m-I,!(l=t&&bf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l=0&&delete e.httpRequest.headers["Content-Length"]}function i(e){var t=new d,r=e.service.api.operations[e.operation].input;if(r.payload){var a={},i=r.members[r.payload];a=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(a||{},i),s(e)):void 0!==a&&(e.httpRequest.body=a,("binary"===i.type||i.isStreaming)&&s(e,!0))}else e.httpRequest.body=t.build(e.params,r),s(e)}function s(e,t){if(!e.httpRequest.headers["Content-Type"]){var r=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=r}}function o(e){c.buildRequest(e),b.indexOf(e.httpRequest.method)<0&&i(e)}function n(e){l.extractError(e)}function u(e){c.extractData(e);var t,r=e.request,a=r.service.api.operations[r.operation],i=r.service.api.operations[r.operation].output||{};a.hasEventOutput;if(i.payload){var s=i.members[i.payload],o=e.httpResponse.body;if(s.isEventStream)t=new y,e.data[i.payload]=m.createEventStream(2===p.HttpClient.streamsApiVersion?e.httpResponse.stream:o,t,s);else if("structure"===s.type||"list"===s.type){var t=new y;e.data[i.payload]=t.parse(o,s)}else"binary"===s.type||s.isStreaming?e.data[i.payload]=o:e.data[i.payload]=s.toType(o)}else{var n=e.data;l.extractData(e),e.data=m.merge(n,e.data)}}var p=e("../core"),m=e("../util"),c=e("./rest"),l=e("./json"),d=e("../json/builder"),y=e("../json/parser"),b=["GET","HEAD","DELETE"];t.exports={buildRequest:o,extractError:n,extractData:u,unsetContentLength:a}},{"../core":350,"../json/builder":374,"../json/parser":375,"../util":428,"./json":386,"./rest":388}],390:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation].input,r=new n.XML.Builder,a=e.params,i=t.payload;if(i){var s=t.members[i];if(void 0===(a=a[i]))return;if("structure"===s.type){var o=s.name;e.httpRequest.body=r.toXML(a,s,o,!0)}else e.httpRequest.body=a}else e.httpRequest.body=r.toXML(a,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function i(e){p.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&a(e)}function s(e){p.extractError(e);var t;try{t=(new n.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function o(e){p.extractData(e);var t,r=e.request,a=e.httpResponse.body,i=r.service.api.operations[r.operation],s=i.output,o=(i.hasEventOutput,s.payload);if(o){var m=s.members[o];m.isEventStream?(t=new n.XML.Parser,e.data[o]=u.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,m)):"structure"===m.type?(t=new n.XML.Parser,e.data[o]=t.parse(a.toString(),m)):"binary"===m.type||m.isStreaming?e.data[o]=a:e.data[o]=m.toType(a)}else if(a.length>0){t=new n.XML.Parser;var c=t.parse(a.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:i,extractError:s,extractData:o}},{"../core":350,"../util":428,"./rest":388}],391:[function(e,t,r){function a(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,a){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=i(s);n=e?e+"."+n:n,u(n,o,s,a)}})}function o(e,t,r,a){var i=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+i+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,a),u(e+m,s,r.value,a)})}function n(e,t,r,a){var s=r.member||{};if(0===t.length)return void("ec2"!==r.api.protocol&&a.call(this,e,null));p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(i(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,a):"list"===r.type?n(e,t,r,a):"map"===r.type?o(e,t,r,a):a(e,r.toWireFormat(t).toString()))}var p=e("../util");a.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=a},{"../util":428}],392:[function(e,t,r){var a=e("../core"),i=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};a.RDS.Signer=a.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=a.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new a.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),i=new a.Service(u),i.api=s;var p=i.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,a){a&&(a=r.convertUrlToAuthToken(a)),t(e,a)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=a.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||a.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":350}],393:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],394:[function(e,t,r){function a(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function i(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:a,isGlobalRegion:i,getRealRegion:s}},{}],395:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function i(e){var t=e.config.region,r=a(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,"*"],[r,"*"],["*",i],[t,"internal-*"],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=i(e),r=e.config.useFipsEndpoint,a=e.config.useDualstackEndpoint,o=0;o=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),s.alloc(+e)}function S(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(a)return K(e).length;t=(""+t).toLowerCase(),a=!0}}function g(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return q(this,t,r);case"base64":return D(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function h(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function I(e,t,r,a,i){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=s.from(t,a)),s.isBuffer(t))return 0===t.length?-1:N(e,t,r,a,i);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):N(e,[t],r,a,i);throw new TypeError("val must be string, number or Buffer")}function N(e,t,r,a,i){function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,n=e.length,u=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,n/=2,u/=2,r/=2}var p;if(i){var m=-1;for(p=r;p>>8*(a?i:1-i)}function B(e,t,r,a){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i>>8*(a?i:3-i)&255}function U(e,t,r,a,i,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _(e,t,r,a,i){return i||U(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,r,a,23,4),r+4}function F(e,t,r,a,i){return i||U(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,r,a,52,8),r+8}function O(e){if(e=V(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){t=t||1/0;for(var r,a=e.length,i=null,s=[],o=0;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function j(e){for(var t=[],r=0;r=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*k>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=I?C:m>=I+k?k:m-I,!(l=t&&bf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l