MediaConnect / Client / list_tags_for_resource

list_tags_for_resource

MediaConnect.Client.list_tags_for_resource(**kwargs)

List all tags on a MediaConnect 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 identifies the MediaConnect resource for which to list the tags.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Tags (dict) –

      A map from tag keys to values. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

      • (string) –

        • (string) –

Exceptions

  • MediaConnect.Client.exceptions.BadRequestException

  • MediaConnect.Client.exceptions.InternalServerErrorException

  • MediaConnect.Client.exceptions.NotFoundException