aws-doc-sdk-examples
aws-doc-sdk-examples copied to clipboard
EPIC: Cross Service example for Amazon SQS Message app
Description of Epic Create a Rest endpoint in a supported AWS SDK that performs these operations:
1 - View all messages in a FIFO queue by calling receiveMessage. 2 - Delete the messages in the queue by calling purgeQueue. 3 - Add a new message by calling sendMessage. 4- Detect the languages of the posted message by calling Comprehend's detectDominantLanguage method. 5 - Send a report to an email recipient using AWS SES.
Write a Rest API backend in your AWS SDK language to which a React app can send RESTful requests.
The Rest endpoint must expose these URLS:
1 - /chat/msgs - A GET request that returns all messages in the queue. 2 - /chat/add - A POST request that adds a new message to the queue. 3 - /api/purge - A GET request that deletes messages from the queue.
These URLs are consumed by our Chat React App. See https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/resources/clients/react.
User stories
- [ ] .NET cross-service example for chat
- [ ] C++ cross-service example for chat
- [ ] Go cross-service example for chat
- [ ] Rust cross-service example for chat
- [x] Java cross-service example for chat
- [ ] Kotlin cross-service example for chat #3577
- [ ] JavaScript cross-service example for chat
- [ ] Python cross-service example for chat
- [ ] PHP cross-service example for chat
- [ ] Ruby cross-service example for chat
- [ ] Swift cross-service example for chat