pub struct ListDeliveryStreams { /* private fields */ }
Expand description
Fluent builder constructing a request to ListDeliveryStreams
.
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.
Implementations
sourceimpl ListDeliveryStreams
impl ListDeliveryStreams
sourcepub async fn send(
self
) -> Result<ListDeliveryStreamsOutput, SdkError<ListDeliveryStreamsError>>
pub async fn send(
self
) -> Result<ListDeliveryStreamsOutput, SdkError<ListDeliveryStreamsError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of delivery streams to list. The default value is 10.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of delivery streams to list. The default value is 10.
sourcepub fn delivery_stream_type(self, input: DeliveryStreamType) -> Self
pub fn delivery_stream_type(self, input: DeliveryStreamType) -> Self
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.
sourcepub fn set_delivery_stream_type(self, input: Option<DeliveryStreamType>) -> Self
pub fn set_delivery_stream_type(self, input: Option<DeliveryStreamType>) -> Self
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.
sourcepub fn exclusive_start_delivery_stream_name(
self,
input: impl Into<String>
) -> Self
pub fn exclusive_start_delivery_stream_name(
self,
input: impl Into<String>
) -> Self
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
.
sourcepub fn set_exclusive_start_delivery_stream_name(
self,
input: Option<String>
) -> Self
pub fn set_exclusive_start_delivery_stream_name(
self,
input: Option<String>
) -> Self
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
.
Trait Implementations
sourceimpl Clone for ListDeliveryStreams
impl Clone for ListDeliveryStreams
sourcefn clone(&self) -> ListDeliveryStreams
fn clone(&self) -> ListDeliveryStreams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ListDeliveryStreams
impl Send for ListDeliveryStreams
impl Sync for ListDeliveryStreams
impl Unpin for ListDeliveryStreams
impl !UnwindSafe for ListDeliveryStreams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more