aws-sdk-paymentcryptographydata 1.17.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,15 +16,21 @@ module Aws::PaymentCryptographyData
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  AmexCardSecurityCodeVersion1 = Shapes::StructureShape.new(name: 'AmexCardSecurityCodeVersion1')
18
18
  AmexCardSecurityCodeVersion2 = Shapes::StructureShape.new(name: 'AmexCardSecurityCodeVersion2')
19
+ ApplicationCryptogramType = Shapes::StringShape.new(name: 'ApplicationCryptogramType')
19
20
  AsymmetricEncryptionAttributes = Shapes::StructureShape.new(name: 'AsymmetricEncryptionAttributes')
21
+ AuthRequestCryptogramType = Shapes::StringShape.new(name: 'AuthRequestCryptogramType')
22
+ AuthResponseValueType = Shapes::StringShape.new(name: 'AuthResponseValueType')
23
+ CardExpiryDateType = Shapes::StringShape.new(name: 'CardExpiryDateType')
20
24
  CardGenerationAttributes = Shapes::UnionShape.new(name: 'CardGenerationAttributes')
21
25
  CardHolderVerificationValue = Shapes::StructureShape.new(name: 'CardHolderVerificationValue')
22
26
  CardVerificationAttributes = Shapes::UnionShape.new(name: 'CardVerificationAttributes')
23
27
  CardVerificationValue1 = Shapes::StructureShape.new(name: 'CardVerificationValue1')
24
28
  CardVerificationValue2 = Shapes::StructureShape.new(name: 'CardVerificationValue2')
29
+ CipherTextType = Shapes::StringShape.new(name: 'CipherTextType')
25
30
  CryptogramAuthResponse = Shapes::UnionShape.new(name: 'CryptogramAuthResponse')
26
31
  CryptogramVerificationArpcMethod1 = Shapes::StructureShape.new(name: 'CryptogramVerificationArpcMethod1')
27
32
  CryptogramVerificationArpcMethod2 = Shapes::StructureShape.new(name: 'CryptogramVerificationArpcMethod2')
33
+ DecimalizationTableType = Shapes::StringShape.new(name: 'DecimalizationTableType')
28
34
  DecryptDataInput = Shapes::StructureShape.new(name: 'DecryptDataInput')
29
35
  DecryptDataOutput = Shapes::StructureShape.new(name: 'DecryptDataOutput')
30
36
  DiscoverDynamicCardVerificationCode = Shapes::StructureShape.new(name: 'DiscoverDynamicCardVerificationCode')
@@ -41,6 +47,7 @@ module Aws::PaymentCryptographyData
41
47
  EmvMajorKeyDerivationMode = Shapes::StringShape.new(name: 'EmvMajorKeyDerivationMode')
42
48
  EncryptDataInput = Shapes::StructureShape.new(name: 'EncryptDataInput')
43
49
  EncryptDataOutput = Shapes::StructureShape.new(name: 'EncryptDataOutput')
50
+ EncryptedPinBlockType = Shapes::StringShape.new(name: 'EncryptedPinBlockType')
44
51
  EncryptionDecryptionAttributes = Shapes::UnionShape.new(name: 'EncryptionDecryptionAttributes')
45
52
  EncryptionMode = Shapes::StringShape.new(name: 'EncryptionMode')
46
53
  GenerateCardValidationDataInput = Shapes::StructureShape.new(name: 'GenerateCardValidationDataInput')
@@ -50,21 +57,10 @@ module Aws::PaymentCryptographyData
50
57
  GeneratePinDataInput = Shapes::StructureShape.new(name: 'GeneratePinDataInput')
51
58
  GeneratePinDataOutput = Shapes::StructureShape.new(name: 'GeneratePinDataOutput')
52
59
  HexEvenLengthBetween16And32 = Shapes::StringShape.new(name: 'HexEvenLengthBetween16And32')
53
- HexEvenLengthBetween16And4064 = Shapes::StringShape.new(name: 'HexEvenLengthBetween16And4064')
54
- HexEvenLengthBetween16And4096 = Shapes::StringShape.new(name: 'HexEvenLengthBetween16And4096')
55
- HexEvenLengthBetween2And4096 = Shapes::StringShape.new(name: 'HexEvenLengthBetween2And4096')
56
- HexEvenLengthBetween4And128 = Shapes::StringShape.new(name: 'HexEvenLengthBetween4And128')
57
- HexLength16Or32 = Shapes::StringShape.new(name: 'HexLength16Or32')
58
60
  HexLengthBetween10And24 = Shapes::StringShape.new(name: 'HexLengthBetween10And24')
59
- HexLengthBetween16And32 = Shapes::StringShape.new(name: 'HexLengthBetween16And32')
60
- HexLengthBetween1And16 = Shapes::StringShape.new(name: 'HexLengthBetween1And16')
61
- HexLengthBetween2And1024 = Shapes::StringShape.new(name: 'HexLengthBetween2And1024')
62
- HexLengthBetween2And160 = Shapes::StringShape.new(name: 'HexLengthBetween2And160')
63
61
  HexLengthBetween2And4 = Shapes::StringShape.new(name: 'HexLengthBetween2And4')
64
62
  HexLengthBetween2And8 = Shapes::StringShape.new(name: 'HexLengthBetween2And8')
65
- HexLengthBetween4And128 = Shapes::StringShape.new(name: 'HexLengthBetween4And128')
66
63
  HexLengthEquals1 = Shapes::StringShape.new(name: 'HexLengthEquals1')
67
- HexLengthEquals16 = Shapes::StringShape.new(name: 'HexLengthEquals16')
68
64
  HexLengthEquals4 = Shapes::StringShape.new(name: 'HexLengthEquals4')
69
65
  HexLengthEquals8 = Shapes::StringShape.new(name: 'HexLengthEquals8')
70
66
  Ibm3624NaturalPin = Shapes::StructureShape.new(name: 'Ibm3624NaturalPin')
