sttp.tapir.serverless.aws.lambda

Members list

Type members

Classlikes

abstract class AwsFutureServerInterpreter(implicit ec: ExecutionContext)

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

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

Attributes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
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

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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object AwsResponse

Attributes

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

Attributes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class RequestContext(resourceId: String, resourcePath: String, httpMethod: String, protocol: String, identity: Identity, domainName: String, apiId: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Types

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