@aws-sdk/client-payment-cryptography 3.1076.0 → 3.1078.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.
Files changed (116) hide show
  1. package/dist-cjs/index.js +43 -325
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddKeyReplicationRegionsCommand.js +2 -14
  4. package/dist-es/commands/AssociateMpaTeamCommand.js +2 -14
  5. package/dist-es/commands/CreateAliasCommand.js +2 -14
  6. package/dist-es/commands/CreateKeyCommand.js +2 -14
  7. package/dist-es/commands/DeleteAliasCommand.js +2 -14
  8. package/dist-es/commands/DeleteKeyCommand.js +2 -14
  9. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  10. package/dist-es/commands/DisableDefaultKeyReplicationRegionsCommand.js +2 -14
  11. package/dist-es/commands/DisassociateMpaTeamCommand.js +2 -14
  12. package/dist-es/commands/EnableDefaultKeyReplicationRegionsCommand.js +2 -14
  13. package/dist-es/commands/ExportKeyCommand.js +2 -14
  14. package/dist-es/commands/GetAliasCommand.js +2 -14
  15. package/dist-es/commands/GetCertificateSigningRequestCommand.js +2 -14
  16. package/dist-es/commands/GetDefaultKeyReplicationRegionsCommand.js +2 -14
  17. package/dist-es/commands/GetKeyCommand.js +2 -14
  18. package/dist-es/commands/GetMpaTeamAssociationCommand.js +2 -14
  19. package/dist-es/commands/GetParametersForExportCommand.js +2 -14
  20. package/dist-es/commands/GetParametersForImportCommand.js +2 -14
  21. package/dist-es/commands/GetPublicKeyCertificateCommand.js +2 -14
  22. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  23. package/dist-es/commands/ImportKeyCommand.js +2 -14
  24. package/dist-es/commands/ListAliasesCommand.js +2 -14
  25. package/dist-es/commands/ListKeysCommand.js +2 -14
  26. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  27. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  28. package/dist-es/commands/RemoveKeyReplicationRegionsCommand.js +2 -14
  29. package/dist-es/commands/RestoreKeyCommand.js +2 -14
  30. package/dist-es/commands/StartKeyUsageCommand.js +2 -14
  31. package/dist-es/commands/StopKeyUsageCommand.js +2 -14
  32. package/dist-es/commands/TagResourceCommand.js +2 -14
  33. package/dist-es/commands/UntagResourceCommand.js +2 -14
  34. package/dist-es/commands/UpdateAliasCommand.js +2 -14
  35. package/dist-es/index.js +1 -0
  36. package/dist-es/runtimeConfig.browser.js +0 -2
  37. package/dist-es/runtimeConfig.js +1 -2
  38. package/dist-es/runtimeConfig.native.js +0 -2
  39. package/dist-es/runtimeConfig.shared.js +2 -0
  40. package/dist-types/commandBuilder.d.ts +18 -0
  41. package/dist-types/commands/AddKeyReplicationRegionsCommand.d.ts +3 -8
  42. package/dist-types/commands/AssociateMpaTeamCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateAliasCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateKeyCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteAliasCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteKeyCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  48. package/dist-types/commands/DisableDefaultKeyReplicationRegionsCommand.d.ts +3 -8
  49. package/dist-types/commands/DisassociateMpaTeamCommand.d.ts +3 -8
  50. package/dist-types/commands/EnableDefaultKeyReplicationRegionsCommand.d.ts +3 -8
  51. package/dist-types/commands/ExportKeyCommand.d.ts +3 -8
  52. package/dist-types/commands/GetAliasCommand.d.ts +3 -8
  53. package/dist-types/commands/GetCertificateSigningRequestCommand.d.ts +3 -8
  54. package/dist-types/commands/GetDefaultKeyReplicationRegionsCommand.d.ts +3 -8
  55. package/dist-types/commands/GetKeyCommand.d.ts +3 -8
  56. package/dist-types/commands/GetMpaTeamAssociationCommand.d.ts +3 -8
  57. package/dist-types/commands/GetParametersForExportCommand.d.ts +3 -8
  58. package/dist-types/commands/GetParametersForImportCommand.d.ts +3 -8
  59. package/dist-types/commands/GetPublicKeyCertificateCommand.d.ts +3 -8
  60. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  61. package/dist-types/commands/ImportKeyCommand.d.ts +3 -8
  62. package/dist-types/commands/ListAliasesCommand.d.ts +3 -8
  63. package/dist-types/commands/ListKeysCommand.d.ts +3 -8
  64. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  65. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  66. package/dist-types/commands/RemoveKeyReplicationRegionsCommand.d.ts +3 -8
  67. package/dist-types/commands/RestoreKeyCommand.d.ts +3 -8
  68. package/dist-types/commands/StartKeyUsageCommand.d.ts +3 -8
  69. package/dist-types/commands/StopKeyUsageCommand.d.ts +3 -8
  70. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  71. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  72. package/dist-types/commands/UpdateAliasCommand.d.ts +3 -8
  73. package/dist-types/index.d.ts +1 -0
  74. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  75. package/dist-types/runtimeConfig.d.ts +1 -1
  76. package/dist-types/runtimeConfig.native.d.ts +1 -1
  77. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  78. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  79. package/dist-types/ts3.4/commands/AddKeyReplicationRegionsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/AssociateMpaTeamCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DisableDefaultKeyReplicationRegionsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DisassociateMpaTeamCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/EnableDefaultKeyReplicationRegionsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ExportKeyCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/GetCertificateSigningRequestCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/GetDefaultKeyReplicationRegionsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetMpaTeamAssociationCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetParametersForExportCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/GetPublicKeyCertificateCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ImportKeyCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/RemoveKeyReplicationRegionsCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/RestoreKeyCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/StartKeyUsageCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/StopKeyUsageCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/index.d.ts +1 -0
  112. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  113. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  114. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  115. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  116. package/package.json +8 -10
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { GetResourcePolicyInput, GetResourcePolicyOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetResourcePolicyCommandInput extends GetResourcePolicyInput {
22
19
  export interface GetResourcePolicyCommandOutput extends GetResourcePolicyOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetResourcePolicyCommand_base: {
25
- new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the resource-based policy attached to an Amazon Web Services Payment Cryptography key.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_PutResourcePolicy.html">PutResourcePolicy</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteResourcePolicy.html">DeleteResourcePolicy</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { ImportKeyInput, ImportKeyOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ImportKeyCommandInput extends ImportKeyInput {
22
19
  export interface ImportKeyCommandOutput extends ImportKeyOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ImportKeyCommand_base: {
25
- new (input: ImportKeyCommandInput): import("@smithy/core/client").CommandImpl<ImportKeyCommandInput, ImportKeyCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ImportKeyCommandInput): import("@smithy/core/client").CommandImpl<ImportKeyCommandInput, ImportKeyCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ImportKeyCommandInput): import("@smithy/core/client").CommandImpl<ImportKeyCommandInput, ImportKeyCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ImportKeyCommandInput): import("@smithy/core/client").CommandImpl<ImportKeyCommandInput, ImportKeyCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Imports symmetric keys and public key certificates in PEM format (base64 encoded) into Amazon Web Services Payment Cryptography.</p> <p>Amazon Web Services Payment Cryptography simplifies key exchange by replacing the existing paper-based approach with a modern electronic approach. With <code>ImportKey</code> you can import symmetric keys using either symmetric and asymmetric key exchange mechanisms.</p> <p>For symmetric key exchange, Amazon Web Services Payment Cryptography uses the ANSI X9 TR-31 norm in accordance with PCI PIN guidelines. And for asymmetric key exchange, Amazon Web Services Payment Cryptography supports ANSI X9 TR-34 norm, RSA unwrap, and ECDH (Elliptic Curve Diffie-Hellman) key exchange mechanisms. Asymmetric key exchange methods are typically used to establish bi-directional trust between the two parties exhanging keys and are used for initial key exchange such as Key Encryption Key (KEK) or Zone Master Key (ZMK). After which you can import working keys using symmetric method to perform various cryptographic operations within Amazon Web Services Payment Cryptography.</p> <p>PCI requires specific minimum key strength of wrapping keys used to protect the keys being exchanged electronically. These requirements can change when PCI standards are revised. The rules specify that wrapping keys used for transport must be at least as strong as the key being protected. For more information on recommended key strength of wrapping keys and key exchange mechanism, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-importexport.html">Importing and exporting keys</a> in the <i>Amazon Web Services Payment Cryptography User Guide</i>.</p> <p>You can also import a <i>root public key certificate</i>, used to sign other public key certificates, or a <i>trusted public key certificate</i> under an already established root public key certificate.</p> <p> <b>To import a public root key certificate</b> </p> <p>Using this operation, you can import the public component (in PEM cerificate format) of your private root key. You can use the imported public root key certificate for digital signatures, for example signing wrapping key or signing key in TR-34, within your Amazon Web Services Payment Cryptography account.</p> <p>Set the following parameters:</p> <ul> <li> <p> <code>KeyMaterial</code>: <code>RootCertificatePublicKey</code> </p> </li> <li> <p> <code>KeyClass</code>: <code>PUBLIC_KEY</code> </p> </li> <li> <p> <code>KeyModesOfUse</code>: <code>Verify</code> </p> </li> <li> <p> <code>KeyUsage</code>: <code>TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE</code> </p> </li> <li> <p> <code>PublicKeyCertificate</code>: The public key certificate in PEM format (base64 encoded) of the private root key under import.</p> </li> </ul> <p> <b>To import a trusted public key certificate</b> </p> <p>The root public key certificate must be in place and operational before you import a trusted public key certificate. Set the following parameters:</p> <ul> <li> <p> <code>KeyMaterial</code>: <code>TrustedCertificatePublicKey</code> </p> </li> <li> <p> <code>CertificateAuthorityPublicKeyIdentifier</code>: <code>KeyArn</code> of the <code>RootCertificatePublicKey</code>.</p> </li> <li> <p> <code>KeyModesOfUse</code> and <code>KeyUsage</code>: Corresponding to the cryptographic operations such as wrap, sign, or encrypt that you will allow the trusted public key certificate to perform.</p> </li> <li> <p> <code>PublicKeyCertificate</code>: The trusted public key certificate in PEM format (base64 encoded) under import.</p> </li> </ul> <p> <b>To import initial keys (KEK or ZMK or similar) using TR-34</b> </p> <p>Using this operation, you can import initial key using TR-34 asymmetric key exchange. In TR-34 terminology, the sending party of the key is called Key Distribution Host (KDH) and the receiving party of the key is called Key Receiving Device (KRD). During the key import process, KDH is the user who initiates the key import and KRD is Amazon Web Services Payment Cryptography who receives the key.</p> <p>To initiate TR-34 key import, the KDH must obtain an import token by calling <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetParametersForImport.html">GetParametersForImport</a>. This operation generates an encryption keypair for the purpose of key import, signs the key and returns back the wrapping key certificate (also known as KRD wrapping certificate) and the root certificate chain. The KDH must trust and install the KRD wrapping certificate on its HSM and use it to encrypt (wrap) the KDH key during TR-34 WrappedKeyBlock generation. The import token and associated KRD wrapping certificate expires after 30 days.</p> <p>Next the KDH generates a key pair for the purpose of signing the encrypted KDH key and provides the public certificate of the signing key to Amazon Web Services Payment Cryptography. The KDH will also need to import the root certificate chain of the KDH signing certificate by calling <code>ImportKey</code> for <code>RootCertificatePublicKey</code>. For more information on TR-34 key import, see section <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-import.html">Importing symmetric keys</a> in the <i>Amazon Web Services Payment Cryptography User Guide</i>.</p> <p>Set the following parameters:</p> <ul> <li> <p> <code>KeyMaterial</code>: Use <code>Tr34KeyBlock</code> parameters.</p> </li> <li> <p> <code>CertificateAuthorityPublicKeyIdentifier</code>: The <code>KeyARN</code> of the certificate chain that signed the KDH signing key certificate.</p> </li> <li> <p> <code>ImportToken</code>: Obtained from KRD by calling <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetParametersForImport.html">GetParametersForImport</a>.</p> </li> <li> <p> <code>WrappedKeyBlock</code>: The TR-34 wrapped key material from KDH. It contains the KDH key under import, wrapped with KRD wrapping certificate and signed by KDH signing private key. This TR-34 key block is typically generated by the KDH Hardware Security Module (HSM) outside of Amazon Web Services Payment Cryptography.</p> </li> <li> <p> <code>SigningKeyCertificate</code>: The public key certificate in PEM format (base64 encoded) of the KDH signing key generated under the root certificate (CertificateAuthorityPublicKeyIdentifier) imported in Amazon Web Services Payment Cryptography.</p> </li> </ul> <p> <b>To import initial keys (KEK or ZMK or similar) using RSA Wrap and Unwrap</b> </p> <p>Using this operation, you can import initial key using asymmetric RSA wrap and unwrap key exchange method. To initiate import, call <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetParametersForImport.html">GetParametersForImport</a> with <code>KeyMaterial</code> set to <code>KEY_CRYPTOGRAM</code> to generate an import token. This operation also generates an encryption keypair for the purpose of key import, signs the key and returns back the wrapping key certificate in PEM format (base64 encoded) and its root certificate chain. The import token and associated KRD wrapping certificate expires after 30 days. </p> <p>You must trust and install the wrapping certificate and its certificate chain on the sending HSM and use it to wrap the key under export for WrappedKeyCryptogram generation. Next call <code>ImportKey</code> with <code>KeyMaterial</code> set to <code>KEY_CRYPTOGRAM</code> and provide the <code>ImportToken</code> and <code>KeyAttributes</code> for the key under import.</p> <p> <b>To import working keys using TR-31</b> </p> <p>Amazon Web Services Payment Cryptography uses TR-31 symmetric key exchange norm to import working keys. A KEK must be established within Amazon Web Services Payment Cryptography by using TR-34 key import or by using <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html">CreateKey</a>. To initiate a TR-31 key import, set the following parameters:</p> <ul> <li> <p> <code>KeyMaterial</code>: Use <code>Tr31KeyBlock</code> parameters.</p> </li> <li> <p> <code>WrappedKeyBlock</code>: The TR-31 wrapped key material. It contains the key under import, encrypted using KEK. The TR-31 key block is typically generated by a HSM outside of Amazon Web Services Payment Cryptography. </p> </li> <li> <p> <code>WrappingKeyIdentifier</code>: The <code>KeyArn</code> of the KEK that Amazon Web Services Payment Cryptography uses to decrypt or unwrap the key under import.</p> </li> </ul> <p> <b>To import working keys using ECDH</b> </p> <p>You can also use ECDH key agreement to import working keys as a TR-31 keyblock, where the wrapping key is an ECDH derived key.</p> <p>To initiate a TR-31 key import using ECDH, both sides must create an ECC key pair with key usage K3 and exchange public key certificates. In Amazon Web Services Payment Cryptography, you can do this by calling <code>CreateKey</code> and then <code>GetPublicKeyCertificate</code> to retrieve its public key certificate. Next, you can then generate a TR-31 WrappedKeyBlock using your own ECC key pair, the public certificate of the service's ECC key pair, and the key derivation parameters including key derivation function, hash algorithm, derivation data, and key algorithm. If you have not already done so, you must import the CA chain that issued the receiving public key certificate by calling <code>ImportKey</code> with input <code>RootCertificatePublicKey</code> for root CA or <code>TrustedPublicKey</code> for intermediate CA. To complete the TR-31 key import, you can use the following parameters. It is important that the ECDH key derivation parameters you use should match those used during import to derive the same shared wrapping key within Amazon Web Services Payment Cryptography.</p> <ul> <li> <p> <code>KeyMaterial</code>: Use <code>DiffieHellmanTr31KeyBlock</code> parameters.</p> </li> <li> <p> <code>PrivateKeyIdentifier</code>: The <code>KeyArn</code> of the ECC key pair created within Amazon Web Services Payment Cryptography to derive a shared KEK.</p> </li> <li> <p> <code>PublicKeyCertificate</code>: The public key certificate of the receiving ECC key pair in PEM format (base64 encoded) to derive a shared KEK.</p> </li> <li> <p> <code>CertificateAuthorityPublicKeyIdentifier</code>: The <code>keyARN</code> of the CA that signed the public key certificate of the receiving ECC key pair.</p> </li> </ul> <p> <b>Cross-account use:</b> This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security_iam_resource-based-policies.html">Resource-based policies</a>.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ExportKey.html">ExportKey</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetParametersForImport.html">GetParametersForImport</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { ListAliasesInput, ListAliasesOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListAliasesCommandInput extends ListAliasesInput {
22
19
  export interface ListAliasesCommandOutput extends ListAliasesOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListAliasesCommand_base: {
25
- new (input: ListAliasesCommandInput): import("@smithy/core/client").CommandImpl<ListAliasesCommandInput, ListAliasesCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListAliasesCommandInput]): import("@smithy/core/client").CommandImpl<ListAliasesCommandInput, ListAliasesCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListAliasesCommandInput): import("@smithy/core/client").CommandImpl<ListAliasesCommandInput, ListAliasesCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListAliasesCommandInput]): import("@smithy/core/client").CommandImpl<ListAliasesCommandInput, ListAliasesCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists the aliases for all keys in the caller's Amazon Web Services account and Amazon Web Services Region. You can filter the aliases by <code>keyARN</code>. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-managealias.html">Using aliases</a> in the <i>Amazon Web Services Payment Cryptography User Guide</i>.</p> <p>This is a paginated operation, which means that each response might contain only a subset of all the aliases. When the response contains only a subset of aliases, it includes a <code>NextToken</code> value. Use this value in a subsequent <code>ListAliases</code> request to get more aliases. When you receive a response with no NextToken (or an empty or null value), that means there are no more aliases to get.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateAlias.html">CreateAlias</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteAlias.html">DeleteAlias</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetAlias.html">GetAlias</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_UpdateAlias.html">UpdateAlias</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { ListKeysInput, ListKeysOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListKeysCommandInput extends ListKeysInput {
22
19
  export interface ListKeysCommandOutput extends ListKeysOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListKeysCommand_base: {
25
- new (input: ListKeysCommandInput): import("@smithy/core/client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListKeysCommandInput]): import("@smithy/core/client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListKeysCommandInput): import("@smithy/core/client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListKeysCommandInput]): import("@smithy/core/client").CommandImpl<ListKeysCommandInput, ListKeysCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists the keys in the caller's Amazon Web Services account and Amazon Web Services Region. You can filter the list of keys.</p> <p>This is a paginated operation, which means that each response might contain only a subset of all the keys. When the response contains only a subset of keys, it includes a <code>NextToken</code> value. Use this value in a subsequent <code>ListKeys</code> request to get more keys. When you receive a response with no NextToken (or an empty or null value), that means there are no more keys to get.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html">CreateKey</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteKey.html">DeleteKey</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetKey.html">GetKey</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInpu
22
19
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListTagsForResourceCommand_base: {
25
- new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists the tags for an Amazon Web Services resource.</p> <p>This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a <code>NextToken</code> value. Use this value in a subsequent <code>ListTagsForResource</code> request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get.</p> <p> <b>Cross-account use:</b> This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security_iam_resource-based-policies.html">Resource-based policies</a>.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_TagResource.html">TagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_UntagResource.html">UntagResource</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { PutResourcePolicyInput, PutResourcePolicyOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface PutResourcePolicyCommandInput extends PutResourcePolicyInput {
22
19
  export interface PutResourcePolicyCommandOutput extends PutResourcePolicyOutput, __MetadataBearer {
23
20
  }
24
21
  declare const PutResourcePolicyCommand_base: {
25
- new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Attaches or replaces a resource-based policy on an Amazon Web Services Payment Cryptography key. A resource-based policy can grant cross-account access to your key.</p> <p>If the policy would grant public access, the request fails with a <code>PublicPolicyException</code>.</p> <p>To remove a resource-based policy from a key, use <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteResourcePolicy.html">DeleteResourcePolicy</a>.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetResourcePolicy.html">GetResourcePolicy</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteResourcePolicy.html">DeleteResourcePolicy</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { RemoveKeyReplicationRegionsInput, RemoveKeyReplicationRegionsOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface RemoveKeyReplicationRegionsCommandInput extends RemoveKeyReplic
22
19
  export interface RemoveKeyReplicationRegionsCommandOutput extends RemoveKeyReplicationRegionsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const RemoveKeyReplicationRegionsCommand_base: {
25
- new (input: RemoveKeyReplicationRegionsCommandInput): import("@smithy/core/client").CommandImpl<RemoveKeyReplicationRegionsCommandInput, RemoveKeyReplicationRegionsCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: RemoveKeyReplicationRegionsCommandInput): import("@smithy/core/client").CommandImpl<RemoveKeyReplicationRegionsCommandInput, RemoveKeyReplicationRegionsCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: RemoveKeyReplicationRegionsCommandInput): import("@smithy/core/client").CommandImpl<RemoveKeyReplicationRegionsCommandInput, RemoveKeyReplicationRegionsCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: RemoveKeyReplicationRegionsCommandInput): import("@smithy/core/client").CommandImpl<RemoveKeyReplicationRegionsCommandInput, RemoveKeyReplicationRegionsCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Removes Replication Regions from an existing Amazon Web Services Payment Cryptography key, disabling the key's availability for cryptographic operations in the specified Amazon Web Services Regions.</p> <p>When you remove Replication Regions, the key material is securely deleted from those regions and can no longer be used for cryptographic operations there. This operation is irreversible for the specified Amazon Web Services Regions. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-multi-region-replication.html">Multi-Region key replication</a>.</p> <important> <p>Ensure that no active cryptographic operations or applications depend on the key in the regions you're removing before performing this operation.</p> </important> <p> <b>Cross-account use:</b> This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security_iam_resource-based-policies.html">Resource-based policies</a>.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_AddKeyReplicationRegions.html">AddKeyReplicationRegions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DisableDefaultKeyReplicationRegions.html">DisableDefaultKeyReplicationRegions</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { RestoreKeyInput, RestoreKeyOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface RestoreKeyCommandInput extends RestoreKeyInput {
22
19
  export interface RestoreKeyCommandOutput extends RestoreKeyOutput, __MetadataBearer {
23
20
  }
24
21
  declare const RestoreKeyCommand_base: {
25
- new (input: RestoreKeyCommandInput): import("@smithy/core/client").CommandImpl<RestoreKeyCommandInput, RestoreKeyCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: RestoreKeyCommandInput): import("@smithy/core/client").CommandImpl<RestoreKeyCommandInput, RestoreKeyCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: RestoreKeyCommandInput): import("@smithy/core/client").CommandImpl<RestoreKeyCommandInput, RestoreKeyCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: RestoreKeyCommandInput): import("@smithy/core/client").CommandImpl<RestoreKeyCommandInput, RestoreKeyCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Cancels a scheduled key deletion during the waiting period. Use this operation to restore a <code>Key</code> that is scheduled for deletion.</p> <p>During the waiting period, the <code>KeyState</code> is <code>DELETE_PENDING</code> and <code>deletePendingTimestamp</code> contains the date and time after which the <code>Key</code> will be deleted. After <code>Key</code> is restored, the <code>KeyState</code> is <code>CREATE_COMPLETE</code>, and the value for <code>deletePendingTimestamp</code> is removed.</p> <p> <b>Cross-account use:</b> This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security_iam_resource-based-policies.html">Resource-based policies</a>.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteKey.html">DeleteKey</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_StartKeyUsage.html">StartKeyUsage</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_StopKeyUsage.html">StopKeyUsage</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { StartKeyUsageInput, StartKeyUsageOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface StartKeyUsageCommandInput extends StartKeyUsageInput {
22
19
  export interface StartKeyUsageCommandOutput extends StartKeyUsageOutput, __MetadataBearer {
23
20
  }
24
21
  declare const StartKeyUsageCommand_base: {
25
- new (input: StartKeyUsageCommandInput): import("@smithy/core/client").CommandImpl<StartKeyUsageCommandInput, StartKeyUsageCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartKeyUsageCommandInput): import("@smithy/core/client").CommandImpl<StartKeyUsageCommandInput, StartKeyUsageCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: StartKeyUsageCommandInput): import("@smithy/core/client").CommandImpl<StartKeyUsageCommandInput, StartKeyUsageCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartKeyUsageCommandInput): import("@smithy/core/client").CommandImpl<StartKeyUsageCommandInput, StartKeyUsageCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Enables an Amazon Web Services Payment Cryptography key, which makes it active for cryptographic operations within Amazon Web Services Payment Cryptography</p> <p> <b>Cross-account use:</b> This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security_iam_resource-based-policies.html">Resource-based policies</a>.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_StopKeyUsage.html">StopKeyUsage</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { StopKeyUsageInput, StopKeyUsageOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface StopKeyUsageCommandInput extends StopKeyUsageInput {
22
19
  export interface StopKeyUsageCommandOutput extends StopKeyUsageOutput, __MetadataBearer {
23
20
  }
24
21
  declare const StopKeyUsageCommand_base: {
25
- new (input: StopKeyUsageCommandInput): import("@smithy/core/client").CommandImpl<StopKeyUsageCommandInput, StopKeyUsageCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StopKeyUsageCommandInput): import("@smithy/core/client").CommandImpl<StopKeyUsageCommandInput, StopKeyUsageCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: StopKeyUsageCommandInput): import("@smithy/core/client").CommandImpl<StopKeyUsageCommandInput, StopKeyUsageCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StopKeyUsageCommandInput): import("@smithy/core/client").CommandImpl<StopKeyUsageCommandInput, StopKeyUsageCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Disables an Amazon Web Services Payment Cryptography key, which makes it inactive within Amazon Web Services Payment Cryptography.</p> <p>You can use this operation instead of <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteKey.html">DeleteKey</a> to deactivate a key. You can enable the key in the future by calling <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_StartKeyUsage.html">StartKeyUsage</a>.</p> <p> <b>Cross-account use:</b> This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security_iam_resource-based-policies.html">Resource-based policies</a>.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteKey.html">DeleteKey</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_StartKeyUsage.html">StartKeyUsage</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { TagResourceInput, TagResourceOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface TagResourceCommandInput extends TagResourceInput {
22
19
  export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
