Basic S3 utils
Basic S3 utils
(list bucket prefix)
List all files in the bucket with the given prefix
List all files in the bucket with the given prefix
(put! bucket file)
Put the given file on S3 where bucket is the string name of the S3 bucket to use.
Put the given file on S3 where bucket is the string name of the S3 bucket to use.
(rename! bucket file new-file)
Rename the given file on S3
Rename the given file on S3
(service {secret :secret-key access :access-key})
Create an S3 service object
Create an S3 service object
(with-s3 server-spec & body)
Given a server-spec which contains {:secret-key :access-key} execute the given body within the context of an S3 connection
Given a server-spec which contains {:secret-key :access-key} execute the given body within the context of an S3 connection
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close