LambdaHandler

sttp.tapir.serverless.aws.lambda.LambdaHandler
abstract class LambdaHandler[F[_], R] extends RequestStreamHandler

LambdaHandler is an entry point for handling requests sent to AWS Lambda application which exposes Tapir endpoints.

Type parameters

F

The effect type constructor used in the endpoint.

R

AWS API Gateway request type AwsRequestV1 or AwsRequest. At the moment mapping is required as there is no support for generating API Gateway V2 definitions with AWS CDK v2.

Attributes

Graph
Supertypes
trait RequestStreamHandler
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

protected def getAllEndpoints: List[ServerEndpoint[Any, F]]

Concrete methods

protected def process(input: InputStream, output: OutputStream): F[Unit]

Inherited methods

def handleRequest(x$0: InputStream, x$1: OutputStream, x$2: Context): Unit

Attributes

Inherited from:
RequestStreamHandler