Skip to content

ConsumedCapacity

Source code in docs_src/capo_dynamodb/types/consumed_capacity.py
class ConsumedCapacity(TypedDict, closed=True):
    table_name: NotRequired["capo_dynamodb.types.table_arn.TableArn"]
    """<p>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.</p>"""
    capacity_units: NotRequired[
        "capo_dynamodb.types.consumed_capacity_units.ConsumedCapacityUnits"
    ]
    """<p>The total number of capacity units consumed by the operation.</p>"""
    read_capacity_units: NotRequired[
        "capo_dynamodb.types.consumed_capacity_units.ConsumedCapacityUnits"
    ]
    """<p>The total number of read capacity units consumed by the operation.</p>"""
    write_capacity_units: NotRequired[
        "capo_dynamodb.types.consumed_capacity_units.ConsumedCapacityUnits"
    ]
    """<p>The total number of write capacity units consumed by the operation.</p>"""
    table: NotRequired["capo_dynamodb.types.capacity.Capacity"]
    """<p>The amount of throughput consumed on the table affected by the operation.</p>"""
    local_secondary_indexes: NotRequired[
        "capo_dynamodb.types.secondary_indexes_capacity_map.SecondaryIndexesCapacityMap"
    ]
    """<p>The amount of throughput consumed on each local index affected by the operation.</p>"""
    global_secondary_indexes: NotRequired[
        "capo_dynamodb.types.secondary_indexes_capacity_map.SecondaryIndexesCapacityMap"
    ]
    """<p>The amount of throughput consumed on each global index affected by the operation.</p>"""
    vector_indexes: NotRequired[
        "capo_dynamodb.types.vector_indexes_capacity_map.VectorIndexesCapacityMap"
    ]
    """<p>The amount of throughput consumed on each vector index affected by the operation. Each entry contains <code>VectorWriteRequestBytes</code> (for write operations) or <code>VectorSearchRequestBytes</code> (for search operations).</p>"""

capacity_units instance-attribute

capacity_units: NotRequired[ConsumedCapacityUnits]

The total number of capacity units consumed by the operation.

global_secondary_indexes instance-attribute

global_secondary_indexes: NotRequired[SecondaryIndexesCapacityMap]

The amount of throughput consumed on each global index affected by the operation.

local_secondary_indexes instance-attribute

local_secondary_indexes: NotRequired[SecondaryIndexesCapacityMap]

The amount of throughput consumed on each local index affected by the operation.

read_capacity_units instance-attribute

read_capacity_units: NotRequired[ConsumedCapacityUnits]

The total number of read capacity units consumed by the operation.

table instance-attribute

table: NotRequired[Capacity]

The amount of throughput consumed on the table affected by the operation.

table_name instance-attribute

table_name: NotRequired[TableArn]

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 instance-attribute

vector_indexes: NotRequired[VectorIndexesCapacityMap]

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).

write_capacity_units instance-attribute

write_capacity_units: NotRequired[ConsumedCapacityUnits]

The total number of write capacity units consumed by the operation.