aws-sdk-paymentcryptographydata 1.25.0 → 1.27.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,7 @@ module Aws::PaymentCryptographyData
15
15
  include Seahorse::Model
16
16
 
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ AmexAttributes = Shapes::StructureShape.new(name: 'AmexAttributes')
18
19
  AmexCardSecurityCodeVersion1 = Shapes::StructureShape.new(name: 'AmexCardSecurityCodeVersion1')
19
20
  AmexCardSecurityCodeVersion2 = Shapes::StructureShape.new(name: 'AmexCardSecurityCodeVersion2')
20
21
  ApplicationCryptogramType = Shapes::StringShape.new(name: 'ApplicationCryptogramType')
@@ -27,13 +28,17 @@ module Aws::PaymentCryptographyData
27
28
  CardVerificationAttributes = Shapes::UnionShape.new(name: 'CardVerificationAttributes')
28
29
  CardVerificationValue1 = Shapes::StructureShape.new(name: 'CardVerificationValue1')
29
30
  CardVerificationValue2 = Shapes::StructureShape.new(name: 'CardVerificationValue2')
31
+ CertificateType = Shapes::StringShape.new(name: 'CertificateType')
30
32
  CipherTextType = Shapes::StringShape.new(name: 'CipherTextType')
33
+ CommandMessageDataType = Shapes::StringShape.new(name: 'CommandMessageDataType')
31
34
  CryptogramAuthResponse = Shapes::UnionShape.new(name: 'CryptogramAuthResponse')
32
35
  CryptogramVerificationArpcMethod1 = Shapes::StructureShape.new(name: 'CryptogramVerificationArpcMethod1')
33
36
  CryptogramVerificationArpcMethod2 = Shapes::StructureShape.new(name: 'CryptogramVerificationArpcMethod2')
37
+ CurrentPinAttributes = Shapes::StructureShape.new(name: 'CurrentPinAttributes')
34
38
  DecimalizationTableType = Shapes::StringShape.new(name: 'DecimalizationTableType')
35
39
  DecryptDataInput = Shapes::StructureShape.new(name: 'DecryptDataInput')
36
40
  DecryptDataOutput = Shapes::StructureShape.new(name: 'DecryptDataOutput')
41
+ DerivationMethodAttributes = Shapes::UnionShape.new(name: 'DerivationMethodAttributes')
37
42
  DiscoverDynamicCardVerificationCode = Shapes::StructureShape.new(name: 'DiscoverDynamicCardVerificationCode')
38
43
  DukptAttributes = Shapes::StructureShape.new(name: 'DukptAttributes')
39
44
  DukptDerivationAttributes = Shapes::StructureShape.new(name: 'DukptDerivationAttributes')
@@ -43,6 +48,9 @@ module Aws::PaymentCryptographyData
43
48
  DukptKeyVariant = Shapes::StringShape.new(name: 'DukptKeyVariant')
44
49
  DynamicCardVerificationCode = Shapes::StructureShape.new(name: 'DynamicCardVerificationCode')
45
50
  DynamicCardVerificationValue = Shapes::StructureShape.new(name: 'DynamicCardVerificationValue')
51
+ EcdhDerivationAttributes = Shapes::StructureShape.new(name: 'EcdhDerivationAttributes')
52
+ Emv2000Attributes = Shapes::StructureShape.new(name: 'Emv2000Attributes')
53
+ EmvCommonAttributes = Shapes::StructureShape.new(name: 'EmvCommonAttributes')
46
54
  EmvEncryptionAttributes = Shapes::StructureShape.new(name: 'EmvEncryptionAttributes')
47
55
  EmvEncryptionMode = Shapes::StringShape.new(name: 'EmvEncryptionMode')
48
56
  EmvMajorKeyDerivationMode = Shapes::StringShape.new(name: 'EmvMajorKeyDerivationMode')
@@ -53,6 +61,8 @@ module Aws::PaymentCryptographyData
53
61
  EncryptionMode = Shapes::StringShape.new(name: 'EncryptionMode')
54
62
  GenerateCardValidationDataInput = Shapes::StructureShape.new(name: 'GenerateCardValidationDataInput')
55
63
  GenerateCardValidationDataOutput = Shapes::StructureShape.new(name: 'GenerateCardValidationDataOutput')
