ListStreamSessions
Source:
src/AWS/IVS/ListStreamSessions.ts
Runtime binding for ivs:ListStreamSessions.
Enumerates current and previous broadcast sessions on the bound
Channel (most recent first). The channel ARN is injected from
the binding. Provide the implementation with
Effect.provide(AWS.IVS.ListStreamSessionsHttp).
Monitoring Live Streams
Section titled “Monitoring Live Streams”// init — bind the operation to the channelconst listStreamSessions = yield* AWS.IVS.ListStreamSessions(channel);
// runtimeconst { streamSessions } = yield* listStreamSessions({ maxResults: 10 });yield* Effect.log(`sessions: ${streamSessions.length}`);