All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zio.lambda.response.APIGatewayProxyResponse.scala Maven / Gradle / Ivy

The newest version!
package zio.lambda.response

import zio.json._

final case class APIGatewayProxyResponse(
  statusCode: Int,
  headers: Map[String, String],
  multiValueHeaders: Map[String, List[String]],
  body: String,
  isBase64Encoded: Boolean
)

object APIGatewayProxyResponse {
  implicit val encoder: JsonEncoder[APIGatewayProxyResponse] = DeriveJsonEncoder.gen[APIGatewayProxyResponse]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy