Skip to content

KinesisClient.list_channels

rboto-kinesis==0.4.0 · Service index · Types

Model summary (excerpt): Lists the channels in your account. You can filter the results by source stream. The results are paginated. Use the NextToken value returned in the response to retrieve additional results. Use this operation to find channels before deleting a stream, or to audit the channels configured in an Amazon Web Services Region. This operation has a call limit of 5 transactions per second (TPS) for each...

Install and imports

python -m pip install "rboto[kinesis]==0.4.0"
from rboto import KinesisClient
from collections.abc import Sequence
from rboto_kinesis.types import (
    ListChannelsOutput,
    StreamFilter,
)

Signature

async def list_channels(
    *,
    stream_filter: Sequence[StreamFilter] | None = None,
    max_results: int | None = None,
    next_token: str | None = None,
) -> ListChannelsOutput: ...

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)
stream_filter No Filters the results to channels associated with the specified streams.
max_results No The maximum number of channels to return in a single call. The default value is 100. If you specify a value greater than 100, at most 100 results are returned.
next_token No The pagination token returned by a previous call. Specify this token to retrieve the next page of results.

Output

ListChannelsOutput.

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
channel_summaries list[ChannelSummaryOutput] Always present ChannelSummaryOutput
next_token str | None Always present —

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

ListChannelsOutput, StreamFilter

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.list_channels(...) accepts the same arguments and returns AsyncIterator[ListChannelsOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: next_token. Page-size argument: max_results.

No output stream.

Errors

Import from rboto_kinesis.exceptions:

AccessDeniedError, ExpiredNextTokenError, InvalidArgumentError, LimitExceededError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model