@@ -72,6 +68,7 @@ module Aws::PaymentCryptographyData
72
68
  Ibm3624PinOffset = Shapes::StructureShape.new(name: 'Ibm3624PinOffset')
73
69
  Ibm3624PinVerification = Shapes::StructureShape.new(name: 'Ibm3624PinVerification')
74
70
  Ibm3624RandomPin = Shapes::StructureShape.new(name: 'Ibm3624RandomPin')
71
+ InitializationVectorType = Shapes::StringShape.new(name: 'InitializationVectorType')
75
72
  IntegerRangeBetween0And6 = Shapes::IntegerShape.new(name: 'IntegerRangeBetween0And6')
76
73
  IntegerRangeBetween3And5Type = Shapes::IntegerShape.new(name: 'IntegerRangeBetween3And5Type')
77
74
  IntegerRangeBetween4And12 = Shapes::IntegerShape.new(name: 'IntegerRangeBetween4And12')
@@ -85,24 +82,28 @@ module Aws::PaymentCryptographyData
85
82
  MacAlgorithmDukpt = Shapes::StructureShape.new(name: 'MacAlgorithmDukpt')
86
83
  MacAlgorithmEmv = Shapes::StructureShape.new(name: 'MacAlgorithmEmv')
87
84
  MacAttributes = Shapes::UnionShape.new(name: 'MacAttributes')
85
+ MacOutputType = Shapes::StringShape.new(name: 'MacOutputType')
86
+ MacType = Shapes::StringShape.new(name: 'MacType')
88
87
  MajorKeyDerivationMode = Shapes::StringShape.new(name: 'MajorKeyDerivationMode')
89
- NumberLengthBetween12And19 = Shapes::StringShape.new(name: 'NumberLengthBetween12And19')
90
- NumberLengthBetween3And5 = Shapes::StringShape.new(name: 'NumberLengthBetween3And5')
91
- NumberLengthBetween4And12 = Shapes::StringShape.new(name: 'NumberLengthBetween4And12')
92
- NumberLengthBetween4And16 = Shapes::StringShape.new(name: 'NumberLengthBetween4And16')
93
- NumberLengthEquals16 = Shapes::StringShape.new(name: 'NumberLengthEquals16')
88
+ MessageDataType = Shapes::StringShape.new(name: 'MessageDataType')
94
89
  NumberLengthEquals2 = Shapes::StringShape.new(name: 'NumberLengthEquals2')
95
- NumberLengthEquals3 = Shapes::StringShape.new(name: 'NumberLengthEquals3')
96
- NumberLengthEquals4 = Shapes::StringShape.new(name: 'NumberLengthEquals4')
97
90
  PaddingType = Shapes::StringShape.new(name: 'PaddingType')
98
91
  PinBlockFormatForPinData = Shapes::StringShape.new(name: 'PinBlockFormatForPinData')
99
92
  PinData = Shapes::UnionShape.new(name: 'PinData')
100
93
  PinGenerationAttributes = Shapes::UnionShape.new(name: 'PinGenerationAttributes')
94
+ PinOffsetType = Shapes::StringShape.new(name: 'PinOffsetType')
95
+ PinValidationDataType = Shapes::StringShape.new(name: 'PinValidationDataType')
101
96
  PinVerificationAttributes = Shapes::UnionShape.new(name: 'PinVerificationAttributes')
97
+ PlainTextOutputType = Shapes::StringShape.new(name: 'PlainTextOutputType')
98
+ PlainTextType = Shapes::StringShape.new(name: 'PlainTextType')
99
+ PrimaryAccountNumberType = Shapes::StringShape.new(name: 'PrimaryAccountNumberType')
100
+ ProprietaryAuthenticationDataType = Shapes::StringShape.new(name: 'ProprietaryAuthenticationDataType')
102
101
  ReEncryptDataInput = Shapes::StructureShape.new(name: 'ReEncryptDataInput')
103
102
  ReEncryptDataOutput = Shapes::StructureShape.new(name: 'ReEncryptDataOutput')
104
103
  ReEncryptionAttributes = Shapes::UnionShape.new(name: 'ReEncryptionAttributes')
105
104
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
105
+ ServiceCodeType = Shapes::StringShape.new(name: 'ServiceCodeType')
106
+ SessionDerivationDataType = Shapes::StringShape.new(name: 'SessionDerivationDataType')
106
107
  SessionKeyAmex = Shapes::StructureShape.new(name: 'SessionKeyAmex')
107
108
  SessionKeyDerivation = Shapes::UnionShape.new(name: 'SessionKeyDerivation')
108
109
  SessionKeyDerivationMode = Shapes::StringShape.new(name: 'SessionKeyDerivationMode')
@@ -115,16 +116,20 @@ module Aws::PaymentCryptographyData
115
116
  SymmetricEncryptionAttributes = Shapes::StructureShape.new(name: 'SymmetricEncryptionAttributes')
116
117
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
117
118
  Tr31WrappedKeyBlock = Shapes::StringShape.new(name: 'Tr31WrappedKeyBlock')
119
+ TrackDataType = Shapes::StringShape.new(name: 'TrackDataType')
120
+ TransactionDataType = Shapes::StringShape.new(name: 'TransactionDataType')
118
121
  TranslatePinDataInput = Shapes::StructureShape.new(name: 'TranslatePinDataInput')
119
122
  TranslatePinDataOutput = Shapes::StructureShape.new(name: 'TranslatePinDataOutput')
120
123
  TranslationIsoFormats = Shapes::UnionShape.new(name: 'TranslationIsoFormats')
121
124
  TranslationPinDataIsoFormat034 = Shapes::StructureShape.new(name: 'TranslationPinDataIsoFormat034')
122
125
  TranslationPinDataIsoFormat1 = Shapes::StructureShape.new(name: 'TranslationPinDataIsoFormat1')
