#[non_exhaustive]pub struct UpdateGlobalSecondaryIndexAction {
pub index_name: String,
pub provisioned_throughput: Option<ProvisionedThroughput>,
pub on_demand_throughput: Option<OnDemandThroughput>,
}Expand description
Represents the new provisioned throughput settings to be applied to 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: StringThe name of the global secondary index to be updated.
provisioned_throughput: Option<ProvisionedThroughput>Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
on_demand_throughput: Option<OnDemandThroughput>Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
Implementations§
source§impl UpdateGlobalSecondaryIndexAction
impl UpdateGlobalSecondaryIndexAction
sourcepub fn index_name(&self) -> &str
pub fn index_name(&self) -> &str
The name of the global secondary index to be updated.
sourcepub fn provisioned_throughput(&self) -> Option<&ProvisionedThroughput>
pub fn provisioned_throughput(&self) -> Option<&ProvisionedThroughput>
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
sourcepub fn on_demand_throughput(&self) -> Option<&OnDemandThroughput>
pub fn on_demand_throughput(&self) -> Option<&OnDemandThroughput>
Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
source§impl UpdateGlobalSecondaryIndexAction
impl UpdateGlobalSecondaryIndexAction
sourcepub fn builder() -> UpdateGlobalSecondaryIndexActionBuilder
pub fn builder() -> UpdateGlobalSecondaryIndexActionBuilder
Creates a new builder-style object to manufacture UpdateGlobalSecondaryIndexAction.
Trait Implementations§
source§impl Clone for UpdateGlobalSecondaryIndexAction
impl Clone for UpdateGlobalSecondaryIndexAction
source§fn clone(&self) -> UpdateGlobalSecondaryIndexAction
fn clone(&self) -> UpdateGlobalSecondaryIndexAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateGlobalSecondaryIndexAction
impl PartialEq for UpdateGlobalSecondaryIndexAction
source§fn eq(&self, other: &UpdateGlobalSecondaryIndexAction) -> bool
fn eq(&self, other: &UpdateGlobalSecondaryIndexAction) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateGlobalSecondaryIndexAction
Auto Trait Implementations§
impl Freeze for UpdateGlobalSecondaryIndexAction
impl RefUnwindSafe for UpdateGlobalSecondaryIndexAction
impl Send for UpdateGlobalSecondaryIndexAction
impl Sync for UpdateGlobalSecondaryIndexAction
impl Unpin for UpdateGlobalSecondaryIndexAction
impl UnwindSafe for UpdateGlobalSecondaryIndexAction
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> 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