Smaws_Client_DynamoDB.ExecuteTransaction
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.
val request :
Smaws_Lib.Context.t ->
Types.execute_transaction_input ->
(Types.execute_transaction_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `IdempotentParameterMismatchException of
Types.idempotent_parameter_mismatch_exception
| `InternalServerError of Types.internal_server_error
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `RequestLimitExceeded of Types.request_limit_exceeded
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TransactionCanceledException of Types.transaction_canceled_exception
| `TransactionInProgressException of
Types.transaction_in_progress_exception ])
Stdlib.result