Struct aws_sdk_dynamodb::model::GlobalSecondaryIndexUpdate
source · [−]#[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
sourceimpl 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.
sourceimpl GlobalSecondaryIndexUpdate
impl GlobalSecondaryIndexUpdate
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GlobalSecondaryIndexUpdate
.
Trait Implementations
sourceimpl Clone for GlobalSecondaryIndexUpdate
impl Clone for GlobalSecondaryIndexUpdate
sourcefn clone(&self) -> GlobalSecondaryIndexUpdate
fn clone(&self) -> GlobalSecondaryIndexUpdate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GlobalSecondaryIndexUpdate
impl Debug for GlobalSecondaryIndexUpdate
sourceimpl PartialEq<GlobalSecondaryIndexUpdate> for GlobalSecondaryIndexUpdate
impl PartialEq<GlobalSecondaryIndexUpdate> for GlobalSecondaryIndexUpdate
sourcefn eq(&self, other: &GlobalSecondaryIndexUpdate) -> bool
fn eq(&self, other: &GlobalSecondaryIndexUpdate) -> bool
impl StructuralPartialEq for GlobalSecondaryIndexUpdate
Auto Trait Implementations
impl RefUnwindSafe for GlobalSecondaryIndexUpdate
impl Send for GlobalSecondaryIndexUpdate
impl Sync for GlobalSecondaryIndexUpdate
impl Unpin for GlobalSecondaryIndexUpdate
impl UnwindSafe for GlobalSecondaryIndexUpdate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more