64
+ GenerateMacEmvPinChangeInput = Shapes::StructureShape.new(name: 'GenerateMacEmvPinChangeInput')
65
+ GenerateMacEmvPinChangeOutput = Shapes::StructureShape.new(name: 'GenerateMacEmvPinChangeOutput')
56
66
  GenerateMacInput = Shapes::StructureShape.new(name: 'GenerateMacInput')
57
67
  GenerateMacOutput = Shapes::StructureShape.new(name: 'GenerateMacOutput')
58
68
  GeneratePinDataInput = Shapes::StructureShape.new(name: 'GeneratePinDataInput')
@@ -79,6 +89,8 @@ module Aws::PaymentCryptographyData
79
89
  KeyArnOrKeyAliasType = Shapes::StringShape.new(name: 'KeyArnOrKeyAliasType')
80
90
  KeyCheckValue = Shapes::StringShape.new(name: 'KeyCheckValue')
81
91
  KeyCheckValueAlgorithm = Shapes::StringShape.new(name: 'KeyCheckValueAlgorithm')
92
+ KeyDerivationFunction = Shapes::StringShape.new(name: 'KeyDerivationFunction')
93
+ KeyDerivationHashAlgorithm = Shapes::StringShape.new(name: 'KeyDerivationHashAlgorithm')
82
94
  MacAlgorithm = Shapes::StringShape.new(name: 'MacAlgorithm')
83
95
  MacAlgorithmDukpt = Shapes::StructureShape.new(name: 'MacAlgorithmDukpt')
84
96
  MacAlgorithmEmv = Shapes::StructureShape.new(name: 'MacAlgorithmEmv')
@@ -86,10 +98,16 @@ module Aws::PaymentCryptographyData
86
98
  MacOutputType = Shapes::StringShape.new(name: 'MacOutputType')
87
99
  MacType = Shapes::StringShape.new(name: 'MacType')
88
100
  MajorKeyDerivationMode = Shapes::StringShape.new(name: 'MajorKeyDerivationMode')
101
+ MasterCardAttributes = Shapes::StructureShape.new(name: 'MasterCardAttributes')
89
102
  MessageDataType = Shapes::StringShape.new(name: 'MessageDataType')
90
103
  NumberLengthEquals2 = Shapes::StringShape.new(name: 'NumberLengthEquals2')
91
104
  PaddingType = Shapes::StringShape.new(name: 'PaddingType')
105
+ PinBlockFormatForEmvPinChange = Shapes::StringShape.new(name: 'PinBlockFormatForEmvPinChange')
92
106
  PinBlockFormatForPinData = Shapes::StringShape.new(name: 'PinBlockFormatForPinData')
107
+ PinBlockLengthEquals16 = Shapes::StringShape.new(name: 'PinBlockLengthEquals16')
108
+ PinBlockLengthPosition = Shapes::StringShape.new(name: 'PinBlockLengthPosition')
109
+ PinBlockPaddingType = Shapes::StringShape.new(name: 'PinBlockPaddingType')
110
+ PinChangeMacOutputType = Shapes::StringShape.new(name: 'PinChangeMacOutputType')
93
111
  PinData = Shapes::UnionShape.new(name: 'PinData')
94
112
  PinGenerationAttributes = Shapes::UnionShape.new(name: 'PinGenerationAttributes')
95
113
  PinOffsetType = Shapes::StringShape.new(name: 'PinOffsetType')
@@ -113,8 +131,10 @@ module Aws::PaymentCryptographyData
113
131
  SessionKeyEmvCommon = Shapes::StructureShape.new(name: 'SessionKeyEmvCommon')
114
132
  SessionKeyMastercard = Shapes::StructureShape.new(name: 'SessionKeyMastercard')
115
133
  SessionKeyVisa = Shapes::StructureShape.new(name: 'SessionKeyVisa')
134
+ SharedInformation = Shapes::StringShape.new(name: 'SharedInformation')
116
135
  String = Shapes::StringShape.new(name: 'String')
117
136
  SymmetricEncryptionAttributes = Shapes::StructureShape.new(name: 'SymmetricEncryptionAttributes')
