import { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, } from "@smithy/types"; import { CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, } from "./commands/CancelKeyDeletionCommand"; import { ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput, } from "./commands/ConnectCustomKeyStoreCommand"; import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand"; import { CreateCustomKeyStoreCommandInput, CreateCustomKeyStoreCommandOutput, } from "./commands/CreateCustomKeyStoreCommand"; import { CreateGrantCommandInput, CreateGrantCommandOutput } from "./commands/CreateGrantCommand"; import { CreateKeyCommandInput, CreateKeyCommandOutput } from "./commands/CreateKeyCommand"; import { DecapsulateCommandInput, DecapsulateCommandOutput } from "./commands/DecapsulateCommand"; import { DecryptCommandInput, DecryptCommandOutput } from "./commands/DecryptCommand"; import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand"; import { DeleteCustomKeyStoreCommandInput, DeleteCustomKeyStoreCommandOutput, } from "./commands/DeleteCustomKeyStoreCommand"; import { DeleteImportedKeyMaterialCommandInput, DeleteImportedKeyMaterialCommandOutput, } from "./commands/DeleteImportedKeyMaterialCommand"; import { DeriveSharedSecretCommandInput, DeriveSharedSecretCommandOutput, } from "./commands/DeriveSharedSecretCommand"; import { DescribeCustomKeyStoresCommandInput, DescribeCustomKeyStoresCommandOutput, } from "./commands/DescribeCustomKeyStoresCommand"; import { DescribeKeyCommandInput, DescribeKeyCommandOutput } from "./commands/DescribeKeyCommand"; import { DisableKeyCommandInput, DisableKeyCommandOutput } from "./commands/DisableKeyCommand"; import { DisableKeyRotationCommandInput, DisableKeyRotationCommandOutput, } from "./commands/DisableKeyRotationCommand"; import { DisconnectCustomKeyStoreCommandInput, DisconnectCustomKeyStoreCommandOutput, } from "./commands/DisconnectCustomKeyStoreCommand"; import { EnableKeyCommandInput, EnableKeyCommandOutput } from "./commands/EnableKeyCommand"; import { EnableKeyRotationCommandInput, EnableKeyRotationCommandOutput, } from "./commands/EnableKeyRotationCommand"; import { EncapsulateCommandInput, EncapsulateCommandOutput } from "./commands/EncapsulateCommand"; import { EncryptCommandInput, EncryptCommandOutput } from "./commands/EncryptCommand"; import { GenerateDataKeyCommandInput, GenerateDataKeyCommandOutput, } from "./commands/GenerateDataKeyCommand"; import { GenerateDataKeyPairCommandInput, GenerateDataKeyPairCommandOutput, } from "./commands/GenerateDataKeyPairCommand"; import { GenerateDataKeyPairWithoutPlaintextCommandInput, GenerateDataKeyPairWithoutPlaintextCommandOutput, } from "./commands/GenerateDataKeyPairWithoutPlaintextCommand"; import { GenerateDataKeyWithoutPlaintextCommandInput, GenerateDataKeyWithoutPlaintextCommandOutput, } from "./commands/GenerateDataKeyWithoutPlaintextCommand"; import { GenerateMacCommandInput, GenerateMacCommandOutput } from "./commands/GenerateMacCommand"; import { GenerateRandomCommandInput, GenerateRandomCommandOutput, } from "./commands/GenerateRandomCommand"; import { GetKeyLastUsageCommandInput, GetKeyLastUsageCommandOutput, } from "./commands/GetKeyLastUsageCommand"; import { GetKeyPolicyCommandInput, GetKeyPolicyCommandOutput, } from "./commands/GetKeyPolicyCommand"; import { GetKeyRotationStatusCommandInput, GetKeyRotationStatusCommandOutput, } from "./commands/GetKeyRotationStatusCommand"; import { GetParametersForImportCommandInput, GetParametersForImportCommandOutput, } from "./commands/GetParametersForImportCommand"; import { GetPublicKeyCommandInput, GetPublicKeyCommandOutput, } from "./commands/GetPublicKeyCommand"; import { ImportKeyMaterialCommandInput, ImportKeyMaterialCommandOutput, } from "./commands/ImportKeyMaterialCommand"; import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand"; import { ListGrantsCommandInput, ListGrantsCommandOutput } from "./commands/ListGrantsCommand"; import { ListKeyPoliciesCommandInput, ListKeyPoliciesCommandOutput, } from "./commands/ListKeyPoliciesCommand"; import { ListKeyRotationsCommandInput, ListKeyRotationsCommandOutput, } from "./commands/ListKeyRotationsCommand"; import { ListKeysCommandInput, ListKeysCommandOutput } from "./commands/ListKeysCommand"; import { ListResourceTagsCommandInput, ListResourceTagsCommandOutput, } from "./commands/ListResourceTagsCommand"; import { ListRetirableGrantsCommandInput, ListRetirableGrantsCommandOutput, } from "./commands/ListRetirableGrantsCommand"; import { PutKeyPolicyCommandInput, PutKeyPolicyCommandOutput, } from "./commands/PutKeyPolicyCommand"; import { ReEncryptCommandInput, ReEncryptCommandOutput } from "./commands/ReEncryptCommand"; import { ReplicateKeyCommandInput, ReplicateKeyCommandOutput, } from "./commands/ReplicateKeyCommand"; import { RetireGrantCommandInput, RetireGrantCommandOutput } from "./commands/RetireGrantCommand"; import { RevokeGrantCommandInput, RevokeGrantCommandOutput } from "./commands/RevokeGrantCommand"; import { RotateKeyOnDemandCommandInput, RotateKeyOnDemandCommandOutput, } from "./commands/RotateKeyOnDemandCommand"; import { ScheduleKeyDeletionCommandInput, ScheduleKeyDeletionCommandOutput, } from "./commands/ScheduleKeyDeletionCommand"; import { SignCommandInput, SignCommandOutput } from "./commands/SignCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput, } from "./commands/UntagResourceCommand"; import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand"; import { UpdateCustomKeyStoreCommandInput, UpdateCustomKeyStoreCommandOutput, } from "./commands/UpdateCustomKeyStoreCommand"; import { UpdateKeyDescriptionCommandInput, UpdateKeyDescriptionCommandOutput, } from "./commands/UpdateKeyDescriptionCommand"; import { UpdatePrimaryRegionCommandInput, UpdatePrimaryRegionCommandOutput, } from "./commands/UpdatePrimaryRegionCommand"; import { VerifyCommandInput, VerifyCommandOutput } from "./commands/VerifyCommand"; import { VerifyMacCommandInput, VerifyMacCommandOutput } from "./commands/VerifyMacCommand"; import { KMSClient } from "./KMSClient"; export interface KMSRequestOptions extends __HttpHandlerOptions { metricsRecorder?: __MetricsRecorder; } export interface KMS { cancelKeyDeletion( args: CancelKeyDeletionCommandInput, options?: KMSRequestOptions, ): Promise; cancelKeyDeletion( args: CancelKeyDeletionCommandInput, cb: (err: any, data?: CancelKeyDeletionCommandOutput) => void, ): void; cancelKeyDeletion( args: CancelKeyDeletionCommandInput, options: KMSRequestOptions, cb: (err: any, data?: CancelKeyDeletionCommandOutput) => void, ): void; connectCustomKeyStore( args: ConnectCustomKeyStoreCommandInput, options?: KMSRequestOptions, ): Promise; connectCustomKeyStore( args: ConnectCustomKeyStoreCommandInput, cb: (err: any, data?: ConnectCustomKeyStoreCommandOutput) => void, ): void; connectCustomKeyStore( args: ConnectCustomKeyStoreCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ConnectCustomKeyStoreCommandOutput) => void, ): void; createAlias( args: CreateAliasCommandInput, options?: KMSRequestOptions, ): Promise; createAlias( args: CreateAliasCommandInput, cb: (err: any, data?: CreateAliasCommandOutput) => void, ): void; createAlias( args: CreateAliasCommandInput, options: KMSRequestOptions, cb: (err: any, data?: CreateAliasCommandOutput) => void, ): void; createCustomKeyStore( args: CreateCustomKeyStoreCommandInput, options?: KMSRequestOptions, ): Promise; createCustomKeyStore( args: CreateCustomKeyStoreCommandInput, cb: (err: any, data?: CreateCustomKeyStoreCommandOutput) => void, ): void; createCustomKeyStore( args: CreateCustomKeyStoreCommandInput, options: KMSRequestOptions, cb: (err: any, data?: CreateCustomKeyStoreCommandOutput) => void, ): void; createGrant( args: CreateGrantCommandInput, options?: KMSRequestOptions, ): Promise; createGrant( args: CreateGrantCommandInput, cb: (err: any, data?: CreateGrantCommandOutput) => void, ): void; createGrant( args: CreateGrantCommandInput, options: KMSRequestOptions, cb: (err: any, data?: CreateGrantCommandOutput) => void, ): void; createKey(): Promise; createKey( args: CreateKeyCommandInput, options?: KMSRequestOptions, ): Promise; createKey( args: CreateKeyCommandInput, cb: (err: any, data?: CreateKeyCommandOutput) => void, ): void; createKey( args: CreateKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: CreateKeyCommandOutput) => void, ): void; decapsulate( args: DecapsulateCommandInput, options?: KMSRequestOptions, ): Promise; decapsulate( args: DecapsulateCommandInput, cb: (err: any, data?: DecapsulateCommandOutput) => void, ): void; decapsulate( args: DecapsulateCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DecapsulateCommandOutput) => void, ): void; decrypt(): Promise; decrypt(args: DecryptCommandInput, options?: KMSRequestOptions): Promise; decrypt(args: DecryptCommandInput, cb: (err: any, data?: DecryptCommandOutput) => void): void; decrypt( args: DecryptCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DecryptCommandOutput) => void, ): void; deleteAlias( args: DeleteAliasCommandInput, options?: KMSRequestOptions, ): Promise; deleteAlias( args: DeleteAliasCommandInput, cb: (err: any, data?: DeleteAliasCommandOutput) => void, ): void; deleteAlias( args: DeleteAliasCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DeleteAliasCommandOutput) => void, ): void; deleteCustomKeyStore( args: DeleteCustomKeyStoreCommandInput, options?: KMSRequestOptions, ): Promise; deleteCustomKeyStore( args: DeleteCustomKeyStoreCommandInput, cb: (err: any, data?: DeleteCustomKeyStoreCommandOutput) => void, ): void; deleteCustomKeyStore( args: DeleteCustomKeyStoreCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DeleteCustomKeyStoreCommandOutput) => void, ): void; deleteImportedKeyMaterial( args: DeleteImportedKeyMaterialCommandInput, options?: KMSRequestOptions, ): Promise; deleteImportedKeyMaterial( args: DeleteImportedKeyMaterialCommandInput, cb: (err: any, data?: DeleteImportedKeyMaterialCommandOutput) => void, ): void; deleteImportedKeyMaterial( args: DeleteImportedKeyMaterialCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DeleteImportedKeyMaterialCommandOutput) => void, ): void; deriveSharedSecret( args: DeriveSharedSecretCommandInput, options?: KMSRequestOptions, ): Promise; deriveSharedSecret( args: DeriveSharedSecretCommandInput, cb: (err: any, data?: DeriveSharedSecretCommandOutput) => void, ): void; deriveSharedSecret( args: DeriveSharedSecretCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DeriveSharedSecretCommandOutput) => void, ): void; describeCustomKeyStores(): Promise; describeCustomKeyStores( args: DescribeCustomKeyStoresCommandInput, options?: KMSRequestOptions, ): Promise; describeCustomKeyStores( args: DescribeCustomKeyStoresCommandInput, cb: (err: any, data?: DescribeCustomKeyStoresCommandOutput) => void, ): void; describeCustomKeyStores( args: DescribeCustomKeyStoresCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DescribeCustomKeyStoresCommandOutput) => void, ): void; describeKey( args: DescribeKeyCommandInput, options?: KMSRequestOptions, ): Promise; describeKey( args: DescribeKeyCommandInput, cb: (err: any, data?: DescribeKeyCommandOutput) => void, ): void; describeKey( args: DescribeKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DescribeKeyCommandOutput) => void, ): void; disableKey( args: DisableKeyCommandInput, options?: KMSRequestOptions, ): Promise; disableKey( args: DisableKeyCommandInput, cb: (err: any, data?: DisableKeyCommandOutput) => void, ): void; disableKey( args: DisableKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DisableKeyCommandOutput) => void, ): void; disableKeyRotation( args: DisableKeyRotationCommandInput, options?: KMSRequestOptions, ): Promise; disableKeyRotation( args: DisableKeyRotationCommandInput, cb: (err: any, data?: DisableKeyRotationCommandOutput) => void, ): void; disableKeyRotation( args: DisableKeyRotationCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DisableKeyRotationCommandOutput) => void, ): void; disconnectCustomKeyStore( args: DisconnectCustomKeyStoreCommandInput, options?: KMSRequestOptions, ): Promise; disconnectCustomKeyStore( args: DisconnectCustomKeyStoreCommandInput, cb: (err: any, data?: DisconnectCustomKeyStoreCommandOutput) => void, ): void; disconnectCustomKeyStore( args: DisconnectCustomKeyStoreCommandInput, options: KMSRequestOptions, cb: (err: any, data?: DisconnectCustomKeyStoreCommandOutput) => void, ): void; enableKey( args: EnableKeyCommandInput, options?: KMSRequestOptions, ): Promise; enableKey( args: EnableKeyCommandInput, cb: (err: any, data?: EnableKeyCommandOutput) => void, ): void; enableKey( args: EnableKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: EnableKeyCommandOutput) => void, ): void; enableKeyRotation( args: EnableKeyRotationCommandInput, options?: KMSRequestOptions, ): Promise; enableKeyRotation( args: EnableKeyRotationCommandInput, cb: (err: any, data?: EnableKeyRotationCommandOutput) => void, ): void; enableKeyRotation( args: EnableKeyRotationCommandInput, options: KMSRequestOptions, cb: (err: any, data?: EnableKeyRotationCommandOutput) => void, ): void; encapsulate( args: EncapsulateCommandInput, options?: KMSRequestOptions, ): Promise; encapsulate( args: EncapsulateCommandInput, cb: (err: any, data?: EncapsulateCommandOutput) => void, ): void; encapsulate( args: EncapsulateCommandInput, options: KMSRequestOptions, cb: (err: any, data?: EncapsulateCommandOutput) => void, ): void; encrypt(args: EncryptCommandInput, options?: KMSRequestOptions): Promise; encrypt(args: EncryptCommandInput, cb: (err: any, data?: EncryptCommandOutput) => void): void; encrypt( args: EncryptCommandInput, options: KMSRequestOptions, cb: (err: any, data?: EncryptCommandOutput) => void, ): void; generateDataKey( args: GenerateDataKeyCommandInput, options?: KMSRequestOptions, ): Promise; generateDataKey( args: GenerateDataKeyCommandInput, cb: (err: any, data?: GenerateDataKeyCommandOutput) => void, ): void; generateDataKey( args: GenerateDataKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateDataKeyCommandOutput) => void, ): void; generateDataKeyPair( args: GenerateDataKeyPairCommandInput, options?: KMSRequestOptions, ): Promise; generateDataKeyPair( args: GenerateDataKeyPairCommandInput, cb: (err: any, data?: GenerateDataKeyPairCommandOutput) => void, ): void; generateDataKeyPair( args: GenerateDataKeyPairCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateDataKeyPairCommandOutput) => void, ): void; generateDataKeyPairWithoutPlaintext( args: GenerateDataKeyPairWithoutPlaintextCommandInput, options?: KMSRequestOptions, ): Promise; generateDataKeyPairWithoutPlaintext( args: GenerateDataKeyPairWithoutPlaintextCommandInput, cb: (err: any, data?: GenerateDataKeyPairWithoutPlaintextCommandOutput) => void, ): void; generateDataKeyPairWithoutPlaintext( args: GenerateDataKeyPairWithoutPlaintextCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateDataKeyPairWithoutPlaintextCommandOutput) => void, ): void; generateDataKeyWithoutPlaintext( args: GenerateDataKeyWithoutPlaintextCommandInput, options?: KMSRequestOptions, ): Promise; generateDataKeyWithoutPlaintext( args: GenerateDataKeyWithoutPlaintextCommandInput, cb: (err: any, data?: GenerateDataKeyWithoutPlaintextCommandOutput) => void, ): void; generateDataKeyWithoutPlaintext( args: GenerateDataKeyWithoutPlaintextCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateDataKeyWithoutPlaintextCommandOutput) => void, ): void; generateMac( args: GenerateMacCommandInput, options?: KMSRequestOptions, ): Promise; generateMac( args: GenerateMacCommandInput, cb: (err: any, data?: GenerateMacCommandOutput) => void, ): void; generateMac( args: GenerateMacCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateMacCommandOutput) => void, ): void; generateRandom(): Promise; generateRandom( args: GenerateRandomCommandInput, options?: KMSRequestOptions, ): Promise; generateRandom( args: GenerateRandomCommandInput, cb: (err: any, data?: GenerateRandomCommandOutput) => void, ): void; generateRandom( args: GenerateRandomCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GenerateRandomCommandOutput) => void, ): void; getKeyLastUsage( args: GetKeyLastUsageCommandInput, options?: KMSRequestOptions, ): Promise; getKeyLastUsage( args: GetKeyLastUsageCommandInput, cb: (err: any, data?: GetKeyLastUsageCommandOutput) => void, ): void; getKeyLastUsage( args: GetKeyLastUsageCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GetKeyLastUsageCommandOutput) => void, ): void; getKeyPolicy( args: GetKeyPolicyCommandInput, options?: KMSRequestOptions, ): Promise; getKeyPolicy( args: GetKeyPolicyCommandInput, cb: (err: any, data?: GetKeyPolicyCommandOutput) => void, ): void; getKeyPolicy( args: GetKeyPolicyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GetKeyPolicyCommandOutput) => void, ): void; getKeyRotationStatus( args: GetKeyRotationStatusCommandInput, options?: KMSRequestOptions, ): Promise; getKeyRotationStatus( args: GetKeyRotationStatusCommandInput, cb: (err: any, data?: GetKeyRotationStatusCommandOutput) => void, ): void; getKeyRotationStatus( args: GetKeyRotationStatusCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GetKeyRotationStatusCommandOutput) => void, ): void; getParametersForImport( args: GetParametersForImportCommandInput, options?: KMSRequestOptions, ): Promise; getParametersForImport( args: GetParametersForImportCommandInput, cb: (err: any, data?: GetParametersForImportCommandOutput) => void, ): void; getParametersForImport( args: GetParametersForImportCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GetParametersForImportCommandOutput) => void, ): void; getPublicKey( args: GetPublicKeyCommandInput, options?: KMSRequestOptions, ): Promise; getPublicKey( args: GetPublicKeyCommandInput, cb: (err: any, data?: GetPublicKeyCommandOutput) => void, ): void; getPublicKey( args: GetPublicKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: GetPublicKeyCommandOutput) => void, ): void; importKeyMaterial( args: ImportKeyMaterialCommandInput, options?: KMSRequestOptions, ): Promise; importKeyMaterial( args: ImportKeyMaterialCommandInput, cb: (err: any, data?: ImportKeyMaterialCommandOutput) => void, ): void; importKeyMaterial( args: ImportKeyMaterialCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ImportKeyMaterialCommandOutput) => void, ): void; listAliases(): Promise; listAliases( args: ListAliasesCommandInput, options?: KMSRequestOptions, ): Promise; listAliases( args: ListAliasesCommandInput, cb: (err: any, data?: ListAliasesCommandOutput) => void, ): void; listAliases( args: ListAliasesCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListAliasesCommandOutput) => void, ): void; listGrants( args: ListGrantsCommandInput, options?: KMSRequestOptions, ): Promise; listGrants( args: ListGrantsCommandInput, cb: (err: any, data?: ListGrantsCommandOutput) => void, ): void; listGrants( args: ListGrantsCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListGrantsCommandOutput) => void, ): void; listKeyPolicies( args: ListKeyPoliciesCommandInput, options?: KMSRequestOptions, ): Promise; listKeyPolicies( args: ListKeyPoliciesCommandInput, cb: (err: any, data?: ListKeyPoliciesCommandOutput) => void, ): void; listKeyPolicies( args: ListKeyPoliciesCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListKeyPoliciesCommandOutput) => void, ): void; listKeyRotations( args: ListKeyRotationsCommandInput, options?: KMSRequestOptions, ): Promise; listKeyRotations( args: ListKeyRotationsCommandInput, cb: (err: any, data?: ListKeyRotationsCommandOutput) => void, ): void; listKeyRotations( args: ListKeyRotationsCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListKeyRotationsCommandOutput) => void, ): void; listKeys(): Promise; listKeys(args: ListKeysCommandInput, options?: KMSRequestOptions): Promise; listKeys(args: ListKeysCommandInput, cb: (err: any, data?: ListKeysCommandOutput) => void): void; listKeys( args: ListKeysCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListKeysCommandOutput) => void, ): void; listResourceTags( args: ListResourceTagsCommandInput, options?: KMSRequestOptions, ): Promise; listResourceTags( args: ListResourceTagsCommandInput, cb: (err: any, data?: ListResourceTagsCommandOutput) => void, ): void; listResourceTags( args: ListResourceTagsCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListResourceTagsCommandOutput) => void, ): void; listRetirableGrants(): Promise; listRetirableGrants( args: ListRetirableGrantsCommandInput, options?: KMSRequestOptions, ): Promise; listRetirableGrants( args: ListRetirableGrantsCommandInput, cb: (err: any, data?: ListRetirableGrantsCommandOutput) => void, ): void; listRetirableGrants( args: ListRetirableGrantsCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ListRetirableGrantsCommandOutput) => void, ): void; putKeyPolicy( args: PutKeyPolicyCommandInput, options?: KMSRequestOptions, ): Promise; putKeyPolicy( args: PutKeyPolicyCommandInput, cb: (err: any, data?: PutKeyPolicyCommandOutput) => void, ): void; putKeyPolicy( args: PutKeyPolicyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: PutKeyPolicyCommandOutput) => void, ): void; reEncrypt( args: ReEncryptCommandInput, options?: KMSRequestOptions, ): Promise; reEncrypt( args: ReEncryptCommandInput, cb: (err: any, data?: ReEncryptCommandOutput) => void, ): void; reEncrypt( args: ReEncryptCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ReEncryptCommandOutput) => void, ): void; replicateKey( args: ReplicateKeyCommandInput, options?: KMSRequestOptions, ): Promise; replicateKey( args: ReplicateKeyCommandInput, cb: (err: any, data?: ReplicateKeyCommandOutput) => void, ): void; replicateKey( args: ReplicateKeyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ReplicateKeyCommandOutput) => void, ): void; retireGrant(): Promise; retireGrant( args: RetireGrantCommandInput, options?: KMSRequestOptions, ): Promise; retireGrant( args: RetireGrantCommandInput, cb: (err: any, data?: RetireGrantCommandOutput) => void, ): void; retireGrant( args: RetireGrantCommandInput, options: KMSRequestOptions, cb: (err: any, data?: RetireGrantCommandOutput) => void, ): void; revokeGrant( args: RevokeGrantCommandInput, options?: KMSRequestOptions, ): Promise; revokeGrant( args: RevokeGrantCommandInput, cb: (err: any, data?: RevokeGrantCommandOutput) => void, ): void; revokeGrant( args: RevokeGrantCommandInput, options: KMSRequestOptions, cb: (err: any, data?: RevokeGrantCommandOutput) => void, ): void; rotateKeyOnDemand( args: RotateKeyOnDemandCommandInput, options?: KMSRequestOptions, ): Promise; rotateKeyOnDemand( args: RotateKeyOnDemandCommandInput, cb: (err: any, data?: RotateKeyOnDemandCommandOutput) => void, ): void; rotateKeyOnDemand( args: RotateKeyOnDemandCommandInput, options: KMSRequestOptions, cb: (err: any, data?: RotateKeyOnDemandCommandOutput) => void, ): void; scheduleKeyDeletion( args: ScheduleKeyDeletionCommandInput, options?: KMSRequestOptions, ): Promise; scheduleKeyDeletion( args: ScheduleKeyDeletionCommandInput, cb: (err: any, data?: ScheduleKeyDeletionCommandOutput) => void, ): void; scheduleKeyDeletion( args: ScheduleKeyDeletionCommandInput, options: KMSRequestOptions, cb: (err: any, data?: ScheduleKeyDeletionCommandOutput) => void, ): void; sign(args: SignCommandInput, options?: KMSRequestOptions): Promise; sign(args: SignCommandInput, cb: (err: any, data?: SignCommandOutput) => void): void; sign( args: SignCommandInput, options: KMSRequestOptions, cb: (err: any, data?: SignCommandOutput) => void, ): void; tagResource( args: TagResourceCommandInput, options?: KMSRequestOptions, ): Promise; tagResource( args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void, ): void; tagResource( args: TagResourceCommandInput, options: KMSRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void, ): void; untagResource( args: UntagResourceCommandInput, options?: KMSRequestOptions, ): Promise; untagResource( args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void, ): void; untagResource( args: UntagResourceCommandInput, options: KMSRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void, ): void; updateAlias( args: UpdateAliasCommandInput, options?: KMSRequestOptions, ): Promise; updateAlias( args: UpdateAliasCommandInput, cb: (err: any, data?: UpdateAliasCommandOutput) => void, ): void; updateAlias( args: UpdateAliasCommandInput, options: KMSRequestOptions, cb: (err: any, data?: UpdateAliasCommandOutput) => void, ): void; updateCustomKeyStore( args: UpdateCustomKeyStoreCommandInput, options?: KMSRequestOptions, ): Promise; updateCustomKeyStore( args: UpdateCustomKeyStoreCommandInput, cb: (err: any, data?: UpdateCustomKeyStoreCommandOutput) => void, ): void; updateCustomKeyStore( args: UpdateCustomKeyStoreCommandInput, options: KMSRequestOptions, cb: (err: any, data?: UpdateCustomKeyStoreCommandOutput) => void, ): void; updateKeyDescription( args: UpdateKeyDescriptionCommandInput, options?: KMSRequestOptions, ): Promise; updateKeyDescription( args: UpdateKeyDescriptionCommandInput, cb: (err: any, data?: UpdateKeyDescriptionCommandOutput) => void, ): void; updateKeyDescription( args: UpdateKeyDescriptionCommandInput, options: KMSRequestOptions, cb: (err: any, data?: UpdateKeyDescriptionCommandOutput) => void, ): void; updatePrimaryRegion( args: UpdatePrimaryRegionCommandInput, options?: KMSRequestOptions, ): Promise; updatePrimaryRegion( args: UpdatePrimaryRegionCommandInput, cb: (err: any, data?: UpdatePrimaryRegionCommandOutput) => void, ): void; updatePrimaryRegion( args: UpdatePrimaryRegionCommandInput, options: KMSRequestOptions, cb: (err: any, data?: UpdatePrimaryRegionCommandOutput) => void, ): void; verify(args: VerifyCommandInput, options?: KMSRequestOptions): Promise; verify(args: VerifyCommandInput, cb: (err: any, data?: VerifyCommandOutput) => void): void; verify( args: VerifyCommandInput, options: KMSRequestOptions, cb: (err: any, data?: VerifyCommandOutput) => void, ): void; verifyMac( args: VerifyMacCommandInput, options?: KMSRequestOptions, ): Promise; verifyMac( args: VerifyMacCommandInput, cb: (err: any, data?: VerifyMacCommandOutput) => void, ): void; verifyMac( args: VerifyMacCommandInput, options: KMSRequestOptions, cb: (err: any, data?: VerifyMacCommandOutput) => void, ): void; paginateDescribeCustomKeyStores( args?: DescribeCustomKeyStoresCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; paginateListAliases( args?: ListAliasesCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; paginateListGrants( args: ListGrantsCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; paginateListKeyPolicies( args: ListKeyPoliciesCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; paginateListKeyRotations( args: ListKeyRotationsCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; paginateListKeys( args?: ListKeysCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; paginateListResourceTags( args: ListResourceTagsCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; paginateListRetirableGrants( args?: ListRetirableGrantsCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; } export declare class KMS extends KMSClient implements KMS {}