import { type APIGatewayProxyHandlerV2 } from "https://deno.land/x/lambda@1.26.1/types.d.ts";
Works with HTTP API integration Payload Format version 2.0
definition: Handler<APIGatewayProxyEventV2, APIGatewayProxyResultV2<T>>
x/lambda/types.d.ts>APIGatewayProxyHandlerV2
import { type APIGatewayProxyHandlerV2 } from "https://deno.land/x/lambda@1.26.1/types.d.ts";
Works with HTTP API integration Payload Format version 2.0