Liking cljdoc? Tell your friends :D

scarif.dynamodb


assoc!clj

(assoc! spec k v)
source

default-key-attribute-nameclj

source

default-table-nameclj

source

default-value-attribute-nameclj

source

getclj

(get
  {:keys [table-name key-attribute-name value-attribute-name ddb-client region]
   :or {table-name (clojure.core/deref default-table-name)
        key-attribute-name (clojure.core/deref default-key-attribute-name)
        value-attribute-name (clojure.core/deref default-value-attribute-name)
        region "us-west-2"}}
  k)

Get the current value of k in dynamodb.

Get the current value of k in dynamodb.
sourceraw docstring

init!clj

(init! &
       {:keys [region poll-frequency url-configuration? system-configuration?
               env-configuration?]
        :or {region "us-west-2"
             poll-frequency 60000
             url-configuration? true
             system-configuration? true
             env-configuration? true}})

Initialize Archaius for dynamodb polling.

Optional keys:

:region -- The AWS region to connect to. Defaults to us-west-2. :poll-frequency -- The frequency to poll dynamodb for config changes, in milliseconds. Defaults to 60000. :url-configuration? -- Whether to install a DynamicURLConfiguration in the config chain (true). :system-configuration? -- Whether to install a SystemConfiguration in the config chain (true). :env-configuration? -- Whether to install a EnvironmentConfiguration in the config chain (true).

Initialize Archaius for dynamodb polling.

Optional keys:

:region -- The AWS region to connect to. Defaults to us-west-2.
:poll-frequency -- The frequency to poll dynamodb for config changes, in milliseconds. Defaults to 60000.
:url-configuration? -- Whether to install a DynamicURLConfiguration in the config chain (true).
:system-configuration? -- Whether to install a SystemConfiguration in the config chain (true).
:env-configuration? -- Whether to install a EnvironmentConfiguration in the config chain (true).
sourceraw docstring

named-to-strclj

(named-to-str n)
source

update!clj

(update!
  {:keys [table-name key-attribute-name value-attribute-name ddb-client region]
   :or {table-name (clojure.core/deref default-table-name)
        key-attribute-name (clojure.core/deref default-key-attribute-name)
        value-attribute-name (clojure.core/deref default-value-attribute-name)
        region "us-west-2"}}
  k
  f
  &
  args)

Update an entry in dynamodb. Returns new value.

Update an entry in dynamodb. Returns new value.
sourceraw docstring

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

× close