#[non_exhaustive]pub struct DescribeStreamInput {
pub stream_arn: Option<String>,
pub limit: Option<i32>,
pub exclusive_start_shard_id: Option<String>,
}
Expand description
Represents the input of a DescribeStream
operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.stream_arn: Option<String>
The Amazon Resource Name (ARN) for the stream.
limit: Option<i32>
The maximum number of shard objects to return. The upper limit is 100.
exclusive_start_shard_id: Option<String>
The shard ID of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedShardId
in the previous operation.
Implementations§
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.
source§impl DescribeStreamInput
impl DescribeStreamInput
sourcepub fn builder() -> DescribeStreamInputBuilder
pub fn builder() -> DescribeStreamInputBuilder
Creates a new builder-style object to manufacture DescribeStreamInput
.
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 moresource§impl Debug for DescribeStreamInput
impl Debug for DescribeStreamInput
source§impl PartialEq for DescribeStreamInput
impl PartialEq for DescribeStreamInput
source§fn eq(&self, other: &DescribeStreamInput) -> bool
fn eq(&self, other: &DescribeStreamInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeStreamInput
Auto Trait Implementations§
impl RefUnwindSafe for DescribeStreamInput
impl Send for DescribeStreamInput
impl Sync for DescribeStreamInput
impl Unpin for DescribeStreamInput
impl UnwindSafe for DescribeStreamInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more