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 |
Returns a list of tags associated with the specified stream.
In the request, you must specify either the StreamName
or the StreamARN
.
- listTagsForStream :: ListTagsForStream
- data ListTagsForStream
- ltfsStreamARN :: Lens' ListTagsForStream (Maybe Text)
- ltfsNextToken :: Lens' ListTagsForStream (Maybe Text)
- ltfsStreamName :: Lens' ListTagsForStream (Maybe Text)
- listTagsForStreamResponse :: Int -> ListTagsForStreamResponse
- data ListTagsForStreamResponse
- ltfsrsNextToken :: Lens' ListTagsForStreamResponse (Maybe Text)
- ltfsrsTags :: Lens' ListTagsForStreamResponse (HashMap Text Text)
- ltfsrsResponseStatus :: Lens' ListTagsForStreamResponse Int
Creating a Request
listTagsForStream :: ListTagsForStream Source #
Creates a value of ListTagsForStream
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfsStreamARN
- The Amazon Resource Name (ARN) of the stream that you want to list tags for.ltfsNextToken
- If you specify this parameter and the result of aListTagsForStream
call is truncated, the response includes a token that you can use in the next request to fetch the next batch of tags.ltfsStreamName
- The name of the stream that you want to list tags for.
data ListTagsForStream Source #
See: listTagsForStream
smart constructor.
Request Lenses
ltfsStreamARN :: Lens' ListTagsForStream (Maybe Text) Source #
The Amazon Resource Name (ARN) of the stream that you want to list tags for.
ltfsNextToken :: Lens' ListTagsForStream (Maybe Text) Source #
If you specify this parameter and the result of a ListTagsForStream
call is truncated, the response includes a token that you can use in the next request to fetch the next batch of tags.
ltfsStreamName :: Lens' ListTagsForStream (Maybe Text) Source #
The name of the stream that you want to list tags for.
Destructuring the Response
listTagsForStreamResponse Source #
Creates a value of ListTagsForStreamResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfsrsNextToken
- If you specify this parameter and the result of aListTags
call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.ltfsrsTags
- A map of tag keys and values associated with the specified stream.ltfsrsResponseStatus
- -- | The response status code.
data ListTagsForStreamResponse Source #
See: listTagsForStreamResponse
smart constructor.
Response Lenses
ltfsrsNextToken :: Lens' ListTagsForStreamResponse (Maybe Text) Source #
If you specify this parameter and the result of a ListTags
call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.
ltfsrsTags :: Lens' ListTagsForStreamResponse (HashMap Text Text) Source #
A map of tag keys and values associated with the specified stream.
ltfsrsResponseStatus :: Lens' ListTagsForStreamResponse Int Source #
- - | The response status code.