Skip to content

GetItemOutput

Source code in docs_src/capo_dynamodb/types/get_item_output.py
class GetItemOutput(TypedDict, closed=True):
    item: NotRequired["capo_dynamodb.types.attribute_map.AttributeMap"]
    """<p>A map of attribute names to <code>AttributeValue</code> objects, as specified by <code>ProjectionExpression</code>.</p>"""
    consumed_capacity: NotRequired[
        "capo_dynamodb.types.consumed_capacity.ConsumedCapacity"
    ]
    """<p>The capacity units consumed by the <code>GetItem</code> operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption">Capacity unit consumption for read operations</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"""

consumed_capacity instance-attribute

consumed_capacity: NotRequired[ConsumedCapacity]

The capacity units consumed by the GetItem 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 ReturnConsumedCapacity parameter was specified. For more information, see Capacity unit consumption for read operations in the Amazon DynamoDB Developer Guide.

item instance-attribute

item: NotRequired[AttributeMap]

A map of attribute names to AttributeValue objects, as specified by ProjectionExpression.