Query

POST {{aws_dynamodb_base_url}}?Action=Query

The Query operation finds items based on primary key values. You can query any table or secondary index that has a composite primary key (a partition key and a sort key).

Request Params

KeyDatatypeRequiredDescription
ActionstringThe name of the table containing the requested items.

Request Body

{"TableName"=>"asteroids", "ProjectionExpression"=>"id,given_name,description", "KeyConditionExpression"=>"id = :v1", "ExpressionAttributeValues"=>{":v1"=>{"S"=>"a0a770c7-fe51-4a8b-9cee-7ab08dbe6f6c"}}}

HEADERS

KeyDatatypeRequiredDescription
X-Amz-Targetstring
Content-Typestring