Module Values.BatchExecuteStatementOutputSource

This operation allows you to perform batch reads or writes on data stored in DynamoDB, using PartiQL. Each read statement in a BatchExecuteStatement must specify an equality condition on all key attributes. This enforces that each SELECT statement in a batch returns at most a single item. For more information, see Running batch operations with PartiQL for DynamoDB . The entire batch must consist of either read statements or write statements, you cannot mix both in one batch. A HTTP 200 response does not mean that all statements in the BatchExecuteStatement succeeded. Error details for individual statements can be found under the Error field of the BatchStatementResponse for each statement.

Sourcetype nonrec t = {
  1. responses : PartiQLBatchResponse.t option;
    (*

    The response to each PartiQL statement in the batch. The values of the list are ordered according to the ordering of the request statements.

    *)
  2. consumedCapacity : ConsumedCapacityMultiple.t option;
    (*

    The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerError of InternalServerError.t
  2. | `RequestLimitExceeded of RequestLimitExceeded.t
  3. | `ThrottlingException of ThrottlingException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?responses:??? -> ?consumedCapacity:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerError of InternalServerError.t | `RequestLimitExceeded of RequestLimitExceeded.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerError of InternalServerError.t | `RequestLimitExceeded of RequestLimitExceeded.t | `ThrottlingException of ThrottlingException.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 AttributeName.t ] * Awso.Botodata.value) list | `String of TableName.t | `Structure of (string * [> `Double of ConsumedCapacityUnits.t | `Enum of string | `Map of ([> `String of AttributeName.t ] * Awso.Botodata.value) list | `String of String_.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