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 |
Removes one or more tags from a stream. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored.
In the request, you must provide the StreamName
or StreamARN
.
Synopsis
- data UntagStream = UntagStream' {
- streamARN :: Maybe Text
- streamName :: Maybe Text
- tagKeyList :: NonEmpty Text
- newUntagStream :: NonEmpty Text -> UntagStream
- untagStream_streamARN :: Lens' UntagStream (Maybe Text)
- untagStream_streamName :: Lens' UntagStream (Maybe Text)
- untagStream_tagKeyList :: Lens' UntagStream (NonEmpty Text)
- data UntagStreamResponse = UntagStreamResponse' {
- httpStatus :: Int
- newUntagStreamResponse :: Int -> UntagStreamResponse
- untagStreamResponse_httpStatus :: Lens' UntagStreamResponse Int
Creating a Request
data UntagStream Source #
See: newUntagStream
smart constructor.
UntagStream' | |
|
Instances
Create a value of UntagStream
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:streamARN:UntagStream'
, untagStream_streamARN
- The Amazon Resource Name (ARN) of the stream that you want to remove
tags from.
$sel:streamName:UntagStream'
, untagStream_streamName
- The name of the stream that you want to remove tags from.
$sel:tagKeyList:UntagStream'
, untagStream_tagKeyList
- A list of the keys of the tags that you want to remove.
Request Lenses
untagStream_streamARN :: Lens' UntagStream (Maybe Text) Source #
The Amazon Resource Name (ARN) of the stream that you want to remove tags from.
untagStream_streamName :: Lens' UntagStream (Maybe Text) Source #
The name of the stream that you want to remove tags from.
untagStream_tagKeyList :: Lens' UntagStream (NonEmpty Text) Source #
A list of the keys of the tags that you want to remove.
Destructuring the Response
data UntagStreamResponse Source #
See: newUntagStreamResponse
smart constructor.
UntagStreamResponse' | |
|
Instances
newUntagStreamResponse Source #
Create a value of UntagStreamResponse
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:httpStatus:UntagStreamResponse'
, untagStreamResponse_httpStatus
- The response's http status code.
Response Lenses
untagStreamResponse_httpStatus :: Lens' UntagStreamResponse Int Source #
The response's http status code.