#[non_exhaustive]pub struct GlobalSecondaryIndexUpdate {
pub update: Option<UpdateGlobalSecondaryIndexAction>,
pub create: Option<CreateGlobalSecondaryIndexAction>,
pub delete: Option<DeleteGlobalSecondaryIndexAction>,
}Expand description
Represents one of the following:
-
A new global secondary index to be added to an existing table.
-
New provisioned throughput parameters for an existing global secondary index.
-
An existing global secondary index to be removed from an existing table.
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.update: Option<UpdateGlobalSecondaryIndexAction>The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
create: Option<CreateGlobalSecondaryIndexAction>The parameters required for creating a global secondary index on an existing table:
-
IndexName -
KeySchema -
AttributeDefinitions -
Projection -
ProvisionedThroughput
delete: Option<DeleteGlobalSecondaryIndexAction>The name of an existing global secondary index to be removed.
Implementations§
source§impl GlobalSecondaryIndexUpdate
impl GlobalSecondaryIndexUpdate
sourcepub fn update(&self) -> Option<&UpdateGlobalSecondaryIndexAction>
pub fn update(&self) -> Option<&UpdateGlobalSecondaryIndexAction>
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
sourcepub fn create(&self) -> Option<&CreateGlobalSecondaryIndexAction>
pub fn create(&self) -> Option<&CreateGlobalSecondaryIndexAction>
The parameters required for creating a global secondary index on an existing table:
-
IndexName -
KeySchema -
AttributeDefinitions -
Projection -
ProvisionedThroughput
sourcepub fn delete(&self) -> Option<&DeleteGlobalSecondaryIndexAction>
pub fn delete(&self) -> Option<&DeleteGlobalSecondaryIndexAction>
The name of an existing global secondary index to be removed.
source§impl GlobalSecondaryIndexUpdate
impl GlobalSecondaryIndexUpdate
sourcepub fn builder() -> GlobalSecondaryIndexUpdateBuilder
pub fn builder() -> GlobalSecondaryIndexUpdateBuilder
Creates a new builder-style object to manufacture GlobalSecondaryIndexUpdate.
Trait Implementations§
source§impl Clone for GlobalSecondaryIndexUpdate
impl Clone for GlobalSecondaryIndexUpdate
source§fn clone(&self) -> GlobalSecondaryIndexUpdate
fn clone(&self) -> GlobalSecondaryIndexUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GlobalSecondaryIndexUpdate
impl Debug for GlobalSecondaryIndexUpdate
source§impl PartialEq for GlobalSecondaryIndexUpdate
impl PartialEq for GlobalSecondaryIndexUpdate
source§fn eq(&self, other: &GlobalSecondaryIndexUpdate) -> bool
fn eq(&self, other: &GlobalSecondaryIndexUpdate) -> bool
self and other values to be equal, and is used
by ==.