GetQueryExecution
Source:
src/AWS/Athena/GetQueryExecution.ts
Runtime binding for athena:GetQueryExecution.
Reads the state, statistics, and configuration of a single query execution
that ran in the bound workgroup. Provide the implementation with
Effect.provide(AWS.Athena.GetQueryExecutionHttp).
Inspecting Query Executions
Section titled “Inspecting Query Executions”// init — bind the operation to the workgroupconst getQueryExecution = yield* AWS.Athena.GetQueryExecution(workGroup);
// runtimeconst res = yield* getQueryExecution({ QueryExecutionId: id });console.log(res.QueryExecution?.Status?.State);