aws-sdk-paymentcryptography 1.41.0 → 1.42.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.
@@ -483,6 +483,107 @@ module Aws::PaymentCryptography
483
483
 
484
484
  # @!group API Operations
485
485
 
486
+ # Adds replication Amazon Web Services Regions to an existing Amazon Web
487
+ # Services Payment Cryptography key, enabling the key to be used for
488
+ # cryptographic operations in additional Amazon Web Services Regions.
489
+ #
490
+ # Multi-region keys allow you to use the same key material across
491
+ # multiple Amazon Web Services Regions, providing lower latency for
492
+ # applications distributed across regions. When you add Replication
493
+ # Regions, Amazon Web Services Payment Cryptography securely replicates
494
+ # the key material to the specified Amazon Web Services Regions.
495
+ #
496
+ # The key must be in an active state to add Replication Regions. You can
497
+ # add multiple regions in a single operation, and the key will be
498
+ # available for use in those regions once replication is complete.
499
+ #
500
+ # **Cross-account use:** This operation can't be used across different
501
+ # Amazon Web Services accounts.
502
+ #
503
+ # **Related operations:**
504
+ #
505
+ # * [RemoveKeyReplicationRegions][1]
506
+ #
507
+ # * [EnableDefaultKeyReplicationRegions][2]
508
+ #
509
+ # * [GetDefaultKeyReplicationRegions][3]
510
+ #
511
+ #
512
+ #
513
+ # [1]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_RemoveKeyReplicationRegions.html
514
+ # [2]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_EnableDefaultKeyReplicationRegions.html
515
+ # [3]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetDefaultKeyReplicationRegions.html
516
+ #
517
+ # @option params [required, String] :key_identifier
518
+ # The key identifier (ARN or alias) of the key for which to add
519
+ # replication regions.
520
+ #
521
+ # This key must exist and be in a valid state for replication
522
+ # operations.
523
+ #
524
+ # @option params [required, Array<String>] :replication_regions
525
+ # The list of Amazon Web Services Regions to add to the key's
526
+ # replication configuration.
527
+ #
528
+ # Each region must be a valid Amazon Web Services Region where Amazon
529
+ # Web Services Payment Cryptography is available. The key will be
530
+ # replicated to these regions, allowing cryptographic operations to be
531
+ # performed closer to your applications.
532
+ #
533
+ # @return [Types::AddKeyReplicationRegionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
534
+ #
535
+ # * {Types::AddKeyReplicationRegionsOutput#key #key} => Types::Key
536
+ #
537
+ # @example Request syntax with placeholder values
538
+ #
539
+ # resp = client.add_key_replication_regions({
540
+ # key_identifier: "KeyArnOrKeyAliasType", # required
541
+ # replication_regions: ["Region"], # required
542
+ # })
543
+ #
544
+ # @example Response structure
545
+ #
546
+ # resp.key.key_arn #=> String
547
+ # resp.key.key_attributes.key_usage #=> String, one of "TR31_B0_BASE_DERIVATION_KEY", "TR31_C0_CARD_VERIFICATION_KEY", "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION", "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", "TR31_E1_EMV_MKEY_CONFIDENTIALITY", "TR31_E2_EMV_MKEY_INTEGRITY", "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", "TR31_E6_EMV_MKEY_OTHER", "TR31_K0_KEY_ENCRYPTION_KEY", "TR31_K1_KEY_BLOCK_PROTECTION_KEY", "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT", "TR31_M3_ISO_9797_3_MAC_KEY", "TR31_M1_ISO_9797_1_MAC_KEY", "TR31_M6_ISO_9797_5_CMAC_KEY", "TR31_M7_HMAC_KEY", "TR31_P0_PIN_ENCRYPTION_KEY", "TR31_P1_PIN_GENERATION_KEY", "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE", "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", "TR31_V2_VISA_PIN_VERIFICATION_KEY", "TR31_K2_TR34_ASYMMETRIC_KEY"
548
+ # resp.key.key_attributes.key_class #=> String, one of "SYMMETRIC_KEY", "ASYMMETRIC_KEY_PAIR", "PRIVATE_KEY", "PUBLIC_KEY"
549
+ # resp.key.key_attributes.key_algorithm #=> String, one of "TDES_2KEY", "TDES_3KEY", "AES_128", "AES_192", "AES_256", "HMAC_SHA256", "HMAC_SHA384", "HMAC_SHA512", "HMAC_SHA224", "RSA_2048", "RSA_3072", "RSA_4096", "ECC_NIST_P256", "ECC_NIST_P384", "ECC_NIST_P521"
550
+ # resp.key.key_attributes.key_modes_of_use.encrypt #=> Boolean
551
+ # resp.key.key_attributes.key_modes_of_use.decrypt #=> Boolean
552
+ # resp.key.key_attributes.key_modes_of_use.wrap #=> Boolean
553
+ # resp.key.key_attributes.key_modes_of_use.unwrap #=> Boolean
554
+ # resp.key.key_attributes.key_modes_of_use.generate #=> Boolean
555
+ # resp.key.key_attributes.key_modes_of_use.sign #=> Boolean
556
+ # resp.key.key_attributes.key_modes_of_use.verify #=> Boolean
557
+ # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
558
+ # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
559
+ # resp.key.key_check_value #=> String
560
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
561
+ # resp.key.enabled #=> Boolean
562
+ # resp.key.exportable #=> Boolean
563
+ # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
564
+ # resp.key.key_origin #=> String, one of "EXTERNAL", "AWS_PAYMENT_CRYPTOGRAPHY"
565
+ # resp.key.create_timestamp #=> Time
566
+ # resp.key.usage_start_timestamp #=> Time
567
+ # resp.key.usage_stop_timestamp #=> Time
568
+ # resp.key.delete_pending_timestamp #=> Time
569
+ # resp.key.delete_timestamp #=> Time
570
+ # resp.key.derive_key_usage #=> String, one of "TR31_B0_BASE_DERIVATION_KEY", "TR31_C0_CARD_VERIFICATION_KEY", "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", "TR31_E1_EMV_MKEY_CONFIDENTIALITY", "TR31_E2_EMV_MKEY_INTEGRITY", "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", "TR31_E6_EMV_MKEY_OTHER", "TR31_K0_KEY_ENCRYPTION_KEY", "TR31_K1_KEY_BLOCK_PROTECTION_KEY", "TR31_M3_ISO_9797_3_MAC_KEY", "TR31_M1_ISO_9797_1_MAC_KEY", "TR31_M6_ISO_9797_5_CMAC_KEY", "TR31_M7_HMAC_KEY", "TR31_P0_PIN_ENCRYPTION_KEY", "TR31_P1_PIN_GENERATION_KEY", "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", "TR31_V2_VISA_PIN_VERIFICATION_KEY"
571
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
572
+ # resp.key.primary_region #=> String
573
+ # resp.key.replication_status #=> Hash
574
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
575
+ # resp.key.replication_status["Region"].status_message #=> String
576
+ # resp.key.using_default_replication_regions #=> Boolean
577
+ #
578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/AddKeyReplicationRegions AWS API Documentation
579
+ #
580
+ # @overload add_key_replication_regions(params = {})
581
+ # @param [Hash] params ({})
582
+ def add_key_replication_regions(params = {}, options = {})
583
+ req = build_request(:add_key_replication_regions, params)
584
+ req.send_request(options)
585
+ end
586
+
486
587
  # Creates an *alias*, or a friendly name, for an Amazon Web Services
