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.
(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.
(json-serialize shape instance)
Serialize the shape's instance into a JSON string.
Serialize the shape's instance into a JSON string.
(key-shape shape)
Resolve and return the maps' key shape.
Resolve and return the maps' key shape.
(list-member-shape shape)
Resolve and return the list member shape.
Resolve and return the list member shape.
(member-shape shape k)
Resolve and return the member shape.
Resolve and return the member shape.
(resolve shape shape-ref)
Resolve the shape reference.
Resolve the shape reference.
(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.
(value-shape shape)
Resolve and return the map's value shape.
Resolve and return the map's value shape.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close