MediaConvert / Client / list_tags_for_resource

list_tags_for_resource#

MediaConvert.Client.list_tags_for_resource(**kwargs)#

Retrieve the tags for a MediaConvert resource.

See also: AWS API Documentation

Request Syntax

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

Arn (string) – [REQUIRED] The Amazon Resource Name (ARN) of the resource that you want to list tags for. To get the ARN, send a GET request with the resource name.

Return type:

dict

Returns:

Response Syntax

{
    'ResourceTags': {
        'Arn': 'string',
        'Tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) –

    • ResourceTags (dict) – The Amazon Resource Name (ARN) and tags for an AWS Elemental MediaConvert resource.

      • Arn (string) – The Amazon Resource Name (ARN) of the resource.

      • Tags (dict) – The tags for the resource.

        • (string) –

          • (string) –

Exceptions

  • MediaConvert.Client.exceptions.BadRequestException

  • MediaConvert.Client.exceptions.InternalServerErrorException

  • MediaConvert.Client.exceptions.ForbiddenException

  • MediaConvert.Client.exceptions.NotFoundException

  • MediaConvert.Client.exceptions.TooManyRequestsException

  • MediaConvert.Client.exceptions.ConflictException