You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`queueUrl`| string | The URL of the Amazon SQS queue to which a message is sent. Queue URLs and names are case-sensitive. |
14
14
|`messageBody`| string | The message to send. The minimum size is one character. The maximum size is 256 KB. |
15
-
|`options`| object (optional) | Options for the request. Accepted properties are `messageDeduplicationId` (optional string) setting the message deduplication id, and `messageGroupId` (optional string) setting the message group ID for FIFO queues |
15
+
|`options`|[SendMessageOptions](#sendmessageoptions) (optional) | Options for the request. |
|`messageDeduplicationId`| string (optional) | his parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of sent messages. If a message with a particular MessageDeduplicationId is sent successfully, any messages sent with the same MessageDeduplicationId are accepted successfully but aren't delivered during the 5-minute deduplication interval. |
22
+
|`messageGroupId`| string (optional) | The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). |
23
+
|`messageAttributes`| object (optional) | Each message attribute consists of a `Name`, `Type`, and `Value`. For more information, see [Amazon SQS Message Attributes](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html). |
24
+
|`delaySeconds`| number (optional) | The length of time, in seconds, for which to delay a specific message. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive `delaySeconds` value become available for processing after the delay period is finished. If you don't specify a value, the default value for the queue applies. |
16
25
17
26
### Returns
18
27
@@ -47,7 +56,22 @@ export default async function () {
0 commit comments