Struct aws_sdk_kinesis::input::UpdateShardCountInput
source · #[non_exhaustive]pub struct UpdateShardCountInput { /* private fields */ }
Implementations§
source§impl UpdateShardCountInput
impl UpdateShardCountInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateShardCount, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateShardCount, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateShardCount
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateShardCountInput
.
source§impl UpdateShardCountInput
impl UpdateShardCountInput
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
The name of the stream.
sourcepub fn target_shard_count(&self) -> Option<i32>
pub fn target_shard_count(&self) -> Option<i32>
The new number of shards. This value has the following default limits. By default, you cannot do the following:
-
Set this value to more than double your current shard count for a stream.
-
Set this value below half your current shard count for a stream.
-
Set this value to more than 10000 shards in a stream (the default limit for shard count per stream is 10000 per account per region), unless you request a limit increase.
-
Scale a stream with more than 10000 shards down unless you set this value to less than 10000 shards.
sourcepub fn scaling_type(&self) -> Option<&ScalingType>
pub fn scaling_type(&self) -> Option<&ScalingType>
The scaling type. Uniform scaling creates shards of equal size.
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 UpdateShardCountInput
impl Clone for UpdateShardCountInput
source§fn clone(&self) -> UpdateShardCountInput
fn clone(&self) -> UpdateShardCountInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateShardCountInput
impl Debug for UpdateShardCountInput
source§impl PartialEq<UpdateShardCountInput> for UpdateShardCountInput
impl PartialEq<UpdateShardCountInput> for UpdateShardCountInput
source§fn eq(&self, other: &UpdateShardCountInput) -> bool
fn eq(&self, other: &UpdateShardCountInput) -> bool
self
and other
values to be equal, and is used
by ==
.