GetJobRuns
Source:
src/AWS/Glue/GetJobRuns.ts
Runtime binding for glue:GetJobRuns.
Lists the runs of the bound Job (newest first, paginated via
NextToken), so a function can report run history or find in-flight runs.
The job name is injected from the binding. Provide the implementation with
Effect.provide(AWS.Glue.GetJobRunsHttp).
Running Jobs
Section titled “Running Jobs”// initconst getJobRuns = yield* AWS.Glue.GetJobRuns(job);
// runtimeconst { JobRuns } = yield* getJobRuns({ MaxResults: 10 });const running = (JobRuns ?? []).filter( (run) => run.JobRunState === "RUNNING",);