487
588
  # Payment Cryptography key. You can use an alias to identify a key in
488
589
  # the console and when you call cryptographic operations such as
@@ -677,6 +778,14 @@ module Aws::PaymentCryptography
677
778
  # After creating an ECC key pair, you cannot change the intended
678
779
  # cryptographic usage of keys derived from it using ECDH.
679
780
  #
781
+ # @option params [Array<String>] :replication_regions
782
+ # A list of Amazon Web Services Regions for key replication operations.
783
+ #
784
+ # Each region in the list must be a valid Amazon Web Services Region
785
+ # identifier where Amazon Web Services Payment Cryptography is
786
+ # available. This list is used to specify which regions should be added
787
+ # to or removed from a key's replication configuration.
788
+ #
680
789
  # @return [Types::CreateKeyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
681
790
  #
682
791
  # * {Types::CreateKeyOutput#key #key} => Types::Key
@@ -700,7 +809,7 @@ module Aws::PaymentCryptography
700
809
  # no_restrictions: false,
701
810
  # },
702
811
  # },
703
- # key_check_value_algorithm: "CMAC", # accepts CMAC, ANSI_X9_24, HMAC
812
+ # key_check_value_algorithm: "CMAC", # accepts CMAC, ANSI_X9_24, HMAC, SHA_1
704
813
  # exportable: false, # required
705
814
  # enabled: false,
706
815
  # tags: [
@@ -710,6 +819,7 @@ module Aws::PaymentCryptography
710
819
  # },
711
820
  # ],
712
821
  # derive_key_usage: "TR31_B0_BASE_DERIVATION_KEY", # accepts TR31_B0_BASE_DERIVATION_KEY, TR31_C0_CARD_VERIFICATION_KEY, TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY, TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS, TR31_E1_EMV_MKEY_CONFIDENTIALITY, TR31_E2_EMV_MKEY_INTEGRITY, TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS, TR31_E5_EMV_MKEY_CARD_PERSONALIZATION, TR31_E6_EMV_MKEY_OTHER, TR31_K0_KEY_ENCRYPTION_KEY, TR31_K1_KEY_BLOCK_PROTECTION_KEY, TR31_M3_ISO_9797_3_MAC_KEY, TR31_M1_ISO_9797_1_MAC_KEY, TR31_M6_ISO_9797_5_CMAC_KEY, TR31_M7_HMAC_KEY, TR31_P0_PIN_ENCRYPTION_KEY, TR31_P1_PIN_GENERATION_KEY, TR31_V1_IBM3624_PIN_VERIFICATION_KEY, TR31_V2_VISA_PIN_VERIFICATION_KEY
822
+ # replication_regions: ["Region"],
713
823
  # })
714
824
  #
715
825
  # @example Response structure
@@ -728,7 +838,7 @@ module Aws::PaymentCryptography
728
838
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
729
839
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
730
840
  # resp.key.key_check_value #=> String
731
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
841
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
732
842
  # resp.key.enabled #=> Boolean
733
843
  # resp.key.exportable #=> Boolean
