import * as __aws_sdk_types from '@aws-sdk/types'; /** * GenerateDataKeyOutput shape */ export interface GenerateDataKeyOutput { /** *

The encrypted data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not encoded.

*/ CiphertextBlob?: Uint8Array; /** *

The data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not encoded. Use this data key for local encryption and decryption, then remove it from memory as soon as possible.

*/ Plaintext?: Uint8Array; /** *

The identifier of the CMK under which the data encryption key was generated and encrypted.

*/ KeyId?: string; /** * Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recognized by the SDK. */ $metadata: __aws_sdk_types.ResponseMetadata; }