| 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 |
Network.AWS.Kinesis.ListTagsForStream
Description
Lists the tags for the specified Kinesis data stream. This operation has a limit of five transactions per second per account.
- listTagsForStream :: Text -> ListTagsForStream
- data ListTagsForStream
- ltfsLimit :: Lens' ListTagsForStream (Maybe Natural)
- ltfsExclusiveStartTagKey :: Lens' ListTagsForStream (Maybe Text)
- ltfsStreamName :: Lens' ListTagsForStream Text
- listTagsForStreamResponse :: Int -> Bool -> ListTagsForStreamResponse
- data ListTagsForStreamResponse
- ltfsrsResponseStatus :: Lens' ListTagsForStreamResponse Int
- ltfsrsTags :: Lens' ListTagsForStreamResponse [Tag]
- ltfsrsHasMoreTags :: Lens' ListTagsForStreamResponse Bool
Creating a Request
Arguments
| :: Text | |
| -> ListTagsForStream |
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:
ltfsLimit- The number of tags to return. If this number is less than the total number of tags associated with the stream,HasMoreTagsis set totrue. To list additional tags, setExclusiveStartTagKeyto the last key in the response.ltfsExclusiveStartTagKey- The key to use as the starting point for the list of tags. If this parameter is set,ListTagsForStreamgets all tags that occur afterExclusiveStartTagKey.ltfsStreamName- The name of the stream.
data ListTagsForStream #
Represents the input for ListTagsForStream .
See: listTagsForStream smart constructor.
Instances
Request Lenses
ltfsLimit :: Lens' ListTagsForStream (Maybe Natural) #
The number of tags to return. If this number is less than the total number of tags associated with the stream, HasMoreTags is set to true . To list additional tags, set ExclusiveStartTagKey to the last key in the response.
ltfsExclusiveStartTagKey :: Lens' ListTagsForStream (Maybe Text) #
The key to use as the starting point for the list of tags. If this parameter is set, ListTagsForStream gets all tags that occur after ExclusiveStartTagKey .
ltfsStreamName :: Lens' ListTagsForStream Text #
The name of the stream.
Destructuring the Response
Arguments
| :: Int | |
| -> Bool | |
| -> ListTagsForStreamResponse |
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:
ltfsrsResponseStatus- -- | The response status code.ltfsrsTags- A list of tags associated withStreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.ltfsrsHasMoreTags- If set totrue, more tags are available. To request additional tags, setExclusiveStartTagKeyto the key of the last tag returned.
data ListTagsForStreamResponse #
Represents the output for ListTagsForStream .
See: listTagsForStreamResponse smart constructor.
Response Lenses
ltfsrsResponseStatus :: Lens' ListTagsForStreamResponse Int #
- - | The response status code.
ltfsrsTags :: Lens' ListTagsForStreamResponse [Tag] #
A list of tags associated with StreamName , starting with the first tag after ExclusiveStartTagKey and up to the specified Limit .
ltfsrsHasMoreTags :: Lens' ListTagsForStreamResponse Bool #
If set to true , more tags are available. To request additional tags, set ExclusiveStartTagKey to the key of the last tag returned.