Module Values.SendMessageBatchResultSource

For each message in the batch, the response contains a SendMessageBatchResultEntry tag if the message succeeds or a BatchResultErrorEntry tag if the message fails.

Sourcetype nonrec t = {
  1. successful : SendMessageBatchResultEntryList.t option;
    (*

    A list of SendMessageBatchResultEntry items.

    *)
  2. failed : BatchResultErrorEntryList.t option;
    (*

    A list of BatchResultErrorEntry items with error details about each message that can't be enqueued.

    *)
}
Sourcetype nonrec error = [
  1. | `BatchEntryIdsNotDistinct of BatchEntryIdsNotDistinct.t
  2. | `BatchRequestTooLong of BatchRequestTooLong.t
  3. | `EmptyBatchRequest of EmptyBatchRequest.t
  4. | `InvalidAddress of InvalidAddress.t
  5. | `InvalidBatchEntryId of InvalidBatchEntryId.t
  6. | `InvalidSecurity of InvalidSecurity.t
  7. | `KmsAccessDenied of KmsAccessDenied.t
  8. | `KmsDisabled of KmsDisabled.t
  9. | `KmsInvalidKeyUsage of KmsInvalidKeyUsage.t
  10. | `KmsInvalidState of KmsInvalidState.t
  11. | `KmsNotFound of KmsNotFound.t
  12. | `KmsOptInRequired of KmsOptInRequired.t
  13. | `KmsThrottled of KmsThrottled.t
  14. | `QueueDoesNotExist of QueueDoesNotExist.t
  15. | `RequestThrottled of RequestThrottled.t
  16. | `TooManyEntriesInBatchRequest of TooManyEntriesInBatchRequest.t
  17. | `UnsupportedOperation of UnsupportedOperation.t
  18. | `Unknown_operation_error of string * string option
]
Sourceval make : ?successful:??? -> ?failed:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BatchEntryIdsNotDistinct of BatchEntryIdsNotDistinct.t | `BatchRequestTooLong of BatchRequestTooLong.t | `EmptyBatchRequest of EmptyBatchRequest.t | `InvalidAddress of InvalidAddress.t | `InvalidBatchEntryId of InvalidBatchEntryId.t | `InvalidSecurity of InvalidSecurity.t | `KmsAccessDenied of KmsAccessDenied.t | `KmsDisabled of KmsDisabled.t | `KmsInvalidKeyUsage of KmsInvalidKeyUsage.t | `KmsInvalidState of KmsInvalidState.t | `KmsNotFound of KmsNotFound.t | `KmsOptInRequired of KmsOptInRequired.t | `KmsThrottled of KmsThrottled.t | `QueueDoesNotExist of QueueDoesNotExist.t | `RequestThrottled of RequestThrottled.t | `TooManyEntriesInBatchRequest of TooManyEntriesInBatchRequest.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BatchEntryIdsNotDistinct of BatchEntryIdsNotDistinct.t | `BatchRequestTooLong of BatchRequestTooLong.t | `EmptyBatchRequest of EmptyBatchRequest.t | `InvalidAddress of InvalidAddress.t | `InvalidBatchEntryId of InvalidBatchEntryId.t | `InvalidSecurity of InvalidSecurity.t | `KmsAccessDenied of KmsAccessDenied.t | `KmsDisabled of KmsDisabled.t | `KmsInvalidKeyUsage of KmsInvalidKeyUsage.t | `KmsInvalidState of KmsInvalidState.t | `KmsNotFound of KmsNotFound.t | `KmsOptInRequired of KmsOptInRequired.t | `KmsThrottled of KmsThrottled.t | `QueueDoesNotExist of QueueDoesNotExist.t | `RequestThrottled of RequestThrottled.t | `TooManyEntriesInBatchRequest of TooManyEntriesInBatchRequest.t | `Unknown_operation_error of string * string option | `UnsupportedOperation of UnsupportedOperation.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t ]) 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