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 |
Lists all of the streams in your AWS account.
Synopsis
- listStreams :: ListStreams
- data ListStreams
- lsNextToken :: Lens' ListStreams (Maybe Text)
- lsAscendingOrder :: Lens' ListStreams (Maybe Bool)
- lsMaxResults :: Lens' ListStreams (Maybe Natural)
- listStreamsResponse :: Int -> ListStreamsResponse
- data ListStreamsResponse
- lsrsNextToken :: Lens' ListStreamsResponse (Maybe Text)
- lsrsStreams :: Lens' ListStreamsResponse [StreamSummary]
- lsrsResponseStatus :: Lens' ListStreamsResponse Int
Creating a Request
listStreams :: ListStreams Source #
Creates a value of ListStreams
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsNextToken
- A token used to get the next set of results.lsAscendingOrder
- Set to true to return the list of streams in ascending order.lsMaxResults
- The maximum number of results to return at a time.
data ListStreams Source #
See: listStreams
smart constructor.
Instances
Request Lenses
lsNextToken :: Lens' ListStreams (Maybe Text) Source #
A token used to get the next set of results.
lsAscendingOrder :: Lens' ListStreams (Maybe Bool) Source #
Set to true to return the list of streams in ascending order.
lsMaxResults :: Lens' ListStreams (Maybe Natural) Source #
The maximum number of results to return at a time.
Destructuring the Response
Creates a value of ListStreamsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsrsNextToken
- A token used to get the next set of results.lsrsStreams
- A list of streams.lsrsResponseStatus
- -- | The response status code.
data ListStreamsResponse Source #
See: listStreamsResponse
smart constructor.
Instances
Response Lenses
lsrsNextToken :: Lens' ListStreamsResponse (Maybe Text) Source #
A token used to get the next set of results.
lsrsStreams :: Lens' ListStreamsResponse [StreamSummary] Source #
A list of streams.
lsrsResponseStatus :: Lens' ListStreamsResponse Int Source #
- - | The response status code.