ListStreams
Source:
src/AWS/IVS/ListStreams.ts
Runtime binding for ivs:ListStreams.
Enumerates the account’s live streams in the current region, optionally
filtered by stream health. This is an account-level operation — no
channel is bound, and the grant is on *. Provide the implementation
with Effect.provide(AWS.IVS.ListStreamsHttp).
Monitoring Live Streams
Section titled “Monitoring Live Streams”// init — account-level, no resource to bindconst listStreams = yield* AWS.IVS.ListStreams();
// runtimeconst { streams } = yield* listStreams();yield* Effect.log(`${streams.length} live streams`);