If you get in much deeper than just a couple of functions, I highly recommend using Middy. It acts as a ‘sort of’ middleware, which makes it much easier to write reusable stuff and comes with its own often-used middleware, such as converting the body from JSON to an object.<p><a href="https://github.com/middyjs/middy" rel="nofollow">https://github.com/middyjs/middy</a><p>We have over 40 functions on our main product and it’s been working really well.