Expand description

This module includes utilities to create Lambda Runtime Extensions.

Create a type that conforms to the Extension trait. This type can then be passed to the the lambda_extension::run function, which launches and runs the Lambda runtime extension.

Re-exports

pub use tower;

Modules

Include several request builders to interact with the Extension API.

Structs

An Extension that runs event and log processors
Simple error that encapsulates human readable descriptions
A no-op generic processor
Event received when there is a new Lambda invocation.
Wrapper with information about the next event that the Lambda Runtime is going to process
Payload received from the Lambda Logs API See: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-logs-api.html#runtimes-logs-api-msg
Log buffering configuration. Allows Lambda to buffer logs before deliverying them to a subscriber.
Platform report metrics
Service factory to generate no-op generic processors
A MakeService that produces services by cloning an inner service.
Event received when a Lambda function shuts down.
Request tracing information

Enums

Record in a LambdaLog entry
Event that the extension receives in either the INVOKE or SHUTDOWN phase

Traits

An asynchronous function from a Request to a Response.

Functions

Execute the given events processor
Returns a new ServiceFn with the given closure.

Type Definitions

Error type that extensions may result in