aws-sdk-paymentcryptographydata 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,751 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::PaymentCryptographyData
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AmexCardSecurityCodeVersion1 = Shapes::StructureShape.new(name: 'AmexCardSecurityCodeVersion1')
18
+ AmexCardSecurityCodeVersion2 = Shapes::StructureShape.new(name: 'AmexCardSecurityCodeVersion2')
19
+ AsymmetricEncryptionAttributes = Shapes::StructureShape.new(name: 'AsymmetricEncryptionAttributes')
20
+ CardGenerationAttributes = Shapes::UnionShape.new(name: 'CardGenerationAttributes')
21
+ CardHolderVerificationValue = Shapes::StructureShape.new(name: 'CardHolderVerificationValue')
22
+ CardVerificationAttributes = Shapes::UnionShape.new(name: 'CardVerificationAttributes')
23
+ CardVerificationValue1 = Shapes::StructureShape.new(name: 'CardVerificationValue1')
24
+ CardVerificationValue2 = Shapes::StructureShape.new(name: 'CardVerificationValue2')
25
+ CryptogramAuthResponse = Shapes::UnionShape.new(name: 'CryptogramAuthResponse')
26
+ CryptogramVerificationArpcMethod1 = Shapes::StructureShape.new(name: 'CryptogramVerificationArpcMethod1')
27
+ CryptogramVerificationArpcMethod2 = Shapes::StructureShape.new(name: 'CryptogramVerificationArpcMethod2')
28
+ DecryptDataInput = Shapes::StructureShape.new(name: 'DecryptDataInput')
29
+ DecryptDataOutput = Shapes::StructureShape.new(name: 'DecryptDataOutput')
30
+ DiscoverDynamicCardVerificationCode = Shapes::StructureShape.new(name: 'DiscoverDynamicCardVerificationCode')
31
+ DukptAttributes = Shapes::StructureShape.new(name: 'DukptAttributes')
32
+ DukptDerivationAttributes = Shapes::StructureShape.new(name: 'DukptDerivationAttributes')
33
+ DukptDerivationType = Shapes::StringShape.new(name: 'DukptDerivationType')
34
+ DukptEncryptionAttributes = Shapes::StructureShape.new(name: 'DukptEncryptionAttributes')
35
+ DukptEncryptionMode = Shapes::StringShape.new(name: 'DukptEncryptionMode')
36
+ DukptKeyVariant = Shapes::StringShape.new(name: 'DukptKeyVariant')
37
+ DynamicCardVerificationCode = Shapes::StructureShape.new(name: 'DynamicCardVerificationCode')
38
+ DynamicCardVerificationValue = Shapes::StructureShape.new(name: 'DynamicCardVerificationValue')
39
+ EncryptDataInput = Shapes::StructureShape.new(name: 'EncryptDataInput')
40
+ EncryptDataOutput = Shapes::StructureShape.new(name: 'EncryptDataOutput')
41
+ EncryptionDecryptionAttributes = Shapes::UnionShape.new(name: 'EncryptionDecryptionAttributes')
42
+ EncryptionMode = Shapes::StringShape.new(name: 'EncryptionMode')
43
+ GenerateCardValidationDataInput = Shapes::StructureShape.new(name: 'GenerateCardValidationDataInput')
44
+ GenerateCardValidationDataOutput = Shapes::StructureShape.new(name: 'GenerateCardValidationDataOutput')
45
+ GenerateMacInput = Shapes::StructureShape.new(name: 'GenerateMacInput')
46
+ GenerateMacOutput = Shapes::StructureShape.new(name: 'GenerateMacOutput')
47
+ GeneratePinDataInput = Shapes::StructureShape.new(name: 'GeneratePinDataInput')
48
+ GeneratePinDataOutput = Shapes::StructureShape.new(name: 'GeneratePinDataOutput')
49
+ HexEvenLengthBetween16And4064 = Shapes::StringShape.new(name: 'HexEvenLengthBetween16And4064')
50
+ HexEvenLengthBetween16And4096 = Shapes::StringShape.new(name: 'HexEvenLengthBetween16And4096')
51
+ HexLength16Or32 = Shapes::StringShape.new(name: 'HexLength16Or32')
52
+ HexLengthBetween10And24 = Shapes::StringShape.new(name: 'HexLengthBetween10And24')
53
+ HexLengthBetween16And32 = Shapes::StringShape.new(name: 'HexLengthBetween16And32')
54
+ HexLengthBetween1And16 = Shapes::StringShape.new(name: 'HexLengthBetween1And16')
55
+ HexLengthBetween2And1024 = Shapes::StringShape.new(name: 'HexLengthBetween2And1024')
56
+ HexLengthBetween2And160 = Shapes::StringShape.new(name: 'HexLengthBetween2And160')
57
+ HexLengthBetween2And4 = Shapes::StringShape.new(name: 'HexLengthBetween2And4')
58
+ HexLengthBetween2And4096 = Shapes::StringShape.new(name: 'HexLengthBetween2And4096')
59
+ HexLengthBetween2And8 = Shapes::StringShape.new(name: 'HexLengthBetween2And8')
60
+ HexLengthBetween4And128 = Shapes::StringShape.new(name: 'HexLengthBetween4And128')
61
+ HexLengthEquals1 = Shapes::StringShape.new(name: 'HexLengthEquals1')
62
+ HexLengthEquals16 = Shapes::StringShape.new(name: 'HexLengthEquals16')
63
+ HexLengthEquals2 = Shapes::StringShape.new(name: 'HexLengthEquals2')
64
+ HexLengthEquals4 = Shapes::StringShape.new(name: 'HexLengthEquals4')
65
+ HexLengthEquals8 = Shapes::StringShape.new(name: 'HexLengthEquals8')
66
+ Ibm3624NaturalPin = Shapes::StructureShape.new(name: 'Ibm3624NaturalPin')
67
+ Ibm3624PinFromOffset = Shapes::StructureShape.new(name: 'Ibm3624PinFromOffset')
68
+ Ibm3624PinOffset = Shapes::StructureShape.new(name: 'Ibm3624PinOffset')
69
+ Ibm3624PinVerification = Shapes::StructureShape.new(name: 'Ibm3624PinVerification')
70
+ Ibm3624RandomPin = Shapes::StructureShape.new(name: 'Ibm3624RandomPin')
71
+ IntegerRangeBetween0And9 = Shapes::IntegerShape.new(name: 'IntegerRangeBetween0And9')
72
+ IntegerRangeBetween3And5Type = Shapes::IntegerShape.new(name: 'IntegerRangeBetween3And5Type')
73
+ IntegerRangeBetween4And12 = Shapes::IntegerShape.new(name: 'IntegerRangeBetween4And12')
74
+ IntegerRangeBetween4And16 = Shapes::IntegerShape.new(name: 'IntegerRangeBetween4And16')
75
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
76
+ KeyArn = Shapes::StringShape.new(name: 'KeyArn')
77
+ KeyArnOrKeyAliasType = Shapes::StringShape.new(name: 'KeyArnOrKeyAliasType')
78
+ KeyCheckValue = Shapes::StringShape.new(name: 'KeyCheckValue')
79
+ MacAlgorithm = Shapes::StringShape.new(name: 'MacAlgorithm')
80
+ MacAlgorithmDukpt = Shapes::StructureShape.new(name: 'MacAlgorithmDukpt')
81
+ MacAlgorithmEmv = Shapes::StructureShape.new(name: 'MacAlgorithmEmv')
82
+ MacAttributes = Shapes::UnionShape.new(name: 'MacAttributes')
83
+ MajorKeyDerivationMode = Shapes::StringShape.new(name: 'MajorKeyDerivationMode')
84
+ NumberLengthBetween12And19 = Shapes::StringShape.new(name: 'NumberLengthBetween12And19')
85
+ NumberLengthBetween3And5 = Shapes::StringShape.new(name: 'NumberLengthBetween3And5')
86
+ NumberLengthBetween4And12 = Shapes::StringShape.new(name: 'NumberLengthBetween4And12')
87
+ NumberLengthBetween4And16 = Shapes::StringShape.new(name: 'NumberLengthBetween4And16')
88
+ NumberLengthEquals16 = Shapes::StringShape.new(name: 'NumberLengthEquals16')
89
+ NumberLengthEquals3 = Shapes::StringShape.new(name: 'NumberLengthEquals3')
90
+ NumberLengthEquals4 = Shapes::StringShape.new(name: 'NumberLengthEquals4')
91
+ PaddingType = Shapes::StringShape.new(name: 'PaddingType')
92
+ PinBlockFormatForPinData = Shapes::StringShape.new(name: 'PinBlockFormatForPinData')
93
+ PinData = Shapes::UnionShape.new(name: 'PinData')
94
+ PinGenerationAttributes = Shapes::UnionShape.new(name: 'PinGenerationAttributes')
95
+ PinVerificationAttributes = Shapes::UnionShape.new(name: 'PinVerificationAttributes')
96
+ ReEncryptDataInput = Shapes::StructureShape.new(name: 'ReEncryptDataInput')
97
+ ReEncryptDataOutput = Shapes::StructureShape.new(name: 'ReEncryptDataOutput')
98
+ ReEncryptionAttributes = Shapes::UnionShape.new(name: 'ReEncryptionAttributes')
99
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
100
+ SessionKeyAmex = Shapes::StructureShape.new(name: 'SessionKeyAmex')
101
+ SessionKeyDerivation = Shapes::UnionShape.new(name: 'SessionKeyDerivation')
102
+ SessionKeyDerivationMode = Shapes::StringShape.new(name: 'SessionKeyDerivationMode')
103
+ SessionKeyDerivationValue = Shapes::UnionShape.new(name: 'SessionKeyDerivationValue')
104
+ SessionKeyEmv2000 = Shapes::StructureShape.new(name: 'SessionKeyEmv2000')
105
+ SessionKeyEmvCommon = Shapes::StructureShape.new(name: 'SessionKeyEmvCommon')
106
+ SessionKeyMastercard = Shapes::StructureShape.new(name: 'SessionKeyMastercard')
107
+ SessionKeyVisa = Shapes::StructureShape.new(name: 'SessionKeyVisa')
108
+ String = Shapes::StringShape.new(name: 'String')
109
+ SymmetricEncryptionAttributes = Shapes::StructureShape.new(name: 'SymmetricEncryptionAttributes')
110
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
111
+ TranslatePinDataInput = Shapes::StructureShape.new(name: 'TranslatePinDataInput')
112
+ TranslatePinDataOutput = Shapes::StructureShape.new(name: 'TranslatePinDataOutput')
113
+ TranslationIsoFormats = Shapes::UnionShape.new(name: 'TranslationIsoFormats')
114
+ TranslationPinDataIsoFormat034 = Shapes::StructureShape.new(name: 'TranslationPinDataIsoFormat034')
115
+ TranslationPinDataIsoFormat1 = Shapes::StructureShape.new(name: 'TranslationPinDataIsoFormat1')
116
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
117
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
118
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
119
+ VerificationFailedException = Shapes::StructureShape.new(name: 'VerificationFailedException')
120
+ VerificationFailedReason = Shapes::StringShape.new(name: 'VerificationFailedReason')
121
+ VerifyAuthRequestCryptogramInput = Shapes::StructureShape.new(name: 'VerifyAuthRequestCryptogramInput')
122
+ VerifyAuthRequestCryptogramOutput = Shapes::StructureShape.new(name: 'VerifyAuthRequestCryptogramOutput')
123
+ VerifyCardValidationDataInput = Shapes::StructureShape.new(name: 'VerifyCardValidationDataInput')
124
+ VerifyCardValidationDataOutput = Shapes::StructureShape.new(name: 'VerifyCardValidationDataOutput')
125
+ VerifyMacInput = Shapes::StructureShape.new(name: 'VerifyMacInput')
126
+ VerifyMacOutput = Shapes::StructureShape.new(name: 'VerifyMacOutput')
127
+ VerifyPinDataInput = Shapes::StructureShape.new(name: 'VerifyPinDataInput')
128
+ VerifyPinDataOutput = Shapes::StructureShape.new(name: 'VerifyPinDataOutput')
129
+ VisaPin = Shapes::StructureShape.new(name: 'VisaPin')
130
+ VisaPinVerification = Shapes::StructureShape.new(name: 'VisaPinVerification')
131
+ VisaPinVerificationValue = Shapes::StructureShape.new(name: 'VisaPinVerificationValue')
132
+
133
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
134
+ AccessDeniedException.struct_class = Types::AccessDeniedException
135
+
136
+ AmexCardSecurityCodeVersion1.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
137
+ AmexCardSecurityCodeVersion1.struct_class = Types::AmexCardSecurityCodeVersion1
138
+
139
+ AmexCardSecurityCodeVersion2.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
140
+ AmexCardSecurityCodeVersion2.add_member(:service_code, Shapes::ShapeRef.new(shape: NumberLengthEquals3, required: true, location_name: "ServiceCode"))
141
+ AmexCardSecurityCodeVersion2.struct_class = Types::AmexCardSecurityCodeVersion2
142
+
143
+ AsymmetricEncryptionAttributes.add_member(:padding_type, Shapes::ShapeRef.new(shape: PaddingType, location_name: "PaddingType"))
144
+ AsymmetricEncryptionAttributes.struct_class = Types::AsymmetricEncryptionAttributes
145
+
146
+ CardGenerationAttributes.add_member(:amex_card_security_code_version_1, Shapes::ShapeRef.new(shape: AmexCardSecurityCodeVersion1, location_name: "AmexCardSecurityCodeVersion1"))
147
+ CardGenerationAttributes.add_member(:amex_card_security_code_version_2, Shapes::ShapeRef.new(shape: AmexCardSecurityCodeVersion2, location_name: "AmexCardSecurityCodeVersion2"))
148
+ CardGenerationAttributes.add_member(:card_holder_verification_value, Shapes::ShapeRef.new(shape: CardHolderVerificationValue, location_name: "CardHolderVerificationValue"))
149
+ CardGenerationAttributes.add_member(:card_verification_value_1, Shapes::ShapeRef.new(shape: CardVerificationValue1, location_name: "CardVerificationValue1"))
150
+ CardGenerationAttributes.add_member(:card_verification_value_2, Shapes::ShapeRef.new(shape: CardVerificationValue2, location_name: "CardVerificationValue2"))
151
+ CardGenerationAttributes.add_member(:dynamic_card_verification_code, Shapes::ShapeRef.new(shape: DynamicCardVerificationCode, location_name: "DynamicCardVerificationCode"))
152
+ CardGenerationAttributes.add_member(:dynamic_card_verification_value, Shapes::ShapeRef.new(shape: DynamicCardVerificationValue, location_name: "DynamicCardVerificationValue"))
153
+ CardGenerationAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
154
+ CardGenerationAttributes.add_member_subclass(:amex_card_security_code_version_1, Types::CardGenerationAttributes::AmexCardSecurityCodeVersion1)
155
+ CardGenerationAttributes.add_member_subclass(:amex_card_security_code_version_2, Types::CardGenerationAttributes::AmexCardSecurityCodeVersion2)
156
+ CardGenerationAttributes.add_member_subclass(:card_holder_verification_value, Types::CardGenerationAttributes::CardHolderVerificationValue)
157
+ CardGenerationAttributes.add_member_subclass(:card_verification_value_1, Types::CardGenerationAttributes::CardVerificationValue1)
158
+ CardGenerationAttributes.add_member_subclass(:card_verification_value_2, Types::CardGenerationAttributes::CardVerificationValue2)
159
+ CardGenerationAttributes.add_member_subclass(:dynamic_card_verification_code, Types::CardGenerationAttributes::DynamicCardVerificationCode)
160
+ CardGenerationAttributes.add_member_subclass(:dynamic_card_verification_value, Types::CardGenerationAttributes::DynamicCardVerificationValue)
161
+ CardGenerationAttributes.add_member_subclass(:unknown, Types::CardGenerationAttributes::Unknown)
162
+ CardGenerationAttributes.struct_class = Types::CardGenerationAttributes
163
+
164
+ CardHolderVerificationValue.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
165
+ CardHolderVerificationValue.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: HexLengthEquals2, required: true, location_name: "PanSequenceNumber"))
166
+ CardHolderVerificationValue.add_member(:unpredictable_number, Shapes::ShapeRef.new(shape: HexLengthBetween2And8, required: true, location_name: "UnpredictableNumber"))
167
+ CardHolderVerificationValue.struct_class = Types::CardHolderVerificationValue
168
+
169
+ CardVerificationAttributes.add_member(:amex_card_security_code_version_1, Shapes::ShapeRef.new(shape: AmexCardSecurityCodeVersion1, location_name: "AmexCardSecurityCodeVersion1"))
170
+ CardVerificationAttributes.add_member(:amex_card_security_code_version_2, Shapes::ShapeRef.new(shape: AmexCardSecurityCodeVersion2, location_name: "AmexCardSecurityCodeVersion2"))
171
+ CardVerificationAttributes.add_member(:card_holder_verification_value, Shapes::ShapeRef.new(shape: CardHolderVerificationValue, location_name: "CardHolderVerificationValue"))
172
+ CardVerificationAttributes.add_member(:card_verification_value_1, Shapes::ShapeRef.new(shape: CardVerificationValue1, location_name: "CardVerificationValue1"))
173
+ CardVerificationAttributes.add_member(:card_verification_value_2, Shapes::ShapeRef.new(shape: CardVerificationValue2, location_name: "CardVerificationValue2"))
174
+ CardVerificationAttributes.add_member(:discover_dynamic_card_verification_code, Shapes::ShapeRef.new(shape: DiscoverDynamicCardVerificationCode, location_name: "DiscoverDynamicCardVerificationCode"))
175
+ CardVerificationAttributes.add_member(:dynamic_card_verification_code, Shapes::ShapeRef.new(shape: DynamicCardVerificationCode, location_name: "DynamicCardVerificationCode"))
176
+ CardVerificationAttributes.add_member(:dynamic_card_verification_value, Shapes::ShapeRef.new(shape: DynamicCardVerificationValue, location_name: "DynamicCardVerificationValue"))
177
+ CardVerificationAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
178
+ CardVerificationAttributes.add_member_subclass(:amex_card_security_code_version_1, Types::CardVerificationAttributes::AmexCardSecurityCodeVersion1)
179
+ CardVerificationAttributes.add_member_subclass(:amex_card_security_code_version_2, Types::CardVerificationAttributes::AmexCardSecurityCodeVersion2)
180
+ CardVerificationAttributes.add_member_subclass(:card_holder_verification_value, Types::CardVerificationAttributes::CardHolderVerificationValue)
181
+ CardVerificationAttributes.add_member_subclass(:card_verification_value_1, Types::CardVerificationAttributes::CardVerificationValue1)
182
+ CardVerificationAttributes.add_member_subclass(:card_verification_value_2, Types::CardVerificationAttributes::CardVerificationValue2)
183
+ CardVerificationAttributes.add_member_subclass(:discover_dynamic_card_verification_code, Types::CardVerificationAttributes::DiscoverDynamicCardVerificationCode)
184
+ CardVerificationAttributes.add_member_subclass(:dynamic_card_verification_code, Types::CardVerificationAttributes::DynamicCardVerificationCode)
185
+ CardVerificationAttributes.add_member_subclass(:dynamic_card_verification_value, Types::CardVerificationAttributes::DynamicCardVerificationValue)
186
+ CardVerificationAttributes.add_member_subclass(:unknown, Types::CardVerificationAttributes::Unknown)
187
+ CardVerificationAttributes.struct_class = Types::CardVerificationAttributes
188
+
189
+ CardVerificationValue1.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
190
+ CardVerificationValue1.add_member(:service_code, Shapes::ShapeRef.new(shape: NumberLengthEquals3, required: true, location_name: "ServiceCode"))
191
+ CardVerificationValue1.struct_class = Types::CardVerificationValue1
192
+
193
+ CardVerificationValue2.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
194
+ CardVerificationValue2.struct_class = Types::CardVerificationValue2
195
+
196
+ CryptogramAuthResponse.add_member(:arpc_method_1, Shapes::ShapeRef.new(shape: CryptogramVerificationArpcMethod1, location_name: "ArpcMethod1"))
197
+ CryptogramAuthResponse.add_member(:arpc_method_2, Shapes::ShapeRef.new(shape: CryptogramVerificationArpcMethod2, location_name: "ArpcMethod2"))
198
+ CryptogramAuthResponse.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
199
+ CryptogramAuthResponse.add_member_subclass(:arpc_method_1, Types::CryptogramAuthResponse::ArpcMethod1)
200
+ CryptogramAuthResponse.add_member_subclass(:arpc_method_2, Types::CryptogramAuthResponse::ArpcMethod2)
201
+ CryptogramAuthResponse.add_member_subclass(:unknown, Types::CryptogramAuthResponse::Unknown)
202
+ CryptogramAuthResponse.struct_class = Types::CryptogramAuthResponse
203
+
204
+ CryptogramVerificationArpcMethod1.add_member(:auth_response_code, Shapes::ShapeRef.new(shape: HexLengthEquals4, required: true, location_name: "AuthResponseCode"))
205
+ CryptogramVerificationArpcMethod1.struct_class = Types::CryptogramVerificationArpcMethod1
206
+
207
+ CryptogramVerificationArpcMethod2.add_member(:card_status_update, Shapes::ShapeRef.new(shape: HexLengthEquals8, required: true, location_name: "CardStatusUpdate"))
208
+ CryptogramVerificationArpcMethod2.add_member(:proprietary_authentication_data, Shapes::ShapeRef.new(shape: HexLengthBetween1And16, location_name: "ProprietaryAuthenticationData"))
209
+ CryptogramVerificationArpcMethod2.struct_class = Types::CryptogramVerificationArpcMethod2
210
+
211
+ DecryptDataInput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "CipherText"))
212
+ DecryptDataInput.add_member(:decryption_attributes, Shapes::ShapeRef.new(shape: EncryptionDecryptionAttributes, required: true, location_name: "DecryptionAttributes"))
213
+ DecryptDataInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location: "uri", location_name: "KeyIdentifier"))
214
+ DecryptDataInput.struct_class = Types::DecryptDataInput
215
+
216
+ DecryptDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
217
+ DecryptDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
218
+ DecryptDataOutput.add_member(:plain_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "PlainText"))
219
+ DecryptDataOutput.struct_class = Types::DecryptDataOutput
220
+
221
+ DiscoverDynamicCardVerificationCode.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
222
+ DiscoverDynamicCardVerificationCode.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
223
+ DiscoverDynamicCardVerificationCode.add_member(:unpredictable_number, Shapes::ShapeRef.new(shape: HexLengthBetween2And8, required: true, location_name: "UnpredictableNumber"))
224
+ DiscoverDynamicCardVerificationCode.struct_class = Types::DiscoverDynamicCardVerificationCode
225
+
226
+ DukptAttributes.add_member(:dukpt_derivation_type, Shapes::ShapeRef.new(shape: DukptDerivationType, required: true, location_name: "DukptDerivationType"))
227
+ DukptAttributes.add_member(:key_serial_number, Shapes::ShapeRef.new(shape: HexLengthBetween10And24, required: true, location_name: "KeySerialNumber"))
228
+ DukptAttributes.struct_class = Types::DukptAttributes
229
+
230
+ DukptDerivationAttributes.add_member(:dukpt_key_derivation_type, Shapes::ShapeRef.new(shape: DukptDerivationType, location_name: "DukptKeyDerivationType"))
231
+ DukptDerivationAttributes.add_member(:dukpt_key_variant, Shapes::ShapeRef.new(shape: DukptKeyVariant, location_name: "DukptKeyVariant"))
232
+ DukptDerivationAttributes.add_member(:key_serial_number, Shapes::ShapeRef.new(shape: HexLengthBetween10And24, required: true, location_name: "KeySerialNumber"))
233
+ DukptDerivationAttributes.struct_class = Types::DukptDerivationAttributes
234
+
235
+ DukptEncryptionAttributes.add_member(:dukpt_key_derivation_type, Shapes::ShapeRef.new(shape: DukptDerivationType, location_name: "DukptKeyDerivationType"))
236
+ DukptEncryptionAttributes.add_member(:dukpt_key_variant, Shapes::ShapeRef.new(shape: DukptKeyVariant, location_name: "DukptKeyVariant"))
237
+ DukptEncryptionAttributes.add_member(:initialization_vector, Shapes::ShapeRef.new(shape: HexLength16Or32, location_name: "InitializationVector"))
238
+ DukptEncryptionAttributes.add_member(:key_serial_number, Shapes::ShapeRef.new(shape: HexLengthBetween10And24, required: true, location_name: "KeySerialNumber"))
239
+ DukptEncryptionAttributes.add_member(:mode, Shapes::ShapeRef.new(shape: DukptEncryptionMode, location_name: "Mode"))
240
+ DukptEncryptionAttributes.struct_class = Types::DukptEncryptionAttributes
241
+
242
+ DynamicCardVerificationCode.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
243
+ DynamicCardVerificationCode.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: HexLengthEquals2, required: true, location_name: "PanSequenceNumber"))
244
+ DynamicCardVerificationCode.add_member(:track_data, Shapes::ShapeRef.new(shape: HexLengthBetween2And160, required: true, location_name: "TrackData"))
245
+ DynamicCardVerificationCode.add_member(:unpredictable_number, Shapes::ShapeRef.new(shape: HexLengthBetween2And8, required: true, location_name: "UnpredictableNumber"))
246
+ DynamicCardVerificationCode.struct_class = Types::DynamicCardVerificationCode
247
+
248
+ DynamicCardVerificationValue.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
249
+ DynamicCardVerificationValue.add_member(:card_expiry_date, Shapes::ShapeRef.new(shape: NumberLengthEquals4, required: true, location_name: "CardExpiryDate"))
250
+ DynamicCardVerificationValue.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: HexLengthEquals2, required: true, location_name: "PanSequenceNumber"))
251
+ DynamicCardVerificationValue.add_member(:service_code, Shapes::ShapeRef.new(shape: NumberLengthEquals3, required: true, location_name: "ServiceCode"))
252
+ DynamicCardVerificationValue.struct_class = Types::DynamicCardVerificationValue
253
+
254
+ EncryptDataInput.add_member(:encryption_attributes, Shapes::ShapeRef.new(shape: EncryptionDecryptionAttributes, required: true, location_name: "EncryptionAttributes"))
255
+ EncryptDataInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location: "uri", location_name: "KeyIdentifier"))
256
+ EncryptDataInput.add_member(:plain_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4064, required: true, location_name: "PlainText"))
257
+ EncryptDataInput.struct_class = Types::EncryptDataInput
258
+
259
+ EncryptDataOutput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "CipherText"))
260
+ EncryptDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
261
+ EncryptDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
262
+ EncryptDataOutput.struct_class = Types::EncryptDataOutput
263
+
264
+ EncryptionDecryptionAttributes.add_member(:asymmetric, Shapes::ShapeRef.new(shape: AsymmetricEncryptionAttributes, location_name: "Asymmetric"))
265
+ EncryptionDecryptionAttributes.add_member(:dukpt, Shapes::ShapeRef.new(shape: DukptEncryptionAttributes, location_name: "Dukpt"))
266
+ EncryptionDecryptionAttributes.add_member(:symmetric, Shapes::ShapeRef.new(shape: SymmetricEncryptionAttributes, location_name: "Symmetric"))
267
+ EncryptionDecryptionAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
268
+ EncryptionDecryptionAttributes.add_member_subclass(:asymmetric, Types::EncryptionDecryptionAttributes::Asymmetric)
269
+ EncryptionDecryptionAttributes.add_member_subclass(:dukpt, Types::EncryptionDecryptionAttributes::Dukpt)
270
+ EncryptionDecryptionAttributes.add_member_subclass(:symmetric, Types::EncryptionDecryptionAttributes::Symmetric)
271
+ EncryptionDecryptionAttributes.add_member_subclass(:unknown, Types::EncryptionDecryptionAttributes::Unknown)
272
+ EncryptionDecryptionAttributes.struct_class = Types::EncryptionDecryptionAttributes
273
+
274
+ GenerateCardValidationDataInput.add_member(:generation_attributes, Shapes::ShapeRef.new(shape: CardGenerationAttributes, required: true, location_name: "GenerationAttributes"))
275
+ GenerateCardValidationDataInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
276
+ GenerateCardValidationDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
277
+ GenerateCardValidationDataInput.add_member(:validation_data_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween3And5Type, location_name: "ValidationDataLength"))
278
+ GenerateCardValidationDataInput.struct_class = Types::GenerateCardValidationDataInput
279
+
280
+ GenerateCardValidationDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
281
+ GenerateCardValidationDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
282
+ GenerateCardValidationDataOutput.add_member(:validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween3And5, required: true, location_name: "ValidationData"))
283
+ GenerateCardValidationDataOutput.struct_class = Types::GenerateCardValidationDataOutput
284
+
285
+ GenerateMacInput.add_member(:generation_attributes, Shapes::ShapeRef.new(shape: MacAttributes, required: true, location_name: "GenerationAttributes"))
286
+ GenerateMacInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
287
+ GenerateMacInput.add_member(:mac_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And16, location_name: "MacLength"))
288
+ GenerateMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: HexLengthBetween2And4096, required: true, location_name: "MessageData"))
289
+ GenerateMacInput.struct_class = Types::GenerateMacInput
290
+
291
+ GenerateMacOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
292
+ GenerateMacOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
293
+ GenerateMacOutput.add_member(:mac, Shapes::ShapeRef.new(shape: HexLengthBetween4And128, required: true, location_name: "Mac"))
294
+ GenerateMacOutput.struct_class = Types::GenerateMacOutput
295
+
296
+ GeneratePinDataInput.add_member(:encryption_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "EncryptionKeyIdentifier"))
297
+ GeneratePinDataInput.add_member(:generation_attributes, Shapes::ShapeRef.new(shape: PinGenerationAttributes, required: true, location_name: "GenerationAttributes"))
298
+ GeneratePinDataInput.add_member(:generation_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "GenerationKeyIdentifier"))
299
+ GeneratePinDataInput.add_member(:pin_block_format, Shapes::ShapeRef.new(shape: PinBlockFormatForPinData, required: true, location_name: "PinBlockFormat"))
300
+ GeneratePinDataInput.add_member(:pin_data_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And12, location_name: "PinDataLength", metadata: {"box"=>true}))
301
+ GeneratePinDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
302
+ GeneratePinDataInput.struct_class = Types::GeneratePinDataInput
303
+
304
+ GeneratePinDataOutput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
305
+ GeneratePinDataOutput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "EncryptionKeyArn"))
306
+ GeneratePinDataOutput.add_member(:encryption_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "EncryptionKeyCheckValue"))
307
+ GeneratePinDataOutput.add_member(:generation_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "GenerationKeyArn"))
308
+ GeneratePinDataOutput.add_member(:generation_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "GenerationKeyCheckValue"))
309
+ GeneratePinDataOutput.add_member(:pin_data, Shapes::ShapeRef.new(shape: PinData, required: true, location_name: "PinData"))
310
+ GeneratePinDataOutput.struct_class = Types::GeneratePinDataOutput
311
+
312
+ Ibm3624NaturalPin.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: NumberLengthEquals16, required: true, location_name: "DecimalizationTable"))
313
+ Ibm3624NaturalPin.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween4And16, required: true, location_name: "PinValidationData"))
314
+ Ibm3624NaturalPin.add_member(:pin_validation_data_pad_character, Shapes::ShapeRef.new(shape: HexLengthEquals1, required: true, location_name: "PinValidationDataPadCharacter"))
315
+ Ibm3624NaturalPin.struct_class = Types::Ibm3624NaturalPin
316
+
317
+ Ibm3624PinFromOffset.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: NumberLengthEquals16, required: true, location_name: "DecimalizationTable"))
318
+ Ibm3624PinFromOffset.add_member(:pin_offset, Shapes::ShapeRef.new(shape: NumberLengthBetween4And12, required: true, location_name: "PinOffset"))
319
+ Ibm3624PinFromOffset.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween4And16, required: true, location_name: "PinValidationData"))
320
+ Ibm3624PinFromOffset.add_member(:pin_validation_data_pad_character, Shapes::ShapeRef.new(shape: HexLengthEquals1, required: true, location_name: "PinValidationDataPadCharacter"))
321
+ Ibm3624PinFromOffset.struct_class = Types::Ibm3624PinFromOffset
322
+
323
+ Ibm3624PinOffset.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: NumberLengthEquals16, required: true, location_name: "DecimalizationTable"))
324
+ Ibm3624PinOffset.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
325
+ Ibm3624PinOffset.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween4And16, required: true, location_name: "PinValidationData"))
326
+ Ibm3624PinOffset.add_member(:pin_validation_data_pad_character, Shapes::ShapeRef.new(shape: HexLengthEquals1, required: true, location_name: "PinValidationDataPadCharacter"))
327
+ Ibm3624PinOffset.struct_class = Types::Ibm3624PinOffset
328
+
329
+ Ibm3624PinVerification.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: NumberLengthEquals16, required: true, location_name: "DecimalizationTable"))
330
+ Ibm3624PinVerification.add_member(:pin_offset, Shapes::ShapeRef.new(shape: NumberLengthBetween4And12, required: true, location_name: "PinOffset"))
331
+ Ibm3624PinVerification.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween4And16, required: true, location_name: "PinValidationData"))
332
+ Ibm3624PinVerification.add_member(:pin_validation_data_pad_character, Shapes::ShapeRef.new(shape: HexLengthEquals1, required: true, location_name: "PinValidationDataPadCharacter"))
333
+ Ibm3624PinVerification.struct_class = Types::Ibm3624PinVerification
334
+
335
+ Ibm3624RandomPin.add_member(:decimalization_table, Shapes::ShapeRef.new(shape: NumberLengthEquals16, required: true, location_name: "DecimalizationTable"))
336
+ Ibm3624RandomPin.add_member(:pin_validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween4And16, required: true, location_name: "PinValidationData"))
337
+ Ibm3624RandomPin.add_member(:pin_validation_data_pad_character, Shapes::ShapeRef.new(shape: HexLengthEquals1, required: true, location_name: "PinValidationDataPadCharacter"))
338
+ Ibm3624RandomPin.struct_class = Types::Ibm3624RandomPin
339
+
340
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
341
+ InternalServerException.struct_class = Types::InternalServerException
342
+
343
+ MacAlgorithmDukpt.add_member(:dukpt_derivation_type, Shapes::ShapeRef.new(shape: DukptDerivationType, location_name: "DukptDerivationType"))
344
+ MacAlgorithmDukpt.add_member(:dukpt_key_variant, Shapes::ShapeRef.new(shape: DukptKeyVariant, required: true, location_name: "DukptKeyVariant"))
345
+ MacAlgorithmDukpt.add_member(:key_serial_number, Shapes::ShapeRef.new(shape: HexLengthBetween10And24, required: true, location_name: "KeySerialNumber"))
346
+ MacAlgorithmDukpt.struct_class = Types::MacAlgorithmDukpt
347
+
348
+ MacAlgorithmEmv.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
349
+ MacAlgorithmEmv.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: HexLengthEquals2, required: true, location_name: "PanSequenceNumber"))
350
+ MacAlgorithmEmv.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
351
+ MacAlgorithmEmv.add_member(:session_key_derivation_mode, Shapes::ShapeRef.new(shape: SessionKeyDerivationMode, required: true, location_name: "SessionKeyDerivationMode"))
352
+ MacAlgorithmEmv.add_member(:session_key_derivation_value, Shapes::ShapeRef.new(shape: SessionKeyDerivationValue, required: true, location_name: "SessionKeyDerivationValue"))
353
+ MacAlgorithmEmv.struct_class = Types::MacAlgorithmEmv
354
+
355
+ MacAttributes.add_member(:algorithm, Shapes::ShapeRef.new(shape: MacAlgorithm, location_name: "Algorithm"))
356
+ MacAttributes.add_member(:dukpt_cmac, Shapes::ShapeRef.new(shape: MacAlgorithmDukpt, location_name: "DukptCmac"))
357
+ MacAttributes.add_member(:dukpt_iso_9797_algorithm_1, Shapes::ShapeRef.new(shape: MacAlgorithmDukpt, location_name: "DukptIso9797Algorithm1"))
358
+ MacAttributes.add_member(:dukpt_iso_9797_algorithm_3, Shapes::ShapeRef.new(shape: MacAlgorithmDukpt, location_name: "DukptIso9797Algorithm3"))
359
+ MacAttributes.add_member(:emv_mac, Shapes::ShapeRef.new(shape: MacAlgorithmEmv, location_name: "EmvMac"))
360
+ MacAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
361
+ MacAttributes.add_member_subclass(:algorithm, Types::MacAttributes::Algorithm)
362
+ MacAttributes.add_member_subclass(:dukpt_cmac, Types::MacAttributes::DukptCmac)
363
+ MacAttributes.add_member_subclass(:dukpt_iso_9797_algorithm_1, Types::MacAttributes::DukptIso9797Algorithm1)
364
+ MacAttributes.add_member_subclass(:dukpt_iso_9797_algorithm_3, Types::MacAttributes::DukptIso9797Algorithm3)
365
+ MacAttributes.add_member_subclass(:emv_mac, Types::MacAttributes::EmvMac)
366
+ MacAttributes.add_member_subclass(:unknown, Types::MacAttributes::Unknown)
367
+ MacAttributes.struct_class = Types::MacAttributes
368
+
369
+ PinData.add_member(:pin_offset, Shapes::ShapeRef.new(shape: NumberLengthBetween4And12, location_name: "PinOffset"))
370
+ PinData.add_member(:verification_value, Shapes::ShapeRef.new(shape: NumberLengthBetween4And12, location_name: "VerificationValue"))
371
+ PinData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
372
+ PinData.add_member_subclass(:pin_offset, Types::PinData::PinOffset)
373
+ PinData.add_member_subclass(:verification_value, Types::PinData::VerificationValue)
374
+ PinData.add_member_subclass(:unknown, Types::PinData::Unknown)
375
+ PinData.struct_class = Types::PinData
376
+
377
+ PinGenerationAttributes.add_member(:ibm_3624_natural_pin, Shapes::ShapeRef.new(shape: Ibm3624NaturalPin, location_name: "Ibm3624NaturalPin"))
378
+ PinGenerationAttributes.add_member(:ibm_3624_pin_from_offset, Shapes::ShapeRef.new(shape: Ibm3624PinFromOffset, location_name: "Ibm3624PinFromOffset"))
379
+ PinGenerationAttributes.add_member(:ibm_3624_pin_offset, Shapes::ShapeRef.new(shape: Ibm3624PinOffset, location_name: "Ibm3624PinOffset"))
380
+ PinGenerationAttributes.add_member(:ibm_3624_random_pin, Shapes::ShapeRef.new(shape: Ibm3624RandomPin, location_name: "Ibm3624RandomPin"))
381
+ PinGenerationAttributes.add_member(:visa_pin, Shapes::ShapeRef.new(shape: VisaPin, location_name: "VisaPin"))
382
+ PinGenerationAttributes.add_member(:visa_pin_verification_value, Shapes::ShapeRef.new(shape: VisaPinVerificationValue, location_name: "VisaPinVerificationValue"))
383
+ PinGenerationAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
384
+ PinGenerationAttributes.add_member_subclass(:ibm_3624_natural_pin, Types::PinGenerationAttributes::Ibm3624NaturalPin)
385
+ PinGenerationAttributes.add_member_subclass(:ibm_3624_pin_from_offset, Types::PinGenerationAttributes::Ibm3624PinFromOffset)
386
+ PinGenerationAttributes.add_member_subclass(:ibm_3624_pin_offset, Types::PinGenerationAttributes::Ibm3624PinOffset)
387
+ PinGenerationAttributes.add_member_subclass(:ibm_3624_random_pin, Types::PinGenerationAttributes::Ibm3624RandomPin)
388
+ PinGenerationAttributes.add_member_subclass(:visa_pin, Types::PinGenerationAttributes::VisaPin)
389
+ PinGenerationAttributes.add_member_subclass(:visa_pin_verification_value, Types::PinGenerationAttributes::VisaPinVerificationValue)
390
+ PinGenerationAttributes.add_member_subclass(:unknown, Types::PinGenerationAttributes::Unknown)
391
+ PinGenerationAttributes.struct_class = Types::PinGenerationAttributes
392
+
393
+ PinVerificationAttributes.add_member(:ibm_3624_pin, Shapes::ShapeRef.new(shape: Ibm3624PinVerification, location_name: "Ibm3624Pin"))
394
+ PinVerificationAttributes.add_member(:visa_pin, Shapes::ShapeRef.new(shape: VisaPinVerification, location_name: "VisaPin"))
395
+ PinVerificationAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
396
+ PinVerificationAttributes.add_member_subclass(:ibm_3624_pin, Types::PinVerificationAttributes::Ibm3624Pin)
397
+ PinVerificationAttributes.add_member_subclass(:visa_pin, Types::PinVerificationAttributes::VisaPin)
398
+ PinVerificationAttributes.add_member_subclass(:unknown, Types::PinVerificationAttributes::Unknown)
399
+ PinVerificationAttributes.struct_class = Types::PinVerificationAttributes
400
+
401
+ ReEncryptDataInput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "CipherText"))
402
+ ReEncryptDataInput.add_member(:incoming_encryption_attributes, Shapes::ShapeRef.new(shape: ReEncryptionAttributes, required: true, location_name: "IncomingEncryptionAttributes"))
403
+ ReEncryptDataInput.add_member(:incoming_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location: "uri", location_name: "IncomingKeyIdentifier"))
404
+ ReEncryptDataInput.add_member(:outgoing_encryption_attributes, Shapes::ShapeRef.new(shape: ReEncryptionAttributes, required: true, location_name: "OutgoingEncryptionAttributes"))
405
+ ReEncryptDataInput.add_member(:outgoing_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "OutgoingKeyIdentifier"))
406
+ ReEncryptDataInput.struct_class = Types::ReEncryptDataInput
407
+
408
+ ReEncryptDataOutput.add_member(:cipher_text, Shapes::ShapeRef.new(shape: HexEvenLengthBetween16And4096, required: true, location_name: "CipherText"))
409
+ ReEncryptDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
410
+ ReEncryptDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
411
+ ReEncryptDataOutput.struct_class = Types::ReEncryptDataOutput
412
+
413
+ ReEncryptionAttributes.add_member(:dukpt, Shapes::ShapeRef.new(shape: DukptEncryptionAttributes, location_name: "Dukpt"))
414
+ ReEncryptionAttributes.add_member(:symmetric, Shapes::ShapeRef.new(shape: SymmetricEncryptionAttributes, location_name: "Symmetric"))
415
+ ReEncryptionAttributes.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
416
+ ReEncryptionAttributes.add_member_subclass(:dukpt, Types::ReEncryptionAttributes::Dukpt)
417
+ ReEncryptionAttributes.add_member_subclass(:symmetric, Types::ReEncryptionAttributes::Symmetric)
418
+ ReEncryptionAttributes.add_member_subclass(:unknown, Types::ReEncryptionAttributes::Unknown)
419
+ ReEncryptionAttributes.struct_class = Types::ReEncryptionAttributes
420
+
421
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
422
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
423
+
424
+ SessionKeyAmex.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: HexLengthEquals2, required: true, location_name: "PanSequenceNumber"))
425
+ SessionKeyAmex.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
426
+ SessionKeyAmex.struct_class = Types::SessionKeyAmex
427
+
428
+ SessionKeyDerivation.add_member(:amex, Shapes::ShapeRef.new(shape: SessionKeyAmex, location_name: "Amex"))
429
+ SessionKeyDerivation.add_member(:emv_2000, Shapes::ShapeRef.new(shape: SessionKeyEmv2000, location_name: "Emv2000"))
430
+ SessionKeyDerivation.add_member(:emv_common, Shapes::ShapeRef.new(shape: SessionKeyEmvCommon, location_name: "EmvCommon"))
431
+ SessionKeyDerivation.add_member(:mastercard, Shapes::ShapeRef.new(shape: SessionKeyMastercard, location_name: "Mastercard"))
432
+ SessionKeyDerivation.add_member(:visa, Shapes::ShapeRef.new(shape: SessionKeyVisa, location_name: "Visa"))
433
+ SessionKeyDerivation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
434
+ SessionKeyDerivation.add_member_subclass(:amex, Types::SessionKeyDerivation::Amex)
435
+ SessionKeyDerivation.add_member_subclass(:emv_2000, Types::SessionKeyDerivation::Emv2000)
436
+ SessionKeyDerivation.add_member_subclass(:emv_common, Types::SessionKeyDerivation::EmvCommon)
437
+ SessionKeyDerivation.add_member_subclass(:mastercard, Types::SessionKeyDerivation::Mastercard)
438
+ SessionKeyDerivation.add_member_subclass(:visa, Types::SessionKeyDerivation::Visa)
439
+ SessionKeyDerivation.add_member_subclass(:unknown, Types::SessionKeyDerivation::Unknown)
440
+ SessionKeyDerivation.struct_class = Types::SessionKeyDerivation
441
+
442
+ SessionKeyDerivationValue.add_member(:application_cryptogram, Shapes::ShapeRef.new(shape: HexLengthEquals16, location_name: "ApplicationCryptogram"))
443
+ SessionKeyDerivationValue.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, location_name: "ApplicationTransactionCounter"))
444
+ SessionKeyDerivationValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
445
+ SessionKeyDerivationValue.add_member_subclass(:application_cryptogram, Types::SessionKeyDerivationValue::ApplicationCryptogram)
446
+ SessionKeyDerivationValue.add_member_subclass(:application_transaction_counter, Types::SessionKeyDerivationValue::ApplicationTransactionCounter)
447
+ SessionKeyDerivationValue.add_member_subclass(:unknown, Types::SessionKeyDerivationValue::Unknown)
448
+ SessionKeyDerivationValue.struct_class = Types::SessionKeyDerivationValue
449
+
450
+ SessionKeyEmv2000.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
451
+ SessionKeyEmv2000.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: HexLengthEquals2, required: true, location_name: "PanSequenceNumber"))
452
+ SessionKeyEmv2000.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
453
+ SessionKeyEmv2000.struct_class = Types::SessionKeyEmv2000
454
+
455
+ SessionKeyEmvCommon.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
456
+ SessionKeyEmvCommon.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: HexLengthEquals2, required: true, location_name: "PanSequenceNumber"))
457
+ SessionKeyEmvCommon.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
458
+ SessionKeyEmvCommon.struct_class = Types::SessionKeyEmvCommon
459
+
460
+ SessionKeyMastercard.add_member(:application_transaction_counter, Shapes::ShapeRef.new(shape: HexLengthBetween2And4, required: true, location_name: "ApplicationTransactionCounter"))
461
+ SessionKeyMastercard.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: HexLengthEquals2, required: true, location_name: "PanSequenceNumber"))
462
+ SessionKeyMastercard.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
463
+ SessionKeyMastercard.add_member(:unpredictable_number, Shapes::ShapeRef.new(shape: HexLengthBetween2And8, required: true, location_name: "UnpredictableNumber"))
464
+ SessionKeyMastercard.struct_class = Types::SessionKeyMastercard
465
+
466
+ SessionKeyVisa.add_member(:pan_sequence_number, Shapes::ShapeRef.new(shape: HexLengthEquals2, required: true, location_name: "PanSequenceNumber"))
467
+ SessionKeyVisa.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
468
+ SessionKeyVisa.struct_class = Types::SessionKeyVisa
469
+
470
+ SymmetricEncryptionAttributes.add_member(:initialization_vector, Shapes::ShapeRef.new(shape: HexLength16Or32, location_name: "InitializationVector"))
471
+ SymmetricEncryptionAttributes.add_member(:mode, Shapes::ShapeRef.new(shape: EncryptionMode, required: true, location_name: "Mode"))
472
+ SymmetricEncryptionAttributes.add_member(:padding_type, Shapes::ShapeRef.new(shape: PaddingType, location_name: "PaddingType"))
473
+ SymmetricEncryptionAttributes.struct_class = Types::SymmetricEncryptionAttributes
474
+
475
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
476
+ ThrottlingException.struct_class = Types::ThrottlingException
477
+
478
+ TranslatePinDataInput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
479
+ TranslatePinDataInput.add_member(:incoming_dukpt_attributes, Shapes::ShapeRef.new(shape: DukptDerivationAttributes, location_name: "IncomingDukptAttributes"))
480
+ TranslatePinDataInput.add_member(:incoming_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "IncomingKeyIdentifier"))
481
+ TranslatePinDataInput.add_member(:incoming_translation_attributes, Shapes::ShapeRef.new(shape: TranslationIsoFormats, required: true, location_name: "IncomingTranslationAttributes"))
482
+ TranslatePinDataInput.add_member(:outgoing_dukpt_attributes, Shapes::ShapeRef.new(shape: DukptDerivationAttributes, location_name: "OutgoingDukptAttributes"))
483
+ TranslatePinDataInput.add_member(:outgoing_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "OutgoingKeyIdentifier"))
484
+ TranslatePinDataInput.add_member(:outgoing_translation_attributes, Shapes::ShapeRef.new(shape: TranslationIsoFormats, required: true, location_name: "OutgoingTranslationAttributes"))
485
+ TranslatePinDataInput.struct_class = Types::TranslatePinDataInput
486
+
487
+ TranslatePinDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
488
+ TranslatePinDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
489
+ TranslatePinDataOutput.add_member(:pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "PinBlock"))
490
+ TranslatePinDataOutput.struct_class = Types::TranslatePinDataOutput
491
+
492
+ TranslationIsoFormats.add_member(:iso_format_0, Shapes::ShapeRef.new(shape: TranslationPinDataIsoFormat034, location_name: "IsoFormat0"))
493
+ TranslationIsoFormats.add_member(:iso_format_1, Shapes::ShapeRef.new(shape: TranslationPinDataIsoFormat1, location_name: "IsoFormat1"))
494
+ TranslationIsoFormats.add_member(:iso_format_3, Shapes::ShapeRef.new(shape: TranslationPinDataIsoFormat034, location_name: "IsoFormat3"))
495
+ TranslationIsoFormats.add_member(:iso_format_4, Shapes::ShapeRef.new(shape: TranslationPinDataIsoFormat034, location_name: "IsoFormat4"))
496
+ TranslationIsoFormats.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
497
+ TranslationIsoFormats.add_member_subclass(:iso_format_0, Types::TranslationIsoFormats::IsoFormat0)
498
+ TranslationIsoFormats.add_member_subclass(:iso_format_1, Types::TranslationIsoFormats::IsoFormat1)
499
+ TranslationIsoFormats.add_member_subclass(:iso_format_3, Types::TranslationIsoFormats::IsoFormat3)
500
+ TranslationIsoFormats.add_member_subclass(:iso_format_4, Types::TranslationIsoFormats::IsoFormat4)
501
+ TranslationIsoFormats.add_member_subclass(:unknown, Types::TranslationIsoFormats::Unknown)
502
+ TranslationIsoFormats.struct_class = Types::TranslationIsoFormats
503
+
504
+ TranslationPinDataIsoFormat034.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
505
+ TranslationPinDataIsoFormat034.struct_class = Types::TranslationPinDataIsoFormat034
506
+
507
+ TranslationPinDataIsoFormat1.struct_class = Types::TranslationPinDataIsoFormat1
508
+
509
+ ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
510
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
511
+ ValidationException.struct_class = Types::ValidationException
512
+
513
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
514
+ ValidationExceptionField.add_member(:path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "path"))
515
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
516
+
517
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
518
+
519
+ VerificationFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
520
+ VerificationFailedException.add_member(:reason, Shapes::ShapeRef.new(shape: VerificationFailedReason, required: true, location_name: "Reason"))
521
+ VerificationFailedException.struct_class = Types::VerificationFailedException
522
+
523
+ VerifyAuthRequestCryptogramInput.add_member(:auth_request_cryptogram, Shapes::ShapeRef.new(shape: HexLengthEquals16, required: true, location_name: "AuthRequestCryptogram"))
524
+ VerifyAuthRequestCryptogramInput.add_member(:auth_response_attributes, Shapes::ShapeRef.new(shape: CryptogramAuthResponse, location_name: "AuthResponseAttributes"))
525
+ VerifyAuthRequestCryptogramInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
526
+ VerifyAuthRequestCryptogramInput.add_member(:major_key_derivation_mode, Shapes::ShapeRef.new(shape: MajorKeyDerivationMode, required: true, location_name: "MajorKeyDerivationMode"))
527
+ VerifyAuthRequestCryptogramInput.add_member(:session_key_derivation_attributes, Shapes::ShapeRef.new(shape: SessionKeyDerivation, required: true, location_name: "SessionKeyDerivationAttributes"))
528
+ VerifyAuthRequestCryptogramInput.add_member(:transaction_data, Shapes::ShapeRef.new(shape: HexLengthBetween2And1024, required: true, location_name: "TransactionData"))
529
+ VerifyAuthRequestCryptogramInput.struct_class = Types::VerifyAuthRequestCryptogramInput
530
+
531
+ VerifyAuthRequestCryptogramOutput.add_member(:auth_response_value, Shapes::ShapeRef.new(shape: HexLengthBetween1And16, location_name: "AuthResponseValue"))
532
+ VerifyAuthRequestCryptogramOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
533
+ VerifyAuthRequestCryptogramOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
534
+ VerifyAuthRequestCryptogramOutput.struct_class = Types::VerifyAuthRequestCryptogramOutput
535
+
536
+ VerifyCardValidationDataInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
537
+ VerifyCardValidationDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
538
+ VerifyCardValidationDataInput.add_member(:validation_data, Shapes::ShapeRef.new(shape: NumberLengthBetween3And5, required: true, location_name: "ValidationData"))
539
+ VerifyCardValidationDataInput.add_member(:verification_attributes, Shapes::ShapeRef.new(shape: CardVerificationAttributes, required: true, location_name: "VerificationAttributes"))
540
+ VerifyCardValidationDataInput.struct_class = Types::VerifyCardValidationDataInput
541
+
542
+ VerifyCardValidationDataOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
543
+ VerifyCardValidationDataOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
544
+ VerifyCardValidationDataOutput.struct_class = Types::VerifyCardValidationDataOutput
545
+
546
+ VerifyMacInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
547
+ VerifyMacInput.add_member(:mac, Shapes::ShapeRef.new(shape: HexLengthBetween4And128, required: true, location_name: "Mac"))
548
+ VerifyMacInput.add_member(:mac_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And16, location_name: "MacLength"))
549
+ VerifyMacInput.add_member(:message_data, Shapes::ShapeRef.new(shape: HexLengthBetween2And4096, required: true, location_name: "MessageData"))
550
+ VerifyMacInput.add_member(:verification_attributes, Shapes::ShapeRef.new(shape: MacAttributes, required: true, location_name: "VerificationAttributes"))
551
+ VerifyMacInput.struct_class = Types::VerifyMacInput
552
+
553
+ VerifyMacOutput.add_member(:key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "KeyArn"))
554
+ VerifyMacOutput.add_member(:key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "KeyCheckValue"))
555
+ VerifyMacOutput.struct_class = Types::VerifyMacOutput
556
+
557
+ VerifyPinDataInput.add_member(:dukpt_attributes, Shapes::ShapeRef.new(shape: DukptAttributes, location_name: "DukptAttributes"))
558
+ VerifyPinDataInput.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
559
+ VerifyPinDataInput.add_member(:encryption_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "EncryptionKeyIdentifier"))
560
+ VerifyPinDataInput.add_member(:pin_block_format, Shapes::ShapeRef.new(shape: PinBlockFormatForPinData, required: true, location_name: "PinBlockFormat"))
561
+ VerifyPinDataInput.add_member(:pin_data_length, Shapes::ShapeRef.new(shape: IntegerRangeBetween4And12, location_name: "PinDataLength", metadata: {"box"=>true}))
562
+ VerifyPinDataInput.add_member(:primary_account_number, Shapes::ShapeRef.new(shape: NumberLengthBetween12And19, required: true, location_name: "PrimaryAccountNumber"))
563
+ VerifyPinDataInput.add_member(:verification_attributes, Shapes::ShapeRef.new(shape: PinVerificationAttributes, required: true, location_name: "VerificationAttributes"))
564
+ VerifyPinDataInput.add_member(:verification_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "VerificationKeyIdentifier"))
565
+ VerifyPinDataInput.struct_class = Types::VerifyPinDataInput
566
+
567
+ VerifyPinDataOutput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "EncryptionKeyArn"))
568
+ VerifyPinDataOutput.add_member(:encryption_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "EncryptionKeyCheckValue"))
569
+ VerifyPinDataOutput.add_member(:verification_key_arn, Shapes::ShapeRef.new(shape: KeyArn, required: true, location_name: "VerificationKeyArn"))
570
+ VerifyPinDataOutput.add_member(:verification_key_check_value, Shapes::ShapeRef.new(shape: KeyCheckValue, required: true, location_name: "VerificationKeyCheckValue"))
571
+ VerifyPinDataOutput.struct_class = Types::VerifyPinDataOutput
572
+
573
+ VisaPin.add_member(:pin_verification_key_index, Shapes::ShapeRef.new(shape: IntegerRangeBetween0And9, required: true, location_name: "PinVerificationKeyIndex"))
574
+ VisaPin.struct_class = Types::VisaPin
575
+
576
+ VisaPinVerification.add_member(:pin_verification_key_index, Shapes::ShapeRef.new(shape: IntegerRangeBetween0And9, required: true, location_name: "PinVerificationKeyIndex"))
577
+ VisaPinVerification.add_member(:verification_value, Shapes::ShapeRef.new(shape: NumberLengthBetween4And12, required: true, location_name: "VerificationValue"))
578
+ VisaPinVerification.struct_class = Types::VisaPinVerification
579
+
580
+ VisaPinVerificationValue.add_member(:encrypted_pin_block, Shapes::ShapeRef.new(shape: HexLengthBetween16And32, required: true, location_name: "EncryptedPinBlock"))
581
+ VisaPinVerificationValue.add_member(:pin_verification_key_index, Shapes::ShapeRef.new(shape: IntegerRangeBetween0And9, required: true, location_name: "PinVerificationKeyIndex"))
582
+ VisaPinVerificationValue.struct_class = Types::VisaPinVerificationValue
583
+
584
+
585
+ # @api private
586
+ API = Seahorse::Model::Api.new.tap do |api|
587
+
588
+ api.version = "2022-02-03"
589
+
590
+ api.metadata = {
591
+ "apiVersion" => "2022-02-03",
592
+ "endpointPrefix" => "dataplane.payment-cryptography",
593
+ "jsonVersion" => "1.1",
594
+ "protocol" => "rest-json",
595
+ "serviceFullName" => "Payment Cryptography Data Plane",
596
+ "serviceId" => "Payment Cryptography Data",
597
+ "signatureVersion" => "v4",
598
+ "signingName" => "payment-cryptography",
599
+ "uid" => "payment-cryptography-data-2022-02-03",
600
+ }
601
+
602
+ api.add_operation(:decrypt_data, Seahorse::Model::Operation.new.tap do |o|
603
+ o.name = "DecryptData"
604
+ o.http_method = "POST"
605
+ o.http_request_uri = "/keys/{KeyIdentifier}/decrypt"
606
+ o.input = Shapes::ShapeRef.new(shape: DecryptDataInput)
607
+ o.output = Shapes::ShapeRef.new(shape: DecryptDataOutput)
608
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
609
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
610
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
611
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
612
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
613
+ end)
614
+
615
+ api.add_operation(:encrypt_data, Seahorse::Model::Operation.new.tap do |o|
616
+ o.name = "EncryptData"
617
+ o.http_method = "POST"
618
+ o.http_request_uri = "/keys/{KeyIdentifier}/encrypt"
619
+ o.input = Shapes::ShapeRef.new(shape: EncryptDataInput)
620
+ o.output = Shapes::ShapeRef.new(shape: EncryptDataOutput)
621
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
622
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
623
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
624
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
625
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
626
+ end)
627
+
628
+ api.add_operation(:generate_card_validation_data, Seahorse::Model::Operation.new.tap do |o|
629
+ o.name = "GenerateCardValidationData"
630
+ o.http_method = "POST"
631
+ o.http_request_uri = "/cardvalidationdata/generate"
632
+ o.input = Shapes::ShapeRef.new(shape: GenerateCardValidationDataInput)
633
+ o.output = Shapes::ShapeRef.new(shape: GenerateCardValidationDataOutput)
634
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
635
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
636
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
637
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
638
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
639
+ end)
640
+
641
+ api.add_operation(:generate_mac, Seahorse::Model::Operation.new.tap do |o|
642
+ o.name = "GenerateMac"
643
+ o.http_method = "POST"
644
+ o.http_request_uri = "/mac/generate"
645
+ o.input = Shapes::ShapeRef.new(shape: GenerateMacInput)
646
+ o.output = Shapes::ShapeRef.new(shape: GenerateMacOutput)
647
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
648
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
649
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
650
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
651
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
652
+ end)
653
+
654
+ api.add_operation(:generate_pin_data, Seahorse::Model::Operation.new.tap do |o|
655
+ o.name = "GeneratePinData"
656
+ o.http_method = "POST"
657
+ o.http_request_uri = "/pindata/generate"
658
+ o.input = Shapes::ShapeRef.new(shape: GeneratePinDataInput)
659
+ o.output = Shapes::ShapeRef.new(shape: GeneratePinDataOutput)
660
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
661
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
662
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
663
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
664
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
665
+ end)
666
+
667
+ api.add_operation(:re_encrypt_data, Seahorse::Model::Operation.new.tap do |o|
668
+ o.name = "ReEncryptData"
669
+ o.http_method = "POST"
670
+ o.http_request_uri = "/keys/{IncomingKeyIdentifier}/reencrypt"
671
+ o.input = Shapes::ShapeRef.new(shape: ReEncryptDataInput)
672
+ o.output = Shapes::ShapeRef.new(shape: ReEncryptDataOutput)
673
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
674
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
675
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
676
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
677
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
678
+ end)
679
+
680
+ api.add_operation(:translate_pin_data, Seahorse::Model::Operation.new.tap do |o|
681
+ o.name = "TranslatePinData"
682
+ o.http_method = "POST"
683
+ o.http_request_uri = "/pindata/translate"
684
+ o.input = Shapes::ShapeRef.new(shape: TranslatePinDataInput)
685
+ o.output = Shapes::ShapeRef.new(shape: TranslatePinDataOutput)
686
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
687
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
688
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
689
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
690
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
691
+ end)
692
+
693
+ api.add_operation(:verify_auth_request_cryptogram, Seahorse::Model::Operation.new.tap do |o|
694
+ o.name = "VerifyAuthRequestCryptogram"
695
+ o.http_method = "POST"
696
+ o.http_request_uri = "/cryptogram/verify"
697
+ o.input = Shapes::ShapeRef.new(shape: VerifyAuthRequestCryptogramInput)
698
+ o.output = Shapes::ShapeRef.new(shape: VerifyAuthRequestCryptogramOutput)
699
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
700
+ o.errors << Shapes::ShapeRef.new(shape: VerificationFailedException)
701
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
702
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
703
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
704
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
705
+ end)
706
+
707
+ api.add_operation(:verify_card_validation_data, Seahorse::Model::Operation.new.tap do |o|
708
+ o.name = "VerifyCardValidationData"
709
+ o.http_method = "POST"
710
+ o.http_request_uri = "/cardvalidationdata/verify"
711
+ o.input = Shapes::ShapeRef.new(shape: VerifyCardValidationDataInput)
712
+ o.output = Shapes::ShapeRef.new(shape: VerifyCardValidationDataOutput)
713
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
714
+ o.errors << Shapes::ShapeRef.new(shape: VerificationFailedException)
715
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
716
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
718
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
719
+ end)
720
+
721
+ api.add_operation(:verify_mac, Seahorse::Model::Operation.new.tap do |o|
722
+ o.name = "VerifyMac"
723
+ o.http_method = "POST"
724
+ o.http_request_uri = "/mac/verify"
725
+ o.input = Shapes::ShapeRef.new(shape: VerifyMacInput)
726
+ o.output = Shapes::ShapeRef.new(shape: VerifyMacOutput)
727
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
728
+ o.errors << Shapes::ShapeRef.new(shape: VerificationFailedException)
729
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
730
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
731
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
732
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
733
+ end)
734
+
735
+ api.add_operation(:verify_pin_data, Seahorse::Model::Operation.new.tap do |o|
736
+ o.name = "VerifyPinData"
737
+ o.http_method = "POST"
738
+ o.http_request_uri = "/pindata/verify"
739
+ o.input = Shapes::ShapeRef.new(shape: VerifyPinDataInput)
740
+ o.output = Shapes::ShapeRef.new(shape: VerifyPinDataOutput)
741
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
742
+ o.errors << Shapes::ShapeRef.new(shape: VerificationFailedException)
743
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
744
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
745
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
746
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
747
+ end)
748
+ end
749
+
750
+ end
751
+ end