CreateSnapshot
Source:
src/AWS/MemoryDB/CreateSnapshot.ts
Runtime binding for the CreateSnapshot operation (IAM actions
memorydb:CreateSnapshot + memorydb:TagResource), scoped to one
Cluster.
Takes an on-demand snapshot of the bound cluster — e.g. a pre-migration
backup from an operational Lambda. Provide the implementation with
Effect.provide(AWS.MemoryDB.CreateSnapshotHttp).
Managing Snapshots
Section titled “Managing Snapshots”const createSnapshot = yield* MemoryDB.CreateSnapshot(cluster);
const result = yield* createSnapshot({ SnapshotName: "pre-migration" });// result.Snapshot.Status → "creating"