Struct aws_sdk_dynamodb::types::ConsumedCapacity
source · #[non_exhaustive]pub struct ConsumedCapacity { /* private fields */ }
Expand description
The capacity units consumed by an operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity
is only returned if the request asked for it. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
Implementations§
source§impl ConsumedCapacity
impl ConsumedCapacity
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the table that was affected by the operation.
sourcepub fn capacity_units(&self) -> Option<f64>
pub fn capacity_units(&self) -> Option<f64>
The total number of capacity units consumed by the operation.
sourcepub fn read_capacity_units(&self) -> Option<f64>
pub fn read_capacity_units(&self) -> Option<f64>
The total number of read capacity units consumed by the operation.
sourcepub fn write_capacity_units(&self) -> Option<f64>
pub fn write_capacity_units(&self) -> Option<f64>
The total number of write capacity units consumed by the operation.
sourcepub fn table(&self) -> Option<&Capacity>
pub fn table(&self) -> Option<&Capacity>
The amount of throughput consumed on the table affected by the operation.
source§impl ConsumedCapacity
impl ConsumedCapacity
sourcepub fn builder() -> ConsumedCapacityBuilder
pub fn builder() -> ConsumedCapacityBuilder
Creates a new builder-style object to manufacture ConsumedCapacity
.
Trait Implementations§
source§impl Clone for ConsumedCapacity
impl Clone for ConsumedCapacity
source§fn clone(&self) -> ConsumedCapacity
fn clone(&self) -> ConsumedCapacity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConsumedCapacity
impl Debug for ConsumedCapacity
source§impl PartialEq<ConsumedCapacity> for ConsumedCapacity
impl PartialEq<ConsumedCapacity> for ConsumedCapacity
source§fn eq(&self, other: &ConsumedCapacity) -> bool
fn eq(&self, other: &ConsumedCapacity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.