list_tags_for_resource

MediaConnect.Client.list_tags_for_resource(**kwargs)

List all tags on an AWS Elemental 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 AWS Elemental MediaConnect resource for which to list the tags.
Return type
dict
Returns
Response Syntax
{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) -- The tags for the resource
    • 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.NotFoundException
  • MediaConnect.Client.exceptions.BadRequestException
  • MediaConnect.Client.exceptions.InternalServerErrorException