Liking cljdoc? Tell your friends :D

beam-aws.core


admin-confirm-signup!

(admin-confirm-signup! user-pool-id email)

Verifies a user in Cognito. Returns empty map - not sure this AWS function doesn't return anything.

Verifies a user in Cognito. Returns empty map - not sure
this AWS function doesn't return anything.
raw docstring

admin-create-user!

(admin-create-user! user-pool-id username attributes)

Creates a user in Cognito. Attributes in map format.

Creates a user in Cognito. Attributes in map format.
raw docstring

admin-delete-user!

(admin-delete-user! user-pool-id username)

Deletes user from cognito based on username

Deletes user from cognito based on username
raw docstring

admin-get-user!

(admin-get-user! user-pool-id username)

Gets the user details from cognito without need for access token

Gets the user details from cognito without need for access token
raw docstring

admin-update-user-attributes!

(admin-update-user-attributes! user-pool-id username attributes)

Updates the user's attributes - some or all. Attributes as a map.

Updates the user's attributes - some or all. Attributes as a map.
raw docstring

delete-camel-item-from-dynamo!

(delete-camel-item-from-dynamo! table-name hash-key)

Deletes all entries with a particular device-id

Deletes all entries with a particular device-id
raw docstring

dynamo-batch-delete-device-ids!

(dynamo-batch-delete-device-ids! table-name device-id)

Deletes all device-id items from table

Deletes all device-id items from table
raw docstring

dynamo-batch-put-camel-items!

(dynamo-batch-put-camel-items! table-name items)

Puts new items to dynamodb by calling batch-put-items-dynamo! with each 25 item partition.

Puts new items to dynamodb by calling `batch-put-items-dynamo!`
with each 25 item partition.
raw docstring

dynamo-batch-put-items!

(dynamo-batch-put-items! table-name items)

Puts new items to dynamodb and loops until all items have been successfully put to dynamo.

Puts new items to dynamodb and loops until all items have been successfully
put to dynamo.
raw docstring

dynamo-batch-put-request!

(dynamo-batch-put-request! put-request)

Submits batch put request as a future to dynamo

Submits batch put request as a future to dynamo
raw docstring

dynamo-delete-device-ids!

(dynamo-delete-device-ids! table-name device-id)

Deletes all device-id items from table

Deletes all device-id items from table
raw docstring

dynamo-delete-key!

(dynamo-delete-key! table-name key)

Deletes all key from dynamo table

Deletes all key from dynamo table
raw docstring

dynamo-put-camel-item!

(dynamo-put-camel-item! table-name {:keys [id device-id], :as item})

Puts a new item to dynamodb

Puts a new item to dynamodb
raw docstring

dynamo-put-camel-items!

(dynamo-put-camel-items! table-name items)

Puts a new item to dynamodb

Puts a new item to dynamodb
raw docstring

dynamo-query!

(dynamo-query! table-name
               partition-key
               partition-key-type
               value
               attributes)
(dynamo-query! table-name
               partition-key
               partition-key-type
               value
               attributes
               last-evaluated-key)

Scan table-name for items based on attribute value. Only returns the first 1MB of data (pre-filter size). This function is multi-arity. If called with last-evaluated-key, it will return as many items as possible from this point forward.

Scan table-name for items based on attribute value. Only returns the first 1MB
of data (pre-filter size). This function is multi-arity. If called with
last-evaluated-key, it will return as many items as possible from this point
forward.
raw docstring

dynamo-query-all!

(dynamo-query-all! table-name
                   attribute
                   attribute-type
                   value
                   attributes)

Scan table-name for items based on attribute value. Scans dynamo table and filters result based on attribute = value. Returns map of attributes (list of keynames) and value. Will loop through scan until all matching values from table are returned.

Scan table-name for items based on attribute value.
Scans dynamo table and filters result based on attribute = value.
Returns map of attributes (list of keynames) and value. Will loop through scan
until all matching values from table are returned.
raw docstring

