CmdID / aws / aws dynamodb
aws dynamodb query
You must provide the name of the partition key attribute and a single value for that attribute. AWS CLI reference
14 options Its page in the AWS CLI reference
Options
--conditional-operator, --attributes-to-get, --key-conditions, --query-filterThis 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.--exclusive-start-keyThe primary key of the first item that this operation will evaluate.--expression-attribute-namesOne or more substitution tokens for attribute names in an expression.--expression-attribute-valuesOne or more values that can be substituted in an expression.--filter-expressionA string that contains conditions that DynamoDB applies after the Query operation, but before the data is returned to you.--index-nameThe name of an index to query.--key-condition-expressionThe condition that specifies the key values for items to be retrieved by the Query action.--limitThe maximum number of items to evaluate (not necessarily the number of matching items).--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.--scan-index-forwardSpecifies the order for index traversal: If true (default), the traversal is performed in ascending order; if false, the traversal is performed in descending order.--selectThe attributes to be returned in the result.--table-nameThe name of the table containing the requested items.