|(require aws/sqs)||package: aws|
SQS provides distributed queues.
(sqs-endpoint v) → void? v : endpoint?
= (endpoint "sqs.us-east-1.amazonaws.com" #f)
The endpoint for the service.
The region for the service.
Create a queue and return its URI. The URI is used to identify the queue in most of the other procedures.
Delete a queue.
List all the queues associated with the AWS account.
Given the name of a queue, get its URI.
queue-uri : string body : string? delay-seconds : (or/c #f exact-nonnegative-integer?) = #f
Send a message to a queue. See SQS docs for meaning of delay-seconds, but, if not supplied the delay will default to that of the queue.
Get all the attributes for a queue. They are returned as a list instead of a struct because the list of attributes may grow in future versions of SQS.
#:extra-constructor-name make-message) body : string? md5 : string? id : string? receipt-handle : string? attributes : (listof (list/c symbol? string?))
(receive-messages queue-uri max [ visibility-timeout]) → (listof message?) queue-uri : string? max : (and/c exact-integer? (between/c 1 10)) visibility-timeout : (or/c #f exact-nonnegative-integer?) = #f
(receive-message queue-uri [ visibility-timeout]) → (listof message?) queue-uri : string? visibility-timeout : (or/c #f exact-nonnegative-integer?) = #f
Get one or more messages from the queue.
The receipt-handle field of message is used to identify the message in procedures that operate on a specific message.
Delete a message from a queue.
(change-message-visibility queue-uri receipt-handle timeout) → void? queue-uri : string? receipt-handle : string? timeout : exact-nonnegative-integer?
Change the visibility time of a message already in a queue.