137
+ SymmetricKeyAlgorithm = Shapes::StringShape.new(name: 'SymmetricKeyAlgorithm')
118
138
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
119
139
  Tr31WrappedKeyBlock = Shapes::StringShape.new(name: 'Tr31WrappedKeyBlock')
120
140
  TrackDataType = Shapes::StringShape.new(name: 'TrackDataType')
@@ -139,6 +159,8 @@ module Aws::PaymentCryptographyData
139
159
  VerifyMacOutput = Shapes::StructureShape.new(name: 'VerifyMacOutput')
140
160
  VerifyPinDataInput = Shapes::StructureShape.new(name: 'VerifyPinDataInput')
141
161
  VerifyPinDataOutput = Shapes::StructureShape.new(name: 'VerifyPinDataOutput')
162
+ VisaAmexDerivationOutputs = Shapes::StructureShape.new(name: 'VisaAmexDerivationOutputs')
163
+ VisaAttributes = Shapes::StructureShape.new(name: 'VisaAttributes')
142
164
  VisaPin = Shapes::StructureShape.new(name: 'VisaPin')
143
165
  VisaPinVerification = Shapes::StructureShape.new(name: 'VisaPinVerification')
144
166
  VisaPinVerificationValue = Shapes::StructureShape.new(name: 'VisaPinVerificationValue')
@@ -148,6 +170,14 @@ module Aws::PaymentCryptographyData
148
170
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
149
171
  AccessDeniedException.struct_class = Types::AccessDeniedException
150
172
 
173
+ AmexAttributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
174
+ AmexAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
175
+ AmexAttributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
176
+ AmexAttributes.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
177
+ AmexAttributes.add_member(:authorization_request_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "AuthorizationRequestKeyIdentifier"))
178
+ AmexAttributes.add_member(:current_pin_attributes, Shapes::ShapeRef.new(shape: CurrentPinAttributes, location_name: "CurrentPinAttributes"))
179
+ AmexAttributes.struct_class = Types::AmexAttributes
180
+
151
181
  AmexCardSecurityCodeVersion1.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: CardExpiryDateType, required: true, location_name: "CardExpiryDate"))
152
182
  AmexCardSecurityCodeVersion1.struct_class = Types::AmexCardSecurityCodeVersion1
153
183
 
@@ -223,6 +253,10 @@ module Aws::PaymentCryptographyData
223
253
  CryptogramVerificationArpcMethod2.add_member(:proprietary_authentication_data, Shapes::ShapeRef.new(shape: ProprietaryAuthenticationDataType, location_name: "ProprietaryAuthenticationData"))
224
254
  CryptogramVerificationArpcMethod2.struct_class = Types::CryptogramVerificationArpcMethod2
225
255
 
256
+ CurrentPinAttributes.add_member(:current_pin_pek_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CurrentPinPekIdentifier"))
257
+ CurrentPinAttributes.add_member(:current_encrypted_pin_block, Shapes::ShapeRef.new(shape: PinBlockLengthEquals16, required: true, location_name: "CurrentEncryptedPinBlock"))
258
+ CurrentPinAttributes.struct_class = Types::CurrentPinAttributes
259
+
226
260
  DecryptDataInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location: "uri", location_name: "KeyIdentifier"))
227
261
  DecryptDataInput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: CipherTextType, required: true, location_name: "CipherText"))
228
262
  DecryptDataInput.add_member(:decryption_attributes, Shapes::ShapeRef.new(shape: EncryptionDecryptionAttributes, required: true, location_name: "DecryptionAttributes"))
@@ -234,6 +268,20 @@ module Aws::PaymentCryptographyData
234
268
  DecryptDataOutput.add_member(:plain_text, Shapes::ShapeRef.new(shape: PlainTextOutputType, required: true, location_name: "PlainText"))
235
269
  DecryptDataOutput.struct_class = Types::DecryptDataOutput
236
270
 
