class

Lambda::Builder::HTTPResponse

Inherits Reference / Object

Constructors

new(status_code : Int32 = 200, body : JSON::Any | String | Nil = nil)
Source

Instance methods

as_json

Returns a JSON::Any object for passing on to AWS

Source
body
Source
body=(body : String | JSON::Any | Nil)
Source
headers
Source
status_code
Source
to_json(json : JSON::Builder)
Source