Smaws_Client_SQS.DeleteMessageBatch
val request :
Smaws_Lib.Context.t ->
delete_message_batch_request ->
(delete_message_batch_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `BatchEntryIdsNotDistinct of batch_entry_ids_not_distinct
| `EmptyBatchRequest of empty_batch_request
| `InvalidAddress of invalid_address
| `InvalidBatchEntryId of invalid_batch_entry_id
| `InvalidSecurity of invalid_security
| `QueueDoesNotExist of queue_does_not_exist
| `RequestThrottled of request_throttled
| `TooManyEntriesInBatchRequest of too_many_entries_in_batch_request
| `UnsupportedOperation of unsupported_operation ])
Stdlib.result
Deletes up to ten messages from the specified queue. This is a batch version of
[DeleteMessage].
The result of the action on each message is reported individually in the response.
Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200
.