aws-sdk-paymentcryptography 1.41.0 → 1.43.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
@@ -1147,7 +1385,9 @@ module Aws::PaymentCryptography
1147
1385
  # tr_34_key_block: {
1148
1386
  # certificate_authority_public_key_identifier: "KeyArnOrKeyAliasType", # required
1149
1387
  # wrapping_key_certificate: "CertificateType", # required
1150
- # export_token: "ExportTokenId", # required
1388
+ # export_token: "ExportTokenId",
1389
+ # signing_key_identifier: "KeyArnOrKeyAliasType",
1390
+ # signing_key_certificate: "CertificateType",
1151
1391
  # key_block_format: "X9_TR34_2012", # required, accepts X9_TR34_2012
1152
1392
  # random_nonce: "EvenHexLengthBetween16And32",
1153
1393
  # key_block_headers: {
@@ -1209,7 +1449,7 @@ module Aws::PaymentCryptography
1209
1449
  # export_dukpt_initial_key: {
1210
1450
  # key_serial_number: "HexLength20Or24", # required
1211
1451
  # },
1212
- # key_check_value_algorithm: "CMAC", # accepts CMAC, ANSI_X9_24, HMAC
1452
+ # key_check_value_algorithm: "CMAC", # accepts CMAC, ANSI_X9_24, HMAC, SHA_1
1213
1453
  # },
1214
1454
  # })
1215
1455
  #
@@ -1219,7 +1459,7 @@ module Aws::PaymentCryptography
1219
1459
  # resp.wrapped_key.wrapped_key_material_format #=> String, one of "KEY_CRYPTOGRAM", "TR31_KEY_BLOCK", "TR34_KEY_BLOCK"
1220
1460
  # resp.wrapped_key.key_material #=> String
1221
1461
  # resp.wrapped_key.key_check_value #=> String
1222
- # resp.wrapped_key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
1462
+ # resp.wrapped_key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
1223
1463
  #
1224
1464
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/ExportKey AWS API Documentation
1225
1465
  #
@@ -1280,9 +1520,94 @@ module Aws::PaymentCryptography
1280
1520
  req.send_request(options)
1281
1521
  end
