ConsumedCapacity¶
Structure Class¶
ConsumedCapacity
dataclass
¶
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 capacity
mode
in the Amazon DynamoDB Developer Guide.
Attributes¶
capacity_units
class-attribute
instance-attribute
¶
capacity_units: float | None = None
The total number of capacity units consumed by the operation.
global_secondary_indexes
class-attribute
instance-attribute
¶
The amount of throughput consumed on each global index affected by the operation.
local_secondary_indexes
class-attribute
instance-attribute
¶
The amount of throughput consumed on each local index affected by the operation.
read_capacity_units
class-attribute
instance-attribute
¶
read_capacity_units: float | None = None
The total number of read capacity units consumed by the operation.
table
class-attribute
instance-attribute
¶
table: Capacity | None = None
The amount of throughput consumed on the table affected by the operation.
table_name
class-attribute
instance-attribute
¶
table_name: str | None = None
The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.
vector_indexes
class-attribute
instance-attribute
¶
vector_indexes: dict[str, VectorCapacity] | None = None
The amount of throughput consumed on each vector index affected by the
operation. Each entry contains VectorWriteRequestBytes (for write
operations) or VectorSearchRequestBytes (for search operations).