(defhandler name handler options)
A ring handler for AWS Lambda and AWS API Gateway
A ring handler for AWS Lambda and AWS API Gateway
(event->request event context)
Transform lambda input to Ring requests. Has two extra properties: :event - the lambda input :context - an instance of a lambda context http://docs.aws.amazon.com/lambda/latest/dg/java-context-object.html
Transform lambda input to Ring requests. Has two extra properties: :event - the lambda input :context - an instance of a lambda context http://docs.aws.amazon.com/lambda/latest/dg/java-context-object.html
(handle-request handler options in out context)
Handle a lambda invocation as a ring request. Writes ring response as JSON to
out
for 200 responses, rases an exception with ring response as JSON for
non-200 responses
Handle a lambda invocation as a ring request. Writes ring response as JSON to `out` for 200 responses, rases an exception with ring response as JSON for non-200 responses
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close