126
+ ValidationDataType = Shapes::StringShape.new(name: 'ValidationDataType')
123
127
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
124
128
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
125
129
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
126
130
  VerificationFailedException = Shapes::StructureShape.new(name: 'VerificationFailedException')
127
131
  VerificationFailedReason = Shapes::StringShape.new(name: 'VerificationFailedReason')
132
+ VerificationValueType = Shapes::StringShape.new(name: 'VerificationValueType')
128
133
  VerifyAuthRequestCryptogramInput = Shapes::StructureShape.new(name: 'VerifyAuthRequestCryptogramInput')
129
134
  VerifyAuthRequestCryptogramOutput = Shapes::StructureShape.new(name: 'VerifyAuthRequestCryptogramOutput')
130
135
  VerifyCardValidationDataInput = Shapes::StructureShape.new(name: 'VerifyCardValidationDataInput')
@@ -142,11 +147,11 @@ module Aws::PaymentCryptographyData
142
147
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
143
148
  AccessDeniedException.struct_class = Types::AccessDeniedException
144
149
 
145
- AmexCardSecurityCodeVersion1.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
150
+ AmexCardSecurityCodeVersion1.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: CardExpiryDateType, required: true, location_name: "CardExpiryDate"))
146
151
  AmexCardSecurityCodeVersion1.struct_class = Types::AmexCardSecurityCodeVersion1
147
152
 
148
- AmexCardSecurityCodeVersion2.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
149
- AmexCardSecurityCodeVersion2.add_member(:service_code, Shapes::ShapeRef.new(shape: NumberLengthEquals3, required: true, location_name: "ServiceCode"))
153
+ AmexCardSecurityCodeVersion2.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: CardExpiryDateType, required: true, location_name: "CardExpiryDate"))
154
+ AmexCardSecurityCodeVersion2.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCodeType, required: true, location_name: "ServiceCode"))
150
155
  AmexCardSecurityCodeVersion2.struct_class = Types::AmexCardSecurityCodeVersion2
151
156
 
152
157
  AsymmetricEncryptionAttributes.add_member(:padding_type, Shapes::ShapeRef.new(shape: PaddingType, location_name: "PaddingType"))
@@ -195,11 +200,11 @@ module Aws::PaymentCryptographyData
195
200
  CardVerificationAttributes.add_member_subclass(:unknown, Types::CardVerificationAttributes::Unknown)
196
201
  CardVerificationAttributes.struct_class = Types::CardVerificationAttributes
197
202
 
198
- CardVerificationValue1.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
199
- CardVerificationValue1.add_member(:service_code, Shapes::ShapeRef.new(shape: NumberLengthEquals3, required: true, location_name: "ServiceCode"))
203
+ CardVerificationValue1.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: CardExpiryDateType, required: true, location_name: "CardExpiryDate"))
204
+ CardVerificationValue1.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCodeType, required: true, location_name: "ServiceCode"))
200
205
  CardVerificationValue1.struct_class = Types::CardVerificationValue1
201
206
 
202
- CardVerificationValue2.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
207
+ CardVerificationValue2.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: CardExpiryDateType, required: true, location_name: "CardExpiryDate"))
203
208
  CardVerificationValue2.struct_class = Types::CardVerificationValue2
204
209
 
205
210
  CryptogramAuthResponse.add_member(:arpc_method_1, Shapes::ShapeRef.new(shape: CryptogramVerificationArpcMethod1, location_name: "ArpcMethod1"))
@@ -214,21 +219,21 @@ module Aws::PaymentCryptographyData
214
219
  CryptogramVerificationArpcMethod1.struct_class = Types::CryptogramVerificationArpcMethod1
215
220
 
216
221
  CryptogramVerificationArpcMethod2.add_member(:card_status_update, Shapes::ShapeRef.new(shape: HexLengthEquals8, required: true, location_name: "CardStatusUpdate"))
217
- CryptogramVerificationArpcMethod2.add_member(:proprietary_authentication_data, Shapes::ShapeRef.new(shape: HexLengthBetween1And16, location_name: "ProprietaryAuthenticationData"))
222
+ CryptogramVerificationArpcMethod2.add_member(:proprietary_authentication_data, Shapes::ShapeRef.new(shape: ProprietaryAuthenticationDataType, location_name: "ProprietaryAuthenticationData"))
218
223
  CryptogramVerificationArpcMethod2.struct_class = Types::CryptogramVerificationArpcMethod2
219
224
 
220
225
  DecryptDataInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location: "uri", location_name: "KeyIdentifier"))
221
- DecryptDataInput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "CipherText"))
226
+ DecryptDataInput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: CipherTextType, required: true, location_name: "CipherText"))
222
227
  DecryptDataInput.add_member(:decryption_attributes, Shapes::ShapeRef.new(shape: EncryptionDecryptionAttributes, required: true, location_name: "DecryptionAttributes"))
223
228
  DecryptDataInput.add_member(:wrapped_key, Shapes::ShapeRef.new(shape: WrappedKey, location_name: "WrappedKey"))
224
229
  DecryptDataInput.struct_class = Types::DecryptDataInput
225
230
 
226
231
  DecryptDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
227
232
  DecryptDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
228
- DecryptDataOutput.add_member(:plain_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "PlainText"))
233
+ DecryptDataOutput.add_member(:plain_text, Shapes::ShapeRef.new(shape: PlainTextOutputType, required: true, location_name: "PlainText"))
229
234
  DecryptDataOutput.struct_class = Types::DecryptDataOutput
230
235
 
231
- DiscoverDynamicCardVerificationCode.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
236
+ DiscoverDynamicCardVerificationCode.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: CardExpiryDateType, required: true, location_name: "CardExpiryDate"))
232
237
  DiscoverDynamicCardVerificationCode.add_member(:unpredictable_number, Shapes::ShapeRef.new(shape: HexLengthBetween2And8, required: true, location_name: "UnpredictableNumber"))
233
238
  DiscoverDynamicCardVerificationCode.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