23
20
  }
24
21
  declare const TagResourceCommand_base: {
25
- new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Adds or edits tags on an Amazon Web Services Payment Cryptography key.</p> <note> <p>Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.</p> </note> <p>Each tag consists of a tag key and a tag value, both of which are case-sensitive strings. The tag value can be an empty (null) string. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value. You can also add tags to an Amazon Web Services Payment Cryptography key when you create it with <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateKey.html">CreateKey</a>.</p> <p> <b>Cross-account use:</b> This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security_iam_resource-based-policies.html">Resource-based policies</a>.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_UntagResource.html">UntagResource</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UntagResourceCommandInput extends UntagResourceInput {
22
19
  export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
23
20
  }
24
21
  declare const UntagResourceCommand_base: {
25
- new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a tag from an Amazon Web Services Payment Cryptography key.</p> <note> <p>Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.</p> </note> <p> <b>Cross-account use:</b> This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security_iam_resource-based-policies.html">Resource-based policies</a>.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ListTagsForResource.html">ListTagsForResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_TagResource.html">TagResource</a> </p> </li> </ul>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { UpdateAliasInput, UpdateAliasOutput } from "../models/models_0";
4
- import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface UpdateAliasCommandInput extends UpdateAliasInput {
22
19
  export interface UpdateAliasCommandOutput extends UpdateAliasOutput, __MetadataBearer {
23
20
  }
24
21
  declare const UpdateAliasCommand_base: {
25
- new (input: UpdateAliasCommandInput): import("@smithy/core/client").CommandImpl<UpdateAliasCommandInput, UpdateAliasCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateAliasCommandInput): import("@smithy/core/client").CommandImpl<UpdateAliasCommandInput, UpdateAliasCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: UpdateAliasCommandInput): import("@smithy/core/client").CommandImpl<UpdateAliasCommandInput, UpdateAliasCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateAliasCommandInput): import("@smithy/core/client").CommandImpl<UpdateAliasCommandInput, UpdateAliasCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Associates an existing Amazon Web Services Payment Cryptography alias with a different key. Each alias is associated with only one Amazon Web Services Payment Cryptography key at a time, although a key can have multiple aliases. The alias and the Amazon Web Services Payment Cryptography key must be in the same Amazon Web Services account and Amazon Web Services Region</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_CreateAlias.html">CreateAlias</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteAlias.html">DeleteAlias</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetAlias.html">GetAlias</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ListAliases.html">ListAliases</a> </p> </li> </ul>
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { PaymentCryptographyExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
12
13
  export * from "./schemas/schemas_0";
13
14
  export * from "./pagination";
14
15
  export * from "./models/enums";
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig)
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@smithy/types").HashConstructor;
17
16
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig)
24
23
  [setting: string]: unknown;
