#[non_exhaustive]pub struct GlobalSecondaryIndexUpdate { /* private fields */ }
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.
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() -> Builder
pub fn builder() -> Builder
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
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 Debug for GlobalSecondaryIndexUpdate
impl Debug for GlobalSecondaryIndexUpdate
source§impl PartialEq<GlobalSecondaryIndexUpdate> for GlobalSecondaryIndexUpdate
impl PartialEq<GlobalSecondaryIndexUpdate> for GlobalSecondaryIndexUpdate
source§fn eq(&self, other: &GlobalSecondaryIndexUpdate) -> bool
fn eq(&self, other: &GlobalSecondaryIndexUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.