tags
Creates, updates, deletes, gets or lists a tags resource.
Overview
| Name | tags |
| Type | Resource |
| Id | aws.datapipeline.tags |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
add_tags | update | region, pipelineId, tags | Adds or modifies tags for the specified pipeline. | |
remove_tags | update | region, pipelineId, tagKeys | Removes existing tags from the specified pipeline. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
UPDATE examples
- add_tags
- remove_tags
Adds or modifies tags for the specified pipeline.
UPDATE aws.datapipeline.tags
SET
pipelineId = '{{ pipelineId }}',
tags = '{{ tags }}'
WHERE
region = '{{ region }}' --required
AND pipelineId = '{{ pipelineId }}' --required
AND tags = '{{ tags }}' --required;
Removes existing tags from the specified pipeline.
UPDATE aws.datapipeline.tags
SET
pipelineId = '{{ pipelineId }}',
tagKeys = '{{ tagKeys }}'
WHERE
region = '{{ region }}' --required
AND pipelineId = '{{ pipelineId }}' --required
AND tagKeys = '{{ tagKeys }}' --required;