GetJobRun
Source:
src/AWS/EMRServerless/GetJobRun.ts
Runtime binding for emr-serverless:GetJobRun.
Reads a job run’s full detail on the bound Application — state,
driver, resource utilization, timeout — so a function can poll a submitted
job to completion or inspect why it failed. Provide the implementation
with Effect.provide(AWS.EMRServerless.GetJobRunHttp).
Running Jobs
Section titled “Running Jobs”// initconst getJobRun = yield* AWS.EMRServerless.GetJobRun(app);
// runtimeconst { jobRun } = yield* getJobRun({ jobRunId });yield* Effect.log(`${jobRun.jobRunId} is ${jobRun.state}`);