Liking cljdoc? Tell your friends :D

Data Types

AWS service descriptions define a number of data types for use in :request maps passed to cognitect.aws.client.api/invoke and responses. aws-api supports them as follows:

AWS typeClojure/java input typeClojure/java output type (if different)
structuremap with keyword keys
mapmap with arbitrary types for keys
listsequence
stringstring
charactercharacter
booleanboolean
doubledouble
floatdouble
longlong
integerlong
blobbyte[] or java.io.InputStream*java.io.InputStream
timestampjava.util.Date
  • for the time being, if you submit a java.io.InputStream for a blob, it must fit in memory.

You can validate that your request maps conform to these types by enabling clojure.spec-backed request validation during development:

(cognitect.aws.client.api/validate-requests client true)

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close