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
Key | Datatype | Required | Description |
---|---|---|---|
TransactItems | null | An ordered array of up to 25 TransactGetItem objects, each of which contains a Get structure. | |
ReturnConsumedCapacity | null | A 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. | |
Action | string |
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
Key | Datatype | Required | Description |
---|---|---|---|
X-Amz-Target | string | ||
Content-Type | string |
RESPONSES
status: OK
{"AccountMaxReadCapacityUnits":80000,"AccountMaxWriteCapacityUnits":80000,"TableMaxReadCapacityUnits":40000,"TableMaxWriteCapacityUnits":40000}