[{"data":1,"prerenderedAt":69},["ShallowReactive",2],{"pattern-apigw-sqs-lambda-iot":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":30,"level":31,"meta":32,"patternArch":33,"resources":59,"s3URL":6,"services":6,"stem":64,"testing":65,"videoId":6,"__hash__":68},"patterns\u002Fpatterns\u002Fapigw-sqs-lambda-iot.json","Asynchronous message processing with AWS Lambda and IoT Core",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fabdul-waheed.json",{"text":13},[14,15],"sam build","sam deploy --guided","API Gateway REST API integration with SQS, Lambda, and IoT","json","AWS SAM",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-sqs-lambda-iot","serverless-patterns\u002Fapigw-sqs-lambda-iot","apigw-sqs-lambda-iot","template.yaml",{"headline":26,"text":27},"How it works",[28,29]," ","A POST request to API Gateway will create a message onto a SQS queue. Lambda picks up the message uses the topic in the request body to send message to the IOT Data API endpoint","Python","200",{},{"icon1":34,"icon2":39,"icon3":43,"icon4":47,"line1":51,"line2":55,"line3":57},{"x":35,"y":36,"service":37,"label":38},20,50,"apigw","Amazon API Gateway",{"x":40,"y":36,"service":41,"label":42},45,"sqs","Amazon SQS",{"x":44,"y":36,"service":45,"label":46},65,"lambda","AWS Lambda",{"x":48,"y":36,"service":49,"label":50},85,"iot","AWS IoT",{"from":52,"to":53,"label":54},"icon1","icon2","",{"from":53,"to":56,"label":54},"icon3",{"from":56,"to":58,"label":54},"icon4",{"bullets":60},[61],{"text":62,"link":63},"Amazon API Gateway - Rest API to AWS Services","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fapigateway-rest-api.html","patterns\u002Fapigw-sqs-lambda-iot",{"text":66},[67],"See the GitHub repo for detailed testing instructions.","AJyurOG8UiL1-sAUYeI1qsBMTGwr817lT_SQEtlG1tw",1778846882860]