APIGatewayV2Response
APIGateway+V2.swift:129struct APIGatewayV2Response
struct APIGatewayV2Response
import AWSLambdaEvents
A supporting library for Swift AWS Lambda Runtime.
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Sendable
init(from decoder: any Decoder) throws
init(statusCode: HTTPResponse.Status, headers: HTTPHeaders? = nil, body: String? = nil, isBase64Encoded: Bool? = nil, cookies: [String]? = nil)
init<Input>(statusCode: HTTPResponse.Status, headers: HTTPHeaders? = nil, encodableBody: Input, cookies: [String]? = nil) throws where Input : Encodable
var body: String?
var cookies: [String]?
var headers: HTTPHeaders?
var isBase64Encoded: Bool?
var statusCode: HTTPResponse.Status