Kinesis / Client / tag_resource

tag_resource

Kinesis.Client.tag_resource(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    Tags={
        'string': 'string'
    },
    ResourceARN='string'
)
Parameters:
  • Tags (dict) –

    [REQUIRED]

    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: _ . : / = + - @.

    • (string) –

      • (string) –

  • ResourceARN (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the Kinesis resource to which to add tags.

Returns:

None

Exceptions

  • Kinesis.Client.exceptions.ResourceNotFoundException

  • Kinesis.Client.exceptions.ResourceInUseException

  • Kinesis.Client.exceptions.InvalidArgumentException

  • Kinesis.Client.exceptions.LimitExceededException

  • Kinesis.Client.exceptions.AccessDeniedException