KinesisClient.list_streams
rboto-kinesis==0.4.0 · Service index · Types
Model summary (excerpt): Lists your Kinesis data streams. The number of streams may be too large to return from a single call to ListStreams . You can limit the number of returned streams using the Limit parameter. If you do not specify a value for the Limit parameter, Kinesis Data Streams uses the default limit, which is currently 100. You can detect if there are more streams available to list by using the...
Install and imports
Signature
async def list_streams(
*,
limit: int | None = None,
exclusive_start_stream_name: str | None = None,
next_token: str | None = None,
) -> ListStreamsOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
limit |
No | The maximum number of streams to list. The default value is 100. If you specify a value greater than 100, at most 100 results are returned. |
exclusive_start_stream_name |
No | The name of the stream to start the list with. |
next_token |
No |
Output
ListStreamsOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
stream_names |
list[str] |
Always present | — |
has_more_streams |
bool |
Always present | — |
next_token |
str | None |
Always present | — |
stream_summaries |
list[StreamSummaryOutput] | None |
Always present | StreamSummaryOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_streams(...) accepts the same arguments and returns AsyncIterator[ListStreamsOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: next_token. Page-size argument: limit.
No output stream.
Errors
Import from rboto_kinesis.exceptions:
ExpiredNextTokenError, InvalidArgumentError, LimitExceededError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.