Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.iotfleetwise.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tagsarrayThe list of tags assigned to the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectregionLists the tags (metadata) you have assigned to the resource.
untag_resourceupdateregion, ResourceARN, TagKeysRemoves the given tags (metadata) from the resource.
tag_resourceupdateregion, ResourceARNAdds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.

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 the tags (metadata) you have assigned to the resource.

SELECT
tags
FROM aws.iotfleetwise.tags
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Removes the given tags (metadata) from the resource.

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