KinesisClient.list_queues
rboto-kinesis==0.4.0 · Service index · Types
Model summary (excerpt): Returns a summary of each queue in the Amazon Web Services account and Region used by the request. Use StreamFilter to list only the queues on a particular data stream. If the response contains a NextToken , more queues are available. Call ListQueues again with that value to retrieve the next page.
Install and imports
from rboto import KinesisClient
from collections.abc import Sequence
from rboto_kinesis.types import (
ListQueuesOutput,
QueueStreamFilter,
)
Signature
async def list_queues(
*,
max_results: int | None = None,
next_token: str | None = None,
stream_filter: Sequence[QueueStreamFilter] | None = None,
) -> ListQueuesOutput: ...
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) |
|---|---|---|
max_results |
No | The maximum number of queue summaries to return in one response. The response might contain fewer summaries than this value, and might contain a NextToken even when it contains fewer. |
next_token |
No | The NextToken returned by a previous ListQueues request. Use it to retrieve the next page of queue summaries. |
stream_filter |
No | Lists only the queues created on the specified data stream. |
Output
ListQueuesOutput.
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 |
|---|---|---|---|
queue_summaries |
list[QueueSummaryOutput] |
Always present | QueueSummaryOutput |
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.
Related types
ListQueuesOutput, QueueStreamFilter
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_queues(...) accepts the same arguments and returns AsyncIterator[ListQueuesOutput]. 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, InternalFailureError, InvalidArgumentError, LimitExceededError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.