このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Receive messages from a queue.

Inputs

フィールド

種類

説明

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

フィールド

種類

説明

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