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 |
Lists your delivery streams in alphabetical order of their names.
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 calling this operation again
and setting the ExclusiveStartDeliveryStreamName
parameter to the name
of the last delivery stream returned in the last call.
Synopsis
- data ListDeliveryStreams = ListDeliveryStreams' {}
- newListDeliveryStreams :: ListDeliveryStreams
- listDeliveryStreams_limit :: Lens' ListDeliveryStreams (Maybe Natural)
- listDeliveryStreams_deliveryStreamType :: Lens' ListDeliveryStreams (Maybe DeliveryStreamType)
- listDeliveryStreams_exclusiveStartDeliveryStreamName :: Lens' ListDeliveryStreams (Maybe Text)
- data ListDeliveryStreamsResponse = ListDeliveryStreamsResponse' {}
- newListDeliveryStreamsResponse :: Int -> Bool -> ListDeliveryStreamsResponse
- listDeliveryStreamsResponse_httpStatus :: Lens' ListDeliveryStreamsResponse Int
- listDeliveryStreamsResponse_deliveryStreamNames :: Lens' ListDeliveryStreamsResponse [Text]
- listDeliveryStreamsResponse_hasMoreDeliveryStreams :: Lens' ListDeliveryStreamsResponse Bool
Creating a Request
data ListDeliveryStreams Source #
See: newListDeliveryStreams
smart constructor.
ListDeliveryStreams' | |
|
Instances
newListDeliveryStreams :: ListDeliveryStreams Source #
Create a value of ListDeliveryStreams
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:limit:ListDeliveryStreams'
, listDeliveryStreams_limit
- The maximum number of delivery streams to list. The default value is 10.
$sel:deliveryStreamType:ListDeliveryStreams'
, listDeliveryStreams_deliveryStreamType
- The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
This parameter is optional. If this parameter is omitted, delivery streams of all types are returned.
$sel:exclusiveStartDeliveryStreamName:ListDeliveryStreams'
, listDeliveryStreams_exclusiveStartDeliveryStreamName
- The list of delivery streams returned by this call to
ListDeliveryStreams
will start with the delivery stream whose name
comes alphabetically immediately after the name you specify in
ExclusiveStartDeliveryStreamName
.
Request Lenses
listDeliveryStreams_limit :: Lens' ListDeliveryStreams (Maybe Natural) Source #
The maximum number of delivery streams to list. The default value is 10.
listDeliveryStreams_deliveryStreamType :: Lens' ListDeliveryStreams (Maybe DeliveryStreamType) Source #
The delivery stream type. This can be one of the following values:
DirectPut
: Provider applications access the delivery stream directly.KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
This parameter is optional. If this parameter is omitted, delivery streams of all types are returned.
listDeliveryStreams_exclusiveStartDeliveryStreamName :: Lens' ListDeliveryStreams (Maybe Text) Source #
The list of delivery streams returned by this call to
ListDeliveryStreams
will start with the delivery stream whose name
comes alphabetically immediately after the name you specify in
ExclusiveStartDeliveryStreamName
.
Destructuring the Response
data ListDeliveryStreamsResponse Source #
See: newListDeliveryStreamsResponse
smart constructor.
ListDeliveryStreamsResponse' | |
|
Instances
newListDeliveryStreamsResponse Source #
:: Int | |
-> Bool | |
-> ListDeliveryStreamsResponse |
Create a value of ListDeliveryStreamsResponse
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:httpStatus:ListDeliveryStreamsResponse'
, listDeliveryStreamsResponse_httpStatus
- The response's http status code.
$sel:deliveryStreamNames:ListDeliveryStreamsResponse'
, listDeliveryStreamsResponse_deliveryStreamNames
- The names of the delivery streams.
$sel:hasMoreDeliveryStreams:ListDeliveryStreamsResponse'
, listDeliveryStreamsResponse_hasMoreDeliveryStreams
- Indicates whether there are more delivery streams available to list.
Response Lenses
listDeliveryStreamsResponse_httpStatus :: Lens' ListDeliveryStreamsResponse Int Source #
The response's http status code.
listDeliveryStreamsResponse_deliveryStreamNames :: Lens' ListDeliveryStreamsResponse [Text] Source #
The names of the delivery streams.
listDeliveryStreamsResponse_hasMoreDeliveryStreams :: Lens' ListDeliveryStreamsResponse Bool Source #
Indicates whether there are more delivery streams available to list.