271
+ DerivationMethodAttributes.add_member(:emv_common, Shapes::ShapeRef.new(shape: EmvCommonAttributes, location_name: "EmvCommon"))
272
+ DerivationMethodAttributes.add_member(:amex, Shapes::ShapeRef.new(shape: AmexAttributes, location_name: "Amex"))
273
+ DerivationMethodAttributes.add_member(:visa, Shapes::ShapeRef.new(shape: VisaAttributes, location_name: "Visa"))
274
+ DerivationMethodAttributes.add_member(:emv_2000, Shapes::ShapeRef.new(shape: Emv2000Attributes, location_name: "Emv2000"))
275
+ DerivationMethodAttributes.add_member(:mastercard, Shapes::ShapeRef.new(shape: MasterCardAttributes, location_name: "Mastercard"))
276
+ DerivationMethodAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
277
+ DerivationMethodAttributes.add_member_subclass(:emv_common, Types::DerivationMethodAttributes::EmvCommon)
278
+ DerivationMethodAttributes.add_member_subclass(:amex, Types::DerivationMethodAttributes::Amex)
279
+ DerivationMethodAttributes.add_member_subclass(:visa, Types::DerivationMethodAttributes::Visa)
280
+ DerivationMethodAttributes.add_member_subclass(:emv_2000, Types::DerivationMethodAttributes::Emv2000)
281
+ DerivationMethodAttributes.add_member_subclass(:mastercard, Types::DerivationMethodAttributes::Mastercard)
282
+ DerivationMethodAttributes.add_member_subclass(:unknown, Types::DerivationMethodAttributes::Unknown)
283
+ DerivationMethodAttributes.struct_class = Types::DerivationMethodAttributes
284
+
237
285
  DiscoverDynamicCardVerificationCode.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: CardExpiryDateType, required: true, location_name: "CardExpiryDate"))
238
286
  DiscoverDynamicCardVerificationCode.add_member(:unpredictable_number, Shapes::ShapeRef.new(shape: HexLengthBetween2And8, required: true, location_name: "UnpredictableNumber"))
239
287
  DiscoverDynamicCardVerificationCode.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
@@ -267,6 +315,29 @@ module Aws::PaymentCryptographyData
267
315
  DynamicCardVerificationValue.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
268
316
  DynamicCardVerificationValue.struct_class = Types::DynamicCardVerificationValue
269
317
 
318
+ EcdhDerivationAttributes.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
319
+ EcdhDerivationAttributes.add_member(:public_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "PublicKeyCertificate"))
320
+ EcdhDerivationAttributes.add_member(:key_algorithm, Shapes::ShapeRef.new(shape: SymmetricKeyAlgorithm, required: true, location_name: "KeyAlgorithm"))
321
+ EcdhDerivationAttributes.add_member(:key_derivation_function, Shapes::ShapeRef.new(shape: KeyDerivationFunction, required: true, location_name: "KeyDerivationFunction"))
322
+ EcdhDerivationAttributes.add_member(:key_derivation_hash_algorithm, Shapes::ShapeRef.new(shape: KeyDerivationHashAlgorithm, required: true, location_name: "KeyDerivationHashAlgorithm"))
323
+ EcdhDerivationAttributes.add_member(:shared_information, Shapes::ShapeRef.new(shape: SharedInformation, required: true, location_name: "SharedInformation"))
324
+ EcdhDerivationAttributes.struct_class = Types::EcdhDerivationAttributes
325
+
326
+ Emv2000Attributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
327
+ Emv2000Attributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
328
+ Emv2000Attributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
329
+ Emv2000Attributes.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
330
+ Emv2000Attributes.struct_class = Types::Emv2000Attributes
331
+
332
+ EmvCommonAttributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
333
+ EmvCommonAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
334
+ EmvCommonAttributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
335
+ EmvCommonAttributes.add_member(:application_cryptogram, Shapes::ShapeRef.new(shape: ApplicationCryptogramType, required: true, location_name: "ApplicationCryptogram"))
336
+ EmvCommonAttributes.add_member(:mode, Shapes::ShapeRef.new(shape: EmvEncryptionMode, required: true, location_name: "Mode"))
337
+ EmvCommonAttributes.add_member(:pin_block_padding_type, Shapes::ShapeRef.new(shape: PinBlockPaddingType, required: true, location_name: "PinBlockPaddingType"))
338
+ EmvCommonAttributes.add_member(:pin_block_length_position, Shapes::ShapeRef.new(shape: PinBlockLengthPosition, required: true, location_name: "PinBlockLengthPosition"))
339
+ EmvCommonAttributes.struct_class = Types::EmvCommonAttributes
340
+
270
341
  EmvEncryptionAttributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: EmvMajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
