#[non_exhaustive]pub struct ReplicaGlobalSecondaryIndexSettingsUpdate {
pub index_name: String,
pub provisioned_read_capacity_units: Option<i64>,
pub provisioned_read_capacity_auto_scaling_settings_update: Option<AutoScalingSettingsUpdate>,
}
Expand description
Represents the settings of a global secondary index for a global table that will be modified.
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.index_name: String
The name of the global secondary index. The name must be unique among all other indexes on this table.
provisioned_read_capacity_units: Option<i64>
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
.
provisioned_read_capacity_auto_scaling_settings_update: Option<AutoScalingSettingsUpdate>
Auto scaling settings for managing a global secondary index replica's read capacity units.
Implementations§
source§impl ReplicaGlobalSecondaryIndexSettingsUpdate
impl ReplicaGlobalSecondaryIndexSettingsUpdate
sourcepub fn index_name(&self) -> &str
pub fn index_name(&self) -> &str
The name of the global secondary index. The name must be unique among all other indexes on this table.
sourcepub fn provisioned_read_capacity_units(&self) -> Option<i64>
pub fn provisioned_read_capacity_units(&self) -> Option<i64>
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
.
sourcepub fn provisioned_read_capacity_auto_scaling_settings_update(
&self
) -> Option<&AutoScalingSettingsUpdate>
pub fn provisioned_read_capacity_auto_scaling_settings_update( &self ) -> Option<&AutoScalingSettingsUpdate>
Auto scaling settings for managing a global secondary index replica's read capacity units.
source§impl ReplicaGlobalSecondaryIndexSettingsUpdate
impl ReplicaGlobalSecondaryIndexSettingsUpdate
sourcepub fn builder() -> ReplicaGlobalSecondaryIndexSettingsUpdateBuilder
pub fn builder() -> ReplicaGlobalSecondaryIndexSettingsUpdateBuilder
Creates a new builder-style object to manufacture ReplicaGlobalSecondaryIndexSettingsUpdate
.
Trait Implementations§
source§impl Clone for ReplicaGlobalSecondaryIndexSettingsUpdate
impl Clone for ReplicaGlobalSecondaryIndexSettingsUpdate
source§fn clone(&self) -> ReplicaGlobalSecondaryIndexSettingsUpdate
fn clone(&self) -> ReplicaGlobalSecondaryIndexSettingsUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ReplicaGlobalSecondaryIndexSettingsUpdate
impl PartialEq for ReplicaGlobalSecondaryIndexSettingsUpdate
source§fn eq(&self, other: &ReplicaGlobalSecondaryIndexSettingsUpdate) -> bool
fn eq(&self, other: &ReplicaGlobalSecondaryIndexSettingsUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.