Skip to main content

SendMessageBody

Type Alias SendMessageBody 

Source
pub type SendMessageBody = SendMessageRequestInput;

Aliased Type§

pub struct SendMessageBody {
    pub body: String,
    pub attributes: Option<BTreeMap<String, MessageAttributesInputValue>>,
    pub delay_seconds: Option<i64>,
    pub message_group_id: Option<String>,
    pub message_deduplication_id: Option<String>,
}

Fields§

§body: String

The payload. Counted against the queue’s max_message_bytes together with the attributes.

§attributes: Option<BTreeMap<String, MessageAttributesInputValue>>§delay_seconds: Option<i64>

Overrides the queue’s default for this message. Rejected on FIFO queues, where it would let a later message become visible before an earlier one in the same group.

§message_group_id: Option<String>

Required on FIFO queues, rejected on standard ones. Messages sharing a group are delivered in order, and a group’s next message is withheld while an earlier one is in flight.

§message_deduplication_id: Option<String>

FIFO only. A repeat within five minutes is suppressed and the original message’s id is returned. Omit on a queue with content_based_deduplication to derive it from the body.