CopySnapshot
Source:
src/AWS/MemoryDB/CopySnapshot.ts
Runtime binding for the CopySnapshot operation (IAM actions
memorydb:CopySnapshot + memorydb:TagResource on the snapshot ARN
wildcard — snapshot names are runtime data).
Makes a copy of an existing snapshot, optionally exporting it to an S3
bucket via TargetBucket. Provide the implementation with
Effect.provide(AWS.MemoryDB.CopySnapshotHttp).
Managing Snapshots
Section titled “Managing Snapshots”const copySnapshot = yield* MemoryDB.CopySnapshot();
const result = yield* copySnapshot({ SourceSnapshotName: "pre-migration", TargetSnapshotName: "pre-migration-archive",});// result.Snapshot.Status → "creating"