import type * as neptunegraph from "@distilled.cloud/aws/neptune-graph"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Graph } from "./Graph.ts"; /** * Runtime binding for the `CancelQuery` operation (IAM action `neptune-graph:CancelQuery`), * scoped to one {@link Graph}. * * Cancels a query running on the bound graph by its query id — e.g. kill a runaway openCypher traversal found via {@link ListQueries}. Provide the implementation with * `Effect.provide(AWS.NeptuneGraph.CancelQueryHttp)`. * ### Managing Queries * **Example:** Cancel a runaway query * ```typescript * const cancelQuery = yield* NeptuneGraph.CancelQuery(graph); * * yield* cancelQuery({ queryId }); * ``` * * @binding */ export interface CancelQuery extends Binding.Service Effect.Effect<(request: Omit) => Effect.Effect>> { } export declare const CancelQuery: CancelQuery; //# sourceMappingURL=CancelQuery.d.ts.map