aws-sdk-paymentcryptographydata 1.25.0 → 1.26.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')
@@ -28,12 +29,15 @@ module Aws::PaymentCryptographyData
28
29
  CardVerificationValue1 = Shapes::StructureShape.new(name: 'CardVerificationValue1')
29
30
  CardVerificationValue2 = Shapes::StructureShape.new(name: 'CardVerificationValue2')
30
31
  CipherTextType = Shapes::StringShape.new(name: 'CipherTextType')
32
+ CommandMessageDataType = Shapes::StringShape.new(name: 'CommandMessageDataType')
31
33
  CryptogramAuthResponse = Shapes::UnionShape.new(name: 'CryptogramAuthResponse')
32
34
  CryptogramVerificationArpcMethod1 = Shapes::StructureShape.new(name: 'CryptogramVerificationArpcMethod1')
33
35
  CryptogramVerificationArpcMethod2 = Shapes::StructureShape.new(name: 'CryptogramVerificationArpcMethod2')
36
+ CurrentPinAttributes = Shapes::StructureShape.new(name: 'CurrentPinAttributes')
34
37
  DecimalizationTableType = Shapes::StringShape.new(name: 'DecimalizationTableType')
35
38
  DecryptDataInput = Shapes::StructureShape.new(name: 'DecryptDataInput')
36
39
  DecryptDataOutput = Shapes::StructureShape.new(name: 'DecryptDataOutput')
40
+ DerivationMethodAttributes = Shapes::UnionShape.new(name: 'DerivationMethodAttributes')
37
41
  DiscoverDynamicCardVerificationCode = Shapes::StructureShape.new(name: 'DiscoverDynamicCardVerificationCode')
38
42
  DukptAttributes = Shapes::StructureShape.new(name: 'DukptAttributes')
39
43
  DukptDerivationAttributes = Shapes::StructureShape.new(name: 'DukptDerivationAttributes')
@@ -43,6 +47,8 @@ module Aws::PaymentCryptographyData
43
47
  DukptKeyVariant = Shapes::StringShape.new(name: 'DukptKeyVariant')
44
48
  DynamicCardVerificationCode = Shapes::StructureShape.new(name: 'DynamicCardVerificationCode')
45
49
  DynamicCardVerificationValue = Shapes::StructureShape.new(name: 'DynamicCardVerificationValue')
50
+ Emv2000Attributes = Shapes::StructureShape.new(name: 'Emv2000Attributes')
51
+ EmvCommonAttributes = Shapes::StructureShape.new(name: 'EmvCommonAttributes')
46
52
  EmvEncryptionAttributes = Shapes::StructureShape.new(name: 'EmvEncryptionAttributes')
47
53
  EmvEncryptionMode = Shapes::StringShape.new(name: 'EmvEncryptionMode')
48
54
  EmvMajorKeyDerivationMode = Shapes::StringShape.new(name: 'EmvMajorKeyDerivationMode')
@@ -53,6 +59,8 @@ module Aws::PaymentCryptographyData
53
59
  EncryptionMode = Shapes::StringShape.new(name: 'EncryptionMode')
54
60
  GenerateCardValidationDataInput = Shapes::StructureShape.new(name: 'GenerateCardValidationDataInput')
55
61
  GenerateCardValidationDataOutput = Shapes::StructureShape.new(name: 'GenerateCardValidationDataOutput')
62
+ GenerateMacEmvPinChangeInput = Shapes::StructureShape.new(name: 'GenerateMacEmvPinChangeInput')
63
+ GenerateMacEmvPinChangeOutput = Shapes::StructureShape.new(name: 'GenerateMacEmvPinChangeOutput')
56
64
  GenerateMacInput = Shapes::StructureShape.new(name: 'GenerateMacInput')
57
65
  GenerateMacOutput = Shapes::StructureShape.new(name: 'GenerateMacOutput')
58
66
  GeneratePinDataInput = Shapes::StructureShape.new(name: 'GeneratePinDataInput')
@@ -86,10 +94,16 @@ module Aws::PaymentCryptographyData
86
94
  MacOutputType = Shapes::StringShape.new(name: 'MacOutputType')
87
95
  MacType = Shapes::StringShape.new(name: 'MacType')
88
96
  MajorKeyDerivationMode = Shapes::StringShape.new(name: 'MajorKeyDerivationMode')
97
+ MasterCardAttributes = Shapes::StructureShape.new(name: 'MasterCardAttributes')
89
98
  MessageDataType = Shapes::StringShape.new(name: 'MessageDataType')
