(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.
(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.
(admin-delete-user! user-pool-id username)
Deletes user from cognito based on username
Deletes user from cognito based on username
(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
(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.
(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
(dynamo-batch-delete-device-ids! table-name device-id)
Deletes all device-id items from table
Deletes all device-id items from table
(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.
(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.
(dynamo-batch-put-request! put-request)
Submits batch put request as a future to dynamo
Submits batch put request as a future to dynamo
(dynamo-delete-device-ids! table-name device-id)
Deletes all device-id items from table
Deletes all device-id items from table
(dynamo-delete-key! table-name key)
Deletes all key from dynamo table
Deletes all key from dynamo table
(dynamo-put-camel-item! table-name {:keys [id device-id] :as item})
Puts a new item to dynamodb
Puts a new item to dynamodb
(dynamo-put-camel-items! table-name items)
Puts a new item to dynamodb
Puts a new item to dynamodb
(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.
(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.
(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.
(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.
(initiate-auth! client-id user-pool-id username password)
Initiate authentication with Cognito
Initiate authentication with Cognito
(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).
(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).
(list-user-pools)
(s3-delete-object! bucket path)
Deletes an object from s3
Deletes an object from s3
(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
(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
(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
(s3-list-objects! bucket prefix)
Lists objects in s3bucket
Lists objects in s3bucket
(s3-list-objects-keys! bucket prefix)
List all keys below prefix
List all keys below prefix
(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
(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
(s3-put-string! bucket path data)
PUT data to s3 bucket. Data is a string.
PUT data to s3 bucket. Data is a string.
(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.
(user! access-token)
Gets the user details from Cognito
Gets the user details from Cognito
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close