Firehose / Client / tag_delivery_stream
tag_delivery_stream#
- Firehose.Client.tag_delivery_stream(**kwargs)#
Adds 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.
See also: AWS API Documentation
Request Syntax
response = client.tag_delivery_stream( DeliveryStreamName='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
DeliveryStreamName (string) –
[REQUIRED]
The name of the Firehose stream to which you want to add the tags.
Tags (list) –
[REQUIRED]
A set of key-value pairs to use to create the tags.
(dict) –
Metadata that you can assign to a Firehose stream, consisting of a key-value pair.
Key (string) – [REQUIRED]
A unique identifier for the tag. Maximum length: 128 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @
Value (string) –
An optional string, which you can use to describe or define the tag. Maximum length: 256 characters. Valid characters: Unicode letters, digits, white space, _ . / = + - % @
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
Firehose.Client.exceptions.ResourceNotFoundException
Firehose.Client.exceptions.ResourceInUseException
Firehose.Client.exceptions.InvalidArgumentException
Firehose.Client.exceptions.LimitExceededException