| 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 |
Amazonka.KinesisVideo.ListTagsForStream
Description
Returns a list of tags associated with the specified stream.
In the request, you must specify either the StreamName or the
StreamARN.
Synopsis
- data ListTagsForStream = ListTagsForStream' {}
- newListTagsForStream :: ListTagsForStream
- listTagsForStream_streamARN :: Lens' ListTagsForStream (Maybe Text)
- listTagsForStream_nextToken :: Lens' ListTagsForStream (Maybe Text)
- listTagsForStream_streamName :: Lens' ListTagsForStream (Maybe Text)
- data ListTagsForStreamResponse = ListTagsForStreamResponse' {}
- newListTagsForStreamResponse :: Int -> ListTagsForStreamResponse
- listTagsForStreamResponse_nextToken :: Lens' ListTagsForStreamResponse (Maybe Text)
- listTagsForStreamResponse_tags :: Lens' ListTagsForStreamResponse (Maybe (HashMap Text Text))
- listTagsForStreamResponse_httpStatus :: Lens' ListTagsForStreamResponse Int
Creating a Request
data ListTagsForStream Source #
See: newListTagsForStream smart constructor.
Constructors
| ListTagsForStream' | |
Fields
| |
Instances
newListTagsForStream :: ListTagsForStream Source #
Create a value of ListTagsForStream 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:ListTagsForStream', listTagsForStream_streamARN - The Amazon Resource Name (ARN) of the stream that you want to list tags
for.
$sel:nextToken:ListTagsForStream', listTagsForStream_nextToken - 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.
$sel:streamName:ListTagsForStream', listTagsForStream_streamName - The name of the stream that you want to list tags for.
Request Lenses
listTagsForStream_streamARN :: Lens' ListTagsForStream (Maybe Text) Source #
The Amazon Resource Name (ARN) of the stream that you want to list tags for.
listTagsForStream_nextToken :: 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.
listTagsForStream_streamName :: Lens' ListTagsForStream (Maybe Text) Source #
The name of the stream that you want to list tags for.
Destructuring the Response
data ListTagsForStreamResponse Source #
See: newListTagsForStreamResponse smart constructor.
Constructors
| ListTagsForStreamResponse' | |
Fields
| |
Instances
newListTagsForStreamResponse Source #
Create a value of ListTagsForStreamResponse 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:nextToken:ListTagsForStream', listTagsForStreamResponse_nextToken - 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.
$sel:tags:ListTagsForStreamResponse', listTagsForStreamResponse_tags - A map of tag keys and values associated with the specified stream.
$sel:httpStatus:ListTagsForStreamResponse', listTagsForStreamResponse_httpStatus - The response's http status code.
Response Lenses
listTagsForStreamResponse_nextToken :: 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.
listTagsForStreamResponse_tags :: Lens' ListTagsForStreamResponse (Maybe (HashMap Text Text)) Source #
A map of tag keys and values associated with the specified stream.
listTagsForStreamResponse_httpStatus :: Lens' ListTagsForStreamResponse Int Source #
The response's http status code.