Skip to content

DeleteGraphSnapshot

Source: src/AWS/NeptuneGraph/DeleteGraphSnapshot.ts

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

Deletes a graph snapshot by id — e.g. a retention Lambda pruning old backups found via ListGraphSnapshots. Provide the implementation with Effect.provide(AWS.NeptuneGraph.DeleteGraphSnapshotHttp).

const deleteSnapshot = yield* NeptuneGraph.DeleteGraphSnapshot();
yield* deleteSnapshot({ snapshotIdentifier });