http4k / org.http4k.serverless / ApiGatewayV1LambdaFunction
abstract class ApiGatewayV1LambdaFunction :
AwsLambdaFunction
<
Map
<
String
,
Any
>,
Map
<
String
,
Any
>>, RequestHandler<
Map
<
String
,
Any
>,
Map
<
String
,
Any
>>
This is the main entry point for lambda invocations using the V1 payload format. It uses the local environment to instantiate the HttpHandler which can be used for further invocations.
Name | Summary |
---|---|
<init> | ApiGatewayV1LambdaFunction(input: AppLoader ) ApiGatewayV1LambdaFunction(input: HttpHandler ) This is the main entry point for lambda invocations using the V1 payload format. It uses the local environment to instantiate the HttpHandler which can be used for further invocations. ApiGatewayV1LambdaFunction(appLoader: AppLoaderWithContexts ) |
Name | Summary |
---|---|
handleRequest | open fun handleRequest(req: Map < String , Any >, ctx: Context): Map < String , Any > |
Name | Summary |
---|---|
TestFunctionV1 | class TestFunctionV1 : ApiGatewayV1LambdaFunction |