Need help with clj-aws-s3?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

weavejester
198 Stars 105 Forks 111 Commits 32 Opened issues

Description

S3 client library for Clojure

Services available

!
?

Need anything else?

Contributors list

# 16,797
Clojure
repl
Clojure...
epl
66 commits
# 78,397
Clojure
beagleb...
Raspber...
Arduino
2 commits
# 510,540
Clojure
Shell
2 commits
# 113,370
Java
Shell
Clojure
1 commit
# 512,682
Clojure
hiccup
React
Clojure...
1 commit
# 670,881
Clojure
1 commit
# 126,933
Clojure
HTML
Emacs
emacs-l...
1 commit
# 37,087
Clojure
Rails
postgre...
slack
1 commit
# 549,402
HTML
Shell
Clojure
1 commit
# 643,063
Clojure
Shell
CSS
1 commit
# 121,084
Clojure
Zsh
wkhtmlt...
repl
1 commit

clj-aws-s3

DEPRECATION NOTICE

This project is DEPRECATED and UNMAINTAINED. A better alternative to this library is to use Amazonica. Alternatively, you're more than welcome to fork this project.

Introduction

A Clojure library for accessing Amazon S3, based on the official AWS Java SDK.

Although there are a few S3 clients for Clojure around, this library aims to provide a more complete implementation, with metadata, streams and protocols for uploading different types of data.

Currently the library supports functions to create, list and delete buckets, to list, get, and put objects and their metadata, and to get and update the access control lists (ACLs) for buckets and objects.

Install

Add the following dependency to your

project.clj
file:
[clj-aws-s3 "0.3.10"]

Example

(require '[aws.sdk.s3 :as s3])

(def cred {:access-key "...", :secret-key "..."})

(s3/create-bucket cred "my-bucket")

(s3/put-object cred "my-bucket" "some-key" "some-value")

(s3/update-object-acl cred "my-bucket" "some-key" (s3/grant :all-users :read))

(println (slurp (:content (s3/get-object cred "my-bucket" "some-key"))))

Documentation

License

Copyright © 2014 James Reeves

Distributed under the Eclipse Public License, the same as Clojure.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.