EMRContainers / Client / list_tags_for_resource

list_tags_for_resource#

EMRContainers.Client.list_tags_for_resource(**kwargs)#

Lists the tags assigned to the resources.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    resourceArn='string'
)
Parameters:

resourceArn (string) –

[REQUIRED]

The ARN of tagged resources.

Return type:

dict

Returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • tags (dict) –

      The tags assigned to resources.

      • (string) –

        • (string) –

Exceptions

  • EMRContainers.Client.exceptions.InternalServerException

  • EMRContainers.Client.exceptions.ValidationException

  • EMRContainers.Client.exceptions.ResourceNotFoundException