OptionalbodyThe body of the HTTP request.
OptionalcookiesRaw cookie strings (v2 / Function URLs).
OptionalencodingThe encoding format of the body, such as base64.
OptionalheadersThe headers of the HTTP request as key-value pairs (may be null/absent on some triggers).
OptionalhttpThe HTTP method of the request (v1/ALB).
OptionalisIndicates whether the request body is base64-encoded.
OptionalmultiMulti-value headers (v1 / ALB with multi-value enabled).
OptionalmultiThe multi-value query string parameters (v1 / ALB with multi-value enabled).
OptionalpathThe path of the HTTP request (v1/ALB).
OptionalqueryThe single-value query string parameters.
OptionalrawThe raw path of the HTTP request (v2).
OptionalrawThe raw query string, without leading ? (v2).
OptionalrequestThe request context, whose shape varies by trigger.
OptionalversionPayload format version, e.g. '1.0' (REST) or '2.0' (HTTP API / Function URL).
Represents the structure of an AWS Lambda HTTP event across every supported trigger: API Gateway REST (payload v1), API Gateway HTTP API and Lambda Function URLs (payload v2), and Application Load Balancer (ALB). Every field is optional because each trigger populates a different subset; use normalizeHttpEvent to reduce it to a canonical shape.