Skip to content

GetGraphSnapshot

Source: src/AWS/NeptuneGraph/GetGraphSnapshot.ts

Runtime binding for the GetGraphSnapshot operation (IAM action neptune-graph:GetGraphSnapshot).

Reads one graph snapshot by id — status, source graph, and encryption key. Snapshot ids are server-generated runtime data, so the grant spans the account’s snapshots. Provide the implementation with Effect.provide(AWS.NeptuneGraph.GetGraphSnapshotHttp).

const getSnapshot = yield* NeptuneGraph.GetGraphSnapshot();
const snapshot = yield* getSnapshot({ snapshotIdentifier });
// snapshot.status → "AVAILABLE"