ark::aws::SqsClient

Defined in header “ark/aws/sqs_client.hh”.


This is a wrapper around the AWS simple queue service client, for communication with their queue service.

Methods

  • SqsClient()
    Constructor.

  • SqsClient(const core::Url & endpoint)
    Constructor uses an alternate endpoint for talking to the SQS, useful for testing.

  • ~SqsClient()
    Destructor.

  • std::vector< ReceivedMessage > receive_messages(const ReceiveMessageRequest & request)
    Receives messages from the SQS queue.

  • std::map< std::string, std::string > delete_messages(const DeleteMessageRequest & request)
    Deletes a batch of messages. Returns a list of messages that were not deleted (along with their error text).