awswrangler.athena.get_query_execution¶
- awswrangler.athena.get_query_execution(query_execution_id: str, boto3_session: Session | None = None) dict[str, Any] ¶
Fetch query execution details.
- 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:
dict
[str
,Any
]- Returns:
Dictionary with the get_query_execution response.
Examples
>>> import awswrangler as wr >>> res = wr.athena.get_query_execution(query_execution_id='query-execution-id')