Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.lookoutequipment.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tagsarrayAny tags associated with the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectregionLists all the tags for a specified resource, including key and value.
untag_resourceupdateregion, ResourceArn, TagKeysRemoves a specific tag from a given resource. The tag is specified by its key.
tag_resourceupdateregion, ResourceArnAssociates a given tag to a resource in your account. A tag is a key-value pair which can be added to an Amazon Lookout for Equipment resource as metadata. Tags can be used for organizing your resources as well as helping you to search and filter by tag. Multiple tags can be added to a resource, either when you create it, or later. Up to 50 tags can be associated with each 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 all the tags for a specified resource, including key and value.

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

UPDATE examples

Removes a specific tag from a given resource. The tag is specified by its key.

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