Kafka / Client / tag_resource

tag_resource#

Kafka.Client.tag_resource(**kwargs)#

Adds tags to the specified MSK resource.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The Amazon Resource Name (ARN) that uniquely identifies the resource that’s associated with the tags.

  • Tags (dict) –

    [REQUIRED]

    The key-value pair for the resource tag.

    • (string) –

      • (string) –

Returns:

None

Exceptions