awswrangler.lakeformation.wait_query¶
- awswrangler.lakeformation.wait_query(query_id: str, boto3_session: Session | None = None) Dict[str, Any] ¶
Wait for the query to end.
- Parameters:
query_id (str) – Lake Formation query execution ID.
boto3_session (boto3.Session(), optional) – Boto3 Session. The default boto3 session will be used if boto3_session received None.
- Returns:
Dictionary with the get_query_state response.
- Return type:
Dict[str, Any]
Examples
>>> import awswrangler as wr >>> res = wr.lakeformation.wait_query(query_id='query-id')