Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists your delivery streams.
The number of delivery streams might be too large to return using a
single call to ListDeliveryStreams. You can limit the number of delivery
streams returned, using the Limit
parameter. To determine whether
there are more delivery streams to list, check the value of
HasMoreDeliveryStreams
in the output. If there are more delivery
streams to list, you can request them by specifying the name of the last
delivery stream returned in the call in the
ExclusiveStartDeliveryStreamName
parameter of a subsequent call.
See: AWS API Reference for ListDeliveryStreams.
- listDeliveryStreams :: ListDeliveryStreams
- data ListDeliveryStreams
- ldsLimit :: Lens' ListDeliveryStreams (Maybe Natural)
- ldsExclusiveStartDeliveryStreamName :: Lens' ListDeliveryStreams (Maybe Text)
- listDeliveryStreamsResponse :: Int -> Bool -> ListDeliveryStreamsResponse
- data ListDeliveryStreamsResponse
- ldsrsResponseStatus :: Lens' ListDeliveryStreamsResponse Int
- ldsrsDeliveryStreamNames :: Lens' ListDeliveryStreamsResponse [Text]
- ldsrsHasMoreDeliveryStreams :: Lens' ListDeliveryStreamsResponse Bool
Creating a Request
listDeliveryStreams :: ListDeliveryStreams Source
Creates a value of ListDeliveryStreams
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListDeliveryStreams Source
Contains the parameters for ListDeliveryStreams.
See: listDeliveryStreams
smart constructor.
Request Lenses
ldsLimit :: Lens' ListDeliveryStreams (Maybe Natural) Source
The maximum number of delivery streams to list.
ldsExclusiveStartDeliveryStreamName :: Lens' ListDeliveryStreams (Maybe Text) Source
The name of the delivery stream to start the list with.
Destructuring the Response
listDeliveryStreamsResponse Source
Creates a value of ListDeliveryStreamsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListDeliveryStreamsResponse Source
Contains the output of ListDeliveryStreams.
See: listDeliveryStreamsResponse
smart constructor.
Response Lenses
ldsrsResponseStatus :: Lens' ListDeliveryStreamsResponse Int Source
The response status code.
ldsrsDeliveryStreamNames :: Lens' ListDeliveryStreamsResponse [Text] Source
The names of the delivery streams.
ldsrsHasMoreDeliveryStreams :: Lens' ListDeliveryStreamsResponse Bool Source
Indicates whether there are more delivery streams available to list.