CmdID / aws / aws dynamodb
aws dynamodb get-item
The GetItem operation returns a set of attributes for the item with the given primary key. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--attributes-to-getThis is a legacy parameter.--consistent-readDetermines the read consistency model: If set to true, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.--expression-attribute-namesOne or more substitution tokens for attribute names in an expression.--keyA map of attribute names to AttributeValue objects, representing the primary key of the item to retrieve.--projection-expressionA string that identifies one or more attributes to retrieve from the table.--return-consumed-capacityDetermines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response: INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.--table-nameThe name of the table containing the requested item.