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 |
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
- untagStream :: NonEmpty Text -> UntagStream
- data UntagStream
- usStreamARN :: Lens' UntagStream (Maybe Text)
- usStreamName :: Lens' UntagStream (Maybe Text)
- usTagKeyList :: Lens' UntagStream (NonEmpty Text)
- untagStreamResponse :: Int -> UntagStreamResponse
- data UntagStreamResponse
- ursResponseStatus :: Lens' UntagStreamResponse Int
Creating a Request
Creates a value of UntagStream
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usStreamARN
- The Amazon Resource Name (ARN) of the stream that you want to remove tags from.usStreamName
- The name of the stream that you want to remove tags from.usTagKeyList
- A list of the keys of the tags that you want to remove.
data UntagStream Source #
See: untagStream
smart constructor.
Instances
Request Lenses
usStreamARN :: Lens' UntagStream (Maybe Text) Source #
The Amazon Resource Name (ARN) of the stream that you want to remove tags from.
usStreamName :: Lens' UntagStream (Maybe Text) Source #
The name of the stream that you want to remove tags from.
usTagKeyList :: Lens' UntagStream (NonEmpty Text) Source #
A list of the keys of the tags that you want to remove.
Destructuring the Response
Creates a value of UntagStreamResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ursResponseStatus
- -- | The response status code.
data UntagStreamResponse Source #
See: untagStreamResponse
smart constructor.
Instances
Response Lenses
ursResponseStatus :: Lens' UntagStreamResponse Int Source #
- - | The response status code.