271
342
  EmvEncryptionAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
272
343
  EmvEncryptionAttributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
@@ -309,6 +380,26 @@ module Aws::PaymentCryptographyData
309
380
  GenerateCardValidationDataOutput.add_member(:validation_data, Shapes::ShapeRef.new(shape: ValidationDataType, required: true, location_name: "ValidationData"))
310
381
  GenerateCardValidationDataOutput.struct_class = Types::GenerateCardValidationDataOutput
311
382
 
383
+ GenerateMacEmvPinChangeInput.add_member(:new_pin_pek_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "NewPinPekIdentifier"))
384
+ GenerateMacEmvPinChangeInput.add_member(:new_encrypted_pin_block, Shapes::ShapeRef.new(shape: PinBlockLengthEquals16, required: true, location_name: "NewEncryptedPinBlock"))
385
+ GenerateMacEmvPinChangeInput.add_member(:pin_block_format, Shapes::ShapeRef.new(shape: PinBlockFormatForEmvPinChange, required: true, location_name: "PinBlockFormat"))
386
+ GenerateMacEmvPinChangeInput.add_member(:secure_messaging_integrity_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "SecureMessagingIntegrityKeyIdentifier"))
387
+ GenerateMacEmvPinChangeInput.add_member(:secure_messaging_confidentiality_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "SecureMessagingConfidentialityKeyIdentifier"))
388
+ GenerateMacEmvPinChangeInput.add_member(:message_data, Shapes::ShapeRef.new(shape: CommandMessageDataType, required: true, location_name: "MessageData"))
389
+ GenerateMacEmvPinChangeInput.add_member(:derivation_method_attributes, Shapes::ShapeRef.new(shape: DerivationMethodAttributes, required: true, location_name: "DerivationMethodAttributes"))
390
+ GenerateMacEmvPinChangeInput.struct_class = Types::GenerateMacEmvPinChangeInput
391
+
392
+ GenerateMacEmvPinChangeOutput.add_member(:new_pin_pek_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "NewPinPekArn"))
393
+ GenerateMacEmvPinChangeOutput.add_member(:secure_messaging_integrity_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "SecureMessagingIntegrityKeyArn"))
394
+ GenerateMacEmvPinChangeOutput.add_member(:secure_messaging_confidentiality_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "SecureMessagingConfidentialityKeyArn"))
395
+ GenerateMacEmvPinChangeOutput.add_member(:mac, Shapes::ShapeRef.new(shape: PinChangeMacOutputType, required: true, location_name: "Mac"))
396
+ GenerateMacEmvPinChangeOutput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: EncryptedPinBlockType, required: true, location_name: "EncryptedPinBlock"))
397
+ GenerateMacEmvPinChangeOutput.add_member(:new_pin_pek_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "NewPinPekKeyCheckValue"))
398
+ GenerateMacEmvPinChangeOutput.add_member(:secure_messaging_integrity_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "SecureMessagingIntegrityKeyCheckValue"))
399
+ GenerateMacEmvPinChangeOutput.add_member(:secure_messaging_confidentiality_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "SecureMessagingConfidentialityKeyCheckValue"))
400
+ GenerateMacEmvPinChangeOutput.add_member(:visa_amex_derivation_outputs, Shapes::ShapeRef.new(shape: VisaAmexDerivationOutputs, location_name: "VisaAmexDerivationOutputs"))
401
+ GenerateMacEmvPinChangeOutput.struct_class = Types::GenerateMacEmvPinChangeOutput
402
+
312
403
  GenerateMacInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
313
404
  GenerateMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: MessageDataType, required: true, location_name: "MessageData"))
314
405
  GenerateMacInput.add_member(:generation_attributes, Shapes::ShapeRef.new(shape: MacAttributes, required: true, location_name: "GenerationAttributes"))
@@ -326,6 +417,7 @@ module Aws::PaymentCryptographyData
326
417
  GeneratePinDataInput.add_member(:pin_data_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And12, location_name: "PinDataLength"))
327
418
  GeneratePinDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
