list_tags_for_resource

VoiceID.Client.list_tags_for_resource(**kwargs)

Lists all tags associated with a specified Voice ID 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) of the Voice ID resource for which you want to list the tags.

Return type
dict
Returns
Response Syntax
{
    'Tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) --
    • Tags (list) --

      The list of tags associated with the specified resource.

      • (dict) --

        The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

        • Key (string) --

          The first part of a key:value pair that forms a tag associated with a given resource. For example, in the tag 'Department':'Sales', the key is 'Department'.

        • Value (string) --

          The second part of a key:value pair that forms a tag associated with a given resource. For example, in the tag 'Department':'Sales', the value is 'Sales'.

Exceptions

  • VoiceID.Client.exceptions.ResourceNotFoundException
  • VoiceID.Client.exceptions.ValidationException
  • VoiceID.Client.exceptions.InternalServerException
  • VoiceID.Client.exceptions.ThrottlingException
  • VoiceID.Client.exceptions.AccessDeniedException