Skip to content

ListJobs

Source: src/AWS/Batch/ListJobs.ts

List AWS Batch jobs in the bound job queue from runtime code. batch:ListJobs has no resource-level IAM, so the policy is service-scoped; the queue anchors the binding and is injected as the jobQueue selector.

const listJobs = yield* Batch.ListJobs(queue);
const { jobSummaryList } = yield* listJobs({ jobStatus: "RUNNABLE" });