[][src]Crate lamedh_attributes

The official Rust runtime for AWS Lambda.

This package contains macro definitions to work with lambda.

An asynchronous function annotated with the #[lambda] attribute must accept an argument of type A which implements [serde::Deserialize], a [lambda::Context] and return a Result<B, E>, where B implements [serde::Serializable]. E is any type that implements Into<Box<dyn std::error::Error + Send + Sync + 'static>>.

Attribute Macros


Wrap an async function into the lambda constructs