Struct aws_sdk_dynamodb::model::ReplicaSettingsDescription
source · [−]#[non_exhaustive]pub struct ReplicaSettingsDescription {
pub region_name: Option<String>,
pub replica_status: Option<ReplicaStatus>,
pub replica_billing_mode_summary: Option<BillingModeSummary>,
pub replica_provisioned_read_capacity_units: Option<i64>,
pub replica_provisioned_read_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>,
pub replica_provisioned_write_capacity_units: Option<i64>,
pub replica_provisioned_write_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>,
pub replica_global_secondary_index_settings: Option<Vec<ReplicaGlobalSecondaryIndexSettingsDescription>>,
pub replica_table_class_summary: Option<TableClassSummary>,
}
Expand description
Represents the properties of a 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 Region name of the replica.
replica_status: Option<ReplicaStatus>
The current state of the Region:
-
CREATING
- The Region is being created. -
UPDATING
- The Region is being updated. -
DELETING
- The Region is being deleted. -
ACTIVE
- The Region is ready for use.
replica_billing_mode_summary: Option<BillingModeSummary>
The read/write capacity mode of the replica.
replica_provisioned_read_capacity_units: Option<i64>
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
replica_provisioned_read_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>
Auto scaling settings for a global table replica's read capacity units.
replica_provisioned_write_capacity_units: Option<i64>
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
replica_provisioned_write_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>
Auto scaling settings for a global table replica's write capacity units.
replica_global_secondary_index_settings: Option<Vec<ReplicaGlobalSecondaryIndexSettingsDescription>>
Replica global secondary index settings for the global table.
replica_table_class_summary: Option<TableClassSummary>
Contains details of the table class.
Implementations
sourceimpl ReplicaSettingsDescription
impl ReplicaSettingsDescription
sourcepub fn region_name(&self) -> Option<&str>
pub fn region_name(&self) -> Option<&str>
The Region name of the replica.
sourcepub fn replica_status(&self) -> Option<&ReplicaStatus>
pub fn replica_status(&self) -> Option<&ReplicaStatus>
The current state of the Region:
-
CREATING
- The Region is being created. -
UPDATING
- The Region is being updated. -
DELETING
- The Region is being deleted. -
ACTIVE
- The Region is ready for use.
sourcepub fn replica_billing_mode_summary(&self) -> Option<&BillingModeSummary>
pub fn replica_billing_mode_summary(&self) -> Option<&BillingModeSummary>
The read/write capacity mode of the replica.
sourcepub fn replica_provisioned_read_capacity_units(&self) -> Option<i64>
pub fn replica_provisioned_read_capacity_units(&self) -> Option<i64>
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
sourcepub fn replica_provisioned_read_capacity_auto_scaling_settings(
&self
) -> Option<&AutoScalingSettingsDescription>
pub fn replica_provisioned_read_capacity_auto_scaling_settings(
&self
) -> Option<&AutoScalingSettingsDescription>
Auto scaling settings for a global table replica's read capacity units.
sourcepub fn replica_provisioned_write_capacity_units(&self) -> Option<i64>
pub fn replica_provisioned_write_capacity_units(&self) -> Option<i64>
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
sourcepub fn replica_provisioned_write_capacity_auto_scaling_settings(
&self
) -> Option<&AutoScalingSettingsDescription>
pub fn replica_provisioned_write_capacity_auto_scaling_settings(
&self
) -> Option<&AutoScalingSettingsDescription>
Auto scaling settings for a global table replica's write capacity units.
sourcepub fn replica_global_secondary_index_settings(
&self
) -> Option<&[ReplicaGlobalSecondaryIndexSettingsDescription]>
pub fn replica_global_secondary_index_settings(
&self
) -> Option<&[ReplicaGlobalSecondaryIndexSettingsDescription]>
Replica global secondary index settings for the global table.
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 ReplicaSettingsDescription
impl ReplicaSettingsDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplicaSettingsDescription
Trait Implementations
sourceimpl Clone for ReplicaSettingsDescription
impl Clone for ReplicaSettingsDescription
sourcefn clone(&self) -> ReplicaSettingsDescription
fn clone(&self) -> ReplicaSettingsDescription
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 ReplicaSettingsDescription
impl Debug for ReplicaSettingsDescription
sourceimpl PartialEq<ReplicaSettingsDescription> for ReplicaSettingsDescription
impl PartialEq<ReplicaSettingsDescription> for ReplicaSettingsDescription
sourcefn eq(&self, other: &ReplicaSettingsDescription) -> bool
fn eq(&self, other: &ReplicaSettingsDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReplicaSettingsDescription) -> bool
fn ne(&self, other: &ReplicaSettingsDescription) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReplicaSettingsDescription
Auto Trait Implementations
impl RefUnwindSafe for ReplicaSettingsDescription
impl Send for ReplicaSettingsDescription
impl Sync for ReplicaSettingsDescription
impl Unpin for ReplicaSettingsDescription
impl UnwindSafe for ReplicaSettingsDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
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.
sourcefn clone_into(&self, target: &mut T)
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