Liking cljdoc? Tell your friends :D

tech.io.s3

Access to s3 resources via the io provider abstraction

Access to s3 resources via the io provider abstraction
raw docstring

byte-array-to-md5clj

(byte-array-to-md5 byte-data)
source

delete-object!clj

(delete-object! bucket k options)
source

empty-file-md5clj

source

get-content-typeclj

(get-content-type fname)
source

get-objectclj

(get-object bucket k options)
source

get-object-metadataclj

(get-object-metadata bucket key options)
source

is-expired-token?clj

(is-expired-token? exception)
source

is-invalid-access-key?clj

(is-invalid-access-key? exception)
source

is-null-access-key?clj

(is-null-access-key? exception)
source

lazy-object-list-seqclj

(lazy-object-list-seq bucket prefix options)
source

list-objectsclj

(list-objects bucket
              prefix
              {:keys [:tech.io.s3/delimiter] :or {delimiter "/"} :as options})
source

list-some-objectsclj

(list-some-objects bucket
                   prefix
                   {:keys [:tech.io.s3/marker :tech.io.s3/delimiter]
                    :or {delimiter "/"}
                    :as options})

List objects given a bucket and prefix

List objects given a bucket and prefix
sourceraw docstring

put-object!clj

(put-object! bucket
             k
             v
             {:keys [:tech.io.s3/metadata :tech.io.s3/verify-md5?]
              :or {metadata {}}
              :as options})

Lots of smarts around put-object to ensure the entire object is written correctly or the write fails. We check md5 hash if possible and we attempt to set the content type in order to ensure that if, for instance, you write a jpeg to an open bucket that jpeg is accessible via the browser using a normal https request.

Lots of smarts around put-object to ensure the entire object is written correctly
or the write fails.  We check md5 hash if possible and we attempt to set the content type
in order to ensure that if, for instance, you write a jpeg to an open bucket that jpeg
is accessible via the browser using a normal https request.
sourceraw docstring

s3-bucket-and-key->https-urlclj

(s3-bucket-and-key->https-url
  s3-bucket
  s3-key
  &
  {:keys [:tech.io.s3/endpoint] :or {endpoint "us-west-2"} :as options})
source

s3-bucket-key->urlclj

(s3-bucket-key->url bucket key)
source

s3-providerclj

(s3-provider default-options)
source

s3-url->https-urlclj

(s3-url->https-url
  s3-url
  &
  {:keys [:tech.io.s3/endpoint] :or {endpoint "us-west-2"} :as options})
source

url-parts->bucketclj

(url-parts->bucket {:keys [path]})
source

url-parts->keyclj

(url-parts->key {:keys [path]})
source

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

× close