Skip to content

SearchSteps

Source: src/AWS/Deadline/SearchSteps.ts

Runtime binding for deadline:SearchSteps.

Searches the steps of the bound Queue (optionally narrowed to one jobId) with filter and sort expressions. The queue’s farmId/queueIds: [queueId] are injected from the binding. Provide the implementation with Effect.provide(AWS.Deadline.SearchStepsHttp).

// init — bind the operation to the queue
const searchSteps = yield* AWS.Deadline.SearchSteps(queue);
// runtime
const { steps } = yield* searchSteps({
itemOffset: 0,
jobId,
filterExpressions: {
operator: "AND",
filters: [
{
stringFilter: {
name: "TASK_RUN_STATUS",
operator: "EQUAL",
value: "FAILED",
},
},
],
},
});