328
419
  GeneratePinDataInput.add_member(:pin_block_format, Shapes::ShapeRef.new(shape: PinBlockFormatForPinData, required: true, location_name: "PinBlockFormat"))
420
+ GeneratePinDataInput.add_member(:encryption_wrapped_key, Shapes::ShapeRef.new(shape: WrappedKey, location_name: "EncryptionWrappedKey"))
329
421
  GeneratePinDataInput.struct_class = Types::GeneratePinDataInput
330
422
 
331
423
  GeneratePinDataOutput.add_member(:generation_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "GenerationKeyArn"))
@@ -393,6 +485,12 @@ module Aws::PaymentCryptographyData
393
485
  MacAttributes.add_member_subclass(:unknown, Types::MacAttributes::Unknown)
394
486
  MacAttributes.struct_class = Types::MacAttributes
395
487
 
488
+ MasterCardAttributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
489
+ MasterCardAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
490
+ MasterCardAttributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
491
+ MasterCardAttributes.add_member(:application_cryptogram, Shapes::ShapeRef.new(shape: ApplicationCryptogramType, required: true, location_name: "ApplicationCryptogram"))
492
+ MasterCardAttributes.struct_class = Types::MasterCardAttributes
493
+
396
494
  PinData.add_member(:pin_offset, Shapes::ShapeRef.new(shape: PinOffsetType, location_name: "PinOffset"))
397
495
  PinData.add_member(:verification_value, Shapes::ShapeRef.new(shape: VerificationValueType, location_name: "VerificationValue"))
398
496
  PinData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -469,7 +567,7 @@ module Aws::PaymentCryptographyData
469
567
  SessionKeyDerivation.struct_class = Types::SessionKeyDerivation
470
568
 
471
569
  SessionKeyDerivationValue.add_member(:application_cryptogram, Shapes::ShapeRef.new(shape: ApplicationCryptogramType, location_name: "ApplicationCryptogram"))
472
- SessionKeyDerivationValue.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, location_name: "ApplicationTransactionCounter"))
570
+ SessionKeyDerivationValue.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, location_name: "ApplicationTransactionCounter"))
473
571
  SessionKeyDerivationValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
474
572
  SessionKeyDerivationValue.add_member_subclass(:application_cryptogram, Types::SessionKeyDerivationValue::ApplicationCryptogram)
475
573
  SessionKeyDerivationValue.add_member_subclass(:application_transaction_counter, Types::SessionKeyDerivationValue::ApplicationTransactionCounter)
@@ -478,17 +576,17 @@ module Aws::PaymentCryptographyData
478
576
 
479
577
  SessionKeyEmv2000.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
480
578
  SessionKeyEmv2000.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
481
- SessionKeyEmv2000.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
579
+ SessionKeyEmv2000.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
482
580
  SessionKeyEmv2000.struct_class = Types::SessionKeyEmv2000
483
581
 
484
582
  SessionKeyEmvCommon.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
485
583
  SessionKeyEmvCommon.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
486
- SessionKeyEmvCommon.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
584
+ SessionKeyEmvCommon.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
487
585
  SessionKeyEmvCommon.struct_class = Types::SessionKeyEmvCommon
488
586
 
489
587
  SessionKeyMastercard.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
490
588
  SessionKeyMastercard.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
491
- SessionKeyMastercard.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
589
+ SessionKeyMastercard.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
492
590
  SessionKeyMastercard.add_member(:unpredictable_number, Shapes::ShapeRef.new(shape: HexLengthBetween2And8, required: true, location_name: "UnpredictableNumber"))
493
591
  SessionKeyMastercard.struct_class = Types::SessionKeyMastercard
494
592
 
@@ -593,6 +691,7 @@ module Aws::PaymentCryptographyData
593
691
  VerifyPinDataInput.add_member(:pin_block_format, Shapes::ShapeRef.new(shape: PinBlockFormatForPinData, required: true, location_name: "PinBlockFormat"))
594
692
  VerifyPinDataInput.add_member(:pin_data_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And12, location_name: "PinDataLength"))
595
693
  VerifyPinDataInput.add_member(:dukpt_attributes, Shapes::ShapeRef.new(shape: DukptAttributes, location_name: "DukptAttributes"))
