Skip to content

GetClusterSnapshot

Source: src/AWS/DocDBElastic/GetClusterSnapshot.ts

Runtime binding for the GetClusterSnapshot operation (IAM action docdb-elastic:GetClusterSnapshot).

Reads one elastic-cluster snapshot by ARN — status, source cluster, and the network/encryption configuration captured at snapshot time. Snapshot ARNs embed server-generated UUIDs and are runtime data, so the grant spans the account’s snapshots. Provide the implementation with Effect.provide(AWS.DocDBElastic.GetClusterSnapshotHttp).

const getSnapshot = yield* DocDBElastic.GetClusterSnapshot();
const result = yield* getSnapshot({ snapshotArn });
// result.snapshot.status → "AVAILABLE"