90
99
  NumberLengthEquals2 = Shapes::StringShape.new(name: 'NumberLengthEquals2')
91
100
  PaddingType = Shapes::StringShape.new(name: 'PaddingType')
101
+ PinBlockFormatForEmvPinChange = Shapes::StringShape.new(name: 'PinBlockFormatForEmvPinChange')
92
102
  PinBlockFormatForPinData = Shapes::StringShape.new(name: 'PinBlockFormatForPinData')
103
+ PinBlockLengthEquals16 = Shapes::StringShape.new(name: 'PinBlockLengthEquals16')
104
+ PinBlockLengthPosition = Shapes::StringShape.new(name: 'PinBlockLengthPosition')
105
+ PinBlockPaddingType = Shapes::StringShape.new(name: 'PinBlockPaddingType')
106
+ PinChangeMacOutputType = Shapes::StringShape.new(name: 'PinChangeMacOutputType')
93
107
  PinData = Shapes::UnionShape.new(name: 'PinData')
94
108
  PinGenerationAttributes = Shapes::UnionShape.new(name: 'PinGenerationAttributes')
95
109
  PinOffsetType = Shapes::StringShape.new(name: 'PinOffsetType')
@@ -139,6 +153,8 @@ module Aws::PaymentCryptographyData
139
153
  VerifyMacOutput = Shapes::StructureShape.new(name: 'VerifyMacOutput')
140
154
  VerifyPinDataInput = Shapes::StructureShape.new(name: 'VerifyPinDataInput')
141
155
  VerifyPinDataOutput = Shapes::StructureShape.new(name: 'VerifyPinDataOutput')
156
+ VisaAmexDerivationOutputs = Shapes::StructureShape.new(name: 'VisaAmexDerivationOutputs')
157
+ VisaAttributes = Shapes::StructureShape.new(name: 'VisaAttributes')
142
158
  VisaPin = Shapes::StructureShape.new(name: 'VisaPin')
143
159
  VisaPinVerification = Shapes::StructureShape.new(name: 'VisaPinVerification')
144
160
  VisaPinVerificationValue = Shapes::StructureShape.new(name: 'VisaPinVerificationValue')
@@ -148,6 +164,14 @@ module Aws::PaymentCryptographyData
148
164
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
149
165
  AccessDeniedException.struct_class = Types::AccessDeniedException
150
166
 
167
+ AmexAttributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
168
+ AmexAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
169
+ AmexAttributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
170
+ AmexAttributes.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
171
+ AmexAttributes.add_member(:authorization_request_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "AuthorizationRequestKeyIdentifier"))
172
+ AmexAttributes.add_member(:current_pin_attributes, Shapes::ShapeRef.new(shape: CurrentPinAttributes, location_name: "CurrentPinAttributes"))
173
+ AmexAttributes.struct_class = Types::AmexAttributes
174
+
151
175
  AmexCardSecurityCodeVersion1.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: CardExpiryDateType, required: true, location_name: "CardExpiryDate"))
152
176
  AmexCardSecurityCodeVersion1.struct_class = Types::AmexCardSecurityCodeVersion1
153
177
 
@@ -223,6 +247,10 @@ module Aws::PaymentCryptographyData
223
247
  CryptogramVerificationArpcMethod2.add_member(:proprietary_authentication_data, Shapes::ShapeRef.new(shape: ProprietaryAuthenticationDataType, location_name: "ProprietaryAuthenticationData"))
224
248
  CryptogramVerificationArpcMethod2.struct_class = Types::CryptogramVerificationArpcMethod2
225
249
 
250
+ CurrentPinAttributes.add_member(:current_pin_pek_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CurrentPinPekIdentifier"))
251
+ CurrentPinAttributes.add_member(:current_encrypted_pin_block, Shapes::ShapeRef.new(shape: PinBlockLengthEquals16, required: true, location_name: "CurrentEncryptedPinBlock"))
252
+ CurrentPinAttributes.struct_class = Types::CurrentPinAttributes
253
+
226
254
  DecryptDataInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location: "uri", location_name: "KeyIdentifier"))
227
255
  DecryptDataInput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: CipherTextType, required: true, location_name: "CipherText"))
228
256
  DecryptDataInput.add_member(:decryption_attributes, Shapes::ShapeRef.new(shape: EncryptionDecryptionAttributes, required: true, location_name: "DecryptionAttributes"))
