pub struct DescribeStreamSummary { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeStreamSummary
.
Provides a summarized description of the specified Kinesis data stream without the shard list.
When invoking this API, it is recommended you use the StreamARN
input parameter rather than the StreamName
input parameter.
The information returned includes the stream name, Amazon Resource Name (ARN), status, record retention period, approximate creation time, monitoring, encryption details, and open shard count.
DescribeStreamSummary
has a limit of 20 transactions per second per account.
Implementations§
source§impl DescribeStreamSummary
impl DescribeStreamSummary
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeStreamSummary, AwsResponseRetryClassifier>, SdkError<DescribeStreamSummaryError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeStreamSummary, AwsResponseRetryClassifier>, SdkError<DescribeStreamSummaryError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeStreamSummaryOutput, SdkError<DescribeStreamSummaryError>>
pub async fn send(
self
) -> Result<DescribeStreamSummaryOutput, SdkError<DescribeStreamSummaryError>>
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 stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The name of the stream to describe.
sourcepub fn set_stream_name(self, input: Option<String>) -> Self
pub fn set_stream_name(self, input: Option<String>) -> Self
The name of the stream to describe.
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The ARN of the stream.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The ARN of the stream.
Trait Implementations§
source§impl Clone for DescribeStreamSummary
impl Clone for DescribeStreamSummary
source§fn clone(&self) -> DescribeStreamSummary
fn clone(&self) -> DescribeStreamSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more