Skip to content

CreateGraphSnapshot

Source: src/AWS/NeptuneGraph/CreateGraphSnapshot.ts

Runtime binding for the CreateGraphSnapshot operation (IAM actions neptune-graph:CreateGraphSnapshot + neptune-graph:TagResource), scoped to one Graph.

Takes an on-demand snapshot of the bound graph — e.g. a pre-import backup from an operational Lambda. Snapshot creation is asynchronous; poll it with GetGraphSnapshot. Provide the implementation with Effect.provide(AWS.NeptuneGraph.CreateGraphSnapshotHttp).

const createSnapshot = yield* NeptuneGraph.CreateGraphSnapshot(graph);
const snapshot = yield* createSnapshot({ snapshotName: "pre-import" });
// snapshot.status → "CREATING"