aws-0.24.1: Amazon Web Services (AWS) for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Aws.S3.Core

Synopsis

Documentation

data S3Authorization #

Instances

Instances details
Show S3Authorization # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> S3Authorization -> ShowS #

show :: S3Authorization -> String #

showList :: [S3Authorization] -> ShowS #

data RequestStyle #

Constructors

PathStyle

Requires correctly setting region endpoint, but allows non-DNS compliant bucket names in the US standard region.

BucketStyle

Bucket name must be DNS compliant.

VHostStyle 

Instances

Instances details
Show RequestStyle # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> RequestStyle -> ShowS #

show :: RequestStyle -> String #

showList :: [RequestStyle] -> ShowS #

data S3SignPayloadMode #

Constructors

AlwaysUnsigned

Always use the "UNSIGNED-PAYLOAD" option.

SignWithEffort

Sign the payload when RequestBody is a on-memory one (RequestBodyLBS or RequestBodyBS). Otherwise use the "UNSINGED-PAYLOAD" option.

AlwaysSigned

Always sign the payload. Note: error called when RequestBody is a streaming one.

Instances

Instances details
Read S3SignPayloadMode # 
Instance details

Defined in Aws.S3.Core

Show S3SignPayloadMode # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> S3SignPayloadMode -> ShowS #

show :: S3SignPayloadMode -> String #

showList :: [S3SignPayloadMode] -> ShowS #

Eq S3SignPayloadMode # 
Instance details

Defined in Aws.S3.Core

data S3SignVersion #

Instances

Instances details
Read S3SignVersion # 
Instance details

Defined in Aws.S3.Core

Show S3SignVersion # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> S3SignVersion -> ShowS #

show :: S3SignVersion -> String #

showList :: [S3SignVersion] -> ShowS #

Eq S3SignVersion # 
Instance details

Defined in Aws.S3.Core

type ErrorCode = Text #

data S3Error #

Instances

Instances details
Exception S3Error # 
Instance details

Defined in Aws.S3.Core

Show S3Error # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> S3Error -> ShowS #

show :: S3Error -> String #

showList :: [S3Error] -> ShowS #

data S3Metadata #

Constructors

S3Metadata 

Fields

Instances

Instances details
Loggable S3Metadata # 
Instance details

Defined in Aws.S3.Core

Methods

toLogText :: S3Metadata -> Text #

Monoid S3Metadata # 
Instance details

Defined in Aws.S3.Core

Semigroup S3Metadata # 
Instance details

Defined in Aws.S3.Core

Methods

(<>) :: S3Metadata -> S3Metadata -> S3Metadata #

sconcat :: NonEmpty S3Metadata -> S3Metadata #

stimes :: Integral b => b -> S3Metadata -> S3Metadata #

Show S3Metadata # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> S3Metadata -> ShowS #

show :: S3Metadata -> String #

showList :: [S3Metadata] -> ShowS #

s3UriEncode #

Arguments

:: Bool

Whether encode slash characters

-> ByteString 
-> ByteString 

s3RenderQuery #

Arguments

:: Bool

Whether prepend a question mark

-> Query 
-> ByteString 

s3ExtractRegion :: ByteString -> ByteString #

Extract a S3 region from the S3 endpoint. AWS encodes the region names in the hostnames of endpoints in a way that makes this possible, see: http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region For other S3 implementations, may instead need to specify s3Region.

type CanonicalUserId = Text #

data UserInfo #

Constructors

UserInfo 

Instances

Instances details
Show UserInfo # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> UserInfo -> ShowS #

show :: UserInfo -> String #

showList :: [UserInfo] -> ShowS #

data CannedAcl #

Instances

Instances details
Show CannedAcl # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> CannedAcl -> ShowS #

show :: CannedAcl -> String #

showList :: [CannedAcl] -> ShowS #

data StorageClass #

Instances

Instances details
Show StorageClass # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> StorageClass -> ShowS #

show :: StorageClass -> String #

showList :: [StorageClass] -> ShowS #

data ServerSideEncryption #

Constructors

AES256 

Instances

Instances details
Show ServerSideEncryption # 
Instance details

Defined in Aws.S3.Core

type Bucket = Text #

data BucketInfo #

Instances

Instances details
Show BucketInfo # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> BucketInfo -> ShowS #

show :: BucketInfo -> String #

showList :: [BucketInfo] -> ShowS #

type Object = Text #

data ObjectId #

Constructors

ObjectId 

Instances

Instances details
Show ObjectId # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> ObjectId -> ShowS #

show :: ObjectId -> String #

showList :: [ObjectId] -> ShowS #

data ObjectInfo #

Instances

Instances details
Show ObjectInfo # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> ObjectInfo -> ShowS #

show :: ObjectInfo -> String #

showList :: [ObjectInfo] -> ShowS #

ListResponse GetBucketResponse ObjectInfo # 
Instance details

Defined in Aws.S3.Commands.GetBucket

data ObjectMetadata #

Instances

Instances details
Show ObjectMetadata # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> ObjectMetadata -> ShowS #

show :: ObjectMetadata -> String #

showList :: [ObjectMetadata] -> ShowS #

type LocationConstraint = Text #