DescribeClusterSnapshots
Source:
src/AWS/Redshift/DescribeClusterSnapshots.ts
Runtime binding for the DescribeClusterSnapshots operation (IAM action
redshift:DescribeClusterSnapshots).
Lists the account’s cluster snapshots (manual and automated) — e.g. a
snapshot-rotation job that finds manual snapshots older than the retention
window before deleting them. Provide the implementation with
Effect.provide(AWS.Redshift.DescribeClusterSnapshotsHttp).
Managing Snapshots
Section titled “Managing Snapshots”const describeClusterSnapshots = yield* AWS.Redshift.DescribeClusterSnapshots();
const page = yield* describeClusterSnapshots({ ClusterIdentifier: clusterId, SnapshotType: "manual",});const identifiers = page.Snapshots?.map((s) => s.SnapshotIdentifier);