Skip to content

ListSnapshots

Source: src/AWS/RedshiftServerless/ListSnapshots.ts

Runtime binding for the ListSnapshots operation (IAM actions redshift-serverless:ListSnapshots).

Lists snapshots in the account, optionally filtered by namespace or time window — the discovery half of snapshot-rotation and DR tooling. Provide the implementation with Effect.provide(AWS.RedshiftServerless.ListSnapshotsHttp).

// init — resolve the runtime client
const listSnapshots = yield* AWS.RedshiftServerless.ListSnapshots();
const { snapshots } = yield* listSnapshots({ namespaceName });