Skip to main content

tags

Creates, updates, deletes, gets or lists a tags resource.

Overview

Nametags
TypeResource
Idaws.mediaconvert.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the resource.
tagsobjectThe tags for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectarn, regionRetrieve the tags for a MediaConvert resource.
untag_resourceupdatearn, regionRemove tags from a MediaConvert queue, preset, job, or job template. For information about tagging, see the User Guide at https:​//docs.aws.amazon.com/mediaconvert/latest/ug/tagging-mediaconvert-resources.html.
tag_resourceupdateregion, TagsAdd tags to a MediaConvert queue, preset, job, or job template. For information about tagging, see the User Guide at https:​//docs.aws.amazon.com/mediaconvert/latest/ug/tagging-mediaconvert-resources.html.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the resource that you want to remove tags from. To get the ARN, send a GET request with the resource name.
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieve the tags for a MediaConvert resource.

SELECT
arn,
tags
FROM aws.mediaconvert.tags
WHERE arn = '{{ arn }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

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

UPDATE aws.mediaconvert.tags
SET
TagKeys = '{{ TagKeys }}'
WHERE
arn = '{{ arn }}' --required
AND region = '{{ region }}' --required;