#[non_exhaustive]pub struct CapacitySpecificationSummary { /* private fields */ }
Expand description
The read/write throughput capacity mode for a table. The options are:
• throughputMode:PAY_PER_REQUEST
and
• throughputMode:PROVISIONED
.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
Implementations
sourceimpl CapacitySpecificationSummary
impl CapacitySpecificationSummary
sourcepub fn throughput_mode(&self) -> Option<&ThroughputMode>
pub fn throughput_mode(&self) -> Option<&ThroughputMode>
The read/write throughput capacity mode for a table. The options are:
• throughputMode:PAY_PER_REQUEST
and
• throughputMode:PROVISIONED
- Provisioned capacity mode requires readCapacityUnits
and writeCapacityUnits
as input.
The default is throughput_mode:PAY_PER_REQUEST
.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
sourcepub fn read_capacity_units(&self) -> Option<i64>
pub fn read_capacity_units(&self) -> Option<i64>
The throughput capacity specified for read
operations defined in read capacity units
(RCUs)
.
sourcepub fn write_capacity_units(&self) -> Option<i64>
pub fn write_capacity_units(&self) -> Option<i64>
The throughput capacity specified for write
operations defined in write capacity units
(WCUs)
.
sourcepub fn last_update_to_pay_per_request_timestamp(&self) -> Option<&DateTime>
pub fn last_update_to_pay_per_request_timestamp(&self) -> Option<&DateTime>
The timestamp of the last operation that changed the provisioned throughput capacity of a table.
sourceimpl CapacitySpecificationSummary
impl CapacitySpecificationSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CapacitySpecificationSummary
.
Trait Implementations
sourceimpl Clone for CapacitySpecificationSummary
impl Clone for CapacitySpecificationSummary
sourcefn clone(&self) -> CapacitySpecificationSummary
fn clone(&self) -> CapacitySpecificationSummary
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more