Liking cljdoc? Tell your friends :D

dynamodb.sign

Slightly improved version of clj-aws-sign: https://github.com/joseferben/clj-aws-sign

CHANGELOG:

  • drop ring.util.codec in favour of URLEncoder
  • format with cljfmt
  • type hints
Slightly improved version of clj-aws-sign:
https://github.com/joseferben/clj-aws-sign

CHANGELOG:
- drop `ring.util.codec` in favour of URLEncoder
- format with `cljfmt`
- type hints
raw docstring

authorizeclj

(authorize {:keys [method uri query headers payload date region service
                   access-key secret-key]})

Returns complete authorization header given data of request-to-sign including headers

Returns complete authorization header given data of request-to-sign including headers
sourceraw docstring

canonical-headersclj

(canonical-headers headers)
source

canonical-requestclj

(canonical-request {:keys [method uri query payload headers]})

Returns canonical request as string

Returns canonical request as string
sourceraw docstring

EMPTY_SHA256clj

source

iso8601-date-formatclj

source

signatureclj

(signature {:keys [secret-key short-timestamp region service string-to-sign]})

Returns hmac-256 signature given credential scope, secret and string-to-sign

Returns hmac-256 signature given credential scope, secret and string-to-sign
sourceraw docstring

string-to-signclj

(string-to-sign {:keys [timestamp method uri query payload short-timestamp
                        region service headers]})

Returns string to sign given data of request-to-sign

Returns string to sign given data of request-to-sign
sourceraw docstring

url-encodeclj

(url-encode string)
source

zone->endpointsclj

Mapping of AWS zones to S3 endpoints as documented here: http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region

Mapping of AWS zones to S3 endpoints as documented here:
http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
sourceraw docstring

zone->hostclj

(zone->host zone)

Maps a zone to the full host name

Maps a zone to the full host name
sourceraw docstring

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

× close