234
239
  DiscoverDynamicCardVerificationCode.struct_class = Types::DiscoverDynamicCardVerificationCode
@@ -246,38 +251,38 @@ module Aws::PaymentCryptographyData
246
251
  DukptEncryptionAttributes.add_member(:mode, Shapes::ShapeRef.new(shape: DukptEncryptionMode, location_name: "Mode"))
247
252
  DukptEncryptionAttributes.add_member(:dukpt_key_derivation_type, Shapes::ShapeRef.new(shape: DukptDerivationType, location_name: "DukptKeyDerivationType"))
248
253
  DukptEncryptionAttributes.add_member(:dukpt_key_variant, Shapes::ShapeRef.new(shape: DukptKeyVariant, location_name: "DukptKeyVariant"))
249
- DukptEncryptionAttributes.add_member(:initialization_vector, Shapes::ShapeRef.new(shape: HexLength16Or32, location_name: "InitializationVector"))
254
+ DukptEncryptionAttributes.add_member(:initialization_vector, Shapes::ShapeRef.new(shape: InitializationVectorType, location_name: "InitializationVector"))
250
255
  DukptEncryptionAttributes.struct_class = Types::DukptEncryptionAttributes
251
256
 
252
257
  DynamicCardVerificationCode.add_member(:unpredictable_number, Shapes::ShapeRef.new(shape: HexLengthBetween2And8, required: true, location_name: "UnpredictableNumber"))
253
258
  DynamicCardVerificationCode.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
254
259
  DynamicCardVerificationCode.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
255
- DynamicCardVerificationCode.add_member(:track_data, Shapes::ShapeRef.new(shape: HexLengthBetween2And160, required: true, location_name: "TrackData"))
260
+ DynamicCardVerificationCode.add_member(:track_data, Shapes::ShapeRef.new(shape: TrackDataType, required: true, location_name: "TrackData"))
256
261
  DynamicCardVerificationCode.struct_class = Types::DynamicCardVerificationCode
257
262
 
258
263
  DynamicCardVerificationValue.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
259
- DynamicCardVerificationValue.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
260
- DynamicCardVerificationValue.add_member(:service_code, Shapes::ShapeRef.new(shape: NumberLengthEquals3, required: true, location_name: "ServiceCode"))
264
+ DynamicCardVerificationValue.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: CardExpiryDateType, required: true, location_name: "CardExpiryDate"))
265
+ DynamicCardVerificationValue.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCodeType, required: true, location_name: "ServiceCode"))
261
266
  DynamicCardVerificationValue.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
262
267
  DynamicCardVerificationValue.struct_class = Types::DynamicCardVerificationValue
263
268
 
264
269
  EmvEncryptionAttributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: EmvMajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
265
- EmvEncryptionAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
270
+ EmvEncryptionAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
266
271
  EmvEncryptionAttributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
267
- EmvEncryptionAttributes.add_member(:session_derivation_data, Shapes::ShapeRef.new(shape: HexLengthEquals16, required: true, location_name: "SessionDerivationData"))
272
+ EmvEncryptionAttributes.add_member(:session_derivation_data, Shapes::ShapeRef.new(shape: SessionDerivationDataType, required: true, location_name: "SessionDerivationData"))
268
273
  EmvEncryptionAttributes.add_member(:mode, Shapes::ShapeRef.new(shape: EmvEncryptionMode, location_name: "Mode"))
269
- EmvEncryptionAttributes.add_member(:initialization_vector, Shapes::ShapeRef.new(shape: HexLength16Or32, location_name: "InitializationVector"))
274
+ EmvEncryptionAttributes.add_member(:initialization_vector, Shapes::ShapeRef.new(shape: InitializationVectorType, location_name: "InitializationVector"))
270
275
  EmvEncryptionAttributes.struct_class = Types::EmvEncryptionAttributes
271
276
 
272
277
  EncryptDataInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location: "uri", location_name: "KeyIdentifier"))
273
- EncryptDataInput.add_member(:plain_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4064, required: true, location_name: "PlainText"))
278
+ EncryptDataInput.add_member(:plain_text, Shapes::ShapeRef.new(shape: PlainTextType, required: true, location_name: "PlainText"))
274
279
  EncryptDataInput.add_member(:encryption_attributes, Shapes::ShapeRef.new(shape: EncryptionDecryptionAttributes, required: true, location_name: "EncryptionAttributes"))
275
280
  EncryptDataInput.add_member(:wrapped_key, Shapes::ShapeRef.new(shape: WrappedKey, location_name: "WrappedKey"))
276
281
  EncryptDataInput.struct_class = Types::EncryptDataInput
277
282
 
278
283
  EncryptDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
279
284
  EncryptDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, location_name: "KeyCheckValue"))
280
- EncryptDataOutput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "CipherText"))
285
+ EncryptDataOutput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: CipherTextType, required: true, location_name: "CipherText"))
281
286
  EncryptDataOutput.struct_class = Types::EncryptDataOutput
282
287
 
283
288
  EncryptionDecryptionAttributes.add_member(:symmetric, Shapes::ShapeRef.new(shape: SymmetricEncryptionAttributes, location_name: "Symmetric"))
@@ -293,32 +298,32 @@ module Aws::PaymentCryptographyData
293
298
  EncryptionDecryptionAttributes.struct_class = Types::EncryptionDecryptionAttributes
294
299
 
295
300
  GenerateCardValidationDataInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
296
- GenerateCardValidationDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
301
+ GenerateCardValidationDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
297
302
  GenerateCardValidationDataInput.add_member(:generation_attributes, Shapes::ShapeRef.new(shape: CardGenerationAttributes, required: true, location_name: "GenerationAttributes"))
298
303
  GenerateCardValidationDataInput.add_member(:validation_data_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween3And5Type, location_name: "ValidationDataLength"))
299
304
  GenerateCardValidationDataInput.struct_class = Types::GenerateCardValidationDataInput
