Skip to content

KinesisClient.create_queue

rboto-kinesis==0.4.0 · Service index · Types

Model summary (excerpt): Creates a queue on the specified data stream. A queue delivers records from the stream to a queue consumer, tracks the delivery state of each record, and redelivers any record that is not acknowledged before its visibility timeout expires. A queue does not extend how long the stream keeps a record. When a record reaches the end of the data stream's retention period, the queue stops delivering...

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 (
    CreateQueueOutput,
    QueueAttributes,
    QueueStreamConfiguration,
)

Signature

async def create_queue(
    *,
    queue_name: str,
    stream_configuration_list: Sequence[QueueStreamConfiguration],
    queue_attributes: QueueAttributes | None = None,
    tags: dict[str, str] | None = None,
) -> CreateQueueOutput: ...

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)
queue_name Yes A name for the queue. The name is scoped to the Amazon Web Services account and Region used by the request, so two queues in different accounts, or in the same account and different Regions, can have the same name.
stream_configuration_list Yes The data stream the queue delivers records from, and the position in that stream where delivery begins. The list must contain exactly one entry, because a queue delivers records from a single data stream.
queue_attributes No The configuration attributes for the queue, including its visibility timeout and its dead-letter handling configuration.
tags No A set of up to 50 key-value pairs to apply to the queue. You can also add, change, and remove tags after the queue is created with TagResource and UntagResource .

Output

CreateQueueOutput.

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_description QueueDescriptionOutput | None Always present QueueDescriptionOutput

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

CreateQueueOutput, QueueAttributes, QueueStreamConfiguration

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

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_kinesis.exceptions:

AccessDeniedError, InternalFailureError, InvalidArgumentError, LimitExceededError, ResourceInUseError, ResourceNotFoundError, ValidationError.

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

Service guide · Pinned model