title: Is there a way in aws lambda where I can trigger a hook before handler is invoked
body: <p>I have a rest api using serverless framework with the following endpoints,</p>
  
  <p>GET /clients/{id}</p>
  
  <p>POST /clients/{id}/payments{type}</p>
  
  <p>both clients and payments having it's own handlers. I want to know if there is a way by which I can get the client details injected to the payment handler by some sort of hooks rather than calling the code to fetch the client with in the payment handler. This way handlers of all sub-resources of clients will not need to fetch the client details with in the handler. It would be interesting, if I can utilize the plugins of serverless framework to achieve the same.</p>