#[non_exhaustive]pub struct ReplicaGlobalSecondaryIndexAutoScalingDescription {
pub index_name: Option<String>,
pub index_status: Option<IndexStatus>,
pub provisioned_read_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>,
pub provisioned_write_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>,
}
Expand description
Represents the auto scaling configuration for a replica global secondary index.
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: Option<String>
The name of the global secondary index.
index_status: Option<IndexStatus>
The current state of the replica global secondary index:
-
CREATING
- The index is being created. -
UPDATING
- The table/index configuration is being updated. The table/index remains available for data operations whenUPDATING
-
DELETING
- The index is being deleted. -
ACTIVE
- The index is ready for use.
provisioned_read_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>
Represents the auto scaling settings for a global table or global secondary index.
provisioned_write_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>
Represents the auto scaling settings for a global table or global secondary index.
Implementations§
source§impl ReplicaGlobalSecondaryIndexAutoScalingDescription
impl ReplicaGlobalSecondaryIndexAutoScalingDescription
sourcepub fn index_name(&self) -> Option<&str>
pub fn index_name(&self) -> Option<&str>
The name of the global secondary index.
sourcepub fn index_status(&self) -> Option<&IndexStatus>
pub fn index_status(&self) -> Option<&IndexStatus>
The current state of the replica global secondary index:
-
CREATING
- The index is being created. -
UPDATING
- The table/index configuration is being updated. The table/index remains available for data operations whenUPDATING
-
DELETING
- The index is being deleted. -
ACTIVE
- The index is ready for use.
sourcepub fn provisioned_read_capacity_auto_scaling_settings(
&self
) -> Option<&AutoScalingSettingsDescription>
pub fn provisioned_read_capacity_auto_scaling_settings( &self ) -> Option<&AutoScalingSettingsDescription>
Represents the auto scaling settings for a global table or global secondary index.
sourcepub fn provisioned_write_capacity_auto_scaling_settings(
&self
) -> Option<&AutoScalingSettingsDescription>
pub fn provisioned_write_capacity_auto_scaling_settings( &self ) -> Option<&AutoScalingSettingsDescription>
Represents the auto scaling settings for a global table or global secondary index.
source§impl ReplicaGlobalSecondaryIndexAutoScalingDescription
impl ReplicaGlobalSecondaryIndexAutoScalingDescription
sourcepub fn builder() -> ReplicaGlobalSecondaryIndexAutoScalingDescriptionBuilder
pub fn builder() -> ReplicaGlobalSecondaryIndexAutoScalingDescriptionBuilder
Creates a new builder-style object to manufacture ReplicaGlobalSecondaryIndexAutoScalingDescription
.
Trait Implementations§
source§impl Clone for ReplicaGlobalSecondaryIndexAutoScalingDescription
impl Clone for ReplicaGlobalSecondaryIndexAutoScalingDescription
source§fn clone(&self) -> ReplicaGlobalSecondaryIndexAutoScalingDescription
fn clone(&self) -> ReplicaGlobalSecondaryIndexAutoScalingDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ReplicaGlobalSecondaryIndexAutoScalingDescription
impl PartialEq for ReplicaGlobalSecondaryIndexAutoScalingDescription
source§fn eq(&self, other: &ReplicaGlobalSecondaryIndexAutoScalingDescription) -> bool
fn eq(&self, other: &ReplicaGlobalSecondaryIndexAutoScalingDescription) -> bool
self
and other
values to be equal, and is used
by ==
.