Liking cljdoc? Tell your friends :D

cognitect.aws.protocols.rest

Impl, don't call directly.

Common feature across the rest protocols (rest-json, rest-xml).

Impl, don't call directly.

Common feature across the rest protocols (rest-json, rest-xml). 
raw docstring

append-querystringclj

(append-querystring uri shape args)

Append the map of arguments args to the uri's querystring.

Append the map of arguments args to the uri's querystring.
sourceraw docstring

build-http-requestclj

(build-http-request {:keys [shapes operations metadata] :as service}
                    {:keys [op request] :as op-map}
                    serialize-body-args)
source

parse-bodyclj

(parse-body output-shape body parse-fn)

Parse the HTTP response body for response data.

Parse the HTTP response body for response data.
sourceraw docstring

parse-header-valuecljmultimethod

Parse a shape from an HTTP header value.

Parse a shape from an HTTP header value.
sourceraw docstring

parse-http-responseclj

(parse-http-response service
                     {:keys [op] :as op-map}
                     {:keys [status body] :as http-response}
                     parse-body-str
                     parse-error)
source

parse-non-payload-attrsclj

(parse-non-payload-attrs {:keys [type members] :as output-shape}
                         {:keys [status headers] :as http-response})

Parse HTTP status and headers for response data.

Parse HTTP status and headers for response data.
sourceraw docstring

partition-argsclj

(partition-args shape args)

Partition the arguments by their location.

Partition the arguments by their location.
sourceraw docstring

serialize-bodyclj

(serialize-body input-shape-name input-shape args serialize)
source

serialize-header-valuecljmultimethod

Serialize a primitive shape in a HTTP header.

Serialize a primitive shape in a HTTP header.
sourceraw docstring

serialize-headersclj

(serialize-headers shape args)

Serialize the map of arguments into a map of HTTP headers.

Serialize the map of arguments into a map of HTTP headers.
sourceraw docstring

serialize-qs-argscljmultimethod

Return a list of key-value pairs to serialize in the query string.

Return a list of key-value pairs to serialize in the query string.
sourceraw docstring

serialize-uriclj

(serialize-uri uri-template {:keys [required] :as input-shape} args)

Take a URI template, an input-shape, and a map of values and replace the parameters by their values. Throws if args is missing any keys that are required in input-shape.

Take a URI template, an input-shape, and a map of values and replace the parameters by their values.
Throws if args is missing any keys that are required in input-shape.
sourceraw docstring

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

× close