SQS Producer
    Preparing search index...

    Interface Message

    interface Message {
        body: string;
        id: string;
        deduplicationId?: string;
        delaySeconds?: number;
        groupId?: string;
        messageAttributes?: { [key: string]: MessageAttributeValue };
    }
    Index

    Properties

    body: string

    The messages contents.

    id: string

    An identifier for the message. This must be unique within the batch of messages.

    deduplicationId?: string

    This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of messages within a 5-minute minimum deduplication interval. If a message with a particular id is sent successfully, subsequent messages with the same id are accepted successfully but aren't delivered.

    delaySeconds?: number

    The length of time, in seconds, for which to delay a specific message. Valid values: 0 to 900. Maximum: 15 minutes.

    groupId?: string

    The message group ID. For FIFO queues, messages with the same group ID are processed in order. For fair queues, messages are grouped together while ensuring fair distribution across different group IDs.

    messageAttributes?: { [key: string]: MessageAttributeValue }

    Each message attribute consists of a Name, Type, and Value. For more information, see Amazon SQS message attributes.