300
305
 
301
306
  GenerateCardValidationDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
302
307
  GenerateCardValidationDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
303
- GenerateCardValidationDataOutput.add_member(:validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween3And5, required: true, location_name: "ValidationData"))
308
+ GenerateCardValidationDataOutput.add_member(:validation_data, Shapes::ShapeRef.new(shape: ValidationDataType, required: true, location_name: "ValidationData"))
304
309
  GenerateCardValidationDataOutput.struct_class = Types::GenerateCardValidationDataOutput
305
310
 
306
311
  GenerateMacInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
307
- GenerateMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: HexEvenLengthBetween2And4096, required: true, location_name: "MessageData"))
312
+ GenerateMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: MessageDataType, required: true, location_name: "MessageData"))
308
313
  GenerateMacInput.add_member(:generation_attributes, Shapes::ShapeRef.new(shape: MacAttributes, required: true, location_name: "GenerationAttributes"))
309
314
  GenerateMacInput.add_member(:mac_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And16, location_name: "MacLength"))
310
315
  GenerateMacInput.struct_class = Types::GenerateMacInput
311
316
 
312
317
  GenerateMacOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
313
318
  GenerateMacOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
314
- GenerateMacOutput.add_member(:mac, Shapes::ShapeRef.new(shape: HexLengthBetween4And128, required: true, location_name: "Mac"))
319
+ GenerateMacOutput.add_member(:mac, Shapes::ShapeRef.new(shape: MacOutputType, required: true, location_name: "Mac"))
315
320
  GenerateMacOutput.struct_class = Types::GenerateMacOutput
316
321
 
317
322
  GeneratePinDataInput.add_member(:generation_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "GenerationKeyIdentifier"))
318
323
  GeneratePinDataInput.add_member(:encryption_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "EncryptionKeyIdentifier"))
319
324
  GeneratePinDataInput.add_member(:generation_attributes, Shapes::ShapeRef.new(shape: PinGenerationAttributes, required: true, location_name: "GenerationAttributes"))
320
325
  GeneratePinDataInput.add_member(:pin_data_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And12, location_name: "PinDataLength"))
321
- GeneratePinDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
326
+ GeneratePinDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
322
327
  GeneratePinDataInput.add_member(:pin_block_format, Shapes::ShapeRef.new(shape: PinBlockFormatForPinData, required: true, location_name: "PinBlockFormat"))
323
328
  GeneratePinDataInput.struct_class = Types::GeneratePinDataInput
324
329
 
@@ -326,36 +331,36 @@ module Aws::PaymentCryptographyData
326
331
  GeneratePinDataOutput.add_member(:generation_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "GenerationKeyCheckValue"))
327
332
  GeneratePinDataOutput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "EncryptionKeyArn"))
328
333
  GeneratePinDataOutput.add_member(:encryption_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "EncryptionKeyCheckValue"))
329
- GeneratePinDataOutput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
334
+ GeneratePinDataOutput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: EncryptedPinBlockType, required: true, location_name: "EncryptedPinBlock"))
330
335
  GeneratePinDataOutput.add_member(:pin_data, Shapes::ShapeRef.new(shape: PinData, required: true, location_name: "PinData"))
331
336
  GeneratePinDataOutput.struct_class = Types::GeneratePinDataOutput
332
337
 
333
- Ibm3624NaturalPin.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: NumberLengthEquals16, required: true, location_name: "DecimalizationTable"))
338
+ Ibm3624NaturalPin.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: DecimalizationTableType, required: true, location_name: "DecimalizationTable"))
334
339
  Ibm3624NaturalPin.add_member(:pin_validation_data_pad_character, Shapes::ShapeRef.new(shape: HexLengthEquals1, required: true, location_name: "PinValidationDataPadCharacter"))
335
- Ibm3624NaturalPin.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween4And16, required: true, location_name: "PinValidationData"))
340
+ Ibm3624NaturalPin.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: PinValidationDataType, required: true, location_name: "PinValidationData"))
336
341
  Ibm3624NaturalPin.struct_class = Types::Ibm3624NaturalPin
337
342
 
338
- Ibm3624PinFromOffset.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: NumberLengthEquals16, required: true, location_name: "DecimalizationTable"))
343
+ Ibm3624PinFromOffset.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: DecimalizationTableType, required: true, location_name: "DecimalizationTable"))
339
344
  Ibm3624PinFromOffset.add_member(:pin_validation_data_pad_character, Shapes::ShapeRef.new(shape: HexLengthEquals1, required: true, location_name: "PinValidationDataPadCharacter"))
340
- Ibm3624PinFromOffset.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween4And16, required: true, location_name: "PinValidationData"))
341
- Ibm3624PinFromOffset.add_member(:pin_offset, Shapes::ShapeRef.new(shape: NumberLengthBetween4And12, required: true, location_name: "PinOffset"))
345
+ Ibm3624PinFromOffset.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: PinValidationDataType, required: true, location_name: "PinValidationData"))
346
+ Ibm3624PinFromOffset.add_member(:pin_offset, Shapes::ShapeRef.new(shape: PinOffsetType, required: true, location_name: "PinOffset"))
342
347
  Ibm3624PinFromOffset.struct_class = Types::Ibm3624PinFromOffset
343
348
 
344
- Ibm3624PinOffset.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
345
- Ibm3624PinOffset.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: NumberLengthEquals16, required: true, location_name: "DecimalizationTable"))
349
+ Ibm3624PinOffset.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: EncryptedPinBlockType, required: true, location_name: "EncryptedPinBlock"))
350
+ Ibm3624PinOffset.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: DecimalizationTableType, required: true, location_name: "DecimalizationTable"))
346
351
  Ibm3624PinOffset.add_member(:pin_validation_data_pad_character, Shapes::ShapeRef.new(shape: HexLengthEquals1, required: true, location_name: "PinValidationDataPadCharacter"))
