In the previous sections, we went over the basics of Lambda functions and the programming model, and we created, configured, deployed, and tested a very simple Lambda function, which greeted the caller.
In this section, with the goal of having an end-to-end working example of a Lambda function, let's hook our greeter to an API Gateway that allows the Lambda function to be exposed as an API.
In a production-grade application, none of the following have to be done via the console. The API Gateway provides extensive Swagger extensions, which can be leveraged to eradicate the boilerplate steps.