BaseRestateLambdaHandler

abstract class BaseRestateLambdaHandler : RequestHandler<I, O>

Base implementation of a Lambda handler to execute restate services

Implementation of AWS Lambda for serving Restate functions.

Restate can invoke Lambda functions directly or through AWS API gateway. For both cases, it will invoke the Lambda using the same envelope of an API Gateway request/response. See Restate Lambda documentation for more details.

Functions

Link copied to clipboard
open fun handleRequest(input: APIGatewayProxyRequestEvent, context: Context): APIGatewayProxyResponseEvent
Link copied to clipboard
abstract fun register(builder: RestateLambdaEndpointBuilder)
Configure your services in this method.