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