              WriteRequest]
             com.amazonaws.ClientConfiguration
             com.amazonaws.auth.BasicAWSCredentials
-            com.amazonaws.services.dynamodb.AmazonDynamoDBClient
+            com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient
             java.nio.ByteBuffer))
 
 ;;;; TODO Rotary PRs

   which were elided by Amazon are available in the returned map
   key :unprocessed-keys.

   Examples:
   (batch-get-item creds
     {:users [\"alice\" \"bob\"]
      :posts {:keys [1 2 3]
              :attrs [\"timestamp\" \"subject\"]
              :consistent true}})"
  [creds requests]
  (as-map
    (.batchGetItem

            [taoensso.timbre        :as timbre]
            [taoensso.nippy         :as nippy]
            [taoensso.faraday.utils :as utils])
  (:import  [com.amazonaws.services.dynamodbv2.model
             AttributeValue
             AttributeDefinition
             BatchGetItemRequest
             BatchGetItemResult
             ;; BatchResponse
             BatchWriteItemRequest
             BatchWriteItemResult
             ;; BatchWriteResponse
             Condition
             CreateTableRequest
             UpdateTableRequest
