Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.frauddetector.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe next token for subsequent requests.
tagsarrayA collection of key and value pairs.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectregionLists all tags associated with the resource. This is a paginated API. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.
tag_resourceupdateregion, resourceARN, tagsAssigns tags to a resource.
untag_resourceupdateregion, resourceARN, tagKeysRemoves tags from 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 all tags associated with the resource. This is a paginated API. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.

SELECT
next_token,
tags
FROM aws.frauddetector.tags
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Assigns tags to a resource.

UPDATE aws.frauddetector.tags
SET
resourceARN = '{{ resourceARN }}',
tags = '{{ tags }}'
WHERE
region = '{{ region }}' --required
AND resourceARN = '{{ resourceARN }}' --required
AND tags = '{{ tags }}' --required;