#[non_exhaustive]pub struct AwsDynamoDbTableReplica {
pub global_secondary_indexes: Option<Vec<AwsDynamoDbTableReplicaGlobalSecondaryIndex>>,
pub kms_master_key_id: Option<String>,
pub provisioned_throughput_override: Option<AwsDynamoDbTableProvisionedThroughputOverride>,
pub region_name: Option<String>,
pub replica_status: Option<String>,
pub replica_status_description: Option<String>,
}
Expand description
Information about a replica of a DynamoDB 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.global_secondary_indexes: Option<Vec<AwsDynamoDbTableReplicaGlobalSecondaryIndex>>
List of global secondary indexes for the replica.
kms_master_key_id: Option<String>
The identifier of the KMS key that will be used for KMS encryption for the replica.
provisioned_throughput_override: Option<AwsDynamoDbTableProvisionedThroughputOverride>
Replica-specific configuration for the provisioned throughput.
region_name: Option<String>
The name of the Region where the replica is located.
replica_status: Option<String>
The current status of the replica. Valid values are as follows:
-
ACTIVE
-
CREATING
-
CREATION_FAILED
-
DELETING
-
UPDATING
replica_status_description: Option<String>
Detailed information about the replica status.
Implementations§
source§impl AwsDynamoDbTableReplica
impl AwsDynamoDbTableReplica
sourcepub fn global_secondary_indexes(
&self
) -> &[AwsDynamoDbTableReplicaGlobalSecondaryIndex]
pub fn global_secondary_indexes( &self ) -> &[AwsDynamoDbTableReplicaGlobalSecondaryIndex]
List of global secondary indexes for the replica.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .global_secondary_indexes.is_none()
.
sourcepub fn kms_master_key_id(&self) -> Option<&str>
pub fn kms_master_key_id(&self) -> Option<&str>
The identifier of the KMS key that will be used for KMS encryption for the replica.
sourcepub fn provisioned_throughput_override(
&self
) -> Option<&AwsDynamoDbTableProvisionedThroughputOverride>
pub fn provisioned_throughput_override( &self ) -> Option<&AwsDynamoDbTableProvisionedThroughputOverride>
Replica-specific configuration for the provisioned throughput.
sourcepub fn region_name(&self) -> Option<&str>
pub fn region_name(&self) -> Option<&str>
The name of the Region where the replica is located.
sourcepub fn replica_status(&self) -> Option<&str>
pub fn replica_status(&self) -> Option<&str>
The current status of the replica. Valid values are as follows:
-
ACTIVE
-
CREATING
-
CREATION_FAILED
-
DELETING
-
UPDATING
sourcepub fn replica_status_description(&self) -> Option<&str>
pub fn replica_status_description(&self) -> Option<&str>
Detailed information about the replica status.
source§impl AwsDynamoDbTableReplica
impl AwsDynamoDbTableReplica
sourcepub fn builder() -> AwsDynamoDbTableReplicaBuilder
pub fn builder() -> AwsDynamoDbTableReplicaBuilder
Creates a new builder-style object to manufacture AwsDynamoDbTableReplica
.
Trait Implementations§
source§impl Clone for AwsDynamoDbTableReplica
impl Clone for AwsDynamoDbTableReplica
source§fn clone(&self) -> AwsDynamoDbTableReplica
fn clone(&self) -> AwsDynamoDbTableReplica
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsDynamoDbTableReplica
impl Debug for AwsDynamoDbTableReplica
source§impl PartialEq for AwsDynamoDbTableReplica
impl PartialEq for AwsDynamoDbTableReplica
source§fn eq(&self, other: &AwsDynamoDbTableReplica) -> bool
fn eq(&self, other: &AwsDynamoDbTableReplica) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsDynamoDbTableReplica
Auto Trait Implementations§
impl Freeze for AwsDynamoDbTableReplica
impl RefUnwindSafe for AwsDynamoDbTableReplica
impl Send for AwsDynamoDbTableReplica
impl Sync for AwsDynamoDbTableReplica
impl Unpin for AwsDynamoDbTableReplica
impl UnwindSafe for AwsDynamoDbTableReplica
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> 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