Skip to content

UpdateStep

Source: src/AWS/Deadline/UpdateStep.ts

Runtime binding for deadline:UpdateStep.

Retargets every task of a step in the bound Queue — requeue (READY), cancel (CANCELED), suspend (SUSPENDED), or force-fail/ succeed the step’s tasks in one call. The queue’s farmId/queueId are injected from the binding. Provide the implementation with Effect.provide(AWS.Deadline.UpdateStepHttp).

// init — bind the operation to the queue
const updateStep = yield* AWS.Deadline.UpdateStep(queue);
// runtime
yield* updateStep({ jobId, stepId, targetTaskRunStatus: "READY" });