ListPreparedStatements
Source:
src/AWS/Athena/ListPreparedStatements.ts
Runtime binding for athena:ListPreparedStatements.
Lists the prepared statements (name + last-modified time) in the bound
workgroup — the workgroup name is injected automatically. Provide the
implementation with Effect.provide(AWS.Athena.ListPreparedStatementsHttp).
Prepared Statements
Section titled “Prepared Statements”// init — bind the operation to the workgroupconst listPreparedStatements = yield* AWS.Athena.ListPreparedStatements(workGroup);
// runtimeconst res = yield* listPreparedStatements({ MaxResults: 50 });console.log(res.PreparedStatements?.map((s) => s.StatementName));