Struct aws_sdk_kinesis::input::SplitShardInput [−][src]
#[non_exhaustive]pub struct SplitShardInput {
pub stream_name: Option<String>,
pub shard_to_split: Option<String>,
pub new_starting_hash_key: Option<String>,
}
Expand description
Represents the input for SplitShard
.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.stream_name: Option<String>
The name of the stream for the shard split.
shard_to_split: Option<String>
The shard ID of the shard to split.
new_starting_hash_key: Option<String>
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SplitShard, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SplitShard, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SplitShard
>
Creates a new builder-style object to manufacture SplitShardInput
The name of the stream for the shard split.
The shard ID of the shard to split.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SplitShardInput
impl Send for SplitShardInput
impl Sync for SplitShardInput
impl Unpin for SplitShardInput
impl UnwindSafe for SplitShardInput
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