Copyright | (c) 2013-2021 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 |
Adds or updates tags for the specified Kinesis data stream. Each time you invoke this operation, you can specify up to 10 tags. If you want to add more than 10 tags to your stream, you can invoke this operation multiple times. In total, each stream can have up to 50 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.
Synopsis
- data AddTagsToStream = AddTagsToStream' {}
- newAddTagsToStream :: Text -> AddTagsToStream
- addTagsToStream_streamName :: Lens' AddTagsToStream Text
- addTagsToStream_tags :: Lens' AddTagsToStream (HashMap Text Text)
- data AddTagsToStreamResponse = AddTagsToStreamResponse' {
- newAddTagsToStreamResponse :: AddTagsToStreamResponse
Creating a Request
data AddTagsToStream Source #
Represents the input for AddTagsToStream
.
See: newAddTagsToStream
smart constructor.
Instances
Create a value of AddTagsToStream
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:streamName:AddTagsToStream'
, addTagsToStream_streamName
- The name of the stream.
$sel:tags:AddTagsToStream'
, addTagsToStream_tags
- A set of up to 10 key-value pairs to use to create the tags.
Request Lenses
addTagsToStream_streamName :: Lens' AddTagsToStream Text Source #
The name of the stream.
addTagsToStream_tags :: Lens' AddTagsToStream (HashMap Text Text) Source #
A set of up to 10 key-value pairs to use to create the tags.
Destructuring the Response
data AddTagsToStreamResponse Source #
See: newAddTagsToStreamResponse
smart constructor.
Instances
Eq AddTagsToStreamResponse Source # | |
Defined in Amazonka.Kinesis.AddTagsToStream | |
Read AddTagsToStreamResponse Source # | |
Show AddTagsToStreamResponse Source # | |
Defined in Amazonka.Kinesis.AddTagsToStream showsPrec :: Int -> AddTagsToStreamResponse -> ShowS # show :: AddTagsToStreamResponse -> String # showList :: [AddTagsToStreamResponse] -> ShowS # | |
Generic AddTagsToStreamResponse Source # | |
Defined in Amazonka.Kinesis.AddTagsToStream type Rep AddTagsToStreamResponse :: Type -> Type # | |
NFData AddTagsToStreamResponse Source # | |
Defined in Amazonka.Kinesis.AddTagsToStream rnf :: AddTagsToStreamResponse -> () # | |
type Rep AddTagsToStreamResponse Source # | |
newAddTagsToStreamResponse :: AddTagsToStreamResponse Source #
Create a value of AddTagsToStreamResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.