API for noir.util.s3 - Noir ()


Usage:
(ns your-namespace
  (:require noir.util.s3))

Overview

Basic S3 utils

Public Variables and Functions



list

function
Usage: (list bucket prefix)
List all files in the bucket with the given prefix


put!

function
Usage: (put! bucket file)
Put the given file on S3 where bucket is the string name of the S3 bucket to use.


rename!

function
Usage: (rename! bucket file new-file)
Rename the given file on S3


service

function
Usage: (service {secret :secret-key, access :access-key})
Create an S3 service object


with-s3

macro
Usage: (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
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.