zio.lambda.internal

Type members

Classlikes

Companion:
object
Companion:
class
final case class InvocationError(requestId: String, errorResponse: InvocationErrorResponse)
final case class InvocationErrorResponse(errorMessage: String, errorType: String, stackTrace: List[String])
Companion:
object
final case class InvocationRequest(id: String, remainingTimeInMillis: Long, invokedFunctionArn: String, xrayTraceId: Option[String], clientContext: Option[ClientContext], cognitoIdentity: Option[CognitoIdentity], payload: String)

https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html

Value parameters:
clientContext

For invocations from the AWS Mobile SDK, data about the client application and device.

cognitoIdentity

For invocations from the AWS Mobile SDK, data about the Amazon Cognito identity provider.

deadlineMs

The date that the function times out in Unix time milliseconds.

invokedFunctionArn

The ARN of the Lambda function, version, or alias that's specified in the invocation.

payload

The payload from the invocation, which is a JSON document that contains event data from the function trigger.

requestId

The request ID, which identifies the request that triggered the function invocation.

xrayTraceId

The AWS X-Ray tracing header.

Companion:
object
Companion:
class
final case class InvocationResponse(requestId: String, payload: String)
final case class LambdaAppLoaderLive(customClassLoader: CustomClassLoader, environment: LambdaEnvironment) extends LambdaLoaderLiveCommon[ZIOAppDefault]
Companion:
object
Companion:
class
final case class LambdaEnvironment(runtimeApi: String, handler: String, taskRoot: String, memoryLimitInMB: Int, logGroupName: String, logStreamName: String, functionName: String, functionVersion: String)
Companion:
object
Companion:
class
trait LambdaLoader[T]
Companion:
object
Companion:
class
abstract class LambdaLoaderLiveCommon[T](customClassLoader: CustomClassLoader, environment: LambdaEnvironment) extends LambdaLoader[T]
Companion:
object
Companion:
class
Companion:
object
object RuntimeApi
Companion:
class
final case class RuntimeApiLive(environment: LambdaEnvironment) extends RuntimeApi
Companion:
object
Companion:
class
object ZLambdaAppReflective extends ZIOAppDefault

The main class to use ZIOAppDefault as a Layer

Deprecated classlikes

final case class LambdaLoaderLive(customClassLoader: CustomClassLoader, environment: LambdaEnvironment) extends LambdaLoaderLiveCommon[ZLambda[_, _]]
Companion:
object
Deprecated
Companion:
class
Deprecated
object ZLambdaReflectiveAppOld extends ZIOAppDefault
Deprecated