#[non_exhaustive]pub struct DescribeStreamInput { /* private fields */ }
Expand description
Represents the input of a DescribeStream
operation.
Implementations§
source§impl DescribeStreamInput
impl DescribeStreamInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeStream, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeStream, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeStream
>
Examples found in repository?
src/client.rs (line 188)
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeStream,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeStreamError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::DescribeStreamOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeStreamError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeStreamInput
.
source§impl DescribeStreamInput
impl DescribeStreamInput
sourcepub fn stream_arn(&self) -> Option<&str>
pub fn stream_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the stream.
sourcepub fn limit(&self) -> Option<i32>
pub fn limit(&self) -> Option<i32>
The maximum number of shard objects to return. The upper limit is 100.
sourcepub fn exclusive_start_shard_id(&self) -> Option<&str>
pub fn exclusive_start_shard_id(&self) -> Option<&str>
The shard ID of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedShardId
in the previous operation.
Trait Implementations§
source§impl Clone for DescribeStreamInput
impl Clone for DescribeStreamInput
source§fn clone(&self) -> DescribeStreamInput
fn clone(&self) -> DescribeStreamInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more