AwsSqsApi

org.encalmo.aws.AwsSqsApi
object AwsSqsApi

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
AwsSqsApi.type

Members list

Value members

Concrete methods

inline def getQueueAttributes(queueUrl: String)(using AwsClient): Map[String, String]

Gets attributes for the specified queue.

Gets attributes for the specified queue.

Attributes

inline def listDeadLetterSourceQueues(queueUrl: String)(using AwsClient): Seq[String]

Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead-letter queue.

Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead-letter queue.

Attributes

inline def listQueueTags(queueUrl: String)(using AwsClient): Seq[(String, String)]

List all cost allocation tags added to the specified Amazon SQS queue.

List all cost allocation tags added to the specified Amazon SQS queue.

Attributes

inline def listQueues()(using AwsClient): Seq[String]

Returns a list of your queue URLs in the current region.

Returns a list of your queue URLs in the current region.

Attributes

inline def sendMessage(queueUrl: String, message: String, delaySeconds: Option[Integer], messageGroupId: Option[String], messageDeduplicationId: Option[String], messageAttributes: Option[Map[String, MessageAttributeValue]])(using AwsClient): SendMessageResponse

Delivers a message to the specified queue.

Delivers a message to the specified queue.

A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:

#x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF

Any characters not included in this list will be rejected

Attributes

inline def sendMessageBatch(queueUrl: String, entries: Seq[SendMessageBatchRequestEntry])(using AwsClient): SendMessageBatchResponse

You can use SendMessageBatch to send up to 10 messages to the specified queue by assigning either identical or different values to each message (or by not assigning values at all). This is a batch version of SendMessage. For a FIFO queue, multiple messages within a single batch are enqueued in the order they are sent.

You can use SendMessageBatch to send up to 10 messages to the specified queue by assigning either identical or different values to each message (or by not assigning values at all). This is a batch version of SendMessage. For a FIFO queue, multiple messages within a single batch are enqueued in the order they are sent.

The result of sending each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

The maximum allowed individual message size and the maximum total payload size (the sum of the individual lengths of all of the batched messages) are both 256 KiB (262,144 bytes).

A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:

#x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF

Any characters not included in this list will be rejected

Attributes