Crate lambda_runtime

source ·
Expand description

The mechanism available for defining a Lambda function is as follows:

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

Re-exports§

Modules§

  • Diagnostic utilities to convert Rust types into Lambda Error types.
  • Tower middleware to be applied to runtime invocations.
  • Utilities for Lambda Streaming functions.
  • Utilities to initialize and use tracing and tracing-subscriber in Lambda Functions. This module provides primitives to work with tracing and tracing-subscriber in Lambda functions.

Structs§

Enums§

  • An enum representing the response of a function that can return either a buffered response of type B or a streaming response of type S.

Traits§

  • a trait that can be implemented for any type that can be converted into a FunctionResponse. This allows us to use the into method to convert a type into a FunctionResponse.
  • An asynchronous function from a Request to a Response.

Functions§

Type Aliases§

  • Error type that lambdas may result in