Liking cljdoc? Tell your friends :D

stedi.lambda


*compile-entrypoint*clj

The name of the current endpoint being compiled by stedi.lambda.compile

The name of the current endpoint being compiled by `stedi.lambda.compile`
raw docstring

defentrypointcljmacro

(defentrypoint name & body)

Defines a lambda entrypoint, its value should resolve to a function that takes a lambda request map and returns a lambda response map.

Request Map: :input - an input stream of the payload :context - an instance of com.amazonaws.services.lambda.runtime.Context

Response Map: :output - a String or anything coercible by clojure.java.io/input-stream to be returned as the response

Defines a lambda entrypoint, its value should resolve to a function
that takes a lambda request map and returns a lambda response map.

Request Map:
  :input   - an input stream of the payload
  :context - an instance of `com.amazonaws.services.lambda.runtime.Context`

Response Map:
  :output - a String or anything coercible by `clojure.java.io/input-stream`
            to be returned as the response
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close