Values.TransactGetItemsOutputSourceTransactGetItems 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 100 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 Amazon Web Services account or Region. The aggregate size of the items in the transaction cannot exceed 4 MB. DynamoDB rejects the entire TransactGetItems request if any of the following is true: A conflicting operation is in the process of updating an item to be read. There is insufficient provisioned capacity for the transaction to be completed. There is a user error, such as an invalid data format. The aggregate size of the items in the transaction exceeded 4 MB.
type nonrec t = {consumedCapacity : ConsumedCapacityMultiple.t option;If the ReturnConsumedCapacity value was TOTAL, this is an array of ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units consumed by the TransactGetItems call in that table.
*)responses : ItemResponseList.t option;An ordered array of up to 100 ItemResponse objects, each of which corresponds to the TransactGetItem object in the same position in the TransactItems array. Each ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the requested item. If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.
*)}type nonrec error = [ | `InternalServerError of InternalServerError.t| `ProvisionedThroughputExceededException of
ProvisionedThroughputExceededException.t| `RequestLimitExceeded of RequestLimitExceeded.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `TransactionCanceledException of TransactionCanceledException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerError of InternalServerError.t
| `ProvisionedThroughputExceededException of
ProvisionedThroughputExceededException.t
| `RequestLimitExceeded of RequestLimitExceeded.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `TransactionCanceledException of TransactionCanceledException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServerError of InternalServerError.t
| `ProvisionedThroughputExceededException of
ProvisionedThroughputExceededException.t
| `RequestLimitExceeded of RequestLimitExceeded.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `TransactionCanceledException of TransactionCanceledException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Double of ConsumedCapacityUnits.t
| `Map of
([> `String of IndexName.t ] * Awso.Botodata.value)
list
| `String of TableArn.t
| `Structure of
(string * [> `Double of ConsumedCapacityUnits.t ])
list ])
list ]
list ])
list ]