pub struct ConsumedCapacity {
pub table_name: String,
pub capacity_units: f64,
pub read_capacity_units: Option<f64>,
pub write_capacity_units: Option<f64>,
pub table: Option<CapacityDetail>,
pub global_secondary_indexes: Option<HashMap<String, CapacityDetail>>,
pub local_secondary_indexes: Option<HashMap<String, CapacityDetail>>,
pub vector_indexes: Option<HashMap<String, VectorCapacityDetail>>,
}Expand description
ConsumedCapacity returned when ReturnConsumedCapacity is set.
Fields§
§table_name: String§capacity_units: f64§read_capacity_units: Option<f64>§write_capacity_units: Option<f64>§table: Option<CapacityDetail>§global_secondary_indexes: Option<HashMap<String, CapacityDetail>>§local_secondary_indexes: Option<HashMap<String, CapacityDetail>>§vector_indexes: Option<HashMap<String, VectorCapacityDetail>>Per-vector-index replication cost. Reported under INDEXES alone, and
never folded into capacity_units: vector replication is billed in
bytes on its own axis rather than in capacity units.
Trait Implementations§
Source§impl Clone for ConsumedCapacity
impl Clone for ConsumedCapacity
Source§impl Debug for ConsumedCapacity
impl Debug for ConsumedCapacity
Source§impl Default for ConsumedCapacity
impl Default for ConsumedCapacity
Source§impl<'de> Deserialize<'de> for ConsumedCapacity
impl<'de> Deserialize<'de> for ConsumedCapacity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConsumedCapacity
impl RefUnwindSafe for ConsumedCapacity
impl Send for ConsumedCapacity
impl Sync for ConsumedCapacity
impl Unpin for ConsumedCapacity
impl UnsafeUnpin for ConsumedCapacity
impl UnwindSafe for ConsumedCapacity
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
Mutably borrows from an owned value. Read more