        (.setReturnValues (utils/enum return))))))
 
 (defn update-item
-  "Updates an item in a table by its hash key, {attr match-value}.
+  "Updates an item in a table by its hash key, {:attr match-value}.
   See `put-item` for option docs."
   [creds table hash-key update-map & [{:keys [return expected]
                                        :or   {return :none}}]]

;;;; API - items

(defn get-item
  "Retrieves an item from a table by its hash key, {attr match-value}."
  [creds table hash-key & [{:keys [consistent? attrs-to-get]}]]
  (as-map
   (.getItem (db-client creds)

       (.setReturnValues     (utils/enum return))))))

(defn delete-item
  "Deletes an item from a table by its hash key, {:attr match-value}.
  See `put-item` for option docs."
  [creds table hash-key & [{:keys [return expected]
                            :or   {return :none}}]]
