#[non_exhaustive]pub struct AwsDynamoDbTableProvisionedThroughput {
pub last_decrease_date_time: Option<String>,
pub last_increase_date_time: Option<String>,
pub number_of_decreases_today: Option<i32>,
pub read_capacity_units: Option<i32>,
pub write_capacity_units: Option<i32>,
}
Expand description
Information about the provisioned throughput for the table or for a global secondary index.
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.last_decrease_date_time: Option<String>
Indicates when the provisioned throughput was last decreased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
last_increase_date_time: Option<String>
Indicates when the provisioned throughput was last increased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
number_of_decreases_today: Option<i32>
The number of times during the current UTC calendar day that the provisioned throughput was decreased.
read_capacity_units: Option<i32>
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
.
write_capacity_units: Option<i32>
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
Implementations§
source§impl AwsDynamoDbTableProvisionedThroughput
impl AwsDynamoDbTableProvisionedThroughput
sourcepub fn last_decrease_date_time(&self) -> Option<&str>
pub fn last_decrease_date_time(&self) -> Option<&str>
Indicates when the provisioned throughput was last decreased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn last_increase_date_time(&self) -> Option<&str>
pub fn last_increase_date_time(&self) -> Option<&str>
Indicates when the provisioned throughput was last increased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn number_of_decreases_today(&self) -> Option<i32>
pub fn number_of_decreases_today(&self) -> Option<i32>
The number of times during the current UTC calendar day that the provisioned throughput was decreased.
sourcepub fn read_capacity_units(&self) -> Option<i32>
pub fn read_capacity_units(&self) -> Option<i32>
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
.
sourcepub fn write_capacity_units(&self) -> Option<i32>
pub fn write_capacity_units(&self) -> Option<i32>
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
source§impl AwsDynamoDbTableProvisionedThroughput
impl AwsDynamoDbTableProvisionedThroughput
sourcepub fn builder() -> AwsDynamoDbTableProvisionedThroughputBuilder
pub fn builder() -> AwsDynamoDbTableProvisionedThroughputBuilder
Creates a new builder-style object to manufacture AwsDynamoDbTableProvisionedThroughput
.
Trait Implementations§
source§impl Clone for AwsDynamoDbTableProvisionedThroughput
impl Clone for AwsDynamoDbTableProvisionedThroughput
source§fn clone(&self) -> AwsDynamoDbTableProvisionedThroughput
fn clone(&self) -> AwsDynamoDbTableProvisionedThroughput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsDynamoDbTableProvisionedThroughput
impl PartialEq for AwsDynamoDbTableProvisionedThroughput
source§fn eq(&self, other: &AwsDynamoDbTableProvisionedThroughput) -> bool
fn eq(&self, other: &AwsDynamoDbTableProvisionedThroughput) -> bool
self
and other
values to be equal, and is used
by ==
.