import type * as emr from "@distilled.cloud/aws/emr-serverless"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Application } from "./Application.ts"; /** * Request accepted by the {@link ListSessions} runtime callable. The * `applicationId` is injected from the bound {@link Application}. */ export type ListSessionsInput = Omit; /** * Runtime binding for `emr-serverless:ListSessions`. * * Enumerates interactive sessions on the bound {@link Application}, * optionally filtered by state or creation window. Provide the * implementation with `Effect.provide(AWS.EMRServerless.ListSessionsHttp)`. * ### Interactive Sessions * **Example:** List Idle Sessions * ```typescript * // init * const listSessions = yield* AWS.EMRServerless.ListSessions(app); * * // runtime * const { sessions } = yield* listSessions({ states: ["IDLE"] }); * ``` * * @binding */ export interface ListSessions extends Binding.Service Effect.Effect<(request?: ListSessionsInput) => Effect.Effect>> { } export declare const ListSessions: ListSessions; //# sourceMappingURL=ListSessions.d.ts.map