Smaws_Client_DynamoDB.BatchExecuteStatement
val request :
Smaws_Lib.Context.t ->
batch_execute_statement_input ->
(batch_execute_statement_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of internal_server_error
| `RequestLimitExceeded of request_limit_exceeded ])
Stdlib.result
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.
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.