import type * as ivs from "@distilled.cloud/aws/ivs"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Channel } from "./Channel.ts"; export interface ListStreamSessionsRequest extends Omit { } /** * Runtime binding for `ivs:ListStreamSessions`. * * Enumerates current and previous broadcast sessions on the bound * {@link Channel} (most recent first). The channel ARN is injected from * the binding. Provide the implementation with * `Effect.provide(AWS.IVS.ListStreamSessionsHttp)`. * ### Monitoring Live Streams * **Example:** List Recent Broadcasts * ```typescript * // init — bind the operation to the channel * const listStreamSessions = yield* AWS.IVS.ListStreamSessions(channel); * * // runtime * const { streamSessions } = yield* listStreamSessions({ maxResults: 10 }); * yield* Effect.log(`sessions: ${streamSessions.length}`); * ``` * * @binding */ export interface ListStreamSessions extends Binding.Service Effect.Effect<(request?: ListStreamSessionsRequest) => Effect.Effect>> { } export declare const ListStreamSessions: ListStreamSessions; //# sourceMappingURL=ListStreamSessions.d.ts.map