awswrangler.cleanrooms.wait_query¶
- awswrangler.cleanrooms.wait_query(membership_id: str, query_id: str, boto3_session: Session | None = None) GetProtectedQueryOutputTypeDef ¶
Wait for the Clean Rooms protected query to end.
- Parameters:
membership_id (str) – Membership ID
query_id (str) – Protected query execution ID
boto3_session (boto3.Session, optional) – Boto3 Session. If None, the default boto3 session is used
- Returns:
Dictionary with the get_protected_query response.
- Return type:
Dict[str, Any]
- Raises:
exceptions.QueryFailed – Raises exception with error message if protected query is cancelled, times out or fails.
Examples
>>> import awswrangler as wr >>> res = wr.cleanrooms.wait_query(membership_id='membership-id', query_id='query-id')