aws-sdk-paymentcryptographydata 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d246f10d283f4f8857b8bfbe662357345223b14850138a60fc1c6cebd957522
4
- data.tar.gz: a9a377a805c22c02fb302b3680c86d585117c2514f511a29a723c9a9c33206d7
3
+ metadata.gz: 7edf8086296d3beeb8b9ba8672b86c9575688b3c2f4b20d136997a9a6c0a9577
4
+ data.tar.gz: a058ede4258aac1b77fc5ddb5d80aa27762f50b68b9d127ef0939fa59ec52117
5
5
  SHA512:
6
- metadata.gz: 739f357152f8f65838bb76ad63be89705143827b640d203e7ff3f03c199e9e404e763713aa912fa5d201d00ecb54b0574202964140ecbfbdeb528134c828f812
7
- data.tar.gz: 8b12c6514700ff200a93c37683d5d989f6aa041adc50015963ef4388a65da42d6c2ced1411464b2338e456f99c63427259e059c4bca47ea8d1a20c03e705bf7b
6
+ metadata.gz: 319930fff955a252a87eaa25d0074f54a9adfdbb4304807db1c8a01a4399eabf4ad362cea5232a6c06b770efe9f183eabc786652f09ff06a1f35c34b944012ac
7
+ data.tar.gz: d87ad4d1d55041f0b602bf657c7de4322720841daceee94fbcf6364c7cb462ea0ed498dbe01d4edc96dfd030968a7ecb971a27c792af75f70e320c3e82e420cb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.9.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.8.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.9.0
@@ -1691,7 +1691,7 @@ module Aws::PaymentCryptographyData
1691
1691
  params: params,
1692
1692
  config: config)
1693
1693
  context[:gem_name] = 'aws-sdk-paymentcryptographydata'
1694
- context[:gem_version] = '1.8.0'
1694
+ context[:gem_version] = '1.9.0'
1695
1695
  Seahorse::Client::Request.new(handlers, context)
1696
1696
  end
1697
1697
 
@@ -14,6 +14,7 @@ module Aws::PaymentCryptographyData
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::PaymentCryptographyData::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-paymentcryptographydata/customizations'
52
52
  # @!group service
53
53
  module Aws::PaymentCryptographyData
54
54
 
