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
tracing - This module provides primitives to work with
tracingandtracing-subscriberin Lambda functions.
Structs§
- Client
- API client to interact with the AWS Lambda Runtime API.
- Client
Builder - Builder implementation to construct any Runtime API clients.
- Error
- Errors that can happen when using axum.
- Pooled
Client - API client to interact with the AWS Lambda Runtime API, with support for rebuilding its connection pool after a SnapStart VM restore.
- Pooled
Client Builder - Builder to construct a
PooledClient.
Traits§
- Runtime
ApiClient - The single method the runtime needs from any client: send a request to the
Lambda Runtime API (RAPID). Implemented by both
ClientandPooledClient.
Functions§
- build_
request - Create a request builder.
This builder uses
aws-lambda-rust/CRATE_VERSIONas the default User-Agent. Configure environment variableLAMBDA_RUNTIME_USER_AGENTat compile time to modify User-Agent value.
Type Aliases§
- BoxError
- Alias for a type-erased error type.