1282
1522
 
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.
1523
+ # Used to retrieve the public key for a keypair.
1524
+ #
1525
+ # @option params [required, String] :key_identifier
1526
+ # Asymmetric key used for generating the certificate signing request
1527
+ #
1528
+ # @option params [required, String] :signing_algorithm
1529
+ # Algorithm used to generate the certificate signing request
1530
+ #
1531
+ # @option params [required, Types::CertificateSubjectType] :certificate_subject
1532
+ # Certificate subject data
1533
+ #
1534
+ # @return [Types::GetCertificateSigningRequestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1535
+ #
1536
+ # * {Types::GetCertificateSigningRequestOutput#certificate_signing_request #certificate_signing_request} => String
1537
+ #
1538
+ # @example Request syntax with placeholder values
1539
+ #
1540
+ # resp = client.get_certificate_signing_request({
1541
+ # key_identifier: "KeyArnOrKeyAliasType", # required
1542
+ # signing_algorithm: "SHA224", # required, accepts SHA224, SHA256, SHA384, SHA512
1543
+ # certificate_subject: { # required
1544
+ # common_name: "CertificateSubjectTypeCommonNameString", # required
1545
+ # organization_unit: "CertificateSubjectTypeOrganizationUnitString",
1546
+ # organization: "CertificateSubjectTypeOrganizationString",
1547
+ # city: "CertificateSubjectTypeCityString",
1548
+ # country: "CertificateSubjectTypeCountryString",
1549
+ # state_or_province: "CertificateSubjectTypeStateOrProvinceString",
1550
+ # email_address: "CertificateSubjectTypeEmailAddressString",
1551
+ # },
1552
+ # })
1553
+ #
1554
+ # @example Response structure
1555
+ #
1556
+ # resp.certificate_signing_request #=> String
1557
+ #
1558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetCertificateSigningRequest AWS API Documentation
1559
+ #
1560
+ # @overload get_certificate_signing_request(params = {})
1561
+ # @param [Hash] params ({})
1562
+ def get_certificate_signing_request(params = {}, options = {})
1563
+ req = build_request(:get_certificate_signing_request, params)
1564
+ req.send_request(options)
1565
+ end
1566
+
1567
+ # Retrieves the list of regions where default key replication is
1568
+ # currently enabled for your account.
1569
+ #
1570
+ # This operation returns the current configuration of default
1571
+ # Replication Regions. New keys created in your account will be
1572
+ # automatically replicated to these regions unless explicitly overridden
1573
+ # during key creation.
1574
+ #
1575
+ # **Cross-account use:** This operation can't be used across different
1576
+ # Amazon Web Services accounts.
1577
+ #
1578
+ # **Related operations:**
1579
+ #
1580
+ # * [EnableDefaultKeyReplicationRegions][1]
1581
+ #
1582
+ # * [DisableDefaultKeyReplicationRegions][2]
1583
+ #
1584
+ #
1585
+ #
1586
+ # [1]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_EnableDefaultKeyReplicationRegions.html
1587
+ # [2]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DisableDefaultKeyReplicationRegions.html
1588
+ #
1589
+ # @return [Types::GetDefaultKeyReplicationRegionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1590
+ #
1591
+ # * {Types::GetDefaultKeyReplicationRegionsOutput#enabled_replication_regions #enabled_replication_regions} => Array&lt;String&gt;
1592
+ #
1593
+ # @example Response structure
1594
+ #
1595
+ # resp.enabled_replication_regions #=> Array
1596
+ # resp.enabled_replication_regions[0] #=> String
1597
+ #
1598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetDefaultKeyReplicationRegions AWS API Documentation
1599
+ #
1600
+ # @overload get_default_key_replication_regions(params = {})
1601
+ # @param [Hash] params ({})
1602
+ def get_default_key_replication_regions(params = {}, options = {})
1603
+ req = build_request(:get_default_key_replication_regions, params)
1604
+ req.send_request(options)
1605
+ end
1606
+
1607
+ # Gets the key metadata for an Amazon Web Services Payment Cryptography
1608
+ # key, including the immutable and mutable attributes specified when the
1609
+ # key was created. Returns key metadata including attributes, state, and
1610
+ # timestamps, but does not return the actual cryptographic key material.
1286
1611
  #
1287
1612
  # **Cross-account use:** This operation can't be used across different
1288
1613
  # Amazon Web Services accounts.
@@ -1330,7 +1655,7 @@ module Aws::PaymentCryptography
1330
1655
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
1331
1656
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
1332
1657
  # resp.key.key_check_value #=> String
1333
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
1658
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
1334
1659
  # resp.key.enabled #=> Boolean
1335
1660
  # resp.key.exportable #=> Boolean
1336
1661
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -1341,6 +1666,12 @@ module Aws::PaymentCryptography
1341
1666
  # resp.key.delete_pending_timestamp #=> Time
1342
1667
  # resp.key.delete_timestamp #=> Time
1343
1668
  # 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"
1669
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
1670
+ # resp.key.primary_region #=> String
1671
+ # resp.key.replication_status #=> Hash
1672
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
1673
+ # resp.key.replication_status["Region"].status_message #=> String
1674
+ # resp.key.using_default_replication_regions #=> Boolean
1344
1675
  #
1345
1676
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetKey AWS API Documentation
1346
1677
  #
@@ -1784,6 +2115,14 @@ module Aws::PaymentCryptography
1784
2115
  #
1785
2116
  # [1]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_TagResource.html
1786
2117
  #
2118
+ # @option params [Array<String>] :replication_regions
2119
+ # A list of Amazon Web Services Regions for key replication operations.
2120
+ #
2121
+ # Each region in the list must be a valid Amazon Web Services Region
2122
+ # identifier where Amazon Web Services Payment Cryptography is
2123
+ # available. This list is used to specify which regions should be added
2124
+ # to or removed from a key's replication configuration.
2125
+ #
1787
2126
  # @return [Types::ImportKeyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1788
2127
  #
