The core Franklin library.
The core Franklin library.
(batch-get-item {:keys [table-name] :as table-context}
{:keys [keys consistent? expr-attr-names projections ch]})
BatchGetItem request.
Alpha. Subject to change.
BatchGetItem request. Alpha. Subject to change.
(batch-write-item {:keys [table-name] :as table-context}
{:keys [items return-cc return-item-coll-metrics sync? ch]})
BatchWriteItem request.
Alpha. Subject to change.
BatchWriteItem request. Alpha. Subject to change.
(delete-item table-context {:keys [item key sync? ch] :as item-opts})
DeleteItem request.
Alpha. Subject to change.
DeleteItem request. Alpha. Subject to change.
(describe-table {:keys [table-name] :as table-context})
DescribeTable request.
Alpha. Subject to change.
DescribeTable request. Alpha. Subject to change.
(get-item {:keys [table-name] :as table-context}
{:keys [item key projections expr-attr-names return-cc ch]})
GetItem request.
Alpha. Subject to change.
GetItem request. Alpha. Subject to change.
(invoke op client-opts request & [ch])
Wraps aws-api's async invoke function accepts client-opts
consisting of either a cognitect.aws.client.api/client
config map, or a map containing:
:client - An existing aws-api DynamoDB client, consistent with Franklin's table context.
Alpha. Subject to change.
Wraps aws-api's async invoke function accepts `client-opts` consisting of either a `cognitect.aws.client.api/client` config map, or a map containing: :client - An existing aws-api DynamoDB client, consistent with Franklin's table context. Alpha. Subject to change.
(make-table-context table-name & [client-opts])
Given a table-name
and an optional set of client-opts
in the same format as cognitect.aws.client.api/client
config map. make-table-context
constructs a map consisting of:
:client - The aws-api DynamoDB client. :table-name - The name of the table. :partition-key-name - The name of the partition key for the table. :sort-key-name - The name of the sort key for the table, if it exists. :key-keywords - The partition key and sort key as a vector of keywords.
Alpha. Subject to change.
Given a `table-name` and an optional set of `client-opts` in the same format as `cognitect.aws.client.api/client` config map. `make-table-context` constructs a map consisting of: :client - The aws-api DynamoDB client. :table-name - The name of the table. :partition-key-name - The name of the partition key for the table. :sort-key-name - The name of the sort key for the table, if it exists. :key-keywords - The partition key and sort key as a vector of keywords. Alpha. Subject to change.
(put-item table-context {:keys [item key sync? ch] :as item-opts})
PutItem request.
Alpha. Subject to change.
PutItem request. Alpha. Subject to change.
(query table-context {:keys [ch] :as query-opts})
Query request with items converted to Clojure data types.
Alpha. Subject to change.
Query request with items converted to Clojure data types. Alpha. Subject to change.
(scan table-context & [{:keys [segment total-segments ch] :as scan-opts}])
Scan request with items converted to Clojure data types.
Alpha. Subject to change.
Scan request with items converted to Clojure data types. Alpha. Subject to change.
(update-item table-context
{:keys [item key update-expr sync? ch] :as item-opts})
UpdateItem request.
Alpha. Subject to change.
UpdateItem request. Alpha. Subject to change.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close