v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1460298233.0 KB

Lists the prepared statements in the specified workgroup.

post/#X-Amz-Target=AmazonAthena.ListPreparedStatements

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'AmazonAthena.ListPreparedStatements' required

Request body

WorkGroupstring required

The workgroup to list the prepared statements for.

NextTokenstring

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the <code>NextToken</code> from the response object of the previous page call.

MaxResultsinteger

The maximum number of results to return in this request.

Response

Success

NextTokenstring

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the <code>NextToken</code> from the response object of the previous page call.