1789
2128
  # * {Types::ImportKeyOutput#key #key} => Types::Key
@@ -1838,7 +2177,9 @@ module Aws::PaymentCryptography
1838
2177
  # tr_34_key_block: {
1839
2178
  # certificate_authority_public_key_identifier: "KeyArnOrKeyAliasType", # required
1840
2179
  # signing_key_certificate: "CertificateType", # required
1841
- # import_token: "ImportTokenId", # required
2180
+ # import_token: "ImportTokenId",
2181
+ # wrapping_key_identifier: "KeyArnOrKeyAliasType",
2182
+ # wrapping_key_certificate: "CertificateType",
1842
2183
  # wrapped_key_block: "Tr34WrappedKeyBlock", # required
1843
2184
  # key_block_format: "X9_TR34_2012", # required, accepts X9_TR34_2012
1844
2185
  # random_nonce: "EvenHexLengthBetween16And32",
@@ -1878,7 +2219,7 @@ module Aws::PaymentCryptography
1878
2219
  # wrapped_key_block: "Tr31WrappedKeyBlock", # required
1879
2220
  # },
1880
2221
  # },
1881
- # key_check_value_algorithm: "CMAC", # accepts CMAC, ANSI_X9_24, HMAC
2222
+ # key_check_value_algorithm: "CMAC", # accepts CMAC, ANSI_X9_24, HMAC, SHA_1
1882
2223
  # enabled: false,
1883
2224
  # tags: [
1884
2225
  # {
@@ -1886,6 +2227,7 @@ module Aws::PaymentCryptography
1886
2227
  # value: "TagValue", # required
1887
2228
  # },
1888
2229
  # ],
2230
+ # replication_regions: ["Region"],
1889
2231
  # })
1890
2232
  #
1891
2233
  # @example Response structure
@@ -1904,7 +2246,7 @@ module Aws::PaymentCryptography
1904
2246
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
1905
2247
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
1906
2248
  # resp.key.key_check_value #=> String
1907
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
2249
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
1908
2250
  # resp.key.enabled #=> Boolean
1909
2251
  # resp.key.exportable #=> Boolean
1910
2252
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -1915,6 +2257,12 @@ module Aws::PaymentCryptography
1915
2257
  # resp.key.delete_pending_timestamp #=> Time
1916
2258
  # resp.key.delete_timestamp #=> Time
1917
2259
  # 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"
2260
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2261
+ # resp.key.primary_region #=> String
2262
+ # resp.key.replication_status #=> Hash
2263
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
2264
+ # resp.key.replication_status["Region"].status_message #=> String
2265
+ # resp.key.using_default_replication_regions #=> Boolean
1918
2266
  #
1919
2267
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/ImportKey AWS API Documentation
1920
2268
  #
@@ -2085,6 +2433,8 @@ module Aws::PaymentCryptography
2085
2433
  # resp.keys[0].key_check_value #=> String
2086
2434
  # resp.keys[0].exportable #=> Boolean
2087
2435
  # resp.keys[0].enabled #=> Boolean
2436
+ # resp.keys[0].multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2437
+ # resp.keys[0].primary_region #=> String
2088
2438
  # resp.next_token #=> String
2089
2439
  #
2090
2440
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/ListKeys AWS API Documentation
@@ -2167,6 +2517,102 @@ module Aws::PaymentCryptography
2167
2517
  req.send_request(options)
2168
2518
  end
2169
2519
 
