Liking cljdoc? Tell your friends :D

cognitect.aws.shape

Impl, don't call directly.

Functions to leverage the shapes defined in the AWS API descriptions.

Terminology:

shape A value parsed from the JSON API description that specifies the shape of the input or output of an AWS operation. composite shape A shape made of other shapes. instance An instance of a shape.

AWS defines 8 primitive shapes: string, timestamp, boolean, blob, integer, long, double, and float and 3 composite shapes: structure, list, and map.

Impl, don't call directly.

Functions to leverage the shapes defined in the AWS API descriptions.

Terminology:

shape             A value parsed from the JSON API description that specifies the shape of the
                  input or output of an AWS operation.
composite shape   A shape made of other shapes.
instance          An instance of a shape.

AWS defines 8 primitive shapes: string, timestamp, boolean, blob, integer, long, double, and float
and 3 composite shapes: structure, list, and map.
raw docstring

dataclj

(data nodes)
source

format-dateclj

(format-date shape data)
(format-date shape data default-format-fn)
source

handle-listclj

(handle-list shape data f)
source

handle-mapclj

(handle-map shape data f)
source

json-parseclj

(json-parse shape s)

Parse the JSON string to return an instance of the shape.

Parse the JSON string to return an instance of the shape.
sourceraw docstring

json-parse*cljmultimethod

source

json-serializeclj

(json-serialize shape instance)

Serialize the shape's instance into a JSON string.

Serialize the shape's instance into a JSON string.
sourceraw docstring

json-serialize*cljmultimethod

source

key-shapeclj

(key-shape shape)

Resolve and return the maps' key shape.

Resolve and return the maps' key shape.
sourceraw docstring

list-member-shapeclj

(list-member-shape shape)

Resolve and return the list member shape.

Resolve and return the list member shape.
sourceraw docstring

member-shapeclj

(member-shape shape k)

Resolve and return the member shape.

Resolve and return the member shape.
sourceraw docstring

parse-dateclj

(parse-date shape data)
source

resolveclj

(resolve shape shape-ref)

Resolve the shape reference.

Resolve the shape reference.
sourceraw docstring

resolve-shapeclj

(resolve-shape shapes shape-ref)

Resolve the shape reference, shape-ref. Return the shape if found, otherwise nil.

A shape reference is a map with the name of another shape under the :shape key.

If the shape reference contains other keys, they will be added to the shape.

Resolve the shape reference, `shape-ref`. Return the shape if found, otherwise nil.

A shape reference is a map with the name of another shape under the :shape key.

If the shape reference contains other keys, they will be added to the shape.
sourceraw docstring

value-shapeclj

(value-shape shape)

Resolve and return the map's value shape.

Resolve and return the map's value shape.
sourceraw docstring

with-resolverclj

(with-resolver {:keys [shapes] :as meta} shape-ref)

Resolve the shape reference and augment it with a resolver so you can call resolve on it.

Resolve the shape reference and augment it with a resolver so you can call `resolve` on it.
sourceraw docstring

xml-parseclj

(xml-parse shape s)

Parse the XML string and return an instance of the shape.

Parse the XML string and return an instance of the shape.
sourceraw docstring

xml-parse*cljmultimethod

source

xml-serializeclj

(xml-serialize shape instance el-name)

Serialize the shape's instance into a XML string. el-name is the name of the root element.

Serialize the shape's instance into a XML string.
el-name is the name of the root element.
sourceraw docstring

xml-serialize*cljmultimethod

source

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

× close