Liking cljdoc? Tell your friends :D

missinterpret.storage.utils.s3


bucket-exists?clj

(bucket-exists? config bucket)

bucket-objectsclj

(bucket-objects config bucket)

clientclj

(client config)

create-bucketclj

(create-bucket config bucket)

delete-bucketclj

(delete-bucket config bucket)

delete-objectclj

(delete-object {:keys [client-configuration bucket key] :as args})

Deletes the object from the bucket with the key. Throws an anomaly if the object does not delete.

Deletes the object from the bucket with the key. Throws an anomaly
if the object does not delete.
raw docstring

get-objectclj

(get-object {:keys [client-configuration bucket key]
             :source.range/keys [start end]
             :as args})

Get's the object from the given bucket. Supports range requests returning a cognitect anomaly map if the aws call fails.

NOTE: :storage.block.read/start and :storage.block.read/end follow Clojure indexing but s3 range is 1 indexed. This fn adds 1 to a given start parameter.

Get's the object from the given bucket. Supports range requests returning
 a cognitect anomaly map if the aws call fails.

NOTE: `:storage.block.read/start` and `:storage.block.read/end` follow Clojure indexing
       but s3 range is 1 indexed. This fn adds 1 to a given start parameter.
raw docstring

key-idclj

(key-id {:keys [key]})

list-bucketsclj

(list-buckets config)

object-exists?clj

(object-exists? {:keys [client-configuration bucket key]})

object-last-modifiedclj

(object-last-modified {:keys [client-configuration bucket key] :as args})

object-sizeclj

(object-size {:keys [client-configuration bucket key] :as args})

parse-s3-uriclj

(parse-s3-uri uri)

put-objectclj

(put-object {:keys [client-configuration bucket key]
             :storage/keys [input-stream]
             :provider/keys [availability]
             :as args})

Adds the object to the given object with the key. Supports setting the storage tier that maps to availability via the optional :storage.access/availablility argument:

Throws an anomaly if the put object call fails.

Adds the object to the given object with the key. Supports setting the
storage tier that maps to availability via the optional
`:storage.access/availablility` argument:

Throws an anomaly if the put object call fails.
raw docstring

s3-ref->uriclj

(s3-ref->uri bucket key)

uri-exists?clj

(uri-exists? config s3-uri)

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

× close