sttp.tapir.serverless.aws.lambda

Members list

Concise view

Type members

Classlikes

abstract class AwsCatsEffectServerInterpreter[F[_]](implicit fa: Sync[F])

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class AwsFutureServerInterpreter(implicit ec: ExecutionContext)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class AwsHttp(method: String, path: String, protocol: String, sourceIp: String, userAgent: String)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class AwsRequest(rawPath: String, rawQueryString: String, headers: Map[String, String], requestContext: AwsRequestContext, body: Option[String], isBase64Encoded: Boolean)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class AwsRequestContext(domainName: Option[String], http: AwsHttp)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class AwsRequestV1(resource: String, path: String, httpMethod: String, queryStringParameters: Option[Map[String, String]], headers: Map[String, String], body: Option[String], requestContext: RequestContext, isBase64Encoded: Boolean)

As for this moment, CDK v2 does not provide high level typescript classes for generating stack for Api Gateway v2 with Lambda, this is why we need to use Api Gateway v1, and translate it's request to v2 by hand.

As for this moment, CDK v2 does not provide high level typescript classes for generating stack for Api Gateway v2 with Lambda, this is why we need to use Api Gateway v1, and translate it's request to v2 by hand.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class AwsResponse(isBase64Encoded: Boolean, statusCode: Int, headers: Map[String, String], body: String)

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class AwsServerOptions[F[_]](encodeResponseBody: Boolean, interceptors: List[Interceptor[F]])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class Identity(sourceIp: String, userAgent: String)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
abstract class LambdaHandler[F[_], R] extends RequestStreamHandler

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

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

Attributes

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.

Graph
Supertypes
trait RequestStreamHandler
class Object
trait Matchable
class Any
case class RequestContext(resourceId: String, resourcePath: String, httpMethod: String, protocol: String, identity: Identity, domainName: String, apiId: String)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Types

type Route[F[_]] = AwsRequest => F[AwsResponse]