CapacityUnit indicates the value of the capacity units consumed in an operation, or a table’s reserved read/write throughput.

Data structure

message CapacityUnit {
    optional int32 read = 1;
    optional int32 write = 2;
}
read:
  • Type: int32

  • The read capacity units consumed by this operation or the reserved read throughput for this table.

write:
  • Type: int32

  • The write capacity units consumed by this operation or the reserved write throughput for this table.

Related operations

UpdateRow

BatchWriteRow