Struct aws_sdk_dynamodb::model::ReplicaDescription
source · [−]#[non_exhaustive]pub struct ReplicaDescription {
pub region_name: Option<String>,
pub replica_status: Option<ReplicaStatus>,
pub replica_status_description: Option<String>,
pub replica_status_percent_progress: Option<String>,
pub kms_master_key_id: Option<String>,
pub provisioned_throughput_override: Option<ProvisionedThroughputOverride>,
pub global_secondary_indexes: Option<Vec<ReplicaGlobalSecondaryIndexDescription>>,
pub replica_inaccessible_date_time: Option<DateTime>,
pub replica_table_class_summary: Option<TableClassSummary>,
}
Expand description
Contains the details of the replica.
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.region_name: Option<String>
The name of the Region.
replica_status: Option<ReplicaStatus>
The current state of the replica:
-
CREATING
- The replica is being created. -
UPDATING
- The replica is being updated. -
DELETING
- The replica is being deleted. -
ACTIVE
- The replica is ready for use. -
REGION_DISABLED
- The replica is inaccessible because the Amazon Web Services Region has been disabled.If the Amazon Web Services Region remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
-
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The KMS key used to encrypt the table is inaccessible.If the KMS key remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
replica_status_description: Option<String>
Detailed information about the replica status.
replica_status_percent_progress: Option<String>
Specifies the progress of a Create, Update, or Delete action on the replica as a percentage.
kms_master_key_id: Option<String>
The KMS key of the replica that will be used for KMS encryption.
provisioned_throughput_override: Option<ProvisionedThroughputOverride>
Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput settings.
global_secondary_indexes: Option<Vec<ReplicaGlobalSecondaryIndexDescription>>
Replica-specific global secondary index settings.
replica_inaccessible_date_time: Option<DateTime>
The time at which the replica was first detected as inaccessible. To determine cause of inaccessibility check the ReplicaStatus
property.
replica_table_class_summary: Option<TableClassSummary>
Contains details of the table class.
Implementations
sourceimpl ReplicaDescription
impl ReplicaDescription
sourcepub fn region_name(&self) -> Option<&str>
pub fn region_name(&self) -> Option<&str>
The name of the Region.
sourcepub fn replica_status(&self) -> Option<&ReplicaStatus>
pub fn replica_status(&self) -> Option<&ReplicaStatus>
The current state of the replica:
-
CREATING
- The replica is being created. -
UPDATING
- The replica is being updated. -
DELETING
- The replica is being deleted. -
ACTIVE
- The replica is ready for use. -
REGION_DISABLED
- The replica is inaccessible because the Amazon Web Services Region has been disabled.If the Amazon Web Services Region remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
-
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The KMS key used to encrypt the table is inaccessible.If the KMS key remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
sourcepub fn replica_status_description(&self) -> Option<&str>
pub fn replica_status_description(&self) -> Option<&str>
Detailed information about the replica status.
sourcepub fn replica_status_percent_progress(&self) -> Option<&str>
pub fn replica_status_percent_progress(&self) -> Option<&str>
Specifies the progress of a Create, Update, or Delete action on the replica as a percentage.
sourcepub fn kms_master_key_id(&self) -> Option<&str>
pub fn kms_master_key_id(&self) -> Option<&str>
The KMS key of the replica that will be used for KMS encryption.
sourcepub fn provisioned_throughput_override(
&self
) -> Option<&ProvisionedThroughputOverride>
pub fn provisioned_throughput_override(
&self
) -> Option<&ProvisionedThroughputOverride>
Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput settings.
sourcepub fn global_secondary_indexes(
&self
) -> Option<&[ReplicaGlobalSecondaryIndexDescription]>
pub fn global_secondary_indexes(
&self
) -> Option<&[ReplicaGlobalSecondaryIndexDescription]>
Replica-specific global secondary index settings.
sourcepub fn replica_inaccessible_date_time(&self) -> Option<&DateTime>
pub fn replica_inaccessible_date_time(&self) -> Option<&DateTime>
The time at which the replica was first detected as inaccessible. To determine cause of inaccessibility check the ReplicaStatus
property.
sourcepub fn replica_table_class_summary(&self) -> Option<&TableClassSummary>
pub fn replica_table_class_summary(&self) -> Option<&TableClassSummary>
Contains details of the table class.
sourceimpl ReplicaDescription
impl ReplicaDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplicaDescription
Trait Implementations
sourceimpl Clone for ReplicaDescription
impl Clone for ReplicaDescription
sourcefn clone(&self) -> ReplicaDescription
fn clone(&self) -> ReplicaDescription
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 more
sourceimpl Debug for ReplicaDescription
impl Debug for ReplicaDescription
sourceimpl PartialEq<ReplicaDescription> for ReplicaDescription
impl PartialEq<ReplicaDescription> for ReplicaDescription
sourcefn eq(&self, other: &ReplicaDescription) -> bool
fn eq(&self, other: &ReplicaDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReplicaDescription) -> bool
fn ne(&self, other: &ReplicaDescription) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReplicaDescription
Auto Trait Implementations
impl RefUnwindSafe for ReplicaDescription
impl Send for ReplicaDescription
impl Sync for ReplicaDescription
impl Unpin for ReplicaDescription
impl UnwindSafe for ReplicaDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more