25
24
  };
26
25
  apiVersion: string;
26
+ sha256: import("@smithy/types").HashConstructor;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -14,7 +14,6 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig)
14
14
  region: string | import("@smithy/types").Provider<string>;
15
15
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
- sha256: import("@smithy/types").HashConstructor;
18
17
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig)
26
25
  [setting: string]: unknown;
27
26
  };
28
27
  apiVersion: string;
28
+ sha256: import("@smithy/types").HashConstructor;
29
29
  urlParser: import("@smithy/types").UrlParser;
30
30
  base64Decoder: import("@smithy/types").Decoder;
31
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -4,7 +4,6 @@ import type { PaymentCryptographyClientConfig } from "./PaymentCryptographyClien
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig) => {
6
6
  runtime: string;
7
- sha256: import("@smithy/types").HashConstructor;
8
7
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
8
  cacheMiddleware?: boolean;
10
9
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig)
13
12
  [setting: string]: unknown;
14
13
  };
15
14
  apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
18
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig)
21
21
  defaultNamespace?: string;
22
22
  };
23
23
  serviceId: string;
24
+ sha256: import("@smithy/types").HashConstructor;
24
25
  urlParser: import("@smithy/types").UrlParser;
25
26
  utf8Decoder: import("@smithy/types").Decoder;
