Struct aws_sdk_dynamodb::types::ReplicationGroupUpdate
source · #[non_exhaustive]pub struct ReplicationGroupUpdate {
pub create: Option<CreateReplicationGroupMemberAction>,
pub update: Option<UpdateReplicationGroupMemberAction>,
pub delete: Option<DeleteReplicationGroupMemberAction>,
}
Expand description
Represents one of the following:
-
A new replica to be added to an existing regional table or global table. This request invokes the
CreateTableReplica
action in the destination Region. -
New parameters for an existing replica. This request invokes the
UpdateTable
action in the destination Region. -
An existing replica to be deleted. The request invokes the
DeleteTableReplica
action in the destination Region, deleting the replica and all if its items in the destination Region.
When you manually remove a table or global table replica, you do not automatically remove any associated scalable targets, scaling policies, or CloudWatch alarms.
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.create: Option<CreateReplicationGroupMemberAction>
The parameters required for creating a replica for the table.
update: Option<UpdateReplicationGroupMemberAction>
The parameters required for updating a replica for the table.
delete: Option<DeleteReplicationGroupMemberAction>
The parameters required for deleting a replica for the table.
Implementations§
source§impl ReplicationGroupUpdate
impl ReplicationGroupUpdate
sourcepub fn create(&self) -> Option<&CreateReplicationGroupMemberAction>
pub fn create(&self) -> Option<&CreateReplicationGroupMemberAction>
The parameters required for creating a replica for the table.
sourcepub fn update(&self) -> Option<&UpdateReplicationGroupMemberAction>
pub fn update(&self) -> Option<&UpdateReplicationGroupMemberAction>
The parameters required for updating a replica for the table.
sourcepub fn delete(&self) -> Option<&DeleteReplicationGroupMemberAction>
pub fn delete(&self) -> Option<&DeleteReplicationGroupMemberAction>
The parameters required for deleting a replica for the table.
source§impl ReplicationGroupUpdate
impl ReplicationGroupUpdate
sourcepub fn builder() -> ReplicationGroupUpdateBuilder
pub fn builder() -> ReplicationGroupUpdateBuilder
Creates a new builder-style object to manufacture ReplicationGroupUpdate
.
Trait Implementations§
source§impl Clone for ReplicationGroupUpdate
impl Clone for ReplicationGroupUpdate
source§fn clone(&self) -> ReplicationGroupUpdate
fn clone(&self) -> ReplicationGroupUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationGroupUpdate
impl Debug for ReplicationGroupUpdate
source§impl PartialEq for ReplicationGroupUpdate
impl PartialEq for ReplicationGroupUpdate
source§fn eq(&self, other: &ReplicationGroupUpdate) -> bool
fn eq(&self, other: &ReplicationGroupUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicationGroupUpdate
Auto Trait Implementations§
impl Freeze for ReplicationGroupUpdate
impl RefUnwindSafe for ReplicationGroupUpdate
impl Send for ReplicationGroupUpdate
impl Sync for ReplicationGroupUpdate
impl Unpin for ReplicationGroupUpdate
impl UnwindSafe for ReplicationGroupUpdate
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