Skip to content

GetSession

Source: src/AWS/Deadline/GetSession.ts

Runtime binding for deadline:GetSession.

Reads a worker session’s detail for a job in the bound Queue — lifecycle status, host properties, worker log configuration. The queue’s farmId/queueId are injected from the binding. Provide the implementation with Effect.provide(AWS.Deadline.GetSessionHttp).

// init — bind the operation to the queue
const getSession = yield* AWS.Deadline.GetSession(queue);
// runtime
const session = yield* getSession({ jobId, sessionId });