734
844
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -739,6 +849,12 @@ module Aws::PaymentCryptography
739
849
  # resp.key.delete_pending_timestamp #=> Time
740
850
  # resp.key.delete_timestamp #=> Time
741
851
  # resp.key.derive_key_usage #=> String, one of "TR31_B0_BASE_DERIVATION_KEY", "TR31_C0_CARD_VERIFICATION_KEY", "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", "TR31_E1_EMV_MKEY_CONFIDENTIALITY", "TR31_E2_EMV_MKEY_INTEGRITY", "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", "TR31_E6_EMV_MKEY_OTHER", "TR31_K0_KEY_ENCRYPTION_KEY", "TR31_K1_KEY_BLOCK_PROTECTION_KEY", "TR31_M3_ISO_9797_3_MAC_KEY", "TR31_M1_ISO_9797_1_MAC_KEY", "TR31_M6_ISO_9797_5_CMAC_KEY", "TR31_M7_HMAC_KEY", "TR31_P0_PIN_ENCRYPTION_KEY", "TR31_P1_PIN_GENERATION_KEY", "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", "TR31_V2_VISA_PIN_VERIFICATION_KEY"
852
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
853
+ # resp.key.primary_region #=> String
854
+ # resp.key.replication_status #=> Hash
855
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
856
+ # resp.key.replication_status["Region"].status_message #=> String
857
+ # resp.key.using_default_replication_regions #=> Boolean
742
858
  #
743
859
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/CreateKey AWS API Documentation
744
860
  #
@@ -871,7 +987,7 @@ module Aws::PaymentCryptography
871
987
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
872
988
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
873
989
  # resp.key.key_check_value #=> String
874
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
990
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
875
991
  # resp.key.enabled #=> Boolean
876
992
  # resp.key.exportable #=> Boolean
877
993
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -882,6 +998,12 @@ module Aws::PaymentCryptography
882
998
  # resp.key.delete_pending_timestamp #=> Time
883
999
  # resp.key.delete_timestamp #=> Time
884
1000
  # resp.key.derive_key_usage #=> String, one of "TR31_B0_BASE_DERIVATION_KEY", "TR31_C0_CARD_VERIFICATION_KEY", "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", "TR31_E1_EMV_MKEY_CONFIDENTIALITY", "TR31_E2_EMV_MKEY_INTEGRITY", "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", "TR31_E6_EMV_MKEY_OTHER", "TR31_K0_KEY_ENCRYPTION_KEY", "TR31_K1_KEY_BLOCK_PROTECTION_KEY", "TR31_M3_ISO_9797_3_MAC_KEY", "TR31_M1_ISO_9797_1_MAC_KEY", "TR31_M6_ISO_9797_5_CMAC_KEY", "TR31_M7_HMAC_KEY", "TR31_P0_PIN_ENCRYPTION_KEY", "TR31_P1_PIN_GENERATION_KEY", "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", "TR31_V2_VISA_PIN_VERIFICATION_KEY"
1001
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
1002
+ # resp.key.primary_region #=> String
1003
+ # resp.key.replication_status #=> Hash
1004
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
1005
+ # resp.key.replication_status["Region"].status_message #=> String
1006
+ # resp.key.using_default_replication_regions #=> Boolean
885
1007
  #
886
1008
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/DeleteKey AWS API Documentation
887
1009
  #
@@ -892,6 +1014,122 @@ module Aws::PaymentCryptography
892
1014
  req.send_request(options)
893
1015
  end
894
1016
 
