awswrangler.athena.stop_query_execution¶
- awswrangler.athena.stop_query_execution(query_execution_id: str, boto3_session: Session | None = None) None ¶
Stop a query execution.
Requires you to have access to the workgroup in which the query ran.
- Parameters:
query_execution_id (
str
) – Athena query execution ID.boto3_session (
Session
|None
) – The default boto3 session will be used if boto3_session receiveNone
.
- Return type:
None
Examples
>>> import awswrangler as wr >>> wr.athena.stop_query_execution(query_execution_id='query-execution-id')