Skip to content

DeleteClusterSnapshot

Source: src/AWS/Redshift/DeleteClusterSnapshot.ts

Runtime binding for the DeleteClusterSnapshot operation (IAM action redshift:DeleteClusterSnapshot).

Deletes a manual cluster snapshot by identifier — the cleanup half of a snapshot-rotation job (automated snapshots cannot be deleted; they expire with the retention period). Provide the implementation with Effect.provide(AWS.Redshift.DeleteClusterSnapshotHttp).

const deleteClusterSnapshot = yield* AWS.Redshift.DeleteClusterSnapshot();
yield* deleteClusterSnapshot({
SnapshotIdentifier: expired.SnapshotIdentifier!,
});