694
+ VerifyPinDataInput.add_member(:encryption_wrapped_key, Shapes::ShapeRef.new(shape: WrappedKey, location_name: "EncryptionWrappedKey"))
596
695
  VerifyPinDataInput.struct_class = Types::VerifyPinDataInput
597
696
 
598
697
  VerifyPinDataOutput.add_member(:verification_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "VerificationKeyArn"))
@@ -601,6 +700,20 @@ module Aws::PaymentCryptographyData
601
700
  VerifyPinDataOutput.add_member(:encryption_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "EncryptionKeyCheckValue"))
602
701
  VerifyPinDataOutput.struct_class = Types::VerifyPinDataOutput
603
702
 
703
+ VisaAmexDerivationOutputs.add_member(:authorization_request_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "AuthorizationRequestKeyArn"))
704
+ VisaAmexDerivationOutputs.add_member(:authorization_request_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "AuthorizationRequestKeyCheckValue"))
705
+ VisaAmexDerivationOutputs.add_member(:current_pin_pek_arn, Shapes::ShapeRef.new(shape: KeyArn, location_name: "CurrentPinPekArn"))
706
+ VisaAmexDerivationOutputs.add_member(:current_pin_pek_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, location_name: "CurrentPinPekKeyCheckValue"))
707
+ VisaAmexDerivationOutputs.struct_class = Types::VisaAmexDerivationOutputs
708
+
709
+ VisaAttributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
710
+ VisaAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
711
+ VisaAttributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
712
+ VisaAttributes.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
713
+ VisaAttributes.add_member(:authorization_request_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "AuthorizationRequestKeyIdentifier"))
714
+ VisaAttributes.add_member(:current_pin_attributes, Shapes::ShapeRef.new(shape: CurrentPinAttributes, location_name: "CurrentPinAttributes"))
715
+ VisaAttributes.struct_class = Types::VisaAttributes
716
+
604
717
  VisaPin.add_member(:pin_verification_key_index, Shapes::ShapeRef.new(shape: IntegerRangeBetween0And6, required: true, location_name: "PinVerificationKeyIndex"))
605
718
  VisaPin.struct_class = Types::VisaPin
606
719
 
@@ -617,8 +730,10 @@ module Aws::PaymentCryptographyData
617
730
  WrappedKey.struct_class = Types::WrappedKey
618
731
 
619
732
  WrappedKeyMaterial.add_member(:tr_31_key_block, Shapes::ShapeRef.new(shape: Tr31WrappedKeyBlock, location_name: "Tr31KeyBlock"))
733
+ WrappedKeyMaterial.add_member(:diffie_hellman_symmetric_key, Shapes::ShapeRef.new(shape: EcdhDerivationAttributes, location_name: "DiffieHellmanSymmetricKey"))
620
734
  WrappedKeyMaterial.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
621
735
  WrappedKeyMaterial.add_member_subclass(:tr_31_key_block, Types::WrappedKeyMaterial::Tr31KeyBlock)
736
+ WrappedKeyMaterial.add_member_subclass(:diffie_hellman_symmetric_key, Types::WrappedKeyMaterial::DiffieHellmanSymmetricKey)
622
737
  WrappedKeyMaterial.add_member_subclass(:unknown, Types::WrappedKeyMaterial::Unknown)
623
738
  WrappedKeyMaterial.struct_class = Types::WrappedKeyMaterial
624
739
 
@@ -693,6 +808,19 @@ module Aws::PaymentCryptographyData
693
808
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
694
809
  end)
695
810
 
811
+ api.add_operation(:generate_mac_emv_pin_change, Seahorse::Model::Operation.new.tap do |o|
812
+ o.name = "GenerateMacEmvPinChange"
813
+ o.http_method = "POST"
814
+ o.http_request_uri = "/macemvpinchange/generate"
815
+ o.input = Shapes::ShapeRef.new(shape: GenerateMacEmvPinChangeInput)
816
+ o.output = Shapes::ShapeRef.new(shape: GenerateMacEmvPinChangeOutput)
817
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
818
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
819
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
820
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
821
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
822
+ end)
823
+
696
824
  api.add_operation(:generate_pin_data, Seahorse::Model::Operation.new.tap do |o|
697
825
  o.name = "GeneratePinData"
698
826
  o.http_method = "POST"