Skip to content

KinesisClient.tag_resource

rboto-kinesis==0.4.0 · Service index · Types

Model summary (excerpt): Adds or updates tags for the specified Kinesis resource. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources. You can assign up to 50 tags to a Kinesis resource. The Kinesis resource can be a data stream, a queue, or an enhanced fan-out consumer.

Install and imports

python -m pip install "rboto[kinesis]==0.4.0"
from rboto import KinesisClient

Signature

async def tag_resource(
    *,
    tags: dict[str, str],
    resource_arn: str,
    stream_id: str | None = None,
) -> None: ...

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)
tags Yes An array of tags to be added to the Kinesis resource. A tag consists of a required key and an optional value. You can add up to 50 tags per resource. Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @.
resource_arn Yes The Amazon Resource Name (ARN) of the Kinesis resource to which to add tags.
stream_id No Not Implemented. Reserved for future use.

Output

None.

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

—

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