Skip to content

ListJobRuns

Source: src/AWS/EMRServerless/ListJobRuns.ts

Runtime binding for emr-serverless:ListJobRuns.

Enumerates job runs on the bound Application, optionally filtered by state, creation window, or mode — so a function can report on running or recently failed jobs. Provide the implementation with Effect.provide(AWS.EMRServerless.ListJobRunsHttp).

// init
const listJobRuns = yield* AWS.EMRServerless.ListJobRuns(app);
// runtime
const { jobRuns } = yield* listJobRuns({ states: ["RUNNING"] });