Skip to content

StopQueryExecution

Source: src/AWS/Athena/StopQueryExecution.ts

Runtime binding for athena:StopQueryExecution.

Cancels a running query in the bound workgroup. Stopping an already finished query is a no-op, so the call is safely idempotent. Provide the implementation with Effect.provide(AWS.Athena.StopQueryExecutionHttp).

// init — bind the operation to the workgroup
const stopQueryExecution = yield* AWS.Athena.StopQueryExecution(workGroup);
// runtime
yield* stopQueryExecution({ QueryExecutionId: id });