2520
+ # Removes Replication Regions from an existing Amazon Web Services
2521
+ # Payment Cryptography key, disabling the key's availability for
2522
+ # cryptographic operations in the specified Amazon Web Services Regions.
2523
+ #
2524
+ # When you remove Replication Regions, the key material is securely
2525
+ # deleted from those regions and can no longer be used for cryptographic
2526
+ # operations there. This operation is irreversible for the specified
2527
+ # Amazon Web Services Regions.
2528
+ #
2529
+ # Ensure that no active cryptographic operations or applications depend
2530
+ # on the key in the regions you're removing before performing this
2531
+ # operation.
2532
+ #
2533
+ # **Cross-account use:** This operation can't be used across different
2534
+ # Amazon Web Services accounts.
2535
+ #
2536
+ # **Related operations:**
2537
+ #
2538
+ # * [AddKeyReplicationRegions][1]
2539
+ #
2540
+ # * [DisableDefaultKeyReplicationRegions][2]
2541
+ #
2542
+ #
2543
+ #
2544
+ # [1]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_AddKeyReplicationRegions.html
2545
+ # [2]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DisableDefaultKeyReplicationRegions.html
2546
+ #
2547
+ # @option params [required, String] :key_identifier
2548
+ # The key identifier (ARN or alias) of the key from which to remove
2549
+ # replication regions.
2550
+ #
2551
+ # This key must exist and have replication enabled in the specified
2552
+ # regions.
2553
+ #
2554
+ # @option params [required, Array<String>] :replication_regions
2555
+ # The list of Amazon Web Services Regions to remove from the key's
2556
+ # replication configuration.
2557
+ #
2558
+ # The key will no longer be available for cryptographic operations in
2559
+ # these regions after removal. Ensure no active operations depend on the
2560
+ # key in these regions before removal.
2561
+ #
2562
+ # @return [Types::RemoveKeyReplicationRegionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2563
+ #
2564
+ # * {Types::RemoveKeyReplicationRegionsOutput#key #key} => Types::Key
2565
+ #
2566
+ # @example Request syntax with placeholder values
2567
+ #
2568
+ # resp = client.remove_key_replication_regions({
2569
+ # key_identifier: "KeyArnOrKeyAliasType", # required
2570
+ # replication_regions: ["Region"], # required
2571
+ # })
2572
+ #
2573
+ # @example Response structure
2574
+ #
2575
+ # resp.key.key_arn #=> String
2576
+ # 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"
2577
+ # resp.key.key_attributes.key_class #=> String, one of "SYMMETRIC_KEY", "ASYMMETRIC_KEY_PAIR", "PRIVATE_KEY", "PUBLIC_KEY"
2578
+ # 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"
2579
+ # resp.key.key_attributes.key_modes_of_use.encrypt #=> Boolean
2580
+ # resp.key.key_attributes.key_modes_of_use.decrypt #=> Boolean
2581
+ # resp.key.key_attributes.key_modes_of_use.wrap #=> Boolean
2582
+ # resp.key.key_attributes.key_modes_of_use.unwrap #=> Boolean
2583
+ # resp.key.key_attributes.key_modes_of_use.generate #=> Boolean
2584
+ # resp.key.key_attributes.key_modes_of_use.sign #=> Boolean
2585
+ # resp.key.key_attributes.key_modes_of_use.verify #=> Boolean
2586
+ # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
2587
+ # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
2588
+ # resp.key.key_check_value #=> String
2589
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
2590
+ # resp.key.enabled #=> Boolean
2591
+ # resp.key.exportable #=> Boolean
2592
+ # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
2593
+ # resp.key.key_origin #=> String, one of "EXTERNAL", "AWS_PAYMENT_CRYPTOGRAPHY"
2594
+ # resp.key.create_timestamp #=> Time
2595
+ # resp.key.usage_start_timestamp #=> Time
2596
+ # resp.key.usage_stop_timestamp #=> Time
2597
+ # resp.key.delete_pending_timestamp #=> Time
2598
+ # resp.key.delete_timestamp #=> Time
2599
+ # 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"
2600
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2601
+ # resp.key.primary_region #=> String
2602
+ # resp.key.replication_status #=> Hash
2603
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
2604
+ # resp.key.replication_status["Region"].status_message #=> String
2605
+ # resp.key.using_default_replication_regions #=> Boolean
2606
+ #
2607
+ # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/RemoveKeyReplicationRegions AWS API Documentation
2608
+ #
2609
+ # @overload remove_key_replication_regions(params = {})
2610
+ # @param [Hash] params ({})
2611
+ def remove_key_replication_regions(params = {}, options = {})
2612
+ req = build_request(:remove_key_replication_regions, params)
2613
+ req.send_request(options)
2614
+ end
2615
+
2170
2616
  # Cancels a scheduled key deletion during the waiting period. Use this
