#[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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
last_increase_date_time: Option<String>Indicates when the provisioned throughput was last increased.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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 ==.