Module handler

Source
Expand description

Helpers for starting the Lambda Rust runtime with a handler function and a lambda_runtime::layers::TracingLayer and a MetricsLayer

Reduces the amount of ceremony needed in main() for simple use cases

Functionsยง

run
Start the Lambda Rust runtime with a given LambdaEvent handler function which is then layered with lambda_runtime::layers::TracingLayer and MetricsLayer with a given Collector
run_http
Start the Lambda Rust runtime with a given lambda_http::Request handler function which is then layered with lambda_runtime::layers::TracingLayer and MetricsLayer with a given Collector