2171
2617
  # operation to restore a `Key` that is scheduled for deletion.
2172
2618
  #
@@ -2223,7 +2669,7 @@ module Aws::PaymentCryptography
2223
2669
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
2224
2670
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
2225
2671
  # resp.key.key_check_value #=> String
2226
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
2672
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
2227
2673
  # resp.key.enabled #=> Boolean
2228
2674
  # resp.key.exportable #=> Boolean
2229
2675
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -2234,6 +2680,12 @@ module Aws::PaymentCryptography
2234
2680
  # resp.key.delete_pending_timestamp #=> Time
2235
2681
  # resp.key.delete_timestamp #=> Time
2236
2682
  # 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"
2683
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2684
+ # resp.key.primary_region #=> String
2685
+ # resp.key.replication_status #=> Hash
2686
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
2687
+ # resp.key.replication_status["Region"].status_message #=> String
2688
+ # resp.key.using_default_replication_regions #=> Boolean
2237
2689
  #
2238
2690
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/RestoreKey AWS API Documentation
2239
2691
  #
@@ -2290,7 +2742,7 @@ module Aws::PaymentCryptography
2290
2742
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
2291
2743
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
2292
2744
  # resp.key.key_check_value #=> String
2293
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
2745
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
2294
2746
  # resp.key.enabled #=> Boolean
2295
2747
  # resp.key.exportable #=> Boolean
2296
2748
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -2301,6 +2753,12 @@ module Aws::PaymentCryptography
2301
2753
  # resp.key.delete_pending_timestamp #=> Time
2302
2754
  # resp.key.delete_timestamp #=> Time
2303
2755
  # 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"
2756
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2757
+ # resp.key.primary_region #=> String
2758
+ # resp.key.replication_status #=> Hash
2759
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
2760
+ # resp.key.replication_status["Region"].status_message #=> String
2761
+ # resp.key.using_default_replication_regions #=> Boolean
2304
2762
  #
2305
2763
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/StartKeyUsage AWS API Documentation
2306
2764
  #
@@ -2361,7 +2819,7 @@ module Aws::PaymentCryptography
2361
2819
  # resp.key.key_attributes.key_modes_of_use.derive_key #=> Boolean
2362
2820
  # resp.key.key_attributes.key_modes_of_use.no_restrictions #=> Boolean
2363
2821
  # resp.key.key_check_value #=> String
2364
- # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC"
2822
+ # resp.key.key_check_value_algorithm #=> String, one of "CMAC", "ANSI_X9_24", "HMAC", "SHA_1"
2365
2823
  # resp.key.enabled #=> Boolean
2366
2824
  # resp.key.exportable #=> Boolean
2367
2825
  # resp.key.key_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_COMPLETE"
@@ -2372,6 +2830,12 @@ module Aws::PaymentCryptography
2372
2830
  # resp.key.delete_pending_timestamp #=> Time
2373
2831
  # resp.key.delete_timestamp #=> Time
2374
2832
  # 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"
2833
+ # resp.key.multi_region_key_type #=> String, one of "PRIMARY", "REPLICA"
2834
+ # resp.key.primary_region #=> String
2835
+ # resp.key.replication_status #=> Hash
2836
+ # resp.key.replication_status["Region"].status #=> String, one of "IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "SYNCHRONIZED"
2837
+ # resp.key.replication_status["Region"].status_message #=> String
2838
+ # resp.key.using_default_replication_regions #=> Boolean
2375
2839
  #
2376
2840
  # @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/StopKeyUsage AWS API Documentation
2377
2841
  #
@@ -2591,7 +3055,7 @@ module Aws::PaymentCryptography
2591
3055
  tracer: tracer
2592
3056
  )
2593
3057
  context[:gem_name] = 'aws-sdk-paymentcryptography'
2594
- context[:gem_version] = '1.41.0'
3058
+ context[:gem_version] = '1.43.0'
2595
3059
  Seahorse::Client::Request.new(handlers, context)
2596
3060
  end
2597
3061