[][src]Crate srvrls

srvrls - a lightweight serverless framework

CodeBuild test indicator

We built this library to simplify building applications that use AWS API Gateway as a proxy for AWS Lambda.

This library has opinions, strong ones, very possibly not your own. Our design priorities here are simple:

  • reduce needed boilerplate in serverless applications
  • provide opinionated defaults to otherwise open questions (more on this later)
  • provide decoupling between the serverless function provider and the application logic (keeping open the option of supporting Google or Azure functions in the future)



Application provides the AWS Lambda wrapper and response handling.


Components holds the utility structs including the library error SrvrlsError.


Request provides a simplified input request struct with opinionated getter methods.


Response provides the mappings from the library response and error to AWS Lambda events.