Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.transcribe.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
resource_arnstringThe Amazon Resource Name (ARN) specified in your request. (pattern: <code>arn:aws(-[^:]+)?:transcribe:[a-zA-Z0-9-]:[0-9]{12}:[a-zA-Z-]/[0-9a-zA-Z._-]+</code>)
tagsarrayLists all tags associated with the given transcription job, vocabulary, model, or resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectregionLists all tags associated with the specified transcription job, vocabulary, model, or resource. To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
untag_resourceupdateregion, ResourceArn, TagKeysRemoves the specified tags from the specified Amazon Transcribe resource. If you include UntagResource in your request, you must also include ResourceArn and TagKeys.
tag_resourceupdateregion, ResourceArnAdds one or more custom tags, each in the form of a key:value pair, to the specified resource. To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Lists all tags associated with the specified transcription job, vocabulary, model, or resource. To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

SELECT
resource_arn,
tags
FROM aws.transcribe.tags
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Removes the specified tags from the specified Amazon Transcribe resource. If you include UntagResource in your request, you must also include ResourceArn and TagKeys.

UPDATE aws.transcribe.tags
SET
ResourceArn = '{{ ResourceArn }}',
TagKeys = '{{ TagKeys }}'
WHERE
region = '{{ region }}' --required
AND ResourceArn = '{{ ResourceArn }}' --required
AND TagKeys = '{{ TagKeys }}' --required;