1017
+ # Disables multi-region key replication settings for the specified
1018
+ # Amazon Web Services Regions in your account, preventing new keys from
1019
+ # being automatically replicated to those regions.
1020
+ #
1021
+ # After disabling default replication for specific regions, new keys
1022
+ # created in your account will not be automatically replicated to those
1023
+ # regions. You can still manually add replication to those regions for
1024
+ # individual keys using the AddKeyReplicationRegions operation.
1025
+ #
1026
+ # This operation does not affect existing keys or their current
1027
+ # replication configuration.
1028
+ #
1029
+ # **Cross-account use:** This operation can't be used across different
1030
+ # Amazon Web Services accounts.
1031
+ #
1032
+ # **Related operations:**
1033
+ #
1034
+ # * [EnableDefaultKeyReplicationRegions][1]
1035
+ #
1036
+ # * [GetDefaultKeyReplicationRegions][2]
1037
+ #
1038
+ #
1039
+ #
1040
+ # [1]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_EnableDefaultKeyReplicationRegions.html
1041
+ # [2]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetDefaultKeyReplicationRegions.html
1042
+ #
1043
+ # @option params [required, Array<String>] :replication_regions
1044
+ # The list of Amazon Web Services Regions to remove from the account's
1045
+ # default replication regions.
1046
+ #
1047
+ # New keys created after this operation will not automatically be
1048
+ # replicated to these regions, though existing keys with replication to
1049
+ # these regions will be unaffected.
1050
+ #
1051
+ # @return [Types::DisableDefaultKeyReplicationRegionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1052
+ #
1053
+ # * {Types::DisableDefaultKeyReplicationRegionsOutput#enabled_replication_regions #enabled_replication_regions} => Array&lt;String&gt;
1054
+ #
1055
+ # @example Request syntax with placeholder values
1056
+ #
1057
+ # resp = client.disable_default_key_replication_regions({
1058
+ # replication_regions: ["Region"], # required
1059
+ # })
1060
+ #
1061
+ # @example Response structure
1062
+ #
1063
+ # resp.enabled_replication_regions #=> Array
1064
+ # resp.enabled_replication_regions[0] #=> String
1065
+ #
1066
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/DisableDefaultKeyReplicationRegions AWS API Documentation
1067
+ #
1068
+ # @overload disable_default_key_replication_regions(params = {})
1069
+ # @param [Hash] params ({})
1070
+ def disable_default_key_replication_regions(params = {}, options = {})
1071
+ req = build_request(:disable_default_key_replication_regions, params)
1072
+ req.send_request(options)
1073
+ end
1074
+
1075
+ # Enables multi-region key replication settings for your account,
1076
+ # causing new keys to be automatically replicated to the specified
1077
+ # Amazon Web Services Regions when created.
1078
+ #
1079
+ # When default Replication Regions are enabled, any new keys created in
1080
+ # your account will automatically be replicated to these regions unless
1081
+ # you explicitly override this behavior during key creation. This
1082
+ # simplifies key management for applications that operate across
1083
+ # multiple regions.
1084
+ #
1085
+ # Existing keys are not affected by this operation - only keys created
1086
+ # after enabling default replication will be automatically replicated.
1087
+ #
1088
+ # **Cross-account use:** This operation can't be used across different
1089
+ # Amazon Web Services accounts.
1090
+ #
1091
+ # **Related operations:**
1092
+ #
1093
+ # * [DisableDefaultKeyReplicationRegions][1]
1094
+ #
1095
+ # * [GetDefaultKeyReplicationRegions][2]
1096
+ #
1097
+ #
1098
+ #
1099
+ # [1]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DisableDefaultKeyReplicationRegions.html
1100
+ # [2]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetDefaultKeyReplicationRegions.html
1101
+ #
1102
+ # @option params [required, Array<String>] :replication_regions
1103
+ # The list of Amazon Web Services Regions to enable as default
1104
+ # replication regions for the account.
1105
+ #
1106
+ # New keys created in this account will automatically be replicated to
1107
+ # these regions unless explicitly overridden during key creation.
1108
+ #
1109
+ # @return [Types::EnableDefaultKeyReplicationRegionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1110
+ #
1111
+ # * {Types::EnableDefaultKeyReplicationRegionsOutput#enabled_replication_regions #enabled_replication_regions} => Array&lt;String&gt;
1112
+ #
1113
+ # @example Request syntax with placeholder values
1114
+ #
1115
+ # resp = client.enable_default_key_replication_regions({
1116
+ # replication_regions: ["Region"], # required
1117
+ # })
1118
+ #
1119
+ # @example Response structure
1120
+ #
1121
+ # resp.enabled_replication_regions #=> Array
1122
+ # resp.enabled_replication_regions[0] #=> String
1123
+ #
1124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/EnableDefaultKeyReplicationRegions AWS API Documentation
1125
+ #
1126
+ # @overload enable_default_key_replication_regions(params = {})
1127
+ # @param [Hash] params ({})
1128
+ def enable_default_key_replication_regions(params = {}, options = {})
1129
+ req = build_request(:enable_default_key_replication_regions, params)
1130
+ req.send_request(options)
1131
+ end
1132
+
895
1133
  # Exports a key from Amazon Web Services Payment Cryptography.
896
1134
  #
897
1135
  # Amazon Web Services Payment Cryptography simplifies key exchange by
@@ -1209,7 +1447,7 @@ module Aws::PaymentCryptography
1209
1447
  # export_dukpt_initial_key: {
1210
1448
  # key_serial_number: "HexLength20Or24", # required
1211
1449
  # },
1212
- # key_check_value_algorithm: "CMAC", # accepts CMAC, ANSI_X9_24, HMAC
1450
+ # key_check_value_algorithm: "CMAC", # accepts CMAC, ANSI_X9_24, HMAC, SHA_1
1213
1451
  # },
1214
1452
  # })
1215
1453
  #
@@ -1219,7 +1457,7 @@ module Aws::PaymentCryptography
1219
1457
  # resp.wrapped_key.wrapped_key_material_format #=> String, one of "KEY_CRYPTOGRAM", "TR31_KEY_BLOCK", "TR34_KEY_BLOCK"
1220
1458
  # resp.wrapped_key.key_material #=> String
1221
1459
  # resp.wrapped_key.key_check_value #=> String
1222
- # resp.wrapped_key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
1460
+ # resp.wrapped_key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
1223
1461
  #
1224
1462
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/ExportKey AWS API Documentation
1225
1463
  #
@@ -1280,9 +1518,50 @@ module Aws::PaymentCryptography
1280
1518
  req.send_request(options)
1281
1519
  end
1282
1520
 
