Module Values.ExecuteTransactionOutputSource

This operation allows you to perform transactional reads or writes on data stored in DynamoDB, using PartiQL. The entire transaction must consist of either read statements or write statements, you cannot mix both in one transaction. The EXISTS function is an exception and can be used to check the condition of specific attributes of the item in a similar manner to ConditionCheck in the TransactWriteItems API.

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

    The response to a PartiQL transaction.

    *)
  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. | `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t
  2. | `InternalServerError of InternalServerError.t
  3. | `ProvisionedThroughputExceededException of ProvisionedThroughputExceededException.t
  4. | `RequestLimitExceeded of RequestLimitExceeded.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `TransactionCanceledException of TransactionCanceledException.t
  8. | `TransactionInProgressException of TransactionInProgressException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?responses:??? -> ?consumedCapacity:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `IdempotentParameterMismatchException of IdempotentParameterMismatchException.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 | `TransactionInProgressException of TransactionInProgressException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `IdempotentParameterMismatchException of IdempotentParameterMismatchException.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 | `TransactionInProgressException of TransactionInProgressException.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 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