list_tags_for_resource

Kafka.Client.list_tags_for_resource(**kwargs)

Returns a list of the tags associated with the specified resource.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    ResourceArn='string'
)
Parameters
ResourceArn (string) --

[REQUIRED]

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

Return type
dict
Returns
Response Syntax
{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    Success response.

    • Tags (dict) --

      The key-value pair for the resource tag.

      • (string) --
        • (string) --

Exceptions

  • Kafka.Client.exceptions.NotFoundException
  • Kafka.Client.exceptions.BadRequestException
  • Kafka.Client.exceptions.InternalServerErrorException