Module Values.TransactGetItemsOutputSource

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 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.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. 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.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerError of InternalServerError.t
  2. | `ProvisionedThroughputExceededException of ProvisionedThroughputExceededException.t
  3. | `RequestLimitExceeded of RequestLimitExceeded.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `TransactionCanceledException of TransactionCanceledException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?consumedCapacity:??? -> ?responses:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t