The Lambda integration uses the V2 payload format: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html
If writing the Lambda in TypeScript, this means you should use APIGatewayProxyEventV2 as the request type, and APIGatewayProxyResultV2 as the response type.
APIGatewayProxyEventV2
APIGatewayProxyResultV2
The Lambda integration uses the V2 payload format: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html
If writing the Lambda in TypeScript, this means you should use
APIGatewayProxyEventV2
as the request type, andAPIGatewayProxyResultV2
as the response type.