tag_resource

MediaConvert.Client.tag_resource(**kwargs)

Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    Arn='string',
    Tags={
        'string': 'string'
    }
)
Parameters
  • Arn (string) -- [REQUIRED] The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name.
  • Tags (dict) --

    [REQUIRED] The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

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