Skip to content

ListQueryExecutions

Source: src/AWS/Athena/ListQueryExecutions.ts

Runtime binding for athena:ListQueryExecutions.

Lists recent query execution IDs in the bound workgroup (newest first) — the workgroup name is injected automatically. Provide the implementation with Effect.provide(AWS.Athena.ListQueryExecutionsHttp).

// init — bind the operation to the workgroup
const listQueryExecutions = yield* AWS.Athena.ListQueryExecutions(workGroup);
// runtime
const res = yield* listQueryExecutions({ MaxResults: 10 });
console.log(res.QueryExecutionIds);