Skip to content

/AWS1/CL_KNS=>ADDTAGSTOSTREAM()

About AddTagsToStream

Adds or updates tags for the specified Kinesis data stream. You can assign up to 50 tags to a data stream.

When invoking this API, you must use either the StreamARN or the StreamName parameter, or both. It is recommended that you use the StreamARN input parameter when you invoke this API.

If tags have already been assigned to the stream, AddTagsToStream overwrites any existing tags that correspond to the specified tag keys.

AddTagsToStream has a limit of five transactions per second per account.

Method Signature

IMPORTING

Required arguments:

IT_TAGS TYPE /AWS1/CL_KNSTAGMAP_W=>TT_TAGMAP TT_TAGMAP

A set of up to 10 key-value pairs to use to create the tags.

Optional arguments:

IV_STREAMNAME TYPE /AWS1/KNSSTREAMNAME /AWS1/KNSSTREAMNAME

The name of the stream.

IV_STREAMARN TYPE /AWS1/KNSSTREAMARN /AWS1/KNSSTREAMARN

The ARN of the stream.