Struct aws_sdk_dynamodbstreams::client::fluent_builders::DescribeStream [−][src]
pub struct DescribeStream<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeStream
.
Returns information about a stream, including the current status of the stream, its Amazon Resource Name (ARN), the composition of its shards, and its corresponding DynamoDB table.
You can call DescribeStream
at a maximum rate of 10 times per second.
Each shard in the stream has a SequenceNumberRange
associated with it. If the
SequenceNumberRange
has a StartingSequenceNumber
but no
EndingSequenceNumber
, then the shard is still open (able to receive more stream
records). If both StartingSequenceNumber
and EndingSequenceNumber
are present, then that shard is closed and can no longer receive more data.
Implementations
impl<C, M, R> DescribeStream<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeStream<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeStreamOutput, SdkError<DescribeStreamError>> where
R::Policy: SmithyRetryPolicy<DescribeStreamInputOperationOutputAlias, DescribeStreamOutput, DescribeStreamError, DescribeStreamInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeStreamOutput, SdkError<DescribeStreamError>> where
R::Policy: SmithyRetryPolicy<DescribeStreamInputOperationOutputAlias, DescribeStreamOutput, DescribeStreamError, DescribeStreamInputOperationRetryAlias>,
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.
The Amazon Resource Name (ARN) for the stream.
The Amazon Resource Name (ARN) for the stream.
The maximum number of shard objects to return. The upper limit is 100.
The maximum number of shard objects to return. The upper limit is 100.
The shard ID of the first item that this operation will evaluate. Use the value that was
returned for LastEvaluatedShardId
in the previous operation.
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
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeStream<C, M, R>
impl<C, M, R> Send for DescribeStream<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeStream<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeStream<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeStream<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more