yesod-s3-0.1.1: Simple Helper Library for using Amazon's Simple Storage Service (S3) with Yesod

Safe HaskellNone

Yesod.S3

Documentation

uploadImageSource

Arguments

:: AWSConnection 
-> FileInfo 
-> String

The Bucket Name

-> String

The Base Name

-> [((Int, Int), Int, String)]

Styles for resizing, the ints are upper borders

-> ErrorT UploadError IO [(String, String)]

Style and Object name

uploadFileSource

Arguments

:: AWSConnection 
-> FileInfo 
-> String

The Bucket Name

-> String

The Object Name

-> ErrorT UploadError IO () 

getLinkSource

Arguments

:: AWSConnection 
-> String

The Bucket Name

-> String

The Object Name

-> Integer

Seconds the Link should be valid

-> IO URI

IO is only used to get the current Time