AWS SQS

Receive messages

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Receive messages from a queue.

Inputs

Champ

Type

Description

region [required]

enum

default: us-east-1

queueName [required]

string

maxNumberOfMessages

number

The maximum number of messages to return.

deleteMessages

boolean

Enable automatic deletion of received messages. Defaults to true. If set to false, received messages must be manually deleted with the Delete Messages action.

default: true

Outputs

Expand All

Champ

Type

Description

messages [required]

[object]

MessageId

string

A unique identifier for the message. A MessageId is considered unique across all Amazon Web Services accounts for an extended period of time.

ReceiptHandle

string

An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message.

MD5OfBody

string

An MD5 digest of the non-URL-encoded message body string.

Body

string

The message's contents (not URL-encoded).

Attributes

object

A map of the attributes requested in ReceiveMessage to their respective values. Supported attributes:
ApproximateReceiveCount
ApproximateFirstReceiveTimestamp
MessageDeduplicationId
MessageGroupId
SenderId
SentTimestamp
SequenceNumber
ApproximateFirstReceiveTimestamp and SentTimestamp are each returned as an integer representing the epoch time in milliseconds.

MD5OfMessageAttributes

string

An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.

MessageAttributes

object