347
- Ibm3624PinOffset.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween4And16, required: true, location_name: "PinValidationData"))
352
+ Ibm3624PinOffset.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: PinValidationDataType, required: true, location_name: "PinValidationData"))
348
353
  Ibm3624PinOffset.struct_class = Types::Ibm3624PinOffset
349
354
 
350
- Ibm3624PinVerification.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: NumberLengthEquals16, required: true, location_name: "DecimalizationTable"))
355
+ Ibm3624PinVerification.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: DecimalizationTableType, required: true, location_name: "DecimalizationTable"))
351
356
  Ibm3624PinVerification.add_member(:pin_validation_data_pad_character, Shapes::ShapeRef.new(shape: HexLengthEquals1, required: true, location_name: "PinValidationDataPadCharacter"))
352
- Ibm3624PinVerification.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween4And16, required: true, location_name: "PinValidationData"))
353
- Ibm3624PinVerification.add_member(:pin_offset, Shapes::ShapeRef.new(shape: NumberLengthBetween4And12, required: true, location_name: "PinOffset"))
357
+ Ibm3624PinVerification.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: PinValidationDataType, required: true, location_name: "PinValidationData"))
358
+ Ibm3624PinVerification.add_member(:pin_offset, Shapes::ShapeRef.new(shape: PinOffsetType, required: true, location_name: "PinOffset"))
354
359
  Ibm3624PinVerification.struct_class = Types::Ibm3624PinVerification
355
360
 
356
- Ibm3624RandomPin.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: NumberLengthEquals16, required: true, location_name: "DecimalizationTable"))
361
+ Ibm3624RandomPin.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: DecimalizationTableType, required: true, location_name: "DecimalizationTable"))
357
362
  Ibm3624RandomPin.add_member(:pin_validation_data_pad_character, Shapes::ShapeRef.new(shape: HexLengthEquals1, required: true, location_name: "PinValidationDataPadCharacter"))
358
- Ibm3624RandomPin.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween4And16, required: true, location_name: "PinValidationData"))
363
+ Ibm3624RandomPin.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: PinValidationDataType, required: true, location_name: "PinValidationData"))
359
364
  Ibm3624RandomPin.struct_class = Types::Ibm3624RandomPin
360
365
 
361
366
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -367,7 +372,7 @@ module Aws::PaymentCryptographyData
367
372
  MacAlgorithmDukpt.struct_class = Types::MacAlgorithmDukpt
368
373
 
369
374
  MacAlgorithmEmv.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
370
- MacAlgorithmEmv.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
375
+ MacAlgorithmEmv.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
371
376
  MacAlgorithmEmv.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
372
377
  MacAlgorithmEmv.add_member(:session_key_derivation_mode, Shapes::ShapeRef.new(shape: SessionKeyDerivationMode, required: true, location_name: "SessionKeyDerivationMode"))
373
378
  MacAlgorithmEmv.add_member(:session_key_derivation_value, Shapes::ShapeRef.new(shape: SessionKeyDerivationValue, required: true, location_name: "SessionKeyDerivationValue"))
@@ -387,8 +392,8 @@ module Aws::PaymentCryptographyData
387
392
  MacAttributes.add_member_subclass(:unknown, Types::MacAttributes::Unknown)
388
393
  MacAttributes.struct_class = Types::MacAttributes
389
394
 
390
- PinData.add_member(:pin_offset, Shapes::ShapeRef.new(shape: NumberLengthBetween4And12, location_name: "PinOffset"))
391
- PinData.add_member(:verification_value, Shapes::ShapeRef.new(shape: NumberLengthBetween4And12, location_name: "VerificationValue"))
395
+ PinData.add_member(:pin_offset, Shapes::ShapeRef.new(shape: PinOffsetType, location_name: "PinOffset"))
396
+ PinData.add_member(:verification_value, Shapes::ShapeRef.new(shape: VerificationValueType, location_name: "VerificationValue"))
392
397
  PinData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
393
398
  PinData.add_member_subclass(:pin_offset, Types::PinData::PinOffset)
394
399
  PinData.add_member_subclass(:verification_value, Types::PinData::VerificationValue)
@@ -421,7 +426,7 @@ module Aws::PaymentCryptographyData
421
426
 
422
427
  ReEncryptDataInput.add_member(:incoming_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location: "uri", location_name: "IncomingKeyIdentifier"))
423
428
  ReEncryptDataInput.add_member(:outgoing_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "OutgoingKeyIdentifier"))
424
- ReEncryptDataInput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "CipherText"))
429
+ ReEncryptDataInput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: CipherTextType, required: true, location_name: "CipherText"))
425
430
  ReEncryptDataInput.add_member(:incoming_encryption_attributes, Shapes::ShapeRef.new(shape: ReEncryptionAttributes, required: true, location_name: "IncomingEncryptionAttributes"))
426
431
  ReEncryptDataInput.add_member(:outgoing_encryption_attributes, Shapes::ShapeRef.new(shape: ReEncryptionAttributes, required: true, location_name: "OutgoingEncryptionAttributes"))
427
432
  ReEncryptDataInput.add_member(:incoming_wrapped_key, Shapes::ShapeRef.new(shape: WrappedKey, location_name: "IncomingWrappedKey"))
@@ -430,7 +435,7 @@ module Aws::PaymentCryptographyData
430
435
 
431
436
  ReEncryptDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
432
437
  ReEncryptDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
433
- ReEncryptDataOutput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "CipherText"))
438
+ ReEncryptDataOutput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: CipherTextType, required: true, location_name: "CipherText"))
434
439
  ReEncryptDataOutput.struct_class = Types::ReEncryptDataOutput
435
440
 
436
441
  ReEncryptionAttributes.add_member(:symmetric, Shapes::ShapeRef.new(shape: SymmetricEncryptionAttributes, location_name: "Symmetric"))
@@ -444,7 +449,7 @@ module Aws::PaymentCryptographyData
444
449
  ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
