- awswrangler.athena.list_query_executions(workgroup: str | None = None, boto3_session: Session | None = None) List[str] ¶
Fetch list query execution IDs ran in specified workgroup or primary work group if not specified.
workgroup (str) – The name of the workgroup from which the query_id are being returned. If not specified, a list of available query execution IDs for the queries in the primary workgroup is returned.
boto3_session (boto3.Session(), optional) – Boto3 Session. The default boto3 session will be used if boto3_session receive None.
List of query execution IDs.
- Return type:
>>> import awswrangler as wr >>> res = wr.athena.list_query_executions(workgroup='workgroup-name')