Skip to content

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).

// init — account-level, no resource to bind
const listStreams = yield* AWS.IVS.ListStreams();
// runtime
const { streams } = yield* listStreams();
yield* Effect.log(`${streams.length} live streams`);