Skip to content

ListNamedQueries

Source: src/AWS/Athena/ListNamedQueries.ts

Runtime binding for athena:ListNamedQueries.

Lists the IDs of the saved (named) queries in the bound workgroup — the workgroup name is injected automatically. Provide the implementation with Effect.provide(AWS.Athena.ListNamedQueriesHttp).

// init — bind the operation to the workgroup
const listNamedQueries = yield* AWS.Athena.ListNamedQueries(workGroup);
// runtime
const res = yield* listNamedQueries({ MaxResults: 50 });
console.log(res.NamedQueryIds);