#[non_exhaustive]pub struct CapacitySpecificationSummary {
pub throughput_mode: ThroughputMode,
pub read_capacity_units: Option<i64>,
pub write_capacity_units: Option<i64>,
pub last_update_to_pay_per_request_timestamp: Option<DateTime>,
}Expand description
The read/write throughput capacity mode for a table. The options are:
-
throughputMode:PAY_PER_REQUESTand -
throughputMode:PROVISIONED.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
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.throughput_mode: ThroughputModeThe read/write throughput capacity mode for a table. The options are:
-
throughputMode:PAY_PER_REQUESTand -
throughputMode:PROVISIONED- Provisioned capacity mode requiresreadCapacityUnitsandwriteCapacityUnitsas input.
The default is throughput_mode:PAY_PER_REQUEST.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
read_capacity_units: Option<i64>The throughput capacity specified for read operations defined in read capacity units (RCUs).
write_capacity_units: Option<i64>The throughput capacity specified for write operations defined in write capacity units (WCUs).
last_update_to_pay_per_request_timestamp: Option<DateTime>The timestamp of the last operation that changed the provisioned throughput capacity of a table.
Implementations§
source§impl CapacitySpecificationSummary
impl CapacitySpecificationSummary
sourcepub fn throughput_mode(&self) -> &ThroughputMode
pub fn throughput_mode(&self) -> &ThroughputMode
The read/write throughput capacity mode for a table. The options are:
-
throughputMode:PAY_PER_REQUESTand -
throughputMode:PROVISIONED- Provisioned capacity mode requiresreadCapacityUnitsandwriteCapacityUnitsas 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.
source§impl CapacitySpecificationSummary
impl CapacitySpecificationSummary
sourcepub fn builder() -> CapacitySpecificationSummaryBuilder
pub fn builder() -> CapacitySpecificationSummaryBuilder
Creates a new builder-style object to manufacture CapacitySpecificationSummary.
Trait Implementations§
source§impl Clone for CapacitySpecificationSummary
impl Clone for CapacitySpecificationSummary
source§fn clone(&self) -> CapacitySpecificationSummary
fn clone(&self) -> CapacitySpecificationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CapacitySpecificationSummary
impl Debug for CapacitySpecificationSummary
source§impl PartialEq for CapacitySpecificationSummary
impl PartialEq for CapacitySpecificationSummary
source§fn eq(&self, other: &CapacitySpecificationSummary) -> bool
fn eq(&self, other: &CapacitySpecificationSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CapacitySpecificationSummary
Auto Trait Implementations§
impl Freeze for CapacitySpecificationSummary
impl RefUnwindSafe for CapacitySpecificationSummary
impl Send for CapacitySpecificationSummary
impl Sync for CapacitySpecificationSummary
impl Unpin for CapacitySpecificationSummary
impl UnwindSafe for CapacitySpecificationSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more