1283
- # Gets the key material for an Amazon Web Services Payment Cryptography
1284
- # key, including the immutable and mutable data specified when the key
1285
- # was created.
1521
+ # Retrieves the list of regions where default key replication is
1522
+ # currently enabled for your account.
1523
+ #
1524
+ # This operation returns the current configuration of default
1525
+ # Replication Regions. New keys created in your account will be
1526
+ # automatically replicated to these regions unless explicitly overridden
1527
+ # during key creation.
1528
+ #
1529
+ # **Cross-account use:** This operation can't be used across different
1530
+ # Amazon Web Services accounts.
1531
+ #
1532
+ # **Related operations:**
1533
+ #
1534
+ # * [EnableDefaultKeyReplicationRegions][1]
1535
+ #
1536
+ # * [DisableDefaultKeyReplicationRegions][2]
1537
+ #
1538
+ #
1539
+ #
1540
+ # [1]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_EnableDefaultKeyReplicationRegions.html
1541
+ # [2]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DisableDefaultKeyReplicationRegions.html
1542
+ #
1543
+ # @return [Types::GetDefaultKeyReplicationRegionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1544
+ #
1545
+ # * {Types::GetDefaultKeyReplicationRegionsOutput#enabled_replication_regions #enabled_replication_regions} => Array&lt;String&gt;
1546
+ #
1547
+ # @example Response structure
1548
+ #
1549
+ # resp.enabled_replication_regions #=> Array
1550
+ # resp.enabled_replication_regions[0] #=> String
1551
+ #
1552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetDefaultKeyReplicationRegions AWS API Documentation
1553
+ #
1554
+ # @overload get_default_key_replication_regions(params = {})
1555
+ # @param [Hash] params ({})
1556
+ def get_default_key_replication_regions(params = {}, options = {})
1557
+ req = build_request(:get_default_key_replication_regions, params)
1558
+ req.send_request(options)
1559
+ end
1560
+
1561
+ # Gets the key metadata for an Amazon Web Services Payment Cryptography
1562
+ # key, including the immutable and mutable attributes specified when the
1563
+ # key was created. Returns key metadata including attributes, state, and
1564
+ # timestamps, but does not return the actual cryptographic key material.
1286
1565
  #
1287
1566
  # **Cross-account use:** This operation can't be used across different
1288
1567
  # Amazon Web Services accounts.
@@ -1330,7 +1609,7 @@ module Aws::PaymentCryptography
1330
1609
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
1331
1610
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
1332
1611
  # resp.key.key_check_value #=> String
1333
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
1612
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
1334
1613
  # resp.key.enabled #=> Boolean
1335
1614
  # resp.key.exportable #=> Boolean
1336
1615
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -1341,6 +1620,12 @@ module Aws::PaymentCryptography
1341
1620
  # resp.key.delete_pending_timestamp #=> Time
1342
1621
  # resp.key.delete_timestamp #=> Time
1343
1622
  # resp.key.derive_key_usage #=> String, one of "TR31_B0_BASE_DERIVATION_KEY", "TR31_C0_CARD_VERIFICATION_KEY", "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", "TR31_E1_EMV_MKEY_CONFIDENTIALITY", "TR31_E2_EMV_MKEY_INTEGRITY", "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", "TR31_E6_EMV_MKEY_OTHER", "TR31_K0_KEY_ENCRYPTION_KEY", "TR31_K1_KEY_BLOCK_PROTECTION_KEY", "TR31_M3_ISO_9797_3_MAC_KEY", "TR31_M1_ISO_9797_1_MAC_KEY", "TR31_M6_ISO_9797_5_CMAC_KEY", "TR31_M7_HMAC_KEY", "TR31_P0_PIN_ENCRYPTION_KEY", "TR31_P1_PIN_GENERATION_KEY", "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", "TR31_V2_VISA_PIN_VERIFICATION_KEY"
1623
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
1624
+ # resp.key.primary_region #=> String
1625
+ # resp.key.replication_status #=> Hash
1626
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
1627
+ # resp.key.replication_status["Region"].status_message #=> String
1628
+ # resp.key.using_default_replication_regions #=> Boolean
1344
1629
  #
1345
1630
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetKey AWS API Documentation
1346
1631
  #
@@ -1784,6 +2069,14 @@ module Aws::PaymentCryptography
1784
2069
  #
1785
2070
  # [1]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_TagResource.html
1786
2071
  #
2072
+ # @option params [Array<String>] :replication_regions
2073
+ # A list of Amazon Web Services Regions for key replication operations.
2074
+ #
2075
+ # Each region in the list must be a valid Amazon Web Services Region
2076
+ # identifier where Amazon Web Services Payment Cryptography is
2077
+ # available. This list is used to specify which regions should be added
2078
+ # to or removed from a key's replication configuration.
2079
+ #
1787
2080
  # @return [Types::ImportKeyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1788
2081
  #
1789
2082
  # * {Types::ImportKeyOutput#key #key} => Types::Key
@@ -1878,7 +2171,7 @@ module Aws::PaymentCryptography
1878
2171
  # wrapped_key_block: "Tr31WrappedKeyBlock", # required
1879
2172
  # },
1880
2173
  # },
1881
- # key_check_value_algorithm: "CMAC", # accepts CMAC, ANSI_X9_24, HMAC
2174
+ # key_check_value_algorithm: "CMAC", # accepts CMAC, ANSI_X9_24, HMAC, SHA_1
1882
2175
  # enabled: false,
1883
2176
  # tags: [
1884
2177
  # {
@@ -1886,6 +2179,7 @@ module Aws::PaymentCryptography
1886
2179
  # value: "TagValue", # required
1887
2180
  # },
1888
2181
  # ],
2182
+ # replication_regions: ["Region"],
1889
2183
  # })
1890
2184
  #
1891
2185
  # @example Response structure
