#[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 ==
.impl StructuralPartialEq for GlobalSecondaryIndexUpdate
Auto Trait Implementations§
impl Freeze for GlobalSecondaryIndexUpdate
impl RefUnwindSafe for GlobalSecondaryIndexUpdate
impl Send for GlobalSecondaryIndexUpdate
impl Sync for GlobalSecondaryIndexUpdate
impl Unpin for GlobalSecondaryIndexUpdate
impl UnwindSafe for GlobalSecondaryIndexUpdate
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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