aws-sdk-paymentcryptographydata 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-paymentcryptographydata/client.rb +97 -80
- data/lib/aws-sdk-paymentcryptographydata/client_api.rb +86 -81
- data/lib/aws-sdk-paymentcryptographydata/types.rb +26 -26
- data/lib/aws-sdk-paymentcryptographydata.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +26 -26
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52b28d5f9185c747c2c9da7e12cb29036daf256dbdfc96f4ee235c5120ecc018
|
4
|
+
data.tar.gz: bd9ea4f66884d9d293520c381910e7b2a905929d2560a0457788baeef31e400f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 581285633550e6c246f9c32dbc5c000aeacc86730cbaf53b3a8be49678e95e36e0b62b8ea57010b9b34a5b2f406565a5bc54ff9f842eb9a8846f41281f2dd4a7
|
7
|
+
data.tar.gz: 50c6aee2669043b7ac0614913119038cc1445b207d557375874764c304a64f57fa321322d4f68992b901717f66f13db70e975b8a329889698602a0e44b8157ea
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.18.0 (2024-07-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added further restrictions on logging of potentially sensitive inputs and outputs.
|
13
|
+
|
4
14
|
1.17.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::PaymentCryptographyData
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::PaymentCryptographyData::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::PaymentCryptographyData
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -503,11 +515,11 @@ module Aws::PaymentCryptographyData
|
|
503
515
|
#
|
504
516
|
# resp = client.decrypt_data({
|
505
517
|
# key_identifier: "KeyArnOrKeyAliasType", # required
|
506
|
-
# cipher_text: "
|
518
|
+
# cipher_text: "CipherTextType", # required
|
507
519
|
# decryption_attributes: { # required
|
508
520
|
# symmetric: {
|
509
521
|
# mode: "ECB", # required, accepts ECB, CBC, CFB, CFB1, CFB8, CFB64, CFB128, OFB
|
510
|
-
# initialization_vector: "
|
522
|
+
# initialization_vector: "InitializationVectorType",
|
511
523
|
# padding_type: "PKCS1", # accepts PKCS1, OAEP_SHA1, OAEP_SHA256, OAEP_SHA512
|
512
524
|
# },
|
513
525
|
# asymmetric: {
|
@@ -518,15 +530,15 @@ module Aws::PaymentCryptographyData
|
|
518
530
|
# mode: "ECB", # accepts ECB, CBC
|
519
531
|
# dukpt_key_derivation_type: "TDES_2KEY", # accepts TDES_2KEY, TDES_3KEY, AES_128, AES_192, AES_256
|
520
532
|
# dukpt_key_variant: "BIDIRECTIONAL", # accepts BIDIRECTIONAL, REQUEST, RESPONSE
|
521
|
-
# initialization_vector: "
|
533
|
+
# initialization_vector: "InitializationVectorType",
|
522
534
|
# },
|
523
535
|
# emv: {
|
524
536
|
# major_key_derivation_mode: "EMV_OPTION_A", # required, accepts EMV_OPTION_A, EMV_OPTION_B
|
525
|
-
# primary_account_number: "
|
537
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
526
538
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
527
|
-
# session_derivation_data: "
|
539
|
+
# session_derivation_data: "SessionDerivationDataType", # required
|
528
540
|
# mode: "ECB", # accepts ECB, CBC
|
529
|
-
# initialization_vector: "
|
541
|
+
# initialization_vector: "InitializationVectorType",
|
530
542
|
# },
|
531
543
|
# },
|
532
544
|
# wrapped_key: {
|
@@ -649,11 +661,11 @@ module Aws::PaymentCryptographyData
|
|
649
661
|
#
|
650
662
|
# resp = client.encrypt_data({
|
651
663
|
# key_identifier: "KeyArnOrKeyAliasType", # required
|
652
|
-
# plain_text: "
|
664
|
+
# plain_text: "PlainTextType", # required
|
653
665
|
# encryption_attributes: { # required
|
654
666
|
# symmetric: {
|
655
667
|
# mode: "ECB", # required, accepts ECB, CBC, CFB, CFB1, CFB8, CFB64, CFB128, OFB
|
656
|
-
# initialization_vector: "
|
668
|
+
# initialization_vector: "InitializationVectorType",
|
657
669
|
# padding_type: "PKCS1", # accepts PKCS1, OAEP_SHA1, OAEP_SHA256, OAEP_SHA512
|
658
670
|
# },
|
659
671
|
# asymmetric: {
|
@@ -664,15 +676,15 @@ module Aws::PaymentCryptographyData
|
|
664
676
|
# mode: "ECB", # accepts ECB, CBC
|
665
677
|
# dukpt_key_derivation_type: "TDES_2KEY", # accepts TDES_2KEY, TDES_3KEY, AES_128, AES_192, AES_256
|
666
678
|
# dukpt_key_variant: "BIDIRECTIONAL", # accepts BIDIRECTIONAL, REQUEST, RESPONSE
|
667
|
-
# initialization_vector: "
|
679
|
+
# initialization_vector: "InitializationVectorType",
|
668
680
|
# },
|
669
681
|
# emv: {
|
670
682
|
# major_key_derivation_mode: "EMV_OPTION_A", # required, accepts EMV_OPTION_A, EMV_OPTION_B
|
671
|
-
# primary_account_number: "
|
683
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
672
684
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
673
|
-
# session_derivation_data: "
|
685
|
+
# session_derivation_data: "SessionDerivationDataType", # required
|
674
686
|
# mode: "ECB", # accepts ECB, CBC
|
675
|
-
# initialization_vector: "
|
687
|
+
# initialization_vector: "InitializationVectorType",
|
676
688
|
# },
|
677
689
|
# },
|
678
690
|
# wrapped_key: {
|
@@ -762,21 +774,21 @@ module Aws::PaymentCryptographyData
|
|
762
774
|
#
|
763
775
|
# resp = client.generate_card_validation_data({
|
764
776
|
# key_identifier: "KeyArnOrKeyAliasType", # required
|
765
|
-
# primary_account_number: "
|
777
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
766
778
|
# generation_attributes: { # required
|
767
779
|
# amex_card_security_code_version_1: {
|
768
|
-
# card_expiry_date: "
|
780
|
+
# card_expiry_date: "CardExpiryDateType", # required
|
769
781
|
# },
|
770
782
|
# amex_card_security_code_version_2: {
|
771
|
-
# card_expiry_date: "
|
772
|
-
# service_code: "
|
783
|
+
# card_expiry_date: "CardExpiryDateType", # required
|
784
|
+
# service_code: "ServiceCodeType", # required
|
773
785
|
# },
|
774
786
|
# card_verification_value_1: {
|
775
|
-
# card_expiry_date: "
|
776
|
-
# service_code: "
|
787
|
+
# card_expiry_date: "CardExpiryDateType", # required
|
788
|
+
# service_code: "ServiceCodeType", # required
|
777
789
|
# },
|
778
790
|
# card_verification_value_2: {
|
779
|
-
# card_expiry_date: "
|
791
|
+
# card_expiry_date: "CardExpiryDateType", # required
|
780
792
|
# },
|
781
793
|
# card_holder_verification_value: {
|
782
794
|
# unpredictable_number: "HexLengthBetween2And8", # required
|
@@ -787,12 +799,12 @@ module Aws::PaymentCryptographyData
|
|
787
799
|
# unpredictable_number: "HexLengthBetween2And8", # required
|
788
800
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
789
801
|
# application_transaction_counter: "HexLengthBetween2And4", # required
|
790
|
-
# track_data: "
|
802
|
+
# track_data: "TrackDataType", # required
|
791
803
|
# },
|
792
804
|
# dynamic_card_verification_value: {
|
793
805
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
794
|
-
# card_expiry_date: "
|
795
|
-
# service_code: "
|
806
|
+
# card_expiry_date: "CardExpiryDateType", # required
|
807
|
+
# service_code: "ServiceCodeType", # required
|
796
808
|
# application_transaction_counter: "HexLengthBetween2And4", # required
|
797
809
|
# },
|
798
810
|
# },
|
@@ -874,16 +886,16 @@ module Aws::PaymentCryptographyData
|
|
874
886
|
#
|
875
887
|
# resp = client.generate_mac({
|
876
888
|
# key_identifier: "KeyArnOrKeyAliasType", # required
|
877
|
-
# message_data: "
|
889
|
+
# message_data: "MessageDataType", # required
|
878
890
|
# generation_attributes: { # required
|
879
891
|
# algorithm: "ISO9797_ALGORITHM1", # accepts ISO9797_ALGORITHM1, ISO9797_ALGORITHM3, CMAC, HMAC_SHA224, HMAC_SHA256, HMAC_SHA384, HMAC_SHA512
|
880
892
|
# emv_mac: {
|
881
893
|
# major_key_derivation_mode: "EMV_OPTION_A", # required, accepts EMV_OPTION_A, EMV_OPTION_B
|
882
|
-
# primary_account_number: "
|
894
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
883
895
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
884
896
|
# session_key_derivation_mode: "EMV_COMMON_SESSION_KEY", # required, accepts EMV_COMMON_SESSION_KEY, EMV2000, AMEX, MASTERCARD_SESSION_KEY, VISA
|
885
897
|
# session_key_derivation_value: { # required
|
886
|
-
# application_cryptogram: "
|
898
|
+
# application_cryptogram: "ApplicationCryptogramType",
|
887
899
|
# application_transaction_counter: "HexLengthBetween2And4",
|
888
900
|
# },
|
889
901
|
# },
|
@@ -1006,34 +1018,34 @@ module Aws::PaymentCryptographyData
|
|
1006
1018
|
# pin_verification_key_index: 1, # required
|
1007
1019
|
# },
|
1008
1020
|
# visa_pin_verification_value: {
|
1009
|
-
# encrypted_pin_block: "
|
1021
|
+
# encrypted_pin_block: "EncryptedPinBlockType", # required
|
1010
1022
|
# pin_verification_key_index: 1, # required
|
1011
1023
|
# },
|
1012
1024
|
# ibm_3624_pin_offset: {
|
1013
|
-
# encrypted_pin_block: "
|
1014
|
-
# decimalization_table: "
|
1025
|
+
# encrypted_pin_block: "EncryptedPinBlockType", # required
|
1026
|
+
# decimalization_table: "DecimalizationTableType", # required
|
1015
1027
|
# pin_validation_data_pad_character: "HexLengthEquals1", # required
|
1016
|
-
# pin_validation_data: "
|
1028
|
+
# pin_validation_data: "PinValidationDataType", # required
|
1017
1029
|
# },
|
1018
1030
|
# ibm_3624_natural_pin: {
|
1019
|
-
# decimalization_table: "
|
1031
|
+
# decimalization_table: "DecimalizationTableType", # required
|
1020
1032
|
# pin_validation_data_pad_character: "HexLengthEquals1", # required
|
1021
|
-
# pin_validation_data: "
|
1033
|
+
# pin_validation_data: "PinValidationDataType", # required
|
1022
1034
|
# },
|
1023
1035
|
# ibm_3624_random_pin: {
|
1024
|
-
# decimalization_table: "
|
1036
|
+
# decimalization_table: "DecimalizationTableType", # required
|
1025
1037
|
# pin_validation_data_pad_character: "HexLengthEquals1", # required
|
1026
|
-
# pin_validation_data: "
|
1038
|
+
# pin_validation_data: "PinValidationDataType", # required
|
1027
1039
|
# },
|
1028
1040
|
# ibm_3624_pin_from_offset: {
|
1029
|
-
# decimalization_table: "
|
1041
|
+
# decimalization_table: "DecimalizationTableType", # required
|
1030
1042
|
# pin_validation_data_pad_character: "HexLengthEquals1", # required
|
1031
|
-
# pin_validation_data: "
|
1032
|
-
# pin_offset: "
|
1043
|
+
# pin_validation_data: "PinValidationDataType", # required
|
1044
|
+
# pin_offset: "PinOffsetType", # required
|
1033
1045
|
# },
|
1034
1046
|
# },
|
1035
1047
|
# pin_data_length: 1,
|
1036
|
-
# primary_account_number: "
|
1048
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1037
1049
|
# pin_block_format: "ISO_FORMAT_0", # required, accepts ISO_FORMAT_0, ISO_FORMAT_3
|
1038
1050
|
# })
|
1039
1051
|
#
|
@@ -1138,11 +1150,11 @@ module Aws::PaymentCryptographyData
|
|
1138
1150
|
# resp = client.re_encrypt_data({
|
1139
1151
|
# incoming_key_identifier: "KeyArnOrKeyAliasType", # required
|
1140
1152
|
# outgoing_key_identifier: "KeyArnOrKeyAliasType", # required
|
1141
|
-
# cipher_text: "
|
1153
|
+
# cipher_text: "CipherTextType", # required
|
1142
1154
|
# incoming_encryption_attributes: { # required
|
1143
1155
|
# symmetric: {
|
1144
1156
|
# mode: "ECB", # required, accepts ECB, CBC, CFB, CFB1, CFB8, CFB64, CFB128, OFB
|
1145
|
-
# initialization_vector: "
|
1157
|
+
# initialization_vector: "InitializationVectorType",
|
1146
1158
|
# padding_type: "PKCS1", # accepts PKCS1, OAEP_SHA1, OAEP_SHA256, OAEP_SHA512
|
1147
1159
|
# },
|
1148
1160
|
# dukpt: {
|
@@ -1150,13 +1162,13 @@ module Aws::PaymentCryptographyData
|
|
1150
1162
|
# mode: "ECB", # accepts ECB, CBC
|
1151
1163
|
# dukpt_key_derivation_type: "TDES_2KEY", # accepts TDES_2KEY, TDES_3KEY, AES_128, AES_192, AES_256
|
1152
1164
|
# dukpt_key_variant: "BIDIRECTIONAL", # accepts BIDIRECTIONAL, REQUEST, RESPONSE
|
1153
|
-
# initialization_vector: "
|
1165
|
+
# initialization_vector: "InitializationVectorType",
|
1154
1166
|
# },
|
1155
1167
|
# },
|
1156
1168
|
# outgoing_encryption_attributes: { # required
|
1157
1169
|
# symmetric: {
|
1158
1170
|
# mode: "ECB", # required, accepts ECB, CBC, CFB, CFB1, CFB8, CFB64, CFB128, OFB
|
1159
|
-
# initialization_vector: "
|
1171
|
+
# initialization_vector: "InitializationVectorType",
|
1160
1172
|
# padding_type: "PKCS1", # accepts PKCS1, OAEP_SHA1, OAEP_SHA256, OAEP_SHA512
|
1161
1173
|
# },
|
1162
1174
|
# dukpt: {
|
@@ -1164,7 +1176,7 @@ module Aws::PaymentCryptographyData
|
|
1164
1176
|
# mode: "ECB", # accepts ECB, CBC
|
1165
1177
|
# dukpt_key_derivation_type: "TDES_2KEY", # accepts TDES_2KEY, TDES_3KEY, AES_128, AES_192, AES_256
|
1166
1178
|
# dukpt_key_variant: "BIDIRECTIONAL", # accepts BIDIRECTIONAL, REQUEST, RESPONSE
|
1167
|
-
# initialization_vector: "
|
1179
|
+
# initialization_vector: "InitializationVectorType",
|
1168
1180
|
# },
|
1169
1181
|
# },
|
1170
1182
|
# incoming_wrapped_key: {
|
@@ -1295,28 +1307,28 @@ module Aws::PaymentCryptographyData
|
|
1295
1307
|
# outgoing_key_identifier: "KeyArnOrKeyAliasType", # required
|
1296
1308
|
# incoming_translation_attributes: { # required
|
1297
1309
|
# iso_format_0: {
|
1298
|
-
# primary_account_number: "
|
1310
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1299
1311
|
# },
|
1300
1312
|
# iso_format_1: {
|
1301
1313
|
# },
|
1302
1314
|
# iso_format_3: {
|
1303
|
-
# primary_account_number: "
|
1315
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1304
1316
|
# },
|
1305
1317
|
# iso_format_4: {
|
1306
|
-
# primary_account_number: "
|
1318
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1307
1319
|
# },
|
1308
1320
|
# },
|
1309
1321
|
# outgoing_translation_attributes: { # required
|
1310
1322
|
# iso_format_0: {
|
1311
|
-
# primary_account_number: "
|
1323
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1312
1324
|
# },
|
1313
1325
|
# iso_format_1: {
|
1314
1326
|
# },
|
1315
1327
|
# iso_format_3: {
|
1316
|
-
# primary_account_number: "
|
1328
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1317
1329
|
# },
|
1318
1330
|
# iso_format_4: {
|
1319
|
-
# primary_account_number: "
|
1331
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1320
1332
|
# },
|
1321
1333
|
# },
|
1322
1334
|
# encrypted_pin_block: "HexEvenLengthBetween16And32", # required
|
@@ -1439,32 +1451,32 @@ module Aws::PaymentCryptographyData
|
|
1439
1451
|
#
|
1440
1452
|
# resp = client.verify_auth_request_cryptogram({
|
1441
1453
|
# key_identifier: "KeyArnOrKeyAliasType", # required
|
1442
|
-
# transaction_data: "
|
1443
|
-
# auth_request_cryptogram: "
|
1454
|
+
# transaction_data: "TransactionDataType", # required
|
1455
|
+
# auth_request_cryptogram: "AuthRequestCryptogramType", # required
|
1444
1456
|
# major_key_derivation_mode: "EMV_OPTION_A", # required, accepts EMV_OPTION_A, EMV_OPTION_B
|
1445
1457
|
# session_key_derivation_attributes: { # required
|
1446
1458
|
# emv_common: {
|
1447
|
-
# primary_account_number: "
|
1459
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1448
1460
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
1449
1461
|
# application_transaction_counter: "HexLengthBetween2And4", # required
|
1450
1462
|
# },
|
1451
1463
|
# mastercard: {
|
1452
|
-
# primary_account_number: "
|
1464
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1453
1465
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
1454
1466
|
# application_transaction_counter: "HexLengthBetween2And4", # required
|
1455
1467
|
# unpredictable_number: "HexLengthBetween2And8", # required
|
1456
1468
|
# },
|
1457
1469
|
# emv_2000: {
|
1458
|
-
# primary_account_number: "
|
1470
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1459
1471
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
1460
1472
|
# application_transaction_counter: "HexLengthBetween2And4", # required
|
1461
1473
|
# },
|
1462
1474
|
# amex: {
|
1463
|
-
# primary_account_number: "
|
1475
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1464
1476
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
1465
1477
|
# },
|
1466
1478
|
# visa: {
|
1467
|
-
# primary_account_number: "
|
1479
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1468
1480
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
1469
1481
|
# },
|
1470
1482
|
# },
|
@@ -1474,7 +1486,7 @@ module Aws::PaymentCryptographyData
|
|
1474
1486
|
# },
|
1475
1487
|
# arpc_method_2: {
|
1476
1488
|
# card_status_update: "HexLengthEquals8", # required
|
1477
|
-
# proprietary_authentication_data: "
|
1489
|
+
# proprietary_authentication_data: "ProprietaryAuthenticationDataType",
|
1478
1490
|
# },
|
1479
1491
|
# },
|
1480
1492
|
# })
|
@@ -1558,21 +1570,21 @@ module Aws::PaymentCryptographyData
|
|
1558
1570
|
#
|
1559
1571
|
# resp = client.verify_card_validation_data({
|
1560
1572
|
# key_identifier: "KeyArnOrKeyAliasType", # required
|
1561
|
-
# primary_account_number: "
|
1573
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1562
1574
|
# verification_attributes: { # required
|
1563
1575
|
# amex_card_security_code_version_1: {
|
1564
|
-
# card_expiry_date: "
|
1576
|
+
# card_expiry_date: "CardExpiryDateType", # required
|
1565
1577
|
# },
|
1566
1578
|
# amex_card_security_code_version_2: {
|
1567
|
-
# card_expiry_date: "
|
1568
|
-
# service_code: "
|
1579
|
+
# card_expiry_date: "CardExpiryDateType", # required
|
1580
|
+
# service_code: "ServiceCodeType", # required
|
1569
1581
|
# },
|
1570
1582
|
# card_verification_value_1: {
|
1571
|
-
# card_expiry_date: "
|
1572
|
-
# service_code: "
|
1583
|
+
# card_expiry_date: "CardExpiryDateType", # required
|
1584
|
+
# service_code: "ServiceCodeType", # required
|
1573
1585
|
# },
|
1574
1586
|
# card_verification_value_2: {
|
1575
|
-
# card_expiry_date: "
|
1587
|
+
# card_expiry_date: "CardExpiryDateType", # required
|
1576
1588
|
# },
|
1577
1589
|
# card_holder_verification_value: {
|
1578
1590
|
# unpredictable_number: "HexLengthBetween2And8", # required
|
@@ -1583,21 +1595,21 @@ module Aws::PaymentCryptographyData
|
|
1583
1595
|
# unpredictable_number: "HexLengthBetween2And8", # required
|
1584
1596
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
1585
1597
|
# application_transaction_counter: "HexLengthBetween2And4", # required
|
1586
|
-
# track_data: "
|
1598
|
+
# track_data: "TrackDataType", # required
|
1587
1599
|
# },
|
1588
1600
|
# dynamic_card_verification_value: {
|
1589
1601
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
1590
|
-
# card_expiry_date: "
|
1591
|
-
# service_code: "
|
1602
|
+
# card_expiry_date: "CardExpiryDateType", # required
|
1603
|
+
# service_code: "ServiceCodeType", # required
|
1592
1604
|
# application_transaction_counter: "HexLengthBetween2And4", # required
|
1593
1605
|
# },
|
1594
1606
|
# discover_dynamic_card_verification_code: {
|
1595
|
-
# card_expiry_date: "
|
1607
|
+
# card_expiry_date: "CardExpiryDateType", # required
|
1596
1608
|
# unpredictable_number: "HexLengthBetween2And8", # required
|
1597
1609
|
# application_transaction_counter: "HexLengthBetween2And4", # required
|
1598
1610
|
# },
|
1599
1611
|
# },
|
1600
|
-
# validation_data: "
|
1612
|
+
# validation_data: "ValidationDataType", # required
|
1601
1613
|
# })
|
1602
1614
|
#
|
1603
1615
|
# @example Response structure
|
@@ -1669,17 +1681,17 @@ module Aws::PaymentCryptographyData
|
|
1669
1681
|
#
|
1670
1682
|
# resp = client.verify_mac({
|
1671
1683
|
# key_identifier: "KeyArnOrKeyAliasType", # required
|
1672
|
-
# message_data: "
|
1673
|
-
# mac: "
|
1684
|
+
# message_data: "MessageDataType", # required
|
1685
|
+
# mac: "MacType", # required
|
1674
1686
|
# verification_attributes: { # required
|
1675
1687
|
# algorithm: "ISO9797_ALGORITHM1", # accepts ISO9797_ALGORITHM1, ISO9797_ALGORITHM3, CMAC, HMAC_SHA224, HMAC_SHA256, HMAC_SHA384, HMAC_SHA512
|
1676
1688
|
# emv_mac: {
|
1677
1689
|
# major_key_derivation_mode: "EMV_OPTION_A", # required, accepts EMV_OPTION_A, EMV_OPTION_B
|
1678
|
-
# primary_account_number: "
|
1690
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1679
1691
|
# pan_sequence_number: "NumberLengthEquals2", # required
|
1680
1692
|
# session_key_derivation_mode: "EMV_COMMON_SESSION_KEY", # required, accepts EMV_COMMON_SESSION_KEY, EMV2000, AMEX, MASTERCARD_SESSION_KEY, VISA
|
1681
1693
|
# session_key_derivation_value: { # required
|
1682
|
-
# application_cryptogram: "
|
1694
|
+
# application_cryptogram: "ApplicationCryptogramType",
|
1683
1695
|
# application_transaction_counter: "HexLengthBetween2And4",
|
1684
1696
|
# },
|
1685
1697
|
# },
|
@@ -1799,17 +1811,17 @@ module Aws::PaymentCryptographyData
|
|
1799
1811
|
# verification_attributes: { # required
|
1800
1812
|
# visa_pin: {
|
1801
1813
|
# pin_verification_key_index: 1, # required
|
1802
|
-
# verification_value: "
|
1814
|
+
# verification_value: "VerificationValueType", # required
|
1803
1815
|
# },
|
1804
1816
|
# ibm_3624_pin: {
|
1805
|
-
# decimalization_table: "
|
1817
|
+
# decimalization_table: "DecimalizationTableType", # required
|
1806
1818
|
# pin_validation_data_pad_character: "HexLengthEquals1", # required
|
1807
|
-
# pin_validation_data: "
|
1808
|
-
# pin_offset: "
|
1819
|
+
# pin_validation_data: "PinValidationDataType", # required
|
1820
|
+
# pin_offset: "PinOffsetType", # required
|
1809
1821
|
# },
|
1810
1822
|
# },
|
1811
|
-
# encrypted_pin_block: "
|
1812
|
-
# primary_account_number: "
|
1823
|
+
# encrypted_pin_block: "EncryptedPinBlockType", # required
|
1824
|
+
# primary_account_number: "PrimaryAccountNumberType", # required
|
1813
1825
|
# pin_block_format: "ISO_FORMAT_0", # required, accepts ISO_FORMAT_0, ISO_FORMAT_3
|
1814
1826
|
# pin_data_length: 1,
|
1815
1827
|
# dukpt_attributes: {
|
@@ -1840,14 +1852,19 @@ module Aws::PaymentCryptographyData
|
|
1840
1852
|
# @api private
|
1841
1853
|
def build_request(operation_name, params = {})
|
1842
1854
|
handlers = @handlers.for(operation_name)
|
1855
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
1856
|
+
Aws::Telemetry.module_to_tracer_name('Aws::PaymentCryptographyData')
|
1857
|
+
)
|
1843
1858
|
context = Seahorse::Client::RequestContext.new(
|
1844
1859
|
operation_name: operation_name,
|
1845
1860
|
operation: config.api.operation(operation_name),
|
1846
1861
|
client: self,
|
1847
1862
|
params: params,
|
1848
|
-
config: config
|
1863
|
+
config: config,
|
1864
|
+
tracer: tracer
|
1865
|
+
)
|
1849
1866
|
context[:gem_name] = 'aws-sdk-paymentcryptographydata'
|
1850
|
-
context[:gem_version] = '1.
|
1867
|
+
context[:gem_version] = '1.19.0'
|
1851
1868
|
Seahorse::Client::Request.new(handlers, context)
|
1852
1869
|
end
|
1853
1870
|
|