Smaws_Client_SQS.SendMessageDelivers a message to the specified queue.
A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed. For more information, see the W3C specification for characters.
#x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF
Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead, it replaces those invalid characters with U+FFFD before storing the message in the queue, as long as the message body contains at least one valid character.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidAddress of Types.invalid_address
| `InvalidMessageContents of Types.invalid_message_contents
| `InvalidSecurity of Types.invalid_security
| `KmsAccessDenied of Types.kms_access_denied
| `KmsDisabled of Types.kms_disabled
| `KmsInvalidKeyUsage of Types.kms_invalid_key_usage
| `KmsInvalidState of Types.kms_invalid_state
| `KmsNotFound of Types.kms_not_found
| `KmsOptInRequired of Types.kms_opt_in_required
| `KmsThrottled of Types.kms_throttled
| `QueueDoesNotExist of Types.queue_does_not_exist
| `RequestThrottled of Types.request_throttled
| `UnsupportedOperation of Types.unsupported_operation ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.send_message_request ->
(Types.send_message_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidAddress of Types.invalid_address
| `InvalidMessageContents of Types.invalid_message_contents
| `InvalidSecurity of Types.invalid_security
| `KmsAccessDenied of Types.kms_access_denied
| `KmsDisabled of Types.kms_disabled
| `KmsInvalidKeyUsage of Types.kms_invalid_key_usage
| `KmsInvalidState of Types.kms_invalid_state
| `KmsNotFound of Types.kms_not_found
| `KmsOptInRequired of Types.kms_opt_in_required
| `KmsThrottled of Types.kms_throttled
| `QueueDoesNotExist of Types.queue_does_not_exist
| `RequestThrottled of Types.request_throttled
| `UnsupportedOperation of Types.unsupported_operation ])
Stdlib.result