Module aws_smithy_http_server::request::lambda
source · 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§
ApiGatewayProxyRequestContext
contains the information to identify the AWS account and resources invoking the Lambda function. It also includes Cognito identity information for the caller.ApiGatewayV2httpRequestContext
contains the information to identify the AWS account and resources invoking the Lambda function.- 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.
- The
Context
was not found in thehttp::Request
extensions. - The [
RequestContext::ApiGatewayV1
] was not found in thehttp::Request
extensions. - The [
RequestContext::ApiGatewayV2
] was not found in thehttp::Request
extensions.