Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.service_quotas.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tagsarrayA complex data type that contains zero or more tag elements.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectregionReturns a list of the tags assigned to the specified applied quota.
untag_resourceupdateregion, ResourceARN, TagKeysRemoves tags from the specified applied quota. You can specify one or more tags to remove.
tag_resourceupdateregion, ResourceARNAdds tags to the specified applied quota. You can include one or more tags to add to the quota.

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

Returns a list of the tags assigned to the specified applied quota.

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

UPDATE examples

Removes tags from the specified applied quota. You can specify one or more tags to remove.

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