Skip to content

BatchGetQueryExecution

Source: src/AWS/Athena/BatchGetQueryExecution.ts

Runtime binding for athena:BatchGetQueryExecution.

Reads up to 50 query executions from the bound workgroup in one call. Provide the implementation with Effect.provide(AWS.Athena.BatchGetQueryExecutionHttp).

// init — bind the operation to the workgroup
const batchGetQueryExecution =
yield* AWS.Athena.BatchGetQueryExecution(workGroup);
// runtime
const res = yield* batchGetQueryExecution({ QueryExecutionIds: ids });
console.log(res.QueryExecutions?.map((qe) => qe.Status?.State));