(bucket-exists? s3 bucket)
Determines if the specified bucket exists.
Returns true if found, false if not.
Determines if the specified bucket exists. Returns true if found, false if not.
(destroy s3 bucket key)
Deletes a document from an s3 bucket.
Deletes a document from an s3 bucket.
(destroy* s3 bucket key)
Deletes a document from an s3 bucket.
Returns an AWS DeleteObjectResult
wrapped in a Success
object if successful, Failure
if not.
Deletes a document from an s3 bucket. Returns an AWS `DeleteObjectResult` wrapped in a `Success` object if successful, `Failure` if not.
(fetch s3 bucket key & opts)
Fetches a document from an s3 bucket. Accepts an optional sequence of keywords: :meta - indicates whether to return metadata long with the document content. When supplied, and map is returned with the the document as the :content key and metadata as other keys in the map.
Fetches a document from an s3 bucket. Accepts an optional sequence of keywords: :meta - indicates whether to return metadata long with the document content. When supplied, and map is returned with the the document as the :content key and metadata as other keys in the map.
(fetch* s3 bucket key & opts)
Fetches a document from an s3 bucket. Accepts an optional sequence of keywords: :meta - indicates whether to return metadata long with the document content. When supplied, and map is returned with the the document as the :content key and metadata as other keys in the map.
Returns the s3 object wrapped in a Success
object if successful, Failure
if not.
Fetches a document from an s3 bucket. Accepts an optional sequence of keywords: :meta - indicates whether to return metadata long with the document content. When supplied, and map is returned with the the document as the :content key and metadata as other keys in the map. Returns the s3 object wrapped in a `Success` object if successful, `Failure` if not.
(list-keys s3 bucket)
Lists all of the keys in the specified s3 bucket.
Lists all of the keys in the specified s3 bucket.
(store s3 bucket key value & {:keys [meta]})
Stores a document in a s3 bucket. Accepts the following optional arguments: :meta - a map of meta-data to store along with the document.
Stores a document in a s3 bucket. Accepts the following optional arguments: :meta - a map of meta-data to store along with the document.
(store* s3 bucket key value & {:keys [meta]})
Attempts to store a document in a s3 bucket. Accepts the following optional arguments: :meta - a map of meta-data to store along with the document.
Returns an AWS PutObjectResult
wrapped in a Success
object.
Attempts to store a document in a s3 bucket. Accepts the following optional arguments: :meta - a map of meta-data to store along with the document. Returns an AWS `PutObjectResult` wrapped in a `Success` object.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close