BBPP
01/11/2023, 9:35 AMPim Claessens
01/11/2023, 9:56 AMBBPP
01/11/2023, 9:58 AMPim Claessens
01/11/2023, 10:02 AMglue = boto3.client('glue')
job_run_id = glue.start_job_run(JobName=f'{job_name}')
And you can fetch the status of the job with:
glue.get_job_run(JobName=job_name, RunId=job_run_id.get("JobRunId")).get("JobRun").get(
"JobRunState")
BBPP
01/11/2023, 10:03 AM