Skip to content

ListJobs

Source: src/AWS/Deadline/ListJobs.ts

Runtime binding for deadline:ListJobs.

Enumerates the jobs in the bound Queue (paginated). The queue’s farmId/queueId are injected from the binding. Provide the implementation with Effect.provide(AWS.Deadline.ListJobsHttp).

// init — bind the operation to the queue
const listJobs = yield* AWS.Deadline.ListJobs(queue);
// runtime
const { jobs } = yield* listJobs();