Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.kendra_ranking.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
tagsarrayA list of tags associated with the rescore execution plan.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_resourceselectregionGets a list of tags associated with a specified resource. A rescore execution plan is an example of a resource that can have tags associated with it.
untag_resourceupdateregion, ResourceARN, TagKeysRemoves a tag from a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore operation.
tag_resourceupdateregion, ResourceARNAdds a specified tag to a specified rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API. If the tag already exists, the existing value is replaced with the new value.

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

Gets a list of tags associated with a specified resource. A rescore execution plan is an example of a resource that can have tags associated with it.

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

UPDATE examples

Removes a tag from a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore operation.

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