Skip to content

ListStreams

Source: src/AWS/Kinesis/ListStreams.ts

Runtime binding for kinesis:ListStreams.

An account-level operation (no stream argument) that enumerates all Kinesis streams in the region. Provide the implementation with Effect.provide(AWS.Kinesis.ListStreamsHttp).

// init — account-level binding takes no resource
const listStreams = yield* AWS.Kinesis.ListStreams();
// runtime
const result = yield* listStreams();
yield* Effect.log(result.StreamNames);