API-Gateway & SQS direct Integration
ฝัง
- เผยแพร่เมื่อ 10 ก.พ. 2025
- If you want to process API Request asynchronously or add a queue in your application architecture, you landed to the right place.
This video shows how to Integrate Amazon API Gateway as a proxy for SQS (Simple Queue Service).
Step 1: Create SQS Queue
Step 2: Create HTTP API
Step 3: Create IAM Role with full SQS Permission
Step 4: Create Methods for the API -- PUT --/{Your PUT resource path}
-- GET --/{Your PUT resource path}
For putting message in SQS using API Gateway use this --
$request.body.MessageBody
Check this playlist for more AWS Projects or POC in Big Data domain:
• Demystifying Data Engi...
Thank you so much, simple and very good explanation.
thank you so much.
You are welcome Rudra Khuntia!! Happy Learning
Wonderful! Crisp and clean explanation. Keep it up.
Thank You Dhevendhiran Madheswaran! Happy Learning :-)
Perfect, Its working fine. May I know the use cases for this demo? I don't know about SQS with API gateway.
Hello Lakshminarayanan S, for any asynchronous system design & implementation , the above concept can be used ..For details , you can refer this video --
docs.aws.amazon.com/pt_br/lambda/latest/operatorguide/integrations-asynchronous.html
Hope this will be helpful! Happy Learning
@@KnowledgeAmplifier1 many thanks. I will take a look.
How can i send XML from API Gate way to SQS? Mentioned settings are working for JSON Message only
Can we get multiple message in GET?
Great tutorial but I am getting :(
Hello Sadek Hossain, please refer this -- aws.amazon.com/premiumsupport/knowledge-center/api-gateway-rest-api-sqs-errors/
ok, but how to send without using postman? what should i type into my api url bar to send directly without postman?
Hello qazaq empire 2, you cannot make a POST request by using a web browser, as web browsers only directly support GET requests. If you want to make post request without Postman , you can any programming tool , for example , in python , using requests module , you can make post request , or you can use command-line tool like cURL or some other api testing tool to make post request ...