pub struct ListStreamsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListStreams
.
Returns an array of stream ARNs associated with the current account and endpoint. If the TableName
parameter is present, then ListStreams
will return only the streams ARNs for that table.
You can call ListStreams
at a maximum rate of 5 times per second.
Implementations§
source§impl ListStreamsFluentBuilder
impl ListStreamsFluentBuilder
sourcepub fn as_input(&self) -> &ListStreamsInputBuilder
pub fn as_input(&self) -> &ListStreamsInputBuilder
Access the ListStreams as a reference.
sourcepub async fn send(
self
) -> Result<ListStreamsOutput, SdkError<ListStreamsError, HttpResponse>>
pub async fn send( self ) -> Result<ListStreamsOutput, SdkError<ListStreamsError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<ListStreamsOutput, ListStreamsError, Self>, SdkError<ListStreamsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<ListStreamsOutput, ListStreamsError, Self>, SdkError<ListStreamsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
If this parameter is provided, then only the streams associated with this table name are returned.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
If this parameter is provided, then only the streams associated with this table name are returned.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
If this parameter is provided, then only the streams associated with this table name are returned.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of streams to return. The upper limit is 100.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of streams to return. The upper limit is 100.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
The maximum number of streams to return. The upper limit is 100.
sourcepub fn exclusive_start_stream_arn(self, input: impl Into<String>) -> Self
pub fn exclusive_start_stream_arn(self, input: impl Into<String>) -> Self
The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedStreamArn
in the previous operation.
sourcepub fn set_exclusive_start_stream_arn(self, input: Option<String>) -> Self
pub fn set_exclusive_start_stream_arn(self, input: Option<String>) -> Self
The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedStreamArn
in the previous operation.
sourcepub fn get_exclusive_start_stream_arn(&self) -> &Option<String>
pub fn get_exclusive_start_stream_arn(&self) -> &Option<String>
The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedStreamArn
in the previous operation.
Trait Implementations§
source§impl Clone for ListStreamsFluentBuilder
impl Clone for ListStreamsFluentBuilder
source§fn clone(&self) -> ListStreamsFluentBuilder
fn clone(&self) -> ListStreamsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more