I believe this library targets the API Gateway V1 payload format, while Lambda will now send functions in the V2 format: https://docs.aws.amazon.com/lambda/latest/dg/urls-invocation.html (Request Payload Format section). Interested in a PR for this?