UpdateTask
Source:
src/AWS/Deadline/UpdateTask.ts
Runtime binding for deadline:UpdateTask.
Retargets a single task of a job in the bound Queue — requeue
(READY), cancel (CANCELED), suspend (SUSPENDED), or force-fail/
succeed it. The queue’s farmId/queueId are injected from the binding.
Provide the implementation with Effect.provide(AWS.Deadline.UpdateTaskHttp).
Managing Tasks
Section titled “Managing Tasks”// init — bind the operation to the queueconst updateTask = yield* AWS.Deadline.UpdateTask(queue);
// runtimeyield* updateTask({ jobId, stepId, taskId, targetRunStatus: "CANCELED" });