26
27
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ PaymentCryptographyClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./PaymentCryptographyClient";
7
+ export declare const command: <
8
+ I extends ServiceInputTypes,
9
+ O extends ServiceOutputTypes
10
+ >(
11
+ added: EndpointParameterInstructions,
12
+ plugins: (
13
+ CommandCtor: any,
14
+ clientStack: any,
15
+ config: any,
16
+ options: any
17
+ ) => import("@smithy/types").Pluggable<any, any>[],
18
+ op: string,
19
+ $: import("@smithy/types").StaticOperationSchema,
20
+ smithyContext?: Record<string, unknown>
21
+ ) => {
22
+ new (input: I): import("@smithy/core/client").CommandImpl<
23
+ I,
24
+ O,
25
+ PaymentCryptographyClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: import("@smithy/types").OptionalParameter<I>
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ I,
33
+ O,
34
+ PaymentCryptographyClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ };
40
+ export declare const _ep0: EndpointParameterInstructions;
41
+ export declare const _mw0: (
42
+ Command: any,
43
+ cs: any,
44
+ config: any,
45
+ o: any
46
+ ) => never[];
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  AddKeyReplicationRegionsInput,
5
4
  AddKeyReplicationRegionsOutput,
6
5
  } from "../models/models_0";
7
- import {
8
- PaymentCryptographyClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../PaymentCryptographyClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface AddKeyReplicationRegionsCommandInput
15
8
  extends AddKeyReplicationRegionsInput {}
16
9
  export interface AddKeyReplicationRegionsCommandOutput
@@ -22,22 +15,20 @@ declare const AddKeyReplicationRegionsCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  AddKeyReplicationRegionsCommandInput,
24
17
  AddKeyReplicationRegionsCommandOutput,
25
- PaymentCryptographyClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").PaymentCryptographyClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: AddKeyReplicationRegionsCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  AddKeyReplicationRegionsCommandInput,
33
26
  AddKeyReplicationRegionsCommandOutput,
34
- PaymentCryptographyClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").PaymentCryptographyClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class AddKeyReplicationRegionsCommand extends AddKeyReplicationRegionsCommand_base {
43
34
  protected static __types: {