Awso_sqs_lwtSourceval add_permission :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.AddPermissionRequest.t ->
(unit, unit) Result.t Lwt.tval cancel_message_move_task :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.CancelMessageMoveTaskRequest.t ->
(Awso_sqs.Values.CancelMessageMoveTaskResult.t,
Awso_sqs.Values.CancelMessageMoveTaskResult.error)
Result.t
Lwt.tval change_message_visibility :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.ChangeMessageVisibilityRequest.t ->
(unit, unit) Result.t Lwt.tval change_message_visibility_batch :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.ChangeMessageVisibilityBatchRequest.t ->
(Awso_sqs.Values.ChangeMessageVisibilityBatchResult.t,
Awso_sqs.Values.ChangeMessageVisibilityBatchResult.error)
Result.t
Lwt.tval create_queue :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.CreateQueueRequest.t ->
(Awso_sqs.Values.CreateQueueResult.t,
Awso_sqs.Values.CreateQueueResult.error)
Result.t
Lwt.tval delete_message :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.DeleteMessageRequest.t ->
(unit, unit) Result.t Lwt.tval delete_message_batch :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.DeleteMessageBatchRequest.t ->
(Awso_sqs.Values.DeleteMessageBatchResult.t,
Awso_sqs.Values.DeleteMessageBatchResult.error)
Result.t
Lwt.tval delete_queue :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.DeleteQueueRequest.t ->
(unit, unit) Result.t Lwt.tval get_queue_attributes :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.GetQueueAttributesRequest.t ->
(Awso_sqs.Values.GetQueueAttributesResult.t,
Awso_sqs.Values.GetQueueAttributesResult.error)
Result.t
Lwt.tval get_queue_url :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.GetQueueUrlRequest.t ->
(Awso_sqs.Values.GetQueueUrlResult.t,
Awso_sqs.Values.GetQueueUrlResult.error)
Result.t
Lwt.tval list_dead_letter_source_queues :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.ListDeadLetterSourceQueuesRequest.t ->
(Awso_sqs.Values.ListDeadLetterSourceQueuesResult.t,
Awso_sqs.Values.ListDeadLetterSourceQueuesResult.error)
Result.t
Lwt.tval list_message_move_tasks :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.ListMessageMoveTasksRequest.t ->
(Awso_sqs.Values.ListMessageMoveTasksResult.t,
Awso_sqs.Values.ListMessageMoveTasksResult.error)
Result.t
Lwt.tval list_queue_tags :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.ListQueueTagsRequest.t ->
(Awso_sqs.Values.ListQueueTagsResult.t,
Awso_sqs.Values.ListQueueTagsResult.error)
Result.t
Lwt.tval list_queues :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.ListQueuesRequest.t ->
(Awso_sqs.Values.ListQueuesResult.t, Awso_sqs.Values.ListQueuesResult.error)
Result.t
Lwt.tval purge_queue :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.PurgeQueueRequest.t ->
(unit, unit) Result.t Lwt.tval receive_message :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.ReceiveMessageRequest.t ->
(Awso_sqs.Values.ReceiveMessageResult.t,
Awso_sqs.Values.ReceiveMessageResult.error)
Result.t
Lwt.tval remove_permission :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.RemovePermissionRequest.t ->
(unit, unit) Result.t Lwt.tval send_message :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.SendMessageRequest.t ->
(Awso_sqs.Values.SendMessageResult.t,
Awso_sqs.Values.SendMessageResult.error)
Result.t
Lwt.tval send_message_batch :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.SendMessageBatchRequest.t ->
(Awso_sqs.Values.SendMessageBatchResult.t,
Awso_sqs.Values.SendMessageBatchResult.error)
Result.t
Lwt.tval set_queue_attributes :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.SetQueueAttributesRequest.t ->
(unit, unit) Result.t Lwt.tval start_message_move_task :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.StartMessageMoveTaskRequest.t ->
(Awso_sqs.Values.StartMessageMoveTaskResult.t,
Awso_sqs.Values.StartMessageMoveTaskResult.error)
Result.t
Lwt.tval tag_queue :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.TagQueueRequest.t ->
(unit, unit) Result.t Lwt.tval untag_queue :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_sqs.Values.UntagQueueRequest.t ->
(unit, unit) Result.t Lwt.tinclude module type of struct include Awso_sqs.Values endval structure_to_value_aux :
('a * 'b option) list ->
f:(('a * 'b) list -> 'c) ->
[> `Structure of 'c ]val structure_to_wrapped_value :
wrapper:'a ->
response:'a ->
('b * 'c option) list ->
[> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]The user-specified message attribute value. For string data types, the Value attribute has the same restrictions on the content as the message body. For more information, see SendMessage. Name, type, value and the message body must not be empty or null. All parts of the message attribute, including Name, Type, and Value, are part of the message size restriction (1 MiB or 1,048,576 bytes).
module MessageSystemAttributeNameForSends =
Awso_sqs.Values.MessageSystemAttributeNameForSendsThe user-specified message system attribute value. For string data types, the Value attribute has the same restrictions on the content as the message body. For more information, see SendMessage. Name, type, value and the message body must not be empty or null.
Gives a detailed description of the result of an action on each entry in the request.
Encloses a MessageId for a successfully-enqueued message in a SendMessageBatch.
Contains the details of a single Amazon SQS message along with an Id.
An Amazon SQS message.
Contains the details of a message movement task.
Encloses the Id of an entry in DeleteMessageBatch.
Encloses a receipt handle and an identifier for it.
module ChangeMessageVisibilityBatchResultEntry =
Awso_sqs.Values.ChangeMessageVisibilityBatchResultEntryEncloses the Id of an entry in ChangeMessageVisibilityBatch.
module ChangeMessageVisibilityBatchRequestEntry =
Awso_sqs.Values.ChangeMessageVisibilityBatchRequestEntryEncloses a receipt handle and an entry ID for each message in ChangeMessageVisibilityBatch.
The specified ID is invalid.
The request was not made over HTTPS or did not use SigV4 for signing.
The request was denied due to request throttling. Exceeds the permitted request rate for the queue or for the recipient of the request. Ensure that the request rate is within the Amazon SQS limits for sending messages. For more information, see Amazon SQS quotas in the Amazon SQS Developer Guide.
One or more specified resources don't exist.
Error code 400. Unsupported operation.
The message contains characters outside the allowed set.
The caller doesn't have the required KMS access.
The request was denied due to request throttling.
The request was rejected for one of the following reasons: The KeyUsage value of the KMS key is incompatible with the API operation. The encryption algorithm or signing algorithm specified for the operation is incompatible with the type of key material in the KMS key (KeySpec).
The request was rejected because the state of the specified resource is not valid for this request.
The request was rejected because the specified entity or resource could not be found.
The request was rejected because the specified key policy isn't syntactically or semantically correct.
Amazon Web Services KMS throttles requests for the following conditions.
Ensure that the QueueUrl is correct and that the queue has not been deleted.
Two or more batch entries in the request have the same Id.
The length of all the messages put together is more than the limit.
The batch request doesn't contain any entries.
The Id of a batch entry in a batch request doesn't abide by the specification.
The batch request contains more entries than permissible. For Amazon SQS, the maximum number of entries you can include in a single SendMessageBatch, DeleteMessageBatch, or ChangeMessageVisibilityBatch request is 10.
The specified action violates a limit. For example, ReceiveMessage returns this error if the maximum number of in flight messages is reached and AddPermission returns this error if the maximum number of permissions for the queue is reached.
module ListMessageMoveTasksResultEntryList =
Awso_sqs.Values.ListMessageMoveTasksResultEntryListThe specified attribute doesn't exist.
module DeleteMessageBatchRequestEntryList =
Awso_sqs.Values.DeleteMessageBatchRequestEntryListA queue attribute value is invalid.
You must wait 60 seconds after deleting a queue before you can create another queue with the same name.
A queue with this name already exists. Amazon SQS returns this error only if the request includes attributes whose values differ from those of the existing queue.
module ChangeMessageVisibilityBatchResultEntryList =
Awso_sqs.Values.ChangeMessageVisibilityBatchResultEntryListmodule ChangeMessageVisibilityBatchRequestEntryList =
Awso_sqs.Values.ChangeMessageVisibilityBatchRequestEntryListRemove cost allocation tags from the specified Amazon SQS queue. For an overview, see Tagging Your Amazon SQS Queues in the Amazon SQS Developer Guide. Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide.
Add cost allocation tags to the specified Amazon SQS queue. For an overview, see Tagging Your Amazon SQS Queues in the Amazon SQS Developer Guide. When you use queue tags, keep the following guidelines in mind: Adding more than 50 tags to a queue isn't recommended. Tags don't have any semantic meaning. Amazon SQS interprets tags as character strings. Tags are case-sensitive. A new tag with a key identical to that of an existing tag overwrites the existing tag. For a full list of tag restrictions, see Quotas related to queues in the Amazon SQS Developer Guide. Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide.
Starts an asynchronous task to move messages from a specified source queue to a specified destination queue. This action is currently limited to supporting message redrive from queues that are configured as dead-letter queues (DLQs) of other Amazon SQS queues only. Non-SQS queue sources of dead-letter queues, such as Lambda or Amazon SNS topics, are currently not supported. In dead-letter queues redrive context, the StartMessageMoveTask the source queue is the DLQ, while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.
Starts an asynchronous task to move messages from a specified source queue to a specified destination queue. This action is currently limited to supporting message redrive from queues that are configured as dead-letter queues (DLQs) of other Amazon SQS queues only. Non-SQS queue sources of dead-letter queues, such as Lambda or Amazon SNS topics, are currently not supported. In dead-letter queues redrive context, the StartMessageMoveTask the source queue is the DLQ, while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.
The MD5OfMessageBody and MessageId elements.
For each message in the batch, the response contains a SendMessageBatchResultEntry tag if the message succeeds or a BatchResultErrorEntry tag if the message fails.
A list of received messages.
Retrieves one or more messages from a specified queue.
The specified receipt handle isn't valid.
Indicates that the specified queue previously received a PurgeQueue request within the last 60 seconds (the time it can take to delete the messages in the queue).
The specified message isn't in flight.
A list of your queues.
List all cost allocation tags added to the specified Amazon SQS queue. For an overview, see Tagging Your Amazon SQS Queues in the Amazon SQS Developer Guide. Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide.
List all cost allocation tags added to the specified Amazon SQS queue. For an overview, see Tagging Your Amazon SQS Queues in the Amazon SQS Developer Guide. Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide.
Gets the most recent message movement tasks (up to 10) under a specific source queue. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.
Gets the most recent message movement tasks (up to 10) under a specific source queue. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.
A list of your dead letter source queues.
The specified receipt handle isn't valid for the current version.
For more information, see Interpreting Responses in the Amazon SQS Developer Guide.
Retrieves the URL of an existing queue based on its name and, optionally, the Amazon Web Services account ID.
A list of returned queue attributes.
For each message in the batch, the response contains a DeleteMessageBatchResultEntry tag if the message is deleted or a BatchResultErrorEntry tag if the message can't be deleted.
Returns the QueueUrl attribute of the created queue.
Changes the visibility timeout of a specified message in a queue to a new value. The default visibility timeout for a message is 30 seconds. The minimum is 0 seconds. The maximum is 12 hours. For more information, see Visibility Timeout in the Amazon SQS Developer Guide. For example, if the default timeout for a queue is 60 seconds, 15 seconds have elapsed since you received the message, and you send a ChangeMessageVisibility call with VisibilityTimeout set to 10 seconds, the 10 seconds begin to count from the time that you make the ChangeMessageVisibility call. Thus, any attempt to change the visibility timeout or to delete that message 10 seconds after you initially change the visibility timeout (a total of 25 seconds) might result in an error. An Amazon SQS message has three basic states: Sent to a queue by a producer. Received from the queue by a consumer. Deleted from the queue. A message is considered to be stored after it is sent to a queue by a producer, but not yet received from the queue by a consumer (that is, between states 1 and 2). There is no limit to the number of stored messages. A message is considered to be in flight after it is received from a queue by a consumer, but not yet deleted from the queue (that is, between states 2 and 3). There is a limit to the number of in flight messages. Limits that apply to in flight messages are unrelated to the unlimited number of stored messages. For most standard queues (depending on queue traffic and message backlog), there can be a maximum of approximately 120,000 in flight messages (received from a queue by a consumer, but not yet deleted from the queue). If you reach this limit, Amazon SQS returns the OverLimit error message. To avoid reaching the limit, you should delete messages from the queue after they're processed. You can also increase the number of queues you use to process your messages. To request a limit increase, file a support request. For FIFO queues, there can be a maximum of 120,000 in flight messages (received from a queue by a consumer, but not yet deleted from the queue). If you reach this limit, Amazon SQS returns no error messages. If you attempt to set the VisibilityTimeout to a value greater than the maximum time left, Amazon SQS returns an error. Amazon SQS doesn't automatically recalculate and increase the timeout to the maximum remaining time. Unlike with a queue, when you change the visibility timeout for a specific message the timeout value is applied immediately but isn't saved in memory for that message. If you don't delete a message after it is received, the visibility timeout for the message reverts to the original timeout value (not to the value you set using the ChangeMessageVisibility action) the next time the message is received.
module ChangeMessageVisibilityBatchResult =
Awso_sqs.Values.ChangeMessageVisibilityBatchResultFor each message in the batch, the response contains a ChangeMessageVisibilityBatchResultEntry tag if the message succeeds or a BatchResultErrorEntry tag if the message fails.
module ChangeMessageVisibilityBatchRequest =
Awso_sqs.Values.ChangeMessageVisibilityBatchRequestCancels a specified message movement task. A message movement can only be cancelled when the current status is RUNNING. Cancelling a message movement task does not revert the messages that have already been moved. It can only stop the messages that have not been moved yet. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.
Cancels a specified message movement task. A message movement can only be cancelled when the current status is RUNNING. Cancelling a message movement task does not revert the messages that have already been moved. It can only stop the messages that have not been moved yet. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.