@@ -1904,7 +2198,7 @@ module Aws::PaymentCryptography
1904
2198
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
1905
2199
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
1906
2200
  # resp.key.key_check_value #=> String
1907
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
2201
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
1908
2202
  # resp.key.enabled #=> Boolean
1909
2203
  # resp.key.exportable #=> Boolean
1910
2204
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -1915,6 +2209,12 @@ module Aws::PaymentCryptography
1915
2209
  # resp.key.delete_pending_timestamp #=> Time
1916
2210
  # resp.key.delete_timestamp #=> Time
1917
2211
  # resp.key.derive_key_usage #=> String, one of "TR31_B0_BASE_DERIVATION_KEY", "TR31_C0_CARD_VERIFICATION_KEY", "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", "TR31_E1_EMV_MKEY_CONFIDENTIALITY", "TR31_E2_EMV_MKEY_INTEGRITY", "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", "TR31_E6_EMV_MKEY_OTHER", "TR31_K0_KEY_ENCRYPTION_KEY", "TR31_K1_KEY_BLOCK_PROTECTION_KEY", "TR31_M3_ISO_9797_3_MAC_KEY", "TR31_M1_ISO_9797_1_MAC_KEY", "TR31_M6_ISO_9797_5_CMAC_KEY", "TR31_M7_HMAC_KEY", "TR31_P0_PIN_ENCRYPTION_KEY", "TR31_P1_PIN_GENERATION_KEY", "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", "TR31_V2_VISA_PIN_VERIFICATION_KEY"
2212
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2213
+ # resp.key.primary_region #=> String
2214
+ # resp.key.replication_status #=> Hash
2215
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
2216
+ # resp.key.replication_status["Region"].status_message #=> String
2217
+ # resp.key.using_default_replication_regions #=> Boolean
1918
2218
  #
1919
2219
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/ImportKey AWS API Documentation
1920
2220
  #
@@ -2085,6 +2385,8 @@ module Aws::PaymentCryptography
2085
2385
  # resp.keys[0].key_check_value #=> String
2086
2386
  # resp.keys[0].exportable #=> Boolean
2087
2387
  # resp.keys[0].enabled #=> Boolean
2388
+ # resp.keys[0].multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2389
+ # resp.keys[0].primary_region #=> String
2088
2390
  # resp.next_token #=> String
2089
2391
  #
2090
2392
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/ListKeys AWS API Documentation
@@ -2167,6 +2469,102 @@ module Aws::PaymentCryptography
2167
2469
  req.send_request(options)
2168
2470
  end
2169
2471
 
