#[non_exhaustive]pub struct ReplicaGlobalSecondaryIndexSettingsDescription {
pub index_name: String,
pub index_status: Option<IndexStatus>,
pub provisioned_read_capacity_units: Option<i64>,
pub provisioned_read_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>,
pub provisioned_write_capacity_units: Option<i64>,
pub provisioned_write_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>,
}
Expand description
Represents the properties of a 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: String
The name of the global secondary index. The name must be unique among all other indexes on this table.
index_status: Option<IndexStatus>
The current status of the global secondary index:
-
CREATING
- The global secondary index is being created. -
UPDATING
- The global secondary index is being updated. -
DELETING
- The global secondary index is being deleted. -
ACTIVE
- The global secondary index is ready for use.
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: Option<AutoScalingSettingsDescription>
Auto scaling settings for a global secondary index replica's read capacity units.
provisioned_write_capacity_units: Option<i64>
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
provisioned_write_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>
Auto scaling settings for a global secondary index replica's write capacity units.
Implementations§
source§impl ReplicaGlobalSecondaryIndexSettingsDescription
impl ReplicaGlobalSecondaryIndexSettingsDescription
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 index_status(&self) -> Option<&IndexStatus>
pub fn index_status(&self) -> Option<&IndexStatus>
The current status of the global secondary index:
-
CREATING
- The global secondary index is being created. -
UPDATING
- The global secondary index is being updated. -
DELETING
- The global secondary index is being deleted. -
ACTIVE
- The global secondary index is ready for use.
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(
&self,
) -> Option<&AutoScalingSettingsDescription>
pub fn provisioned_read_capacity_auto_scaling_settings( &self, ) -> Option<&AutoScalingSettingsDescription>
Auto scaling settings for a global secondary index replica's read capacity units.
sourcepub fn provisioned_write_capacity_units(&self) -> Option<i64>
pub fn provisioned_write_capacity_units(&self) -> Option<i64>
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
sourcepub fn provisioned_write_capacity_auto_scaling_settings(
&self,
) -> Option<&AutoScalingSettingsDescription>
pub fn provisioned_write_capacity_auto_scaling_settings( &self, ) -> Option<&AutoScalingSettingsDescription>
Auto scaling settings for a global secondary index replica's write capacity units.
source§impl ReplicaGlobalSecondaryIndexSettingsDescription
impl ReplicaGlobalSecondaryIndexSettingsDescription
sourcepub fn builder() -> ReplicaGlobalSecondaryIndexSettingsDescriptionBuilder
pub fn builder() -> ReplicaGlobalSecondaryIndexSettingsDescriptionBuilder
Creates a new builder-style object to manufacture ReplicaGlobalSecondaryIndexSettingsDescription
.
Trait Implementations§
source§impl Clone for ReplicaGlobalSecondaryIndexSettingsDescription
impl Clone for ReplicaGlobalSecondaryIndexSettingsDescription
source§fn clone(&self) -> ReplicaGlobalSecondaryIndexSettingsDescription
fn clone(&self) -> ReplicaGlobalSecondaryIndexSettingsDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ReplicaGlobalSecondaryIndexSettingsDescription
impl PartialEq for ReplicaGlobalSecondaryIndexSettingsDescription
source§fn eq(&self, other: &ReplicaGlobalSecondaryIndexSettingsDescription) -> bool
fn eq(&self, other: &ReplicaGlobalSecondaryIndexSettingsDescription) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicaGlobalSecondaryIndexSettingsDescription
Auto Trait Implementations§
impl Freeze for ReplicaGlobalSecondaryIndexSettingsDescription
impl RefUnwindSafe for ReplicaGlobalSecondaryIndexSettingsDescription
impl Send for ReplicaGlobalSecondaryIndexSettingsDescription
impl Sync for ReplicaGlobalSecondaryIndexSettingsDescription
impl Unpin for ReplicaGlobalSecondaryIndexSettingsDescription
impl UnwindSafe for ReplicaGlobalSecondaryIndexSettingsDescription
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more