[{"data":1,"prerenderedAt":80},["ShallowReactive",2],{"pattern-apigw-http-api-fifo-sqs-lambda-sns-sam":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":35,"level":36,"meta":37,"patternArch":38,"resources":64,"s3URL":6,"services":6,"stem":75,"testing":76,"videoId":6,"__hash__":79},"patterns\u002Fpatterns\u002Fapigw-http-api-fifo-sqs-lambda-sns-sam.json","Amazon API Gateway to Amazon SQS FIFO Queue to AWS Lambda to Amazon SNS",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fxivutiso-makhubela.json",{"text":13},[14],"sam deploy","Process HTTP Post requests using Lambda Function while maintaining the order of the messages","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-http-api-fifo-sqs-lambda-sns-sam","serverless-patterns\u002Fapigw-http-api-fifo-sqs-lambda-sns-sam","apigw-http-api-fifo-sqs-lambda-sns-sam","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29,30,31,32,33,34],"This pattern is designed to deploy an Amazon API Gateway HTTP API with a single route at \"\u002F\".","When the API Gateway receives a request from a client, it immediately sends the message to a FIFO (First-In-First-Out) queue.","The FIFO queue ensures that messages are processed in the order they were received, maintaining strict ordering.","As the messages arrive in the FIFO queue, it automatically invokes a Lambda function responsible for message processing.","The Lambda function handles each message one by one in FIFO order.","Depending on the use case, the function may perform various actions, such as data processing, validation, or invoking other AWS services.","Once the Lambda function has processed a message, it publishes the processed data to an SNS (Simple Notification Service) standard topic.","You can then subscribe an email addresses to the topic, to be notified by email when ther are new messages.","Python","200",{},{"icon1":39,"icon2":44,"icon3":48,"icon4":52,"line1":56,"line2":60,"line3":62},{"x":40,"y":41,"service":42,"label":43},10,50,"apigw","API Gateway",{"x":45,"y":41,"service":46,"label":47},35,"sqs","Amazon SQS",{"x":49,"y":41,"service":50,"label":51},63,"lambda","AWS Lambda",{"x":53,"y":41,"service":54,"label":55},90,"sns","Amazon SNS",{"from":57,"to":58,"label":59},"icon1","icon2","",{"from":58,"to":61,"label":59},"icon3",{"from":61,"to":63,"label":59},"icon4",{"bullets":65},[66,69,72],{"text":67,"link":68},"Fifo SQS Queues","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSSimpleQueueService\u002Flatest\u002FSQSDeveloperGuide\u002FFIFO-queues.html",{"text":70,"link":71},"Lambda SQS FIFO trigger","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fnew-for-aws-lambda-sqs-fifo-as-an-event-source\u002F",{"text":73,"link":74},"Subscribe to an SNS topic","https:\u002F\u002Fdocs.aws.amazon.com\u002Fsns\u002Flatest\u002Fdg\u002Fsns-create-subscribe-endpoint-to-topic.html","patterns\u002Fapigw-http-api-fifo-sqs-lambda-sns-sam",{"text":77},[78],"See the GitHub repo for detailed testing instructions.","MyLUkYk-TmN4gs6xs7rRpmmjagt5x8QrQ4eY9yD_ZSs",1781951702057]