2472
+ # Removes Replication Regions from an existing Amazon Web Services
2473
+ # Payment Cryptography key, disabling the key's availability for
2474
+ # cryptographic operations in the specified Amazon Web Services Regions.
2475
+ #
2476
+ # When you remove Replication Regions, the key material is securely
2477
+ # deleted from those regions and can no longer be used for cryptographic
2478
+ # operations there. This operation is irreversible for the specified
2479
+ # Amazon Web Services Regions.
2480
+ #
2481
+ # Ensure that no active cryptographic operations or applications depend
2482
+ # on the key in the regions you're removing before performing this
2483
+ # operation.
2484
+ #
2485
+ # **Cross-account use:** This operation can't be used across different
2486
+ # Amazon Web Services accounts.
2487
+ #
2488
+ # **Related operations:**
2489
+ #
2490
+ # * [AddKeyReplicationRegions][1]
2491
+ #
2492
+ # * [DisableDefaultKeyReplicationRegions][2]
2493
+ #
2494
+ #
2495
+ #
2496
+ # [1]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_AddKeyReplicationRegions.html
2497
+ # [2]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DisableDefaultKeyReplicationRegions.html
2498
+ #
2499
+ # @option params [required, String] :key_identifier
2500
+ # The key identifier (ARN or alias) of the key from which to remove
2501
+ # replication regions.
2502
+ #
2503
+ # This key must exist and have replication enabled in the specified
2504
+ # regions.
2505
+ #
2506
+ # @option params [required, Array<String>] :replication_regions
2507
+ # The list of Amazon Web Services Regions to remove from the key's
2508
+ # replication configuration.
2509
+ #
2510
+ # The key will no longer be available for cryptographic operations in
2511
+ # these regions after removal. Ensure no active operations depend on the
2512
+ # key in these regions before removal.
2513
+ #
2514
+ # @return [Types::RemoveKeyReplicationRegionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2515
+ #
2516
+ # * {Types::RemoveKeyReplicationRegionsOutput#key #key} => Types::Key
2517
+ #
2518
+ # @example Request syntax with placeholder values
2519
+ #
2520
+ # resp = client.remove_key_replication_regions({
2521
+ # key_identifier: "KeyArnOrKeyAliasType", # required
2522
+ # replication_regions: ["Region"], # required
2523
+ # })
2524
+ #
2525
+ # @example Response structure
2526
+ #
2527
+ # resp.key.key_arn #=> String
2528
+ # resp.key.key_attributes.key_usage #=> String, one of "TR31_B0_BASE_DERIVATION_KEY", "TR31_C0_CARD_VERIFICATION_KEY", "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION", "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", "TR31_E1_EMV_MKEY_CONFIDENTIALITY", "TR31_E2_EMV_MKEY_INTEGRITY", "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", "TR31_E6_EMV_MKEY_OTHER", "TR31_K0_KEY_ENCRYPTION_KEY", "TR31_K1_KEY_BLOCK_PROTECTION_KEY", "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT", "TR31_M3_ISO_9797_3_MAC_KEY", "TR31_M1_ISO_9797_1_MAC_KEY", "TR31_M6_ISO_9797_5_CMAC_KEY", "TR31_M7_HMAC_KEY", "TR31_P0_PIN_ENCRYPTION_KEY", "TR31_P1_PIN_GENERATION_KEY", "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE", "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", "TR31_V2_VISA_PIN_VERIFICATION_KEY", "TR31_K2_TR34_ASYMMETRIC_KEY"
2529
+ # resp.key.key_attributes.key_class #=> String, one of "SYMMETRIC_KEY", "ASYMMETRIC_KEY_PAIR", "PRIVATE_KEY", "PUBLIC_KEY"
2530
+ # resp.key.key_attributes.key_algorithm #=> String, one of "TDES_2KEY", "TDES_3KEY", "AES_128", "AES_192", "AES_256", "HMAC_SHA256", "HMAC_SHA384", "HMAC_SHA512", "HMAC_SHA224", "RSA_2048", "RSA_3072", "RSA_4096", "ECC_NIST_P256", "ECC_NIST_P384", "ECC_NIST_P521"
2531
+ # resp.key.key_attributes.key_modes_of_use.encrypt #=> Boolean
2532
+ # resp.key.key_attributes.key_modes_of_use.decrypt #=> Boolean
2533
+ # resp.key.key_attributes.key_modes_of_use.wrap #=> Boolean
2534
+ # resp.key.key_attributes.key_modes_of_use.unwrap #=> Boolean
2535
+ # resp.key.key_attributes.key_modes_of_use.generate #=> Boolean
2536
+ # resp.key.key_attributes.key_modes_of_use.sign #=> Boolean
2537
+ # resp.key.key_attributes.key_modes_of_use.verify #=> Boolean
2538
+ # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
2539
+ # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
2540
+ # resp.key.key_check_value #=> String
2541
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
2542
+ # resp.key.enabled #=> Boolean
2543
+ # resp.key.exportable #=> Boolean
2544
+ # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
2545
+ # resp.key.key_origin #=> String, one of "EXTERNAL", "AWS_PAYMENT_CRYPTOGRAPHY"
2546
+ # resp.key.create_timestamp #=> Time
2547
+ # resp.key.usage_start_timestamp #=> Time
2548
+ # resp.key.usage_stop_timestamp #=> Time
2549
+ # resp.key.delete_pending_timestamp #=> Time
2550
+ # resp.key.delete_timestamp #=> Time
2551
+ # resp.key.derive_key_usage #=> String, one of "TR31_B0_BASE_DERIVATION_KEY", "TR31_C0_CARD_VERIFICATION_KEY", "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", "TR31_E1_EMV_MKEY_CONFIDENTIALITY", "TR31_E2_EMV_MKEY_INTEGRITY", "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", "TR31_E6_EMV_MKEY_OTHER", "TR31_K0_KEY_ENCRYPTION_KEY", "TR31_K1_KEY_BLOCK_PROTECTION_KEY", "TR31_M3_ISO_9797_3_MAC_KEY", "TR31_M1_ISO_9797_1_MAC_KEY", "TR31_M6_ISO_9797_5_CMAC_KEY", "TR31_M7_HMAC_KEY", "TR31_P0_PIN_ENCRYPTION_KEY", "TR31_P1_PIN_GENERATION_KEY", "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", "TR31_V2_VISA_PIN_VERIFICATION_KEY"
2552
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2553
+ # resp.key.primary_region #=> String
2554
+ # resp.key.replication_status #=> Hash
2555
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
2556
+ # resp.key.replication_status["Region"].status_message #=> String
2557
+ # resp.key.using_default_replication_regions #=> Boolean
2558
+ #
2559
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/RemoveKeyReplicationRegions AWS API Documentation
2560
+ #
2561
+ # @overload remove_key_replication_regions(params = {})
2562
+ # @param [Hash] params ({})
2563
+ def remove_key_replication_regions(params = {}, options = {})
2564
+ req = build_request(:remove_key_replication_regions, params)
2565
+ req.send_request(options)
2566
+ end
2567
+
2170
2568
  # Cancels a scheduled key deletion during the waiting period. Use this
2171
2569
  # operation to restore a `Key` that is scheduled for deletion.
2172
2570
  #
@@ -2223,7 +2621,7 @@ module Aws::PaymentCryptography
2223
2621
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
2224
2622
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
2225
2623
  # resp.key.key_check_value #=> String
2226
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
2624
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
2227
2625
  # resp.key.enabled #=> Boolean
2228
2626
  # resp.key.exportable #=> Boolean
2229
2627
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -2234,6 +2632,12 @@ module Aws::PaymentCryptography
2234
2632
  # resp.key.delete_pending_timestamp #=> Time
2235
2633
  # resp.key.delete_timestamp #=> Time
