awswrangler.athena.list_prepared_statements¶
- awswrangler.athena.list_prepared_statements(workgroup: str = 'primary', boto3_session: Session | None = None) list[dict[str, Any]]¶
List the prepared statements in the specified workgroup.
- Parameters:
workgroup (
str) – The name of the workgroup to which the prepared statement belongs. Primary by default.boto3_session (
Session|None) – The default boto3 session will be used if boto3_session receiveNone.
- Return type:
list[dict[str,Any]]- Returns:
List of prepared statements in the workgroup. Each item is a dictionary with the keys
StatementNameandLastModifiedTime.