445
450
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
446
451
 
447
- SessionKeyAmex.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
452
+ SessionKeyAmex.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
448
453
  SessionKeyAmex.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
449
454
  SessionKeyAmex.struct_class = Types::SessionKeyAmex
450
455
 
@@ -462,7 +467,7 @@ module Aws::PaymentCryptographyData
462
467
  SessionKeyDerivation.add_member_subclass(:unknown, Types::SessionKeyDerivation::Unknown)
463
468
  SessionKeyDerivation.struct_class = Types::SessionKeyDerivation
464
469
 
465
- SessionKeyDerivationValue.add_member(:application_cryptogram, Shapes::ShapeRef.new(shape: HexLengthEquals16, location_name: "ApplicationCryptogram"))
470
+ SessionKeyDerivationValue.add_member(:application_cryptogram, Shapes::ShapeRef.new(shape: ApplicationCryptogramType, location_name: "ApplicationCryptogram"))
466
471
  SessionKeyDerivationValue.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, location_name: "ApplicationTransactionCounter"))
467
472
  SessionKeyDerivationValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
468
473
  SessionKeyDerivationValue.add_member_subclass(:application_cryptogram, Types::SessionKeyDerivationValue::ApplicationCryptogram)
@@ -470,28 +475,28 @@ module Aws::PaymentCryptographyData
470
475
  SessionKeyDerivationValue.add_member_subclass(:unknown, Types::SessionKeyDerivationValue::Unknown)
471
476
  SessionKeyDerivationValue.struct_class = Types::SessionKeyDerivationValue
472
477
 
473
- SessionKeyEmv2000.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
478
+ SessionKeyEmv2000.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
474
479
  SessionKeyEmv2000.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
475
480
  SessionKeyEmv2000.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
476
481
  SessionKeyEmv2000.struct_class = Types::SessionKeyEmv2000
477
482
 
478
- SessionKeyEmvCommon.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
483
+ SessionKeyEmvCommon.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
479
484
  SessionKeyEmvCommon.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
480
485
  SessionKeyEmvCommon.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
481
486
  SessionKeyEmvCommon.struct_class = Types::SessionKeyEmvCommon
482
487
 
483
- SessionKeyMastercard.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
488
+ SessionKeyMastercard.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
484
489
  SessionKeyMastercard.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
485
490
  SessionKeyMastercard.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
486
491
  SessionKeyMastercard.add_member(:unpredictable_number, Shapes::ShapeRef.new(shape: HexLengthBetween2And8, required: true, location_name: "UnpredictableNumber"))
487
492
  SessionKeyMastercard.struct_class = Types::SessionKeyMastercard
488
493
 
489
- SessionKeyVisa.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
494
+ SessionKeyVisa.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
490
495
  SessionKeyVisa.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
491
496
  SessionKeyVisa.struct_class = Types::SessionKeyVisa
492
497
 
493
498
  SymmetricEncryptionAttributes.add_member(:mode, Shapes::ShapeRef.new(shape: EncryptionMode, required: true, location_name: "Mode"))
494
- SymmetricEncryptionAttributes.add_member(:initialization_vector, Shapes::ShapeRef.new(shape: HexLength16Or32, location_name: "InitializationVector"))
499
+ SymmetricEncryptionAttributes.add_member(:initialization_vector, Shapes::ShapeRef.new(shape: InitializationVectorType, location_name: "InitializationVector"))
495
500
  SymmetricEncryptionAttributes.add_member(:padding_type, Shapes::ShapeRef.new(shape: PaddingType, location_name: "PaddingType"))
496
501
  SymmetricEncryptionAttributes.struct_class = Types::SymmetricEncryptionAttributes
497
502
 
@@ -509,7 +514,7 @@ module Aws::PaymentCryptographyData
509
514
  TranslatePinDataInput.add_member(:outgoing_wrapped_key, Shapes::ShapeRef.new(shape: WrappedKey, location_name: "OutgoingWrappedKey"))
510
515
  TranslatePinDataInput.struct_class = Types::TranslatePinDataInput
511
516
 
512
- TranslatePinDataOutput.add_member(:pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "PinBlock"))
517
+ TranslatePinDataOutput.add_member(:pin_block, Shapes::ShapeRef.new(shape: EncryptedPinBlockType, required: true, location_name: "PinBlock"))
513
518
  TranslatePinDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
514
519
  TranslatePinDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
515
520
  TranslatePinDataOutput.struct_class = Types::TranslatePinDataOutput
@@ -526,7 +531,7 @@ module Aws::PaymentCryptographyData
526
531
  TranslationIsoFormats.add_member_subclass(:unknown, Types::TranslationIsoFormats::Unknown)
527
532
  TranslationIsoFormats.struct_class = Types::TranslationIsoFormats
528
533
 
529
- TranslationPinDataIsoFormat034.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
534
+ TranslationPinDataIsoFormat034.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
530
535
  TranslationPinDataIsoFormat034.struct_class = Types::TranslationPinDataIsoFormat034
531
536
 
532
537
  TranslationPinDataIsoFormat1.struct_class = Types::TranslationPinDataIsoFormat1
@@ -546,8 +551,8 @@ module Aws::PaymentCryptographyData
546
551
  VerificationFailedException.struct_class = Types::VerificationFailedException
547
552
 
548
553
  VerifyAuthRequestCryptogramInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
549
- VerifyAuthRequestCryptogramInput.add_member(:transaction_data, Shapes::ShapeRef.new(shape: HexLengthBetween2And1024, required: true, location_name: "TransactionData"))
550
- VerifyAuthRequestCryptogramInput.add_member(:auth_request_cryptogram, Shapes::ShapeRef.new(shape: HexLengthEquals16, required: true, location_name: "AuthRequestCryptogram"))
554
+ VerifyAuthRequestCryptogramInput.add_member(:transaction_data, Shapes::ShapeRef.new(shape: TransactionDataType, required: true, location_name: "TransactionData"))
555
+ VerifyAuthRequestCryptogramInput.add_member(:auth_request_cryptogram, Shapes::ShapeRef.new(shape: AuthRequestCryptogramType, required: true, location_name: "AuthRequestCryptogram"))
551
556
  VerifyAuthRequestCryptogramInput.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