2236
2634
  # resp.key.derive_key_usage #=> String, one of "TR31_B0_BASE_DERIVATION_KEY", "TR31_C0_CARD_VERIFICATION_KEY", "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", "TR31_E1_EMV_MKEY_CONFIDENTIALITY", "TR31_E2_EMV_MKEY_INTEGRITY", "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", "TR31_E6_EMV_MKEY_OTHER", "TR31_K0_KEY_ENCRYPTION_KEY", "TR31_K1_KEY_BLOCK_PROTECTION_KEY", "TR31_M3_ISO_9797_3_MAC_KEY", "TR31_M1_ISO_9797_1_MAC_KEY", "TR31_M6_ISO_9797_5_CMAC_KEY", "TR31_M7_HMAC_KEY", "TR31_P0_PIN_ENCRYPTION_KEY", "TR31_P1_PIN_GENERATION_KEY", "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", "TR31_V2_VISA_PIN_VERIFICATION_KEY"
2635
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2636
+ # resp.key.primary_region #=> String
2637
+ # resp.key.replication_status #=> Hash
2638
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
2639
+ # resp.key.replication_status["Region"].status_message #=> String
2640
+ # resp.key.using_default_replication_regions #=> Boolean
2237
2641
  #
2238
2642
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/RestoreKey AWS API Documentation
2239
2643
  #
@@ -2290,7 +2694,7 @@ module Aws::PaymentCryptography
2290
2694
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
2291
2695
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
2292
2696
  # resp.key.key_check_value #=> String
2293
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
2697
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
2294
2698
  # resp.key.enabled #=> Boolean
2295
2699
  # resp.key.exportable #=> Boolean
2296
2700
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -2301,6 +2705,12 @@ module Aws::PaymentCryptography
2301
2705
  # resp.key.delete_pending_timestamp #=> Time
2302
2706
  # resp.key.delete_timestamp #=> Time
2303
2707
  # resp.key.derive_key_usage #=> String, one of "TR31_B0_BASE_DERIVATION_KEY", "TR31_C0_CARD_VERIFICATION_KEY", "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", "TR31_E1_EMV_MKEY_CONFIDENTIALITY", "TR31_E2_EMV_MKEY_INTEGRITY", "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", "TR31_E6_EMV_MKEY_OTHER", "TR31_K0_KEY_ENCRYPTION_KEY", "TR31_K1_KEY_BLOCK_PROTECTION_KEY", "TR31_M3_ISO_9797_3_MAC_KEY", "TR31_M1_ISO_9797_1_MAC_KEY", "TR31_M6_ISO_9797_5_CMAC_KEY", "TR31_M7_HMAC_KEY", "TR31_P0_PIN_ENCRYPTION_KEY", "TR31_P1_PIN_GENERATION_KEY", "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", "TR31_V2_VISA_PIN_VERIFICATION_KEY"
2708
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2709
+ # resp.key.primary_region #=> String
2710
+ # resp.key.replication_status #=> Hash
2711
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
2712
+ # resp.key.replication_status["Region"].status_message #=> String
2713
+ # resp.key.using_default_replication_regions #=> Boolean
2304
2714
  #
2305
2715
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/StartKeyUsage AWS API Documentation
2306
2716
  #
@@ -2361,7 +2771,7 @@ module Aws::PaymentCryptography
2361
2771
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
2362
2772
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
2363
2773
  # resp.key.key_check_value #=> String
2364
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
2774
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
2365
2775
  # resp.key.enabled #=> Boolean
2366
2776
  # resp.key.exportable #=> Boolean
2367
2777
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -2372,6 +2782,12 @@ module Aws::PaymentCryptography
2372
2782
  # resp.key.delete_pending_timestamp #=> Time
2373
2783
  # resp.key.delete_timestamp #=> Time
2374
2784
  # resp.key.derive_key_usage #=> String, one of "TR31_B0_BASE_DERIVATION_KEY", "TR31_C0_CARD_VERIFICATION_KEY", "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", "TR31_E1_EMV_MKEY_CONFIDENTIALITY", "TR31_E2_EMV_MKEY_INTEGRITY", "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", "TR31_E6_EMV_MKEY_OTHER", "TR31_K0_KEY_ENCRYPTION_KEY", "TR31_K1_KEY_BLOCK_PROTECTION_KEY", "TR31_M3_ISO_9797_3_MAC_KEY", "TR31_M1_ISO_9797_1_MAC_KEY", "TR31_M6_ISO_9797_5_CMAC_KEY", "TR31_M7_HMAC_KEY", "TR31_P0_PIN_ENCRYPTION_KEY", "TR31_P1_PIN_GENERATION_KEY", "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", "TR31_V2_VISA_PIN_VERIFICATION_KEY"
2785
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2786
+ # resp.key.primary_region #=> String
2787
+ # resp.key.replication_status #=> Hash
2788
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
2789
+ # resp.key.replication_status["Region"].status_message #=> String
2790
+ # resp.key.using_default_replication_regions #=> Boolean
2375
2791
  #
2376
2792
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/StopKeyUsage AWS API Documentation
2377
2793
  #
@@ -2591,7 +3007,7 @@ module Aws::PaymentCryptography
2591
3007
  tracer: tracer
2592
3008
  )
2593
3009
  context[:gem_name] = 'aws-sdk-paymentcryptography'
2594
- context[:gem_version] = '1.41.0'
3010
+ context[:gem_version] = '1.42.0'
2595
3011
  Seahorse::Client::Request.new(handlers, context)
2596
3012
  end
2597
3013