SearchJobs
Source:
src/AWS/Deadline/SearchJobs.ts
Runtime binding for deadline:SearchJobs.
Searches the jobs of the bound Queue with filter and sort
expressions (name, status, user, parameters, dates). The queue’s
farmId/queueIds: [queueId] are injected from the binding. Provide the
implementation with Effect.provide(AWS.Deadline.SearchJobsHttp).
Monitoring Jobs
Section titled “Monitoring Jobs”// init — bind the operation to the queueconst searchJobs = yield* AWS.Deadline.SearchJobs(queue);
// runtimeconst { jobs } = yield* searchJobs({ itemOffset: 0, filterExpressions: { operator: "AND", filters: [ { stringFilter: { name: "TASK_RUN_STATUS", operator: "EQUAL", value: "FAILED", }, }, ], },});