Struct aws_sdk_kinesis::input::SplitShardInput
source · #[non_exhaustive]pub struct SplitShardInput { /* private fields */ }
Expand description
Represents the input for SplitShard
.
Implementations§
source§impl SplitShardInput
impl SplitShardInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SplitShard, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SplitShard, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<SplitShard
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SplitShardInput
.
source§impl SplitShardInput
impl SplitShardInput
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
The name of the stream for the shard split.
sourcepub fn shard_to_split(&self) -> Option<&str>
pub fn shard_to_split(&self) -> Option<&str>
The shard ID of the shard to split.
sourcepub fn new_starting_hash_key(&self) -> Option<&str>
pub fn new_starting_hash_key(&self) -> Option<&str>
A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey
must be in the range of hash keys being mapped into the shard. The NewStartingHashKey
hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.
sourcepub fn stream_arn(&self) -> Option<&str>
pub fn stream_arn(&self) -> Option<&str>
The ARN of the stream.
Trait Implementations§
source§impl Clone for SplitShardInput
impl Clone for SplitShardInput
source§fn clone(&self) -> SplitShardInput
fn clone(&self) -> SplitShardInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SplitShardInput
impl Debug for SplitShardInput
source§impl PartialEq<SplitShardInput> for SplitShardInput
impl PartialEq<SplitShardInput> for SplitShardInput
source§fn eq(&self, other: &SplitShardInput) -> bool
fn eq(&self, other: &SplitShardInput) -> bool
self
and other
values to be equal, and is used
by ==
.