Skip to content

ListSessions

Source: src/AWS/Deadline/ListSessions.ts

Runtime binding for deadline:ListSessions.

Enumerates the worker sessions of a job in the bound Queue (paginated). The queue’s farmId/queueId are injected from the binding. Provide the implementation with Effect.provide(AWS.Deadline.ListSessionsHttp).

// init — bind the operation to the queue
const listSessions = yield* AWS.Deadline.ListSessions(queue);
// runtime
const { sessions } = yield* listSessions({ jobId });