import type * as deadline from "@distilled.cloud/aws/deadline"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Queue } from "./Queue.ts"; /** * Runtime binding for `deadline:ListSessions`. * * Enumerates the worker sessions of a job in the bound {@link Queue} * (paginated). The queue's `farmId`/`queueId` are injected from the * binding. Provide the implementation with * `Effect.provide(AWS.Deadline.ListSessionsHttp)`. * ### Monitoring Sessions * **Example:** List A Job's Sessions * ```typescript * // init — bind the operation to the queue * const listSessions = yield* AWS.Deadline.ListSessions(queue); * * // runtime * const { sessions } = yield* listSessions({ jobId }); * ``` * * @binding */ export interface ListSessions extends Binding.Service Effect.Effect<(request: Omit) => Effect.Effect>> { } export declare const ListSessions: ListSessions; //# sourceMappingURL=ListSessions.d.ts.map