v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1445255198.7 KB

Makes a copy of an existing snapshot.

post/#X-Amz-Target=AmazonMemoryDB.CopySnapshot

Headers

X-Amz-Target'AmazonMemoryDB.CopySnapshot' required

Request body

SourceSnapshotNamestring required

The name of an existing snapshot from which to make a copy.

TargetSnapshotNamestring required

A name for the snapshot copy. MemoryDB does not permit overwriting a snapshot, therefore this name must be unique within its context - MemoryDB or an Amazon S3 bucket if exporting.

TargetBucketstring

The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a snapshot for external access. When using this parameter to export a snapshot, be sure MemoryDB has the needed permissions to this S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/snapshots-exporting.html">Step 2: Grant MemoryDB Access to Your Amazon S3 Bucket</a>.

KmsKeyIdstring

The ID of the KMS key used to encrypt the target snapshot.

Response

Success