Struct aws_sdk_kinesis::model::Shard
source · #[non_exhaustive]pub struct Shard { /* private fields */ }
Expand description
A uniquely identified group of data records in a Kinesis data stream.
Implementations§
source§impl Shard
impl Shard
sourcepub fn parent_shard_id(&self) -> Option<&str>
pub fn parent_shard_id(&self) -> Option<&str>
The shard ID of the shard's parent.
sourcepub fn adjacent_parent_shard_id(&self) -> Option<&str>
pub fn adjacent_parent_shard_id(&self) -> Option<&str>
The shard ID of the shard adjacent to the shard's parent.
sourcepub fn hash_key_range(&self) -> Option<&HashKeyRange>
pub fn hash_key_range(&self) -> Option<&HashKeyRange>
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
sourcepub fn sequence_number_range(&self) -> Option<&SequenceNumberRange>
pub fn sequence_number_range(&self) -> Option<&SequenceNumberRange>
The range of possible sequence numbers for the shard.