[{"data":1,"prerenderedAt":67},["ShallowReactive",2],{"pattern-apigw-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":59,"stem":60,"testing":61,"videoId":30,"__hash__":66},"patterns\u002Fpatterns\u002Fapigw-lambda-rust.json","Amazon API Gateway HTTP 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 HTTP API that invokes an AWS Lambda function","json","AWS SAM",{"template":21},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"apigw-http-api-lambda-rust","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-http-api-lambda-rust","serverless-patterns\u002Fapigw-http-api-lambda-rust","template.yml",{"headline":27,"text":28,"test":30},"How it works",[29],"This pattern deploys an Amazon API Gateway HTTP 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 HTTP 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,53,56],{"text":51,"link":52},"Working with HTTP APIs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fhttp-api.html",{"text":54,"link":55},"Working with AWS Lambda proxy integrations for HTTP APIs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fhttp-api-develop-integrations-lambda.html",{"text":57,"link":58},"Lambda Function Handler","https:\u002F\u002Fdocs.aws.amazon.com\u002Fwhitepapers\u002Flatest\u002Fserverless-architectures-lambda\u002Fthe-handler.html",{"from":38,"to":42},"patterns\u002Fapigw-lambda-rust",{"headline":62,"text":63},"Testing",[64,65],"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.","p4kcfHyDGfQLZsh-B-7ssYtX4Qf1lt0cP7ACjFdUsqU",1778846882339]