@@ -234,6 +262,20 @@ module Aws::PaymentCryptographyData
234
262
  DecryptDataOutput.add_member(:plain_text, Shapes::ShapeRef.new(shape: PlainTextOutputType, required: true, location_name: "PlainText"))
235
263
  DecryptDataOutput.struct_class = Types::DecryptDataOutput
236
264
 
265
+ DerivationMethodAttributes.add_member(:emv_common, Shapes::ShapeRef.new(shape: EmvCommonAttributes, location_name: "EmvCommon"))
266
+ DerivationMethodAttributes.add_member(:amex, Shapes::ShapeRef.new(shape: AmexAttributes, location_name: "Amex"))
267
+ DerivationMethodAttributes.add_member(:visa, Shapes::ShapeRef.new(shape: VisaAttributes, location_name: "Visa"))
268
+ DerivationMethodAttributes.add_member(:emv_2000, Shapes::ShapeRef.new(shape: Emv2000Attributes, location_name: "Emv2000"))
269
+ DerivationMethodAttributes.add_member(:mastercard, Shapes::ShapeRef.new(shape: MasterCardAttributes, location_name: "Mastercard"))
270
+ DerivationMethodAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
271
+ DerivationMethodAttributes.add_member_subclass(:emv_common, Types::DerivationMethodAttributes::EmvCommon)
272
+ DerivationMethodAttributes.add_member_subclass(:amex, Types::DerivationMethodAttributes::Amex)
273
+ DerivationMethodAttributes.add_member_subclass(:visa, Types::DerivationMethodAttributes::Visa)
274
+ DerivationMethodAttributes.add_member_subclass(:emv_2000, Types::DerivationMethodAttributes::Emv2000)
275
+ DerivationMethodAttributes.add_member_subclass(:mastercard, Types::DerivationMethodAttributes::Mastercard)
276
+ DerivationMethodAttributes.add_member_subclass(:unknown, Types::DerivationMethodAttributes::Unknown)
277
+ DerivationMethodAttributes.struct_class = Types::DerivationMethodAttributes
278
+
237
279
  DiscoverDynamicCardVerificationCode.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: CardExpiryDateType, required: true, location_name: "CardExpiryDate"))
238
280
  DiscoverDynamicCardVerificationCode.add_member(:unpredictable_number, Shapes::ShapeRef.new(shape: HexLengthBetween2And8, required: true, location_name: "UnpredictableNumber"))
239
281
  DiscoverDynamicCardVerificationCode.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
@@ -267,6 +309,21 @@ module Aws::PaymentCryptographyData
267
309
  DynamicCardVerificationValue.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
268
310
  DynamicCardVerificationValue.struct_class = Types::DynamicCardVerificationValue
269
311
 
312
+ Emv2000Attributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
313
+ Emv2000Attributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
314
+ Emv2000Attributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
315
+ Emv2000Attributes.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
316
+ Emv2000Attributes.struct_class = Types::Emv2000Attributes
317
+
318
+ EmvCommonAttributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
319
+ EmvCommonAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
320
+ EmvCommonAttributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
321
+ EmvCommonAttributes.add_member(:application_cryptogram, Shapes::ShapeRef.new(shape: ApplicationCryptogramType, required: true, location_name: "ApplicationCryptogram"))
322
+ EmvCommonAttributes.add_member(:mode, Shapes::ShapeRef.new(shape: EmvEncryptionMode, required: true, location_name: "Mode"))
323
+ EmvCommonAttributes.add_member(:pin_block_padding_type, Shapes::ShapeRef.new(shape: PinBlockPaddingType, required: true, location_name: "PinBlockPaddingType"))
324
+ EmvCommonAttributes.add_member(:pin_block_length_position, Shapes::ShapeRef.new(shape: PinBlockLengthPosition, required: true, location_name: "PinBlockLengthPosition"))
325
+ EmvCommonAttributes.struct_class = Types::EmvCommonAttributes
326
+
270
327
  EmvEncryptionAttributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: EmvMajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
271
328
  EmvEncryptionAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
272
329
  EmvEncryptionAttributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
@@ -309,6 +366,26 @@ module Aws::PaymentCryptographyData
309
366
  GenerateCardValidationDataOutput.add_member(:validation_data, Shapes::ShapeRef.new(shape: ValidationDataType, required: true, location_name: "ValidationData"))
310
367
  GenerateCardValidationDataOutput.struct_class = Types::GenerateCardValidationDataOutput
