s3-signer-0.4.0.0: Pre-signed Amazon S3 URLs

Safe HaskellNone
LanguageHaskell2010

Network.S3

Contents

Synopsis

Create pre-signed AWS S3 URL

generateS3URL Source #

Arguments

:: ByteString

Amazon S3 SecretAccessKey

-> S3Request

Amazon S3 Request information

-> IO S3SignedRequest

Generated Request

Types

data S3Method Source #

Constructors

S3GET

GET Request

S3PUT

PUT Request

S3HEAD

HEAD Request

S3DELETE

DELETE Request

Instances

Show S3Method Source # 
Generic S3Method Source # 

Associated Types

type Rep S3Method :: * -> * #

Methods

from :: S3Method -> Rep S3Method x #

to :: Rep S3Method x -> S3Method #

type Rep S3Method Source # 
type Rep S3Method = D1 * (MetaData "S3Method" "Network.S3.Types" "s3-signer-0.4.0.0-5QkY5Bn6vMOLtuqFRDFo5R" False) ((:+:) * ((:+:) * (C1 * (MetaCons "S3GET" PrefixI False) (U1 *)) (C1 * (MetaCons "S3PUT" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "S3HEAD" PrefixI False) (U1 *)) (C1 * (MetaCons "S3DELETE" PrefixI False) (U1 *))))

data S3Request Source #

Constructors

S3Request 

Fields

Instances

Show S3Request Source # 
Generic S3Request Source # 

Associated Types

type Rep S3Request :: * -> * #

type Rep S3Request Source # 

data S3SignedRequest Source #

Constructors

S3SignedRequest 

Fields

data S3Header Source #

Instances

Show S3Header Source # 
Generic S3Header Source # 

Associated Types

type Rep S3Header :: * -> * #

Methods

from :: S3Header -> Rep S3Header x #

to :: Rep S3Header x -> S3Header #

type Rep S3Header Source # 
type Rep S3Header = D1 * (MetaData "S3Header" "Network.S3.Types" "s3-signer-0.4.0.0-5QkY5Bn6vMOLtuqFRDFo5R" True) (C1 * (MetaCons "S3Header" PrefixI True) (S1 * (MetaSel (Just Symbol "getS3Header") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (ByteString, ByteString))))