Access to s3 resources via the io provider abstraction
Access to s3 resources via the io provider abstraction
(list-objects bucket
prefix
{:keys [:tech.io.s3/delimiter] :or {delimiter "/"} :as options})
(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
(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.
(s3-bucket-and-key->https-url
s3-bucket
s3-key
&
{:keys [:tech.io.s3/endpoint] :or {endpoint "us-west-2"} :as options})
(s3-url->https-url
s3-url
&
{:keys [:tech.io.s3/endpoint] :or {endpoint "us-west-2"} :as options})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close