Utility functionality for converting AWS event inputs & outputs to/from EDN.
from-aws handles :aws.event/type values of :api-gateway,
:notification (SNS & S3), and :scheduled.to-aws can handle :api-gateway.Utility functionality for converting AWS event inputs & outputs to/from EDN. - `from-aws` handles `:aws.event/type` values of `:api-gateway`, `:notification` (SNS & S3), and `:scheduled`. - `to-aws` can handle `:api-gateway`.
Interpret input map event as an AWS event input. The map's
:aws.event/type key will be used to inform transformations.
Interpret input map `event` as an AWS event input. The map's `:aws.event/type` key will be used to inform transformations.
(to-aws {:keys [aws.event/type] :as event})Inverse of from-aws, for response/output events. Defers
to to-aws*, and removes :aws.event/type, on the assumption that the
returned map will be passed to AWS.
Inverse of [[from-aws]], for response/output events. Defers to [[to-aws*]], and removes `:aws.event/type`, on the assumption that the returned map will be passed to AWS.
Interpret input map event as an AWS event output. The map's
:aws.event/type key will be used to inform transformations.
Interpret input map `event` as an AWS event output. The map's `:aws.event/type` key will be used to inform transformations.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |