[{"data":1,"prerenderedAt":61},["ShallowReactive",2],{"pattern-apigw-rest-lambda-rust":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":31,"level":32,"meta":33,"patternArch":34,"resources":47,"s3URL":6,"services":53,"stem":54,"testing":55,"videoId":30,"__hash__":60},"patterns\u002Fpatterns\u002Fapigw-rest-lambda-rust.json","Amazon API Gateway REST API to AWS Lambda",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>sam delete --stack-name STACK_NAME\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>",[13],"content\u002Fcontributors\u002Fdaniele-frasca.json",{"text":15},[16],"sam deploy --guided","Create an Amazon API Gateway REST API that invokes an AWS Lambda function","json","AWS SAM",{"template":21},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"apigw-lambda-rust","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-lambda-rust","serverless-patterns\u002Fapigw-lambda-rust","template.yml",{"headline":27,"text":28,"test":30},"How it works",[29],"This pattern deploys an Amazon API Gateway REST API with a default route and basic CORS configuration. The default route is integrated with an AWS Lambda function written in Node.js. The function logs the incoming API event (v2) and context object to an Amazon CloudWatch Logs log group and returns basic information about the event to the caller.","","Rust","100",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"apigw","API Gateway REST API",{"x":41,"y":37,"service":42,"label":43},80,"lambda","AWS Lambda",{"from":45,"to":46,"label":30},"icon1","icon2",{"headline":48,"bullets":49},"Additional resources",[50],{"text":51,"link":52},"Working with REST APIs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fapigateway-rest-api.html",{"from":38,"to":42},"patterns\u002Fapigw-rest-lambda-rust",{"headline":56,"text":57},"Testing",[58,59],"1. Once the application is deployed, retrieve the HttpApiEndpoint value from CloudFormation Outputs. Either browse to the endpoint in a web browser or call the endpoint from Postman.","2. See the repo for additional testing notes.","yU2gzmYzF8Kk0iT7x2MHE7hvwaz-KTyHVdjmt3cwXl8",1779273333059]