awswrangler.emr_serverless.wait_job¶
- awswrangler.emr_serverless.wait_job(application_id: str, job_run_id: str, emr_serverless_job_wait_polling_delay: float = 5, boto3_session: Session | None = None) dict[str, Any] ¶
Wait for the EMR Serverless job to finish.
https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/emr-serverless.html
Note
This function has arguments which can be configured globally through wr.config or environment variables:
emr_serverless_job_wait_polling_delay
Check out the Global Configurations Tutorial for details.
Warning
This API is experimental and may change in future AWS SDK for Pandas releases.
- Parameters:
application_id (str) – The id of the application on which the job is running.
job_run_id (str) – The id of the job.
emr_serverless_job_wait_polling_delay (int, optional) – Time to wait between polling attempts.
boto3_session (boto3.Session(), optional) – Boto3 Session. The default boto3 session will be used if boto3_session receive None.
- Returns:
Job run details.
- Return type:
Dict[str, Any]