Transact Get Items

POST {{aws_dynamodb_base_url}}/?Action=TransactGetItems

TransactGetItems is a synchronous operation that atomically retrieves multiple items from one or more tables (but not from indexes) in a single account and Region. A TransactGetItems call can contain up to 25 TransactGetItem objects, each of which contains a Get structure that specifies an item to retrieve from a table in the account and Region. A call to TransactGetItems cannot retrieve items from tables in more than one AWS account or Region. The aggregate size of the items in the transaction cannot exceed 4 MB.

Request Params

KeyDatatypeRequiredDescription
TransactItemsnullAn ordered array of up to 25 TransactGetItem objects, each of which contains a Get structure.
ReturnConsumedCapacitynullA value of TOTAL causes consumed capacity information to be returned, and a value of NONE prevents that information from being returned. No other value is valid.
Actionstring

Request Body

{"RequestItems"=>{"Forum"=>{"Keys"=>[{"NameTest"=>{"S"=>"Amazon DynamoDB"}}, {"NameTest"=>{"S"=>"Amazon RDS"}}, {"NameTest"=>{"S"=>"Amazon Redshift"}}], "ProjectionExpression"=>"NameTest, Threads, Messages"}, "Thread"=>{"Keys"=>[{"ForumName"=>{"S"=>"Amazon DynamoDB"}, "Subject"=>{"S"=>"Concurrent reads"}}], "ProjectionExpression"=>"Tags, Message"}}, "ReturnConsumedCapacity"=>"TOTAL"}

HEADERS

KeyDatatypeRequiredDescription
X-Amz-Targetstring
Content-Typestring

RESPONSES

status: OK

{"AccountMaxReadCapacityUnits":80000,"AccountMaxWriteCapacityUnits":80000,"TableMaxReadCapacityUnits":40000,"TableMaxWriteCapacityUnits":40000}