API reference / @node-ts/bus-sqs / SqsMessage
Interface: SqsMessage
Defined in: node_modules/.pnpm/@aws-sdk+client-sqs@3.1142.0/node_modules/@aws-sdk/client-sqs/dist-types/models/models_0.d.ts:1487
An Amazon SQS message.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
Attributes? | public | Partial<Record<MessageSystemAttributeName, string>> | A map of the attributes requested in
| node_modules/.pnpm/@aws-sdk+client-sqs@3.1142.0/node_modules/@aws-sdk/client-sqs/dist-types/models/models_0.d.ts:1559 |
Body? | public | string | The message's contents (not URL-encoded). | node_modules/.pnpm/@aws-sdk+client-sqs@3.1142.0/node_modules/@aws-sdk/client-sqs/dist-types/models/models_0.d.ts:1510 |
MD5OfBody? | public | string | An MD5 digest of the non-URL-encoded message body string. | node_modules/.pnpm/@aws-sdk+client-sqs@3.1142.0/node_modules/@aws-sdk/client-sqs/dist-types/models/models_0.d.ts:1505 |
MD5OfMessageAttributes? | public | 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. | node_modules/.pnpm/@aws-sdk+client-sqs@3.1142.0/node_modules/@aws-sdk/client-sqs/dist-types/models/models_0.d.ts:1564 |
MessageAttributes? | public | Record<string, MessageAttributeValue> | Each message attribute consists of a | node_modules/.pnpm/@aws-sdk+client-sqs@3.1142.0/node_modules/@aws-sdk/client-sqs/dist-types/models/models_0.d.ts:1572 |
MessageId? | public | string | A unique identifier for the message. A | node_modules/.pnpm/@aws-sdk+client-sqs@3.1142.0/node_modules/@aws-sdk/client-sqs/dist-types/models/models_0.d.ts:1493 |
ReceiptHandle? | public | 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. | node_modules/.pnpm/@aws-sdk+client-sqs@3.1142.0/node_modules/@aws-sdk/client-sqs/dist-types/models/models_0.d.ts:1500 |