552
557
  VerifyAuthRequestCryptogramInput.add_member(:session_key_derivation_attributes, Shapes::ShapeRef.new(shape: SessionKeyDerivation, required: true, location_name: "SessionKeyDerivationAttributes"))
553
558
  VerifyAuthRequestCryptogramInput.add_member(:auth_response_attributes, Shapes::ShapeRef.new(shape: CryptogramAuthResponse, location_name: "AuthResponseAttributes"))
@@ -555,13 +560,13 @@ module Aws::PaymentCryptographyData
555
560
 
556
561
  VerifyAuthRequestCryptogramOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
557
562
  VerifyAuthRequestCryptogramOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
558
- VerifyAuthRequestCryptogramOutput.add_member(:auth_response_value, Shapes::ShapeRef.new(shape: HexLengthBetween1And16, location_name: "AuthResponseValue"))
563
+ VerifyAuthRequestCryptogramOutput.add_member(:auth_response_value, Shapes::ShapeRef.new(shape: AuthResponseValueType, location_name: "AuthResponseValue"))
559
564
  VerifyAuthRequestCryptogramOutput.struct_class = Types::VerifyAuthRequestCryptogramOutput
560
565
 
561
566
  VerifyCardValidationDataInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
562
- VerifyCardValidationDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
567
+ VerifyCardValidationDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
563
568
  VerifyCardValidationDataInput.add_member(:verification_attributes, Shapes::ShapeRef.new(shape: CardVerificationAttributes, required: true, location_name: "VerificationAttributes"))
564
- VerifyCardValidationDataInput.add_member(:validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween3And5, required: true, location_name: "ValidationData"))
569
+ VerifyCardValidationDataInput.add_member(:validation_data, Shapes::ShapeRef.new(shape: ValidationDataType, required: true, location_name: "ValidationData"))
565
570
  VerifyCardValidationDataInput.struct_class = Types::VerifyCardValidationDataInput
566
571
 
567
572
  VerifyCardValidationDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
@@ -569,8 +574,8 @@ module Aws::PaymentCryptographyData
569
574
  VerifyCardValidationDataOutput.struct_class = Types::VerifyCardValidationDataOutput
570
575
 
571
576
  VerifyMacInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
572
- VerifyMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: HexEvenLengthBetween2And4096, required: true, location_name: "MessageData"))
573
- VerifyMacInput.add_member(:mac, Shapes::ShapeRef.new(shape: HexEvenLengthBetween4And128, required: true, location_name: "Mac"))
577
+ VerifyMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: MessageDataType, required: true, location_name: "MessageData"))
578
+ VerifyMacInput.add_member(:mac, Shapes::ShapeRef.new(shape: MacType, required: true, location_name: "Mac"))
574
579
  VerifyMacInput.add_member(:verification_attributes, Shapes::ShapeRef.new(shape: MacAttributes, required: true, location_name: "VerificationAttributes"))
575
580
  VerifyMacInput.add_member(:mac_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And16, location_name: "MacLength"))
576
581
  VerifyMacInput.struct_class = Types::VerifyMacInput
@@ -582,8 +587,8 @@ module Aws::PaymentCryptographyData
582
587
  VerifyPinDataInput.add_member(:verification_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "VerificationKeyIdentifier"))
583
588
  VerifyPinDataInput.add_member(:encryption_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "EncryptionKeyIdentifier"))
584
589
  VerifyPinDataInput.add_member(:verification_attributes, Shapes::ShapeRef.new(shape: PinVerificationAttributes, required: true, location_name: "VerificationAttributes"))
585
- VerifyPinDataInput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
586
- VerifyPinDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
590
+ VerifyPinDataInput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: EncryptedPinBlockType, required: true, location_name: "EncryptedPinBlock"))
591
+ VerifyPinDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
587
592
  VerifyPinDataInput.add_member(:pin_block_format, Shapes::ShapeRef.new(shape: PinBlockFormatForPinData, required: true, location_name: "PinBlockFormat"))
588
593
  VerifyPinDataInput.add_member(:pin_data_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And12, location_name: "PinDataLength"))
589
594
  VerifyPinDataInput.add_member(:dukpt_attributes, Shapes::ShapeRef.new(shape: DukptAttributes, location_name: "DukptAttributes"))
@@ -599,10 +604,10 @@ module Aws::PaymentCryptographyData
599
604
  VisaPin.struct_class = Types::VisaPin
600
605
 
601
606
  VisaPinVerification.add_member(:pin_verification_key_index, Shapes::ShapeRef.new(shape: IntegerRangeBetween0And6, required: true, location_name: "PinVerificationKeyIndex"))
602
- VisaPinVerification.add_member(:verification_value, Shapes::ShapeRef.new(shape: NumberLengthBetween4And12, required: true, location_name: "VerificationValue"))
607
+ VisaPinVerification.add_member(:verification_value, Shapes::ShapeRef.new(shape: VerificationValueType, required: true, location_name: "VerificationValue"))
603
608
  VisaPinVerification.struct_class = Types::VisaPinVerification
604
609
 
605
- VisaPinVerificationValue.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
610
+ VisaPinVerificationValue.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: EncryptedPinBlockType, required: true, location_name: "EncryptedPinBlock"))
606
611
  VisaPinVerificationValue.add_member(:pin_verification_key_index, Shapes::ShapeRef.new(shape: IntegerRangeBetween0And6, required: true, location_name: "PinVerificationKeyIndex"))
607
612
  VisaPinVerificationValue.struct_class = Types::VisaPinVerificationValue
608
613