Kinesis / Client / add_tags_to_stream
add_tags_to_stream¶
- Kinesis.Client.add_tags_to_stream(**kwargs)¶
Adds or updates tags for the specified Kinesis data stream. You can assign up to 50 tags to a data stream.
Note
When invoking this API, you must use either the
StreamARNor theStreamNameparameter, or both. It is recommended that you use theStreamARNinput parameter when you invoke this API.If tags have already been assigned to the stream,
AddTagsToStreamoverwrites any existing tags that correspond to the specified tag keys.AddTagsToStream has a limit of five transactions per second per account.
See also: AWS API Documentation
Request Syntax
response = client.add_tags_to_stream( StreamName='string', Tags={ 'string': 'string' }, StreamARN='string' )
- Parameters:
StreamName (string) – The name of the stream.
Tags (dict) –
[REQUIRED]
A set of up to 50 key-value pairs to use to create the tags. A tag consists of a required key and an optional value. You can add up to 50 tags per resource.
(string) –
(string) –
StreamARN (string) – The ARN of the stream.
- Returns:
None
Exceptions