| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Kinesis.AddTagsToStream
Description
Adds or updates tags for the specified Kinesis data stream. Each stream can have up to 10 tags.
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.
Creating a Request
Arguments
| :: Text | |
| -> AddTagsToStream |
Creates a value of AddTagsToStream with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
attsStreamName- The name of the stream.attsTags- The set of key-value pairs to use to create the tags.
data AddTagsToStream Source #
Represents the input for AddTagsToStream .
See: addTagsToStream smart constructor.
Instances
Request Lenses
attsStreamName :: Lens' AddTagsToStream Text Source #
The name of the stream.
attsTags :: Lens' AddTagsToStream (HashMap Text Text) Source #
The set of key-value pairs to use to create the tags.
Destructuring the Response
addTagsToStreamResponse :: AddTagsToStreamResponse Source #
Creates a value of AddTagsToStreamResponse with the minimum fields required to make a request.
data AddTagsToStreamResponse Source #
See: addTagsToStreamResponse smart constructor.