Skip to content

GetTask

Source: src/AWS/Deadline/GetTask.ts

Runtime binding for deadline:GetTask.

Reads a task’s detail for a step in the bound Queue — run status, parameters, retry count, latest session action. The queue’s farmId/queueId are injected from the binding. Provide the implementation with Effect.provide(AWS.Deadline.GetTaskHttp).

// init — bind the operation to the queue
const getTask = yield* AWS.Deadline.GetTask(queue);
// runtime
const task = yield* getTask({ jobId, stepId, taskId });