DeleteDBClusterSnapshot
Source:
src/AWS/DocDB/DeleteDBClusterSnapshot.ts
Runtime binding for the DeleteDBClusterSnapshot operation (IAM action
rds:DeleteDBClusterSnapshot — DocumentDB shares the RDS control plane).
Deletes a DocumentDB cluster snapshot by identifier — the retention half
of snapshot-rotation automation (create nightly, prune the oldest).
Snapshot identifiers are runtime data, so the grant spans the account’s
cluster-snapshot ARNs. Provide the implementation with
Effect.provide(AWS.DocDB.DeleteDBClusterSnapshotHttp).
Managing Snapshots
Section titled “Managing Snapshots”const deleteSnapshot = yield* DocDB.DeleteDBClusterSnapshot();
yield* deleteSnapshot({ DBClusterSnapshotIdentifier: "nightly-2026-06-01",}).pipe( // already gone — rotation is idempotent Effect.catchTag("DBClusterSnapshotNotFoundFault", () => Effect.void),);