import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types"; import { type AddKeyReplicationRegionsCommandInput, type AddKeyReplicationRegionsCommandOutput } from "./commands/AddKeyReplicationRegionsCommand"; import { type AssociateMpaTeamCommandInput, type AssociateMpaTeamCommandOutput } from "./commands/AssociateMpaTeamCommand"; import { type CreateAliasCommandInput, type CreateAliasCommandOutput } from "./commands/CreateAliasCommand"; import { type CreateKeyCommandInput, type CreateKeyCommandOutput } from "./commands/CreateKeyCommand"; import { type DeleteAliasCommandInput, type DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand"; import { type DeleteKeyCommandInput, type DeleteKeyCommandOutput } from "./commands/DeleteKeyCommand"; import { type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand"; import { type DisableDefaultKeyReplicationRegionsCommandInput, type DisableDefaultKeyReplicationRegionsCommandOutput } from "./commands/DisableDefaultKeyReplicationRegionsCommand"; import { type DisassociateMpaTeamCommandInput, type DisassociateMpaTeamCommandOutput } from "./commands/DisassociateMpaTeamCommand"; import { type EnableDefaultKeyReplicationRegionsCommandInput, type EnableDefaultKeyReplicationRegionsCommandOutput } from "./commands/EnableDefaultKeyReplicationRegionsCommand"; import { type ExportKeyCommandInput, type ExportKeyCommandOutput } from "./commands/ExportKeyCommand"; import { type GetAliasCommandInput, type GetAliasCommandOutput } from "./commands/GetAliasCommand"; import { type GetCertificateSigningRequestCommandInput, type GetCertificateSigningRequestCommandOutput } from "./commands/GetCertificateSigningRequestCommand"; import { type GetDefaultKeyReplicationRegionsCommandInput, type GetDefaultKeyReplicationRegionsCommandOutput } from "./commands/GetDefaultKeyReplicationRegionsCommand"; import { type GetKeyCommandInput, type GetKeyCommandOutput } from "./commands/GetKeyCommand"; import { type GetMpaTeamAssociationCommandInput, type GetMpaTeamAssociationCommandOutput } from "./commands/GetMpaTeamAssociationCommand"; import { type GetParametersForExportCommandInput, type GetParametersForExportCommandOutput } from "./commands/GetParametersForExportCommand"; import { type GetParametersForImportCommandInput, type GetParametersForImportCommandOutput } from "./commands/GetParametersForImportCommand"; import { type GetPublicKeyCertificateCommandInput, type GetPublicKeyCertificateCommandOutput } from "./commands/GetPublicKeyCertificateCommand"; import { type GetResourcePolicyCommandInput, type GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand"; import { type ImportKeyCommandInput, type ImportKeyCommandOutput } from "./commands/ImportKeyCommand"; import { type ListAliasesCommandInput, type ListAliasesCommandOutput } from "./commands/ListAliasesCommand"; import { type ListKeysCommandInput, type ListKeysCommandOutput } from "./commands/ListKeysCommand"; import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import { type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand"; import { type RemoveKeyReplicationRegionsCommandInput, type RemoveKeyReplicationRegionsCommandOutput } from "./commands/RemoveKeyReplicationRegionsCommand"; import { type RestoreKeyCommandInput, type RestoreKeyCommandOutput } from "./commands/RestoreKeyCommand"; import { type StartKeyUsageCommandInput, type StartKeyUsageCommandOutput } from "./commands/StartKeyUsageCommand"; import { type StopKeyUsageCommandInput, type StopKeyUsageCommandOutput } from "./commands/StopKeyUsageCommand"; import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { type UpdateAliasCommandInput, type UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand"; import { PaymentCryptographyClient } from "./PaymentCryptographyClient"; /** * @public */ export interface PaymentCryptographyRequestOptions extends __HttpHandlerOptions { metricsRecorder?: __MetricsRecorder; } export interface PaymentCryptography { /** * @see {@link AddKeyReplicationRegionsCommand} */ addKeyReplicationRegions(args: AddKeyReplicationRegionsCommandInput, options?: PaymentCryptographyRequestOptions): Promise; addKeyReplicationRegions(args: AddKeyReplicationRegionsCommandInput, cb: (err: any, data?: AddKeyReplicationRegionsCommandOutput) => void): void; addKeyReplicationRegions(args: AddKeyReplicationRegionsCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: AddKeyReplicationRegionsCommandOutput) => void): void; /** * @see {@link AssociateMpaTeamCommand} */ associateMpaTeam(args: AssociateMpaTeamCommandInput, options?: PaymentCryptographyRequestOptions): Promise; associateMpaTeam(args: AssociateMpaTeamCommandInput, cb: (err: any, data?: AssociateMpaTeamCommandOutput) => void): void; associateMpaTeam(args: AssociateMpaTeamCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: AssociateMpaTeamCommandOutput) => void): void; /** * @see {@link CreateAliasCommand} */ createAlias(args: CreateAliasCommandInput, options?: PaymentCryptographyRequestOptions): Promise; createAlias(args: CreateAliasCommandInput, cb: (err: any, data?: CreateAliasCommandOutput) => void): void; createAlias(args: CreateAliasCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: CreateAliasCommandOutput) => void): void; /** * @see {@link CreateKeyCommand} */ createKey(args: CreateKeyCommandInput, options?: PaymentCryptographyRequestOptions): Promise; createKey(args: CreateKeyCommandInput, cb: (err: any, data?: CreateKeyCommandOutput) => void): void; createKey(args: CreateKeyCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: CreateKeyCommandOutput) => void): void; /** * @see {@link DeleteAliasCommand} */ deleteAlias(args: DeleteAliasCommandInput, options?: PaymentCryptographyRequestOptions): Promise; deleteAlias(args: DeleteAliasCommandInput, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void; deleteAlias(args: DeleteAliasCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void; /** * @see {@link DeleteKeyCommand} */ deleteKey(args: DeleteKeyCommandInput, options?: PaymentCryptographyRequestOptions): Promise; deleteKey(args: DeleteKeyCommandInput, cb: (err: any, data?: DeleteKeyCommandOutput) => void): void; deleteKey(args: DeleteKeyCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: DeleteKeyCommandOutput) => void): void; /** * @see {@link DeleteResourcePolicyCommand} */ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: PaymentCryptographyRequestOptions): Promise; deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void; deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void; /** * @see {@link DisableDefaultKeyReplicationRegionsCommand} */ disableDefaultKeyReplicationRegions(args: DisableDefaultKeyReplicationRegionsCommandInput, options?: PaymentCryptographyRequestOptions): Promise; disableDefaultKeyReplicationRegions(args: DisableDefaultKeyReplicationRegionsCommandInput, cb: (err: any, data?: DisableDefaultKeyReplicationRegionsCommandOutput) => void): void; disableDefaultKeyReplicationRegions(args: DisableDefaultKeyReplicationRegionsCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: DisableDefaultKeyReplicationRegionsCommandOutput) => void): void; /** * @see {@link DisassociateMpaTeamCommand} */ disassociateMpaTeam(args: DisassociateMpaTeamCommandInput, options?: PaymentCryptographyRequestOptions): Promise; disassociateMpaTeam(args: DisassociateMpaTeamCommandInput, cb: (err: any, data?: DisassociateMpaTeamCommandOutput) => void): void; disassociateMpaTeam(args: DisassociateMpaTeamCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: DisassociateMpaTeamCommandOutput) => void): void; /** * @see {@link EnableDefaultKeyReplicationRegionsCommand} */ enableDefaultKeyReplicationRegions(args: EnableDefaultKeyReplicationRegionsCommandInput, options?: PaymentCryptographyRequestOptions): Promise; enableDefaultKeyReplicationRegions(args: EnableDefaultKeyReplicationRegionsCommandInput, cb: (err: any, data?: EnableDefaultKeyReplicationRegionsCommandOutput) => void): void; enableDefaultKeyReplicationRegions(args: EnableDefaultKeyReplicationRegionsCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: EnableDefaultKeyReplicationRegionsCommandOutput) => void): void; /** * @see {@link ExportKeyCommand} */ exportKey(args: ExportKeyCommandInput, options?: PaymentCryptographyRequestOptions): Promise; exportKey(args: ExportKeyCommandInput, cb: (err: any, data?: ExportKeyCommandOutput) => void): void; exportKey(args: ExportKeyCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: ExportKeyCommandOutput) => void): void; /** * @see {@link GetAliasCommand} */ getAlias(args: GetAliasCommandInput, options?: PaymentCryptographyRequestOptions): Promise; getAlias(args: GetAliasCommandInput, cb: (err: any, data?: GetAliasCommandOutput) => void): void; getAlias(args: GetAliasCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: GetAliasCommandOutput) => void): void; /** * @see {@link GetCertificateSigningRequestCommand} */ getCertificateSigningRequest(args: GetCertificateSigningRequestCommandInput, options?: PaymentCryptographyRequestOptions): Promise; getCertificateSigningRequest(args: GetCertificateSigningRequestCommandInput, cb: (err: any, data?: GetCertificateSigningRequestCommandOutput) => void): void; getCertificateSigningRequest(args: GetCertificateSigningRequestCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: GetCertificateSigningRequestCommandOutput) => void): void; /** * @see {@link GetDefaultKeyReplicationRegionsCommand} */ getDefaultKeyReplicationRegions(): Promise; getDefaultKeyReplicationRegions(args: GetDefaultKeyReplicationRegionsCommandInput, options?: PaymentCryptographyRequestOptions): Promise; getDefaultKeyReplicationRegions(args: GetDefaultKeyReplicationRegionsCommandInput, cb: (err: any, data?: GetDefaultKeyReplicationRegionsCommandOutput) => void): void; getDefaultKeyReplicationRegions(args: GetDefaultKeyReplicationRegionsCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: GetDefaultKeyReplicationRegionsCommandOutput) => void): void; /** * @see {@link GetKeyCommand} */ getKey(args: GetKeyCommandInput, options?: PaymentCryptographyRequestOptions): Promise; getKey(args: GetKeyCommandInput, cb: (err: any, data?: GetKeyCommandOutput) => void): void; getKey(args: GetKeyCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: GetKeyCommandOutput) => void): void; /** * @see {@link GetMpaTeamAssociationCommand} */ getMpaTeamAssociation(args: GetMpaTeamAssociationCommandInput, options?: PaymentCryptographyRequestOptions): Promise; getMpaTeamAssociation(args: GetMpaTeamAssociationCommandInput, cb: (err: any, data?: GetMpaTeamAssociationCommandOutput) => void): void; getMpaTeamAssociation(args: GetMpaTeamAssociationCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: GetMpaTeamAssociationCommandOutput) => void): void; /** * @see {@link GetParametersForExportCommand} */ getParametersForExport(args: GetParametersForExportCommandInput, options?: PaymentCryptographyRequestOptions): Promise; getParametersForExport(args: GetParametersForExportCommandInput, cb: (err: any, data?: GetParametersForExportCommandOutput) => void): void; getParametersForExport(args: GetParametersForExportCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: GetParametersForExportCommandOutput) => void): void; /** * @see {@link GetParametersForImportCommand} */ getParametersForImport(args: GetParametersForImportCommandInput, options?: PaymentCryptographyRequestOptions): Promise; getParametersForImport(args: GetParametersForImportCommandInput, cb: (err: any, data?: GetParametersForImportCommandOutput) => void): void; getParametersForImport(args: GetParametersForImportCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: GetParametersForImportCommandOutput) => void): void; /** * @see {@link GetPublicKeyCertificateCommand} */ getPublicKeyCertificate(args: GetPublicKeyCertificateCommandInput, options?: PaymentCryptographyRequestOptions): Promise; getPublicKeyCertificate(args: GetPublicKeyCertificateCommandInput, cb: (err: any, data?: GetPublicKeyCertificateCommandOutput) => void): void; getPublicKeyCertificate(args: GetPublicKeyCertificateCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: GetPublicKeyCertificateCommandOutput) => void): void; /** * @see {@link GetResourcePolicyCommand} */ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: PaymentCryptographyRequestOptions): Promise; getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void; getResourcePolicy(args: GetResourcePolicyCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void; /** * @see {@link ImportKeyCommand} */ importKey(args: ImportKeyCommandInput, options?: PaymentCryptographyRequestOptions): Promise; importKey(args: ImportKeyCommandInput, cb: (err: any, data?: ImportKeyCommandOutput) => void): void; importKey(args: ImportKeyCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: ImportKeyCommandOutput) => void): void; /** * @see {@link ListAliasesCommand} */ listAliases(): Promise; listAliases(args: ListAliasesCommandInput, options?: PaymentCryptographyRequestOptions): Promise; listAliases(args: ListAliasesCommandInput, cb: (err: any, data?: ListAliasesCommandOutput) => void): void; listAliases(args: ListAliasesCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: ListAliasesCommandOutput) => void): void; /** * @see {@link ListKeysCommand} */ listKeys(): Promise; listKeys(args: ListKeysCommandInput, options?: PaymentCryptographyRequestOptions): Promise; listKeys(args: ListKeysCommandInput, cb: (err: any, data?: ListKeysCommandOutput) => void): void; listKeys(args: ListKeysCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: ListKeysCommandOutput) => void): void; /** * @see {@link ListTagsForResourceCommand} */ listTagsForResource(args: ListTagsForResourceCommandInput, options?: PaymentCryptographyRequestOptions): Promise; listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; listTagsForResource(args: ListTagsForResourceCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; /** * @see {@link PutResourcePolicyCommand} */ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: PaymentCryptographyRequestOptions): Promise; putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void; putResourcePolicy(args: PutResourcePolicyCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void; /** * @see {@link RemoveKeyReplicationRegionsCommand} */ removeKeyReplicationRegions(args: RemoveKeyReplicationRegionsCommandInput, options?: PaymentCryptographyRequestOptions): Promise; removeKeyReplicationRegions(args: RemoveKeyReplicationRegionsCommandInput, cb: (err: any, data?: RemoveKeyReplicationRegionsCommandOutput) => void): void; removeKeyReplicationRegions(args: RemoveKeyReplicationRegionsCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: RemoveKeyReplicationRegionsCommandOutput) => void): void; /** * @see {@link RestoreKeyCommand} */ restoreKey(args: RestoreKeyCommandInput, options?: PaymentCryptographyRequestOptions): Promise; restoreKey(args: RestoreKeyCommandInput, cb: (err: any, data?: RestoreKeyCommandOutput) => void): void; restoreKey(args: RestoreKeyCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: RestoreKeyCommandOutput) => void): void; /** * @see {@link StartKeyUsageCommand} */ startKeyUsage(args: StartKeyUsageCommandInput, options?: PaymentCryptographyRequestOptions): Promise; startKeyUsage(args: StartKeyUsageCommandInput, cb: (err: any, data?: StartKeyUsageCommandOutput) => void): void; startKeyUsage(args: StartKeyUsageCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: StartKeyUsageCommandOutput) => void): void; /** * @see {@link StopKeyUsageCommand} */ stopKeyUsage(args: StopKeyUsageCommandInput, options?: PaymentCryptographyRequestOptions): Promise; stopKeyUsage(args: StopKeyUsageCommandInput, cb: (err: any, data?: StopKeyUsageCommandOutput) => void): void; stopKeyUsage(args: StopKeyUsageCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: StopKeyUsageCommandOutput) => void): void; /** * @see {@link TagResourceCommand} */ tagResource(args: TagResourceCommandInput, options?: PaymentCryptographyRequestOptions): Promise; tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; tagResource(args: TagResourceCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; /** * @see {@link UntagResourceCommand} */ untagResource(args: UntagResourceCommandInput, options?: PaymentCryptographyRequestOptions): Promise; untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; untagResource(args: UntagResourceCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; /** * @see {@link UpdateAliasCommand} */ updateAlias(args: UpdateAliasCommandInput, options?: PaymentCryptographyRequestOptions): Promise; updateAlias(args: UpdateAliasCommandInput, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void; updateAlias(args: UpdateAliasCommandInput, options: PaymentCryptographyRequestOptions, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void; /** * @see {@link ListAliasesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListAliasesCommandOutput}. */ paginateListAliases(args?: ListAliasesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListKeysCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListKeysCommandOutput}. */ paginateListKeys(args?: ListKeysCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListTagsForResourceCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListTagsForResourceCommandOutput}. */ paginateListTagsForResource(args: ListTagsForResourceCommandInput, paginationConfig?: Omit): Paginator; } /** *

Amazon Web Services Payment Cryptography Control Plane APIs manage encryption keys for use during payment-related cryptographic operations. You can create, import, export, share, manage, and delete keys. You can also manage Identity and Access Management (IAM) policies for keys. For more information, see Identity and access management in the Amazon Web Services Payment Cryptography User Guide.

To use encryption keys for payment-related transaction processing and associated cryptographic operations, you use the Amazon Web Services Payment Cryptography Data Plane. You can perform actions like encrypt, decrypt, generate, and verify payment-related data.

All Amazon Web Services Payment Cryptography API calls must be signed and transmitted using Transport Layer Security (TLS). We recommend you always use the latest supported TLS version for logging API requests.

Amazon Web Services Payment Cryptography supports CloudTrail for control plane operations, a service that logs Amazon Web Services API calls and related events for your Amazon Web Services account and delivers them to an Amazon S3 bucket you specify. By using the information collected by CloudTrail, you can determine what requests were made to Amazon Web Services Payment Cryptography, who made the request, when it was made, and so on. If you don't configure a trail, you can still view the most recent events in the CloudTrail console. For more information, see the CloudTrail User Guide.

* @public */ export declare class PaymentCryptography extends PaymentCryptographyClient implements PaymentCryptography { }