SQS Reference
This document provides an overview of how vendors can pull different message types from Amazon Simple Queue Service (SQS).
The possible message types include Job and Order creation and update notifications. For example, JobCreated, JobUpdated, OrderCreated, and OrderUpdated, among others.
Message Types
There are two main types of messages that vendors can pull from SQS:
Job: This message type is related to the job details.
Order: This message type is related to the order details.
Common Fields
All the above message types have the following common fields:
Field Name | Data Type | Description | Possible Values |
|---|---|---|---|
originationSystem | String | The origination system for this message |
|
messageType | String | Type of the message |
|
messageDate | Datetime (ISO 8601 in UTC) | The message date |
|
traceId | String | Trace id of this message |
|
payload | JSON | JSON string of the message applying to the type | Please see the |
Payload Statuses
Within the payload, we have both job-level and order-level status fields.
Level | Possible Status Values |
|---|---|
Job |
|
Order |
|
Authorization
To pull messages from SQS, you need to ensure that your AWS account has the necessary permissions to access the SQS queue. This typically involves setting up an IAM role or user with the appropriate policies attached.