311
368
 
369
+ GenerateMacEmvPinChangeInput.add_member(:new_pin_pek_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "NewPinPekIdentifier"))
370
+ GenerateMacEmvPinChangeInput.add_member(:new_encrypted_pin_block, Shapes::ShapeRef.new(shape: PinBlockLengthEquals16, required: true, location_name: "NewEncryptedPinBlock"))
371
+ GenerateMacEmvPinChangeInput.add_member(:pin_block_format, Shapes::ShapeRef.new(shape: PinBlockFormatForEmvPinChange, required: true, location_name: "PinBlockFormat"))
372
+ GenerateMacEmvPinChangeInput.add_member(:secure_messaging_integrity_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "SecureMessagingIntegrityKeyIdentifier"))
373
+ GenerateMacEmvPinChangeInput.add_member(:secure_messaging_confidentiality_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "SecureMessagingConfidentialityKeyIdentifier"))
374
+ GenerateMacEmvPinChangeInput.add_member(:message_data, Shapes::ShapeRef.new(shape: CommandMessageDataType, required: true, location_name: "MessageData"))
375
+ GenerateMacEmvPinChangeInput.add_member(:derivation_method_attributes, Shapes::ShapeRef.new(shape: DerivationMethodAttributes, required: true, location_name: "DerivationMethodAttributes"))
376
+ GenerateMacEmvPinChangeInput.struct_class = Types::GenerateMacEmvPinChangeInput
377
+
378
+ GenerateMacEmvPinChangeOutput.add_member(:new_pin_pek_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "NewPinPekArn"))
379
+ GenerateMacEmvPinChangeOutput.add_member(:secure_messaging_integrity_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "SecureMessagingIntegrityKeyArn"))
380
+ GenerateMacEmvPinChangeOutput.add_member(:secure_messaging_confidentiality_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "SecureMessagingConfidentialityKeyArn"))
381
+ GenerateMacEmvPinChangeOutput.add_member(:mac, Shapes::ShapeRef.new(shape: PinChangeMacOutputType, required: true, location_name: "Mac"))
382
+ GenerateMacEmvPinChangeOutput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: EncryptedPinBlockType, required: true, location_name: "EncryptedPinBlock"))
383
+ GenerateMacEmvPinChangeOutput.add_member(:new_pin_pek_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "NewPinPekKeyCheckValue"))
384
+ GenerateMacEmvPinChangeOutput.add_member(:secure_messaging_integrity_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "SecureMessagingIntegrityKeyCheckValue"))
385
+ GenerateMacEmvPinChangeOutput.add_member(:secure_messaging_confidentiality_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "SecureMessagingConfidentialityKeyCheckValue"))
386
+ GenerateMacEmvPinChangeOutput.add_member(:visa_amex_derivation_outputs, Shapes::ShapeRef.new(shape: VisaAmexDerivationOutputs, location_name: "VisaAmexDerivationOutputs"))
387
+ GenerateMacEmvPinChangeOutput.struct_class = Types::GenerateMacEmvPinChangeOutput
388
+
312
389
  GenerateMacInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
313
390
  GenerateMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: MessageDataType, required: true, location_name: "MessageData"))
314
391
  GenerateMacInput.add_member(:generation_attributes, Shapes::ShapeRef.new(shape: MacAttributes, required: true, location_name: "GenerationAttributes"))
@@ -393,6 +470,12 @@ module Aws::PaymentCryptographyData
393
470
  MacAttributes.add_member_subclass(:unknown, Types::MacAttributes::Unknown)
394
471
  MacAttributes.struct_class = Types::MacAttributes
395
472
 
473
+ MasterCardAttributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
474
+ MasterCardAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
475
+ MasterCardAttributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
476
+ MasterCardAttributes.add_member(:application_cryptogram, Shapes::ShapeRef.new(shape: ApplicationCryptogramType, required: true, location_name: "ApplicationCryptogram"))
477
+ MasterCardAttributes.struct_class = Types::MasterCardAttributes
478
+
396
479
  PinData.add_member(:pin_offset, Shapes::ShapeRef.new(shape: PinOffsetType, location_name: "PinOffset"))
397
480
  PinData.add_member(:verification_value, Shapes::ShapeRef.new(shape: VerificationValueType, location_name: "VerificationValue"))
398
481
  PinData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -469,7 +552,7 @@ module Aws::PaymentCryptographyData
469
552
  SessionKeyDerivation.struct_class = Types::SessionKeyDerivation
470
553
 
471
554
  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"))
555
+ SessionKeyDerivationValue.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, location_name: "ApplicationTransactionCounter"))
473
556
  SessionKeyDerivationValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
474
557
  SessionKeyDerivationValue.add_member_subclass(:application_cryptogram, Types::SessionKeyDerivationValue::ApplicationCryptogram)
475
558
  SessionKeyDerivationValue.add_member_subclass(:application_transaction_counter, Types::SessionKeyDerivationValue::ApplicationTransactionCounter)
@@ -478,17 +561,17 @@ module Aws::PaymentCryptographyData
478
561
 
479
562
  SessionKeyEmv2000.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
480
563
  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"))
564
+ SessionKeyEmv2000.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
482
565
  SessionKeyEmv2000.struct_class = Types::SessionKeyEmv2000
483
566
 
484
567
  SessionKeyEmvCommon.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
485
568
  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"))
569
+ SessionKeyEmvCommon.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
487
570
  SessionKeyEmvCommon.struct_class = Types::SessionKeyEmvCommon
488
571
 
489
572
  SessionKeyMastercard.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
490
573
  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"))
574
+ SessionKeyMastercard.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
492
575
  SessionKeyMastercard.add_member(:unpredictable_number, Shapes::ShapeRef.new(shape: HexLengthBetween2And8, required: true, location_name: "UnpredictableNumber"))
493
576
  SessionKeyMastercard.struct_class = Types::SessionKeyMastercard
494
577
 
@@ -601,6 +684,20 @@ module Aws::PaymentCryptographyData
601
684
  VerifyPinDataOutput.add_member(:encryption_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "EncryptionKeyCheckValue"))
602
685
  VerifyPinDataOutput.struct_class = Types::VerifyPinDataOutput
603
686
 
687
+ VisaAmexDerivationOutputs.add_member(:authorization_request_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "AuthorizationRequestKeyArn"))
688
+ VisaAmexDerivationOutputs.add_member(:authorization_request_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "AuthorizationRequestKeyCheckValue"))
689
+ VisaAmexDerivationOutputs.add_member(:current_pin_pek_arn, Shapes::ShapeRef.new(shape: KeyArn, location_name: "CurrentPinPekArn"))
690
+ VisaAmexDerivationOutputs.add_member(:current_pin_pek_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, location_name: "CurrentPinPekKeyCheckValue"))
691
+ VisaAmexDerivationOutputs.struct_class = Types::VisaAmexDerivationOutputs
692
+
693
+ VisaAttributes.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
694
+ VisaAttributes.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: PrimaryAccountNumberType, required: true, location_name: "PrimaryAccountNumber"))
695
+ VisaAttributes.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: NumberLengthEquals2, required: true, location_name: "PanSequenceNumber"))
696
+ VisaAttributes.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "ApplicationTransactionCounter"))
697
+ VisaAttributes.add_member(:authorization_request_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "AuthorizationRequestKeyIdentifier"))
698
+ VisaAttributes.add_member(:current_pin_attributes, Shapes::ShapeRef.new(shape: CurrentPinAttributes, location_name: "CurrentPinAttributes"))
699
+ VisaAttributes.struct_class = Types::VisaAttributes
700
+
604
701
  VisaPin.add_member(:pin_verification_key_index, Shapes::ShapeRef.new(shape: IntegerRangeBetween0And6, required: true, location_name: "PinVerificationKeyIndex"))
605
702
  VisaPin.struct_class = Types::VisaPin
606
703
 
@@ -693,6 +790,19 @@ module Aws::PaymentCryptographyData
693
790
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
694
791
  end)
695
792
 
793
+ api.add_operation(:generate_mac_emv_pin_change, Seahorse::Model::Operation.new.tap do |o|
794
+ o.name = "GenerateMacEmvPinChange"
795
+ o.http_method = "POST"
796
+ o.http_request_uri = "/macemvpinchange/generate"
797
+ o.input = Shapes::ShapeRef.new(shape: GenerateMacEmvPinChangeInput)
798
+ o.output = Shapes::ShapeRef.new(shape: GenerateMacEmvPinChangeOutput)
799
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
800
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
801
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
802
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
803
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
804
+ end)
805
+
696
806
  api.add_operation(:generate_pin_data, Seahorse::Model::Operation.new.tap do |o|
697
807
  o.name = "GeneratePinData"
698
808
  o.http_method = "POST"