Skip to content

DescribeSnapshots

Source: src/AWS/MemoryDB/DescribeSnapshots.ts

Runtime binding for the DescribeSnapshots operation (IAM action memorydb:DescribeSnapshots).

Lists the account’s cluster snapshots, optionally filtered by cluster or snapshot name — e.g. verifying a backup completed before a migration. Provide the implementation with Effect.provide(AWS.MemoryDB.DescribeSnapshotsHttp).

const describeSnapshots = yield* MemoryDB.DescribeSnapshots();
const page = yield* describeSnapshots({ ClusterName: clusterName });
for (const snapshot of page.Snapshots ?? []) {
yield* Effect.logInfo(`${snapshot.Name}: ${snapshot.Status}`);
}