[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-apigateway-sqs-receivemessages":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":32,"level":33,"meta":34,"patternArch":35,"resources":49,"s3URL":6,"services":6,"stem":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fapigateway-sqs-receivemessages.json","Amazon API Gateway to Amazon SQS",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>",[11],"content\u002Fcontributors\u002Fyogesh-nain.json",{"text":13},[14],"sam deploy --guided","Create a REST API Gateway to receive messages from SQS queue.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigateway-sqs-receivemessages","serverless-patterns\u002Fapigateway-sqs-receivemessages","apigateway-sqs-receivemessages","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29,30,31],"This pattern creates an Amazon API gateway REST API endpoint. The endpoint uses service integrations to directly connect to Amazon SQS that reads messages from the SQS.","Users can simply call the GET Method of invoke URL( API Gateway) that is returned as part of the Stack Output.","Invoke URL can also be used with query string parameters like MaxNumberOfMessages=5 VisibilityTimeout=15 AttributeName=All to get the desired output.","Useful with Frontend application that would like to interact with sqs via https protocol  to read messages from the SQS queue Avoid any useage of AWS SDK since request to SQS can be made via simple http request.","Please also consider looking at AWS API Gateway and AWS SQS quotas for different limits supported by the services when working with this pattern.","Python","200",{},{"icon1":36,"icon2":41,"line1":45},{"x":37,"y":38,"service":39,"label":40},20,50,"sqs","Amazon SQS",{"x":42,"y":38,"service":43,"label":44},75,"apigw","Amazon API Gateway REST API",{"from":46,"to":47,"label":48},"icon1","icon2","",{"bullets":50},[51,54,57,60,63],{"text":52,"link":53},"Working on integration of AWS Services with API Gateway","https:\u002F\u002Frepost.aws\u002Fknowledge-center\u002Fapi-gateway-proxy-integrate-service",{"text":55,"link":56},"API Gateway Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fwelcome.html",{"text":58,"link":59},"AWS SQS Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSSimpleQueueService\u002Flatest\u002FSQSDeveloperGuide\u002Fwelcome.html",{"text":61,"link":62},"AWS API Gateway Quotas","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Flimits.html",{"text":64,"link":65},"AWS SQS Quotas","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSSimpleQueueService\u002Flatest\u002FSQSDeveloperGuide\u002Fsqs-quotas.html","patterns\u002Fapigateway-sqs-receivemessages",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","Sxio4dao3Y6kmIcoYuEcnFs3AainuENDm7wozU4lz6c",1779273331730]