Crate lambda_runtime_api_client

Source
Expand description

This crate includes a base HTTP client to interact with the AWS Lambda Runtime API.

Modules§

body
HTTP body utilities. Extracted from Axum under MIT license. https://github.com/tokio-rs/axum/blob/main/axum/LICENSE
tracing
This module provides primitives to work with tracing and tracing-subscriber in Lambda functions.

Structs§

Client
API client to interact with the AWS Lambda Runtime API.
ClientBuilder
Builder implementation to construct any Runtime API clients.
Error
Errors that can happen when using axum.

Functions§

build_request
Create a request builder. This builder uses aws-lambda-rust/CRATE_VERSION as the default User-Agent. Configure environment variable LAMBDA_RUNTIME_USER_AGENT at compile time to modify User-Agent value.

Type Aliases§

BoxError
Alias for a type-erased error type.