- Navigation Guide
@aws-sdk/client-sqs
SendMessageCommandInput Interface
Members
Name | Type | Details |
---|---|---|
MessageBody Required | string | undefined | The message to send. The minimum size is one character. The maximum size is 256 KiB. A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed. For more information, see the W3C specification for characters . Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead, it replaces those invalid characters with |
QueueUrl Required | string | undefined | The URL of the Amazon SQS queue to which a message is sent. Queue URLs and names are case-sensitive. |
DelaySeconds | number | undefined | 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 When you set |
MessageAttributes | Record<string, MessageAttributeValue> | undefined | Each message attribute consists of a |
MessageDeduplicationId | string | undefined | This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of sent messages. If a message with a particular
The If a message is sent successfully but the acknowledgement is lost and the message is resent with the same Amazon SQS continues to keep track of the message deduplication ID even after the message is received and deleted. The maximum length of For best practices of using |
MessageGroupId | string | undefined | This parameter applies only to FIFO (first-in-first-out) queues. 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). To interleave multiple ordered streams within a single queue, use
The maximum length of For best practices of using |
MessageSystemAttributes | Partial<Record<MessageSystemAttributeNameForSends, MessageSystemAttributeValue> | undefined | The message system attribute to send. Each message system attribute consists of a
|
Full Signature
export interface SendMessageCommandInput extends SendMessageRequest