Skip to main content

tags

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

Overview

Nametags
TypeResource
Idaws.firehose.tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
has_more_tagsbooleanIf this is true in the response, more tags are available. To list the remaining tags, set ExclusiveStartTagKey to the key of the last tag returned and call ListTagsForDeliveryStream again.
tagsarrayA list of tags associated with DeliveryStreamName, starting with the first tag after ExclusiveStartTagKey and up to the specified Limit.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_tags_for_delivery_streamselectregionLists the tags for the specified Firehose stream. This operation has a limit of five transactions per second per account.
untag_delivery_streamupdateregion, DeliveryStreamName, TagKeysRemoves tags from the specified Firehose stream. Removed tags are deleted, and you can't recover them after this operation successfully completes. If you specify a tag that doesn't exist, the operation ignores it. This operation has a limit of five transactions per second per account.
tag_delivery_streamupdateregion, DeliveryStreamNameAdds or updates tags for the specified Firehose stream. A tag is a key-value pair that you can define and assign to Amazon Web Services resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. Tags are metadata. For example, you can add friendly names and descriptions or other types of information that can help you distinguish the Firehose stream. For more information about tags, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. Each Firehose stream can have up to 50 tags. This operation has a limit of five transactions per second per account.

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 the tags for the specified Firehose stream. This operation has a limit of five transactions per second per account.

SELECT
has_more_tags,
tags
FROM aws.firehose.tags
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Removes tags from the specified Firehose stream. Removed tags are deleted, and you can't recover them after this operation successfully completes. If you specify a tag that doesn't exist, the operation ignores it. This operation has a limit of five transactions per second per account.

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