#[non_exhaustive]pub struct GlobalTableGlobalSecondaryIndexSettingsUpdate {
pub index_name: String,
pub provisioned_write_capacity_units: Option<i64>,
pub provisioned_write_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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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_write_capacity_units: Option<i64>
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
provisioned_write_capacity_auto_scaling_settings_update: Option<AutoScalingSettingsUpdate>
Auto scaling settings for managing a global secondary index's write capacity units.
Implementations§
source§impl GlobalTableGlobalSecondaryIndexSettingsUpdate
impl GlobalTableGlobalSecondaryIndexSettingsUpdate
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_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_update(
&self
) -> Option<&AutoScalingSettingsUpdate>
pub fn provisioned_write_capacity_auto_scaling_settings_update( &self ) -> Option<&AutoScalingSettingsUpdate>
Auto scaling settings for managing a global secondary index's write capacity units.
source§impl GlobalTableGlobalSecondaryIndexSettingsUpdate
impl GlobalTableGlobalSecondaryIndexSettingsUpdate
sourcepub fn builder() -> GlobalTableGlobalSecondaryIndexSettingsUpdateBuilder
pub fn builder() -> GlobalTableGlobalSecondaryIndexSettingsUpdateBuilder
Creates a new builder-style object to manufacture GlobalTableGlobalSecondaryIndexSettingsUpdate
.
Trait Implementations§
source§impl Clone for GlobalTableGlobalSecondaryIndexSettingsUpdate
impl Clone for GlobalTableGlobalSecondaryIndexSettingsUpdate
source§fn clone(&self) -> GlobalTableGlobalSecondaryIndexSettingsUpdate
fn clone(&self) -> GlobalTableGlobalSecondaryIndexSettingsUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for GlobalTableGlobalSecondaryIndexSettingsUpdate
impl PartialEq for GlobalTableGlobalSecondaryIndexSettingsUpdate
source§fn eq(&self, other: &GlobalTableGlobalSecondaryIndexSettingsUpdate) -> bool
fn eq(&self, other: &GlobalTableGlobalSecondaryIndexSettingsUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GlobalTableGlobalSecondaryIndexSettingsUpdate
Auto Trait Implementations§
impl Freeze for GlobalTableGlobalSecondaryIndexSettingsUpdate
impl RefUnwindSafe for GlobalTableGlobalSecondaryIndexSettingsUpdate
impl Send for GlobalTableGlobalSecondaryIndexSettingsUpdate
impl Sync for GlobalTableGlobalSecondaryIndexSettingsUpdate
impl Unpin for GlobalTableGlobalSecondaryIndexSettingsUpdate
impl UnwindSafe for GlobalTableGlobalSecondaryIndexSettingsUpdate
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.