Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Removes tags from the specified Kinesis data stream. Removed tags are deleted and cannot be recovered after this operation successfully completes.
When invoking this API, it is recommended you use the StreamARN
input
parameter rather than the StreamName
input parameter.
If you specify a tag that does not exist, it is ignored.
RemoveTagsFromStream has a limit of five transactions per second per account.
Synopsis
- data RemoveTagsFromStream = RemoveTagsFromStream' {}
- newRemoveTagsFromStream :: NonEmpty Text -> RemoveTagsFromStream
- removeTagsFromStream_streamARN :: Lens' RemoveTagsFromStream (Maybe Text)
- removeTagsFromStream_streamName :: Lens' RemoveTagsFromStream (Maybe Text)
- removeTagsFromStream_tagKeys :: Lens' RemoveTagsFromStream (NonEmpty Text)
- data RemoveTagsFromStreamResponse = RemoveTagsFromStreamResponse' {
- newRemoveTagsFromStreamResponse :: RemoveTagsFromStreamResponse
Creating a Request
data RemoveTagsFromStream Source #
Represents the input for RemoveTagsFromStream
.
See: newRemoveTagsFromStream
smart constructor.
Instances
newRemoveTagsFromStream Source #
Create a value of RemoveTagsFromStream
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:
RemoveTagsFromStream
, removeTagsFromStream_streamARN
- The ARN of the stream.
RemoveTagsFromStream
, removeTagsFromStream_streamName
- The name of the stream.
$sel:tagKeys:RemoveTagsFromStream'
, removeTagsFromStream_tagKeys
- A list of tag keys. Each corresponding tag is removed from the stream.
Request Lenses
removeTagsFromStream_streamARN :: Lens' RemoveTagsFromStream (Maybe Text) Source #
The ARN of the stream.
removeTagsFromStream_streamName :: Lens' RemoveTagsFromStream (Maybe Text) Source #
The name of the stream.
removeTagsFromStream_tagKeys :: Lens' RemoveTagsFromStream (NonEmpty Text) Source #
A list of tag keys. Each corresponding tag is removed from the stream.
Destructuring the Response
data RemoveTagsFromStreamResponse Source #
See: newRemoveTagsFromStreamResponse
smart constructor.
Instances
newRemoveTagsFromStreamResponse :: RemoveTagsFromStreamResponse Source #
Create a value of RemoveTagsFromStreamResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.