 
 (defn global-2nd-indexes
   "Implementation detail.
-
   [{:name _ :hash-keydef _ :range-keydef _ :projection _ :throughput _} ...]
   indexes -> [GlobalSecondaryIndex ...]"
   [indexes]

  (letfn [(run1 [raw-req]
            (as-map
             (.batchWriteItem (db-client client-opts)
               ^BatchWriteItemRequest (batch-write-item-request return-cc? raw-req))))]
    (merge-more run1 span-reqs
      (run1
       (utils/name-map

         (throughput-steps [17 8] [3 22])
         (throughput-steps [1 1] [300 300]))

(defn update-table-request "Implementation detail."
  [table throughput]
  (doto (UpdateTableRequest.)
    (.setTableName (name table))
