Available on crate feature
aws-lambda
only.Expand description
The [lambda_http
] types included in http::Request
s when LambdaHandler
is
used. Each are given a FromParts
implementation for easy use within handlers.
Structsยง
- ApiGateway
Proxy Request Context ApiGatewayProxyRequestContext
contains 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 ApiGatewayV2httpRequestContext
contains 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
Context
was not found in thehttp::Request
extensions. - Missing
Gateway Context V1 - The [
RequestContext::ApiGatewayV1
] was not found in thehttp::Request
extensions. - Missing
Gateway Context V2 - The [
RequestContext::ApiGatewayV2
] was not found in thehttp::Request
extensions.