(call afn-sym)
(call afn-sym event context)
(call afn-sym input output context)
Resolves the lambda function and calls it with the event and context. Returns the callable lambda function if only one argument is passed.
Resolves the lambda function and calls it with the event and context. Returns the callable lambda function if only one argument is passed.
(deflambda name doc-string? attrs-map? [event context] prepost-map? fn-body)
(deflambda name
doc-string?
attrs-map?
[input output context]
prepost-map?
fn-body)
Similiar to defn
, with the limitation that it only allows the
2 arity definition. Defined Lambda is safe to use either in Java Runtime or
with the Custom Runtime alongside this library.
Similiar to `defn`, with the limitation that it only allows the 2 arity definition. Defined Lambda is safe to use either in Java Runtime or with the Custom Runtime alongside this library.
(gen-main lambdas)
Generates the main function. The -main
is then used by AWS to run Custom runtime
which then proxies function names to corresponding handler
Generates the main function. The `-main` is then used by AWS to run Custom runtime which then proxies function names to corresponding handler
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close