Skip to content

CancelQuery

Source: src/AWS/NeptuneGraph/CancelQuery.ts

Runtime binding for the CancelQuery operation (IAM action neptune-graph:CancelQuery), scoped to one Graph.

Cancels a query running on the bound graph by its query id — e.g. kill a runaway openCypher traversal found via ListQueries. Provide the implementation with Effect.provide(AWS.NeptuneGraph.CancelQueryHttp).

const cancelQuery = yield* NeptuneGraph.CancelQuery(graph);
yield* cancelQuery({ queryId });