# AWS Messaging Services

AWS SNS and AWS SQS are the two messaging services provided by Amazon Web Services.&#x20;

Both have use cases to be used to be integrated for applications for messaging

Example: Using Amazon SNS, messages are being subscribed to a topic which based on business logic can be queued to appropriate Lambda function as trigger

<figure><img src="/files/Ew9gMuQR16YO9YiukpJN" alt=""><figcaption><p>Source: <a href="https://miro.medium.com/v2/resize:fit:720/format:webp/1*Zh0muEji5v4nKw60pUeMAA.png">https://miro.medium.com/v2/resize:fit:720/format:webp/1*Zh0muEji5v4nKw60pUeMAA.png</a></p></figcaption></figure>

Another example can also be illustrated as follows:

<figure><img src="/files/vaFVcDBeLp05s9CbeQhg" alt=""><figcaption><p>Source: <a href="https://media.amazonwebservices.com/blog/sns_sqs_image_proc_2.png">https://media.amazonwebservices.com/blog/sns_sqs_image_proc_2.png</a></p></figcaption></figure>

Order Fulfilment at eCommerce site:

<figure><img src="/files/o9TbjmgdL4YSHhjkv5xz" alt=""><figcaption><p>Source: <a href="https://www.slideshare.net/JungHakLee4/awskrug-aws-sns-sqs-and-ses">https://www.slideshare.net/JungHakLee4/awskrug-aws-sns-sqs-and-ses</a></p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.radifine.com/aws/other-aws-services/aws-messaging-services.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