dynamo-scan!

(dynamo-scan! table-name attribute attribute-type value attributes)
(dynamo-scan! table-name
              column
              column-type
              value
              attributes
              last-evaluated-key)

Scan table-name for items based on attribute value. Only returns the first 1MB of data (pre-filter size). This function is multi-arity. If called with last-evaluated-key, it will return as many items as possible from this point forward.

Scan table-name for items based on attribute value. Only returns the first 1MB
of data (pre-filter size). This function is multi-arity. If called with
last-evaluated-key, it will return as many items as possible from this point
forward.
raw docstring

dynamo-scan-all!

(dynamo-scan-all! table-name
                  attribute
                  attribute-type
                  value
                  attributes)

Scan table-name for items based on attribute value. Scans dynamo table and filters result based on attribute = value. Returns map of attributes (list of keynames) and value. Will loop through scan until all matching values from table are returned.

Scan table-name for items based on attribute value.
Scans dynamo table and filters result based on attribute = value.
Returns map of attributes (list of keynames) and value. Will loop through scan
until all matching values from table are returned.
raw docstring

initiate-auth!

(initiate-auth! client-id user-pool-id username password)

Initiate authentication with Cognito

Initiate authentication with Cognito
raw docstring

invoke-lambda!

(invoke-lambda! function-name)
(invoke-lambda! function-name payload)

Invokes a lambda function based on function-name and optional payload (a map).

Invokes a lambda function based on `function-name` and optional
`payload` (a map).
raw docstring

invoke-lambda-&-retry!

(invoke-lambda-&-retry! function-name retries)
(invoke-lambda-&-retry! function-name retries payload)

Invokes a lambda function based on function-name, retries which is the number of times to re-attempt invocation, and optional payload (a map).

Invokes a lambda function based on `function-name`, `retries` which is the
number of times to re-attempt invocation, and optional `payload` (a map).
raw docstring

list-user-pools

(list-user-pools)

s3-delete-object!

(s3-delete-object! bucket path)

Deletes an object from s3

Deletes an object from s3
raw docstring

s3-delete-objects!

(s3-delete-objects! bucket prefix)

Deletes all objects from bucket and with prefix from s3

Deletes all objects from `bucket` and with `prefix` from s3
raw docstring

s3-get-camel-json!

(s3-get-camel-json! bucket key)

Returns the json object converting the resutl from camel to kebab case

Returns the json object converting the resutl from camel to kebab case
raw docstring

s3-get-json!

(s3-get-json! bucket key)

Given an s3 bucket and key, will return a map of the json

Given an s3 bucket and key, will return a map of the json
raw docstring

s3-list-objects!

(s3-list-objects! bucket prefix)

Lists objects in s3bucket

Lists objects in s3bucket
raw docstring

s3-list-objects-keys!

(s3-list-objects-keys! bucket prefix)

List all keys below prefix

List all keys below prefix
raw docstring

s3-put-camel-json!

(s3-put-camel-json! bucket path data)

PUT this data as json to to the path in the S3 bucket

PUT this data as json to to the path in the S3 bucket
raw docstring

s3-put-json!

(s3-put-json! bucket path data)

PUT this data as json to to the path in the S3 bucket

PUT this data as json to to the path in the S3 bucket
raw docstring

s3-put-string!

(s3-put-string! bucket path data)

PUT data to s3 bucket. Data is a string.

PUT data to s3 bucket. Data is a string.
raw docstring

sign-up!

(sign-up! client-id username password)
(sign-up! client-id username password user-attributes)

Creates a user in Cognito. Optional attributes provided in map format.

Creates a user in Cognito. Optional attributes provided in map format.
raw docstring

sleep-ms


sleep-s


user!

(user! access-token)

Gets the user details from Cognito

Gets the user details from Cognito
raw docstring

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

× close