55
- GEM_VERSION = '1.8.0'
55
+ GEM_VERSION = '1.9.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,545 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PaymentCryptographyData
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _DecryptDataResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::DecryptDataOutput]
77
+ def key_arn: () -> ::String
78
+ def key_check_value: () -> ::String
79
+ def plain_text: () -> ::String
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#decrypt_data-instance_method
82
+ def decrypt_data: (
83
+ cipher_text: ::String,
84
+ decryption_attributes: {
85
+ asymmetric: {
86
+ padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
87
+ }?,
88
+ dukpt: {
89
+ dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
90
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
91
+ initialization_vector: ::String?,
92
+ key_serial_number: ::String,
93
+ mode: ("ECB" | "CBC")?
94
+ }?,
95
+ symmetric: {
96
+ initialization_vector: ::String?,
97
+ mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
98
+ padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
99
+ }?
100
+ },
101
+ key_identifier: ::String
102
+ ) -> _DecryptDataResponseSuccess
103
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DecryptDataResponseSuccess
104
+
105
+ interface _EncryptDataResponseSuccess
106
+ include ::Seahorse::Client::_ResponseSuccess[Types::EncryptDataOutput]
107
+ def cipher_text: () -> ::String
108
+ def key_arn: () -> ::String
109
+ def key_check_value: () -> ::String
110
+ end
111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#encrypt_data-instance_method
112
+ def encrypt_data: (
113
+ encryption_attributes: {
114
+ asymmetric: {
115
+ padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
116
+ }?,
117
+ dukpt: {
118
+ dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
119
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
120
+ initialization_vector: ::String?,
121
+ key_serial_number: ::String,
122
+ mode: ("ECB" | "CBC")?
123
+ }?,
124
+ symmetric: {
125
+ initialization_vector: ::String?,
126
+ mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
127
+ padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
128
+ }?
129
+ },
130
+ key_identifier: ::String,
131
+ plain_text: ::String
132
+ ) -> _EncryptDataResponseSuccess
133
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EncryptDataResponseSuccess
134
+
135
+ interface _GenerateCardValidationDataResponseSuccess
136
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateCardValidationDataOutput]
137
+ def key_arn: () -> ::String
138
+ def key_check_value: () -> ::String
139
+ def validation_data: () -> ::String
140
+ end
141
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#generate_card_validation_data-instance_method
142
+ def generate_card_validation_data: (
143
+ generation_attributes: {
144
+ amex_card_security_code_version_1: {
145
+ card_expiry_date: ::String
146
+ }?,
147
+ amex_card_security_code_version_2: {
148
+ card_expiry_date: ::String,
149
+ service_code: ::String
150
+ }?,
151
+ card_holder_verification_value: {
152
+ application_transaction_counter: ::String,
153
+ pan_sequence_number: ::String,
154
+ unpredictable_number: ::String
155
+ }?,
156
+ card_verification_value_1: {
157
+ card_expiry_date: ::String,
158
+ service_code: ::String
159
+ }?,
160
+ card_verification_value_2: {
161
+ card_expiry_date: ::String
162
+ }?,
163
+ dynamic_card_verification_code: {
164
+ application_transaction_counter: ::String,
165
+ pan_sequence_number: ::String,
166
+ track_data: ::String,
167
+ unpredictable_number: ::String
168
+ }?,
169
+ dynamic_card_verification_value: {
170
+ application_transaction_counter: ::String,
171
+ card_expiry_date: ::String,
172
+ pan_sequence_number: ::String,
173
+ service_code: ::String
174
+ }?
175
+ },
176
+ key_identifier: ::String,
177
+ primary_account_number: ::String,
178
+ ?validation_data_length: ::Integer
179
+ ) -> _GenerateCardValidationDataResponseSuccess
180
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateCardValidationDataResponseSuccess
181
+
182
+ interface _GenerateMacResponseSuccess
183
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateMacOutput]
184
+ def key_arn: () -> ::String
185
+ def key_check_value: () -> ::String
186
+ def mac: () -> ::String
187
+ end
188
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#generate_mac-instance_method
189
+ def generate_mac: (
190
+ generation_attributes: {
191
+ algorithm: ("ISO9797_ALGORITHM1" | "ISO9797_ALGORITHM3" | "CMAC" | "HMAC_SHA224" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512")?,
192
+ dukpt_cmac: {
193
+ dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
194
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
195
+ key_serial_number: ::String
196
+ }?,
197
+ dukpt_iso_9797_algorithm_1: {
198
+ dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
199
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
200
+ key_serial_number: ::String
201
+ }?,
202
+ dukpt_iso_9797_algorithm_3: {
203
+ dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
204
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
205
+ key_serial_number: ::String
206
+ }?,
207
+ emv_mac: {
208
+ major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
209
+ pan_sequence_number: ::String,
210
+ primary_account_number: ::String,
211
+ session_key_derivation_mode: ("EMV_COMMON_SESSION_KEY" | "EMV2000" | "AMEX" | "MASTERCARD_SESSION_KEY" | "VISA"),
212
+ session_key_derivation_value: {
213
+ application_cryptogram: ::String?,
214
+ application_transaction_counter: ::String?
215
+ }
216
+ }?
217
+ },
218
+ key_identifier: ::String,
219
+ ?mac_length: ::Integer,
220
+ message_data: ::String
221
+ ) -> _GenerateMacResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateMacResponseSuccess
223
+
224
+ interface _GeneratePinDataResponseSuccess
225
+ include ::Seahorse::Client::_ResponseSuccess[Types::GeneratePinDataOutput]
226
+ def encrypted_pin_block: () -> ::String
227
+ def encryption_key_arn: () -> ::String
228
+ def encryption_key_check_value: () -> ::String
229
+ def generation_key_arn: () -> ::String
230
+ def generation_key_check_value: () -> ::String
231
+ def pin_data: () -> Types::PinData
232
+ end
233
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#generate_pin_data-instance_method
234
+ def generate_pin_data: (
235
+ encryption_key_identifier: ::String,
236
+ generation_attributes: {
237
+ ibm_3624_natural_pin: {
238
+ decimalization_table: ::String,
239
+ pin_validation_data: ::String,
240
+ pin_validation_data_pad_character: ::String
241
+ }?,
242
+ ibm_3624_pin_from_offset: {
243
+ decimalization_table: ::String,
244
+ pin_offset: ::String,
245
+ pin_validation_data: ::String,
246
+ pin_validation_data_pad_character: ::String
247
+ }?,
248
+ ibm_3624_pin_offset: {
249
+ decimalization_table: ::String,
250
+ encrypted_pin_block: ::String,
251
+ pin_validation_data: ::String,
252
+ pin_validation_data_pad_character: ::String
253
+ }?,
254
+ ibm_3624_random_pin: {
255
+ decimalization_table: ::String,
256
+ pin_validation_data: ::String,
257
+ pin_validation_data_pad_character: ::String
258
+ }?,
259
+ visa_pin: {
260
+ pin_verification_key_index: ::Integer
261
+ }?,
262
+ visa_pin_verification_value: {
263
+ encrypted_pin_block: ::String,
264
+ pin_verification_key_index: ::Integer
265
+ }?
266
+ },
267
+ generation_key_identifier: ::String,
268
+ pin_block_format: ("ISO_FORMAT_0" | "ISO_FORMAT_3"),
269
+ ?pin_data_length: ::Integer,
270
+ primary_account_number: ::String
271
+ ) -> _GeneratePinDataResponseSuccess
272
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GeneratePinDataResponseSuccess
273
+
274
+ interface _ReEncryptDataResponseSuccess
275
+ include ::Seahorse::Client::_ResponseSuccess[Types::ReEncryptDataOutput]
276
+ def cipher_text: () -> ::String
277
+ def key_arn: () -> ::String
278
+ def key_check_value: () -> ::String
279
+ end
280
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#re_encrypt_data-instance_method
281
+ def re_encrypt_data: (
282
+ cipher_text: ::String,
283
+ incoming_encryption_attributes: {
284
+ dukpt: {
285
+ dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
286
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
287
+ initialization_vector: ::String?,
288
+ key_serial_number: ::String,
289
+ mode: ("ECB" | "CBC")?
290
+ }?,
291
+ symmetric: {
292
+ initialization_vector: ::String?,
293
+ mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
294
+ padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
295
+ }?
296
+ },
297
+ incoming_key_identifier: ::String,
298
+ outgoing_encryption_attributes: {
299
+ dukpt: {
300
+ dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
301
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
302
+ initialization_vector: ::String?,
303
+ key_serial_number: ::String,
304
+ mode: ("ECB" | "CBC")?
305
+ }?,
306
+ symmetric: {
307
+ initialization_vector: ::String?,
308
+ mode: ("ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"),
309
+ padding_type: ("PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512")?
310
+ }?
311
+ },
312
+ outgoing_key_identifier: ::String
313
+ ) -> _ReEncryptDataResponseSuccess
314
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ReEncryptDataResponseSuccess
315
+
316
+ interface _TranslatePinDataResponseSuccess
317
+ include ::Seahorse::Client::_ResponseSuccess[Types::TranslatePinDataOutput]
318
+ def key_arn: () -> ::String
319
+ def key_check_value: () -> ::String
320
+ def pin_block: () -> ::String
321
+ end
322
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#translate_pin_data-instance_method
323
+ def translate_pin_data: (
324
+ encrypted_pin_block: ::String,
325
+ ?incoming_dukpt_attributes: {
326
+ dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
327
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
328
+ key_serial_number: ::String
329
+ },
330
+ incoming_key_identifier: ::String,
331
+ incoming_translation_attributes: {
332
+ iso_format_0: {
333
+ primary_account_number: ::String
334
+ }?,
335
+ iso_format_1: {
336
+ }?,
337
+ iso_format_3: {
338
+ primary_account_number: ::String
339
+ }?,
340
+ iso_format_4: {
341
+ primary_account_number: ::String
342
+ }?
343
+ },
344
+ ?outgoing_dukpt_attributes: {
345
+ dukpt_key_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
346
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE")?,
347
+ key_serial_number: ::String
348
+ },
349
+ outgoing_key_identifier: ::String,
350
+ outgoing_translation_attributes: {
351
+ iso_format_0: {
352
+ primary_account_number: ::String
353
+ }?,
354
+ iso_format_1: {
355
+ }?,
356
+ iso_format_3: {
357
+ primary_account_number: ::String
358
+ }?,
359
+ iso_format_4: {
360
+ primary_account_number: ::String
361
+ }?
362
+ }
363
+ ) -> _TranslatePinDataResponseSuccess
364
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TranslatePinDataResponseSuccess
365
+
366
+ interface _VerifyAuthRequestCryptogramResponseSuccess
367
+ include ::Seahorse::Client::_ResponseSuccess[Types::VerifyAuthRequestCryptogramOutput]
368
+ def auth_response_value: () -> ::String
369
+ def key_arn: () -> ::String
370
+ def key_check_value: () -> ::String
371
+ end
372
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#verify_auth_request_cryptogram-instance_method
373
+ def verify_auth_request_cryptogram: (
374
+ auth_request_cryptogram: ::String,
375
+ ?auth_response_attributes: {
376
+ arpc_method_1: {
377
+ auth_response_code: ::String
378
+ }?,
379
+ arpc_method_2: {
380
+ card_status_update: ::String,
381
+ proprietary_authentication_data: ::String?
382
+ }?
383
+ },
384
+ key_identifier: ::String,
385
+ major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
386
+ session_key_derivation_attributes: {
387
+ amex: {
388
+ pan_sequence_number: ::String,
389
+ primary_account_number: ::String
390
+ }?,
391
+ emv_2000: {
392
+ application_transaction_counter: ::String,
393
+ pan_sequence_number: ::String,
394
+ primary_account_number: ::String
395
+ }?,
396
+ emv_common: {
397
+ application_transaction_counter: ::String,
398
+ pan_sequence_number: ::String,
399
+ primary_account_number: ::String
400
+ }?,
401
+ mastercard: {
402
+ application_transaction_counter: ::String,
403
+ pan_sequence_number: ::String,
404
+ primary_account_number: ::String,
405
+ unpredictable_number: ::String
406
+ }?,
407
+ visa: {
408
+ pan_sequence_number: ::String,
409
+ primary_account_number: ::String
410
+ }?
411
+ },
412
+ transaction_data: ::String
413
+ ) -> _VerifyAuthRequestCryptogramResponseSuccess
414
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyAuthRequestCryptogramResponseSuccess
415
+
416
+ interface _VerifyCardValidationDataResponseSuccess
417
+ include ::Seahorse::Client::_ResponseSuccess[Types::VerifyCardValidationDataOutput]
418
+ def key_arn: () -> ::String
419
+ def key_check_value: () -> ::String
420
+ end
421
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#verify_card_validation_data-instance_method
422
+ def verify_card_validation_data: (
423
+ key_identifier: ::String,
424
+ primary_account_number: ::String,
425
+ validation_data: ::String,
426
+ verification_attributes: {
427
+ amex_card_security_code_version_1: {
428
+ card_expiry_date: ::String
429
+ }?,
430
+ amex_card_security_code_version_2: {
431
+ card_expiry_date: ::String,
432
+ service_code: ::String
433
+ }?,
434
+ card_holder_verification_value: {
435
+ application_transaction_counter: ::String,
436
+ pan_sequence_number: ::String,
437
+ unpredictable_number: ::String
438
+ }?,
439
+ card_verification_value_1: {
440
+ card_expiry_date: ::String,
441
+ service_code: ::String
442
+ }?,
443
+ card_verification_value_2: {
444
+ card_expiry_date: ::String
445
+ }?,
446
+ discover_dynamic_card_verification_code: {
447
+ application_transaction_counter: ::String,
448
+ card_expiry_date: ::String,
449
+ unpredictable_number: ::String
450
+ }?,
451
+ dynamic_card_verification_code: {
452
+ application_transaction_counter: ::String,
453
+ pan_sequence_number: ::String,
454
+ track_data: ::String,
455
+ unpredictable_number: ::String
456
+ }?,
457
+ dynamic_card_verification_value: {
458
+ application_transaction_counter: ::String,
459
+ card_expiry_date: ::String,
460
+ pan_sequence_number: ::String,
461
+ service_code: ::String
462
+ }?
463
+ }
464
+ ) -> _VerifyCardValidationDataResponseSuccess
465
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyCardValidationDataResponseSuccess
466
+
467
+ interface _VerifyMacResponseSuccess
468
+ include ::Seahorse::Client::_ResponseSuccess[Types::VerifyMacOutput]
469
+ def key_arn: () -> ::String
470
+ def key_check_value: () -> ::String
471
+ end
472
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#verify_mac-instance_method
473
+ def verify_mac: (
474
+ key_identifier: ::String,
475
+ mac: ::String,
476
+ ?mac_length: ::Integer,
477
+ message_data: ::String,
478
+ verification_attributes: {
479
+ algorithm: ("ISO9797_ALGORITHM1" | "ISO9797_ALGORITHM3" | "CMAC" | "HMAC_SHA224" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512")?,
480
+ dukpt_cmac: {
481
+ dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
482
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
483
+ key_serial_number: ::String
484
+ }?,
485
+ dukpt_iso_9797_algorithm_1: {
486
+ dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
487
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
488
+ key_serial_number: ::String
489
+ }?,
490
+ dukpt_iso_9797_algorithm_3: {
491
+ dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256")?,
492
+ dukpt_key_variant: ("BIDIRECTIONAL" | "REQUEST" | "RESPONSE"),
493
+ key_serial_number: ::String
494
+ }?,
495
+ emv_mac: {
496
+ major_key_derivation_mode: ("EMV_OPTION_A" | "EMV_OPTION_B"),
497
+ pan_sequence_number: ::String,
498
+ primary_account_number: ::String,
499
+ session_key_derivation_mode: ("EMV_COMMON_SESSION_KEY" | "EMV2000" | "AMEX" | "MASTERCARD_SESSION_KEY" | "VISA"),
500
+ session_key_derivation_value: {
501
+ application_cryptogram: ::String?,
502
+ application_transaction_counter: ::String?
503
+ }
504
+ }?
505
+ }
506
+ ) -> _VerifyMacResponseSuccess
507
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyMacResponseSuccess
508
+
509
+ interface _VerifyPinDataResponseSuccess
510
+ include ::Seahorse::Client::_ResponseSuccess[Types::VerifyPinDataOutput]
511
+ def encryption_key_arn: () -> ::String
512
+ def encryption_key_check_value: () -> ::String
513
+ def verification_key_arn: () -> ::String
514
+ def verification_key_check_value: () -> ::String
515
+ end
516
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptographyData/Client.html#verify_pin_data-instance_method
517
+ def verify_pin_data: (
518
+ ?dukpt_attributes: {
519
+ dukpt_derivation_type: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256"),
520
+ key_serial_number: ::String
521
+ },
522
+ encrypted_pin_block: ::String,
523
+ encryption_key_identifier: ::String,
524
+ pin_block_format: ("ISO_FORMAT_0" | "ISO_FORMAT_3"),
525
+ ?pin_data_length: ::Integer,
526
+ primary_account_number: ::String,
527
+ verification_attributes: {
528
+ ibm_3624_pin: {
529
+ decimalization_table: ::String,
530
+ pin_offset: ::String,
531
+ pin_validation_data: ::String,
532
+ pin_validation_data_pad_character: ::String
533
+ }?,
534
+ visa_pin: {
535
+ pin_verification_key_index: ::Integer,
536
+ verification_value: ::String
537
+ }?
538
+ },
539
+ verification_key_identifier: ::String
540
+ ) -> _VerifyPinDataResponseSuccess
541
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyPinDataResponseSuccess
542
+ end
543
+ end
544
+ end
545
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,36 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PaymentCryptographyData
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InternalServerException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
21
+ def resource_id: () -> ::String
22
+ end
23
+ class ThrottlingException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ValidationException < ::Aws::Errors::ServiceError
27
+ def field_list: () -> ::String
28
+ def message: () -> ::String
29
+ end
30
+ class VerificationFailedException < ::Aws::Errors::ServiceError
31
+ def message: () -> ::String
32
+ def reason: () -> ::String
33
+ end
34
+ end
35
+ end
36
+ end