Available on crate feature
aws-lambda only.Expand description
The [lambda_http] types included in http::Requests when LambdaHandler is
used. Each are given a FromParts implementation for easy use within handlers.
Structsยง
- ApiGateway
Proxy Request Context ApiGatewayProxyRequestContextcontains the information to identify the AWS account and resources invoking the Lambda function. It also includes Cognito identity information for the caller.- ApiGateway
V2http Request Context ApiGatewayV2httpRequestContextcontains the information to identify the AWS account and resources invoking the Lambda function.- Context
- The Lambda function execution context. The values in this struct are populated using the Lambda environment variables and the headers returned by the poll request to the Runtime APIs.
- Missing
Context - The
Contextwas not found in thehttp::Requestextensions. - Missing
Gateway Context V1 - The [
RequestContext::ApiGatewayV1] was not found in thehttp::Requestextensions. - Missing
Gateway Context V2 - The [
RequestContext::ApiGatewayV2] was not found in thehttp::Requestextensions.