[{"data":1,"prerenderedAt":58},["ShallowReactive",2],{"pattern-apigw-http-api-lambda-python-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":29,"level":30,"meta":31,"patternArch":32,"resources":46,"s3URL":6,"services":6,"stem":51,"testing":52,"videoId":6,"__hash__":57},"patterns\u002Fpatterns\u002Fapigw-http-api-lambda-python-sam.json","Amazon API Gateway HTTP API to AWS Lambda",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Falice-goumain.json",{"text":13},[14],"sam deploy","Create an HTTP API routed to AWS Lambda.","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-lambda-python","serverless-patterns\u002Fapigw-http-api-lambda-python","apigw-http-api-lambda-python","template.yaml",{"headline":25,"text":26},"How it works",[27,28],"This pattern deploys an Amazon API Gateway HTTP API with a Lambda integration.","The AWS Lambda function is written in Python3.9. The function returns a small message and a status code to the caller.","Python","200",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},20,50,"apigw","API Gateway HTTP API",{"x":39,"y":35,"service":40,"label":41},80,"lambda","AWS Lambda",{"from":43,"to":44,"label":45},"icon1","icon2","",{"bullets":47},[48],{"text":49,"link":50},"Working with HTTP API","https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fhttp-api.html","patterns\u002Fapigw-http-api-lambda-python-sam",{"text":53},[54,55,56],"Once the application is deployed, retrieve the API ID provided as output and go to API Gateway console.","Click on the newly created API, in the stages window, click on the link under 'invoke URL'.","You can also make the request from Postman or from a terminal using the curl command.","37s93jd9vO6QIKUqiZBdiMiS2qroDLjnpz_D9ZmbsS4",1778846881884]