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

Aws.S3.Core

Synopsis

Documentation

data S3Authorization Source #

Instances

Instances details
Show S3Authorization Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> S3Authorization -> ShowS

show :: S3Authorization -> String

showList :: [S3Authorization] -> ShowS

data RequestStyle Source #

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 Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> RequestStyle -> ShowS

show :: RequestStyle -> String

showList :: [RequestStyle] -> ShowS

data S3SignPayloadMode Source #

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 Source # 
Instance details

Defined in Aws.S3.Core

Show S3SignPayloadMode Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> S3SignPayloadMode -> ShowS

show :: S3SignPayloadMode -> String

showList :: [S3SignPayloadMode] -> ShowS

Eq S3SignPayloadMode Source # 
Instance details

Defined in Aws.S3.Core

data S3SignVersion Source #

Instances

Instances details
Read S3SignVersion Source # 
Instance details

Defined in Aws.S3.Core

Methods

readsPrec :: Int -> ReadS S3SignVersion

readList :: ReadS [S3SignVersion]

readPrec :: ReadPrec S3SignVersion

readListPrec :: ReadPrec [S3SignVersion]

Show S3SignVersion Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> S3SignVersion -> ShowS

show :: S3SignVersion -> String

showList :: [S3SignVersion] -> ShowS

Eq S3SignVersion Source # 
Instance details

Defined in Aws.S3.Core

s3EndpointUsWest :: ByteString Source #

s3EndpointUsWest2 :: ByteString Source #

s3EndpointEu :: ByteString Source #

s3EndpointEuWest2 :: ByteString Source #

s3 :: Protocol -> ByteString -> Bool -> S3Configuration qt Source #

s3v4 :: Protocol -> ByteString -> Bool -> S3SignPayloadMode -> S3Configuration qt Source #

type ErrorCode = Text Source #

data S3Error Source #

Constructors

S3Error 

Fields

Instances

Instances details
Exception S3Error Source # 
Instance details

Defined in Aws.S3.Core

Methods

toException :: S3Error -> SomeException

fromException :: SomeException -> Maybe S3Error

displayException :: S3Error -> String

Show S3Error Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> S3Error -> ShowS

show :: S3Error -> String

showList :: [S3Error] -> ShowS

data S3Metadata Source #

Constructors

S3Metadata 

Fields

Instances

Instances details
Loggable S3Metadata Source # 
Instance details

Defined in Aws.S3.Core

Methods

toLogText :: S3Metadata -> Text Source #

Monoid S3Metadata Source # 
Instance details

Defined in Aws.S3.Core

Semigroup S3Metadata Source # 
Instance details

Defined in Aws.S3.Core

Methods

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

sconcat :: NonEmpty S3Metadata -> S3Metadata

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

Show S3Metadata Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> S3Metadata -> ShowS

show :: S3Metadata -> String

showList :: [S3Metadata] -> ShowS

data S3Query Source #

Constructors

S3Query 

Fields

Instances

Instances details
Show S3Query Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> S3Query -> ShowS

show :: S3Query -> String

showList :: [S3Query] -> ShowS

hAmzDate :: HeaderName Source #

hAmzContentSha256 :: HeaderName Source #

hAmzAlgorithm :: HeaderName Source #

hAmzCredential :: HeaderName Source #

hAmzExpires :: HeaderName Source #

hAmzSignedHeaders :: HeaderName Source #

hAmzSignature :: HeaderName Source #

hAmzSecurityToken :: HeaderName Source #

s3UriEncode Source #

Arguments

:: Bool

Whether encode slash characters

-> ByteString 
-> ByteString 

s3RenderQuery Source #

Arguments

:: Bool

Whether prepend a question mark

-> Query 
-> ByteString 

s3ExtractRegion :: ByteString -> ByteString Source #

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.

data UserInfo Source #

Constructors

UserInfo 

Fields

Instances

Instances details
Show UserInfo Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> UserInfo -> ShowS

show :: UserInfo -> String

showList :: [UserInfo] -> ShowS

parseUserInfo :: MonadThrow m => Cursor -> m UserInfo Source #

data CannedAcl Source #

Instances

Instances details
Show CannedAcl Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> CannedAcl -> ShowS

show :: CannedAcl -> String

showList :: [CannedAcl] -> ShowS

data StorageClass Source #

Instances

Instances details
Show StorageClass Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> StorageClass -> ShowS

show :: StorageClass -> String

showList :: [StorageClass] -> ShowS

data ServerSideEncryption Source #

Constructors

AES256 

Instances

Instances details
Show ServerSideEncryption Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> ServerSideEncryption -> ShowS

show :: ServerSideEncryption -> String

showList :: [ServerSideEncryption] -> ShowS

type Bucket = Text Source #

data BucketInfo Source #

Constructors

BucketInfo 

Fields

Instances

Instances details
Show BucketInfo Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> BucketInfo -> ShowS

show :: BucketInfo -> String

showList :: [BucketInfo] -> ShowS

type Object = Text Source #

data ObjectId Source #

Constructors

ObjectId 

Fields

Instances

Instances details
Show ObjectId Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> ObjectId -> ShowS

show :: ObjectId -> String

showList :: [ObjectId] -> ShowS

data ObjectVersionInfo Source #

Constructors

ObjectVersion 

Fields

DeleteMarker 

Fields

parseObjectVersionInfo :: MonadThrow m => Cursor -> m ObjectVersionInfo Source #

data ObjectInfo Source #

Constructors

ObjectInfo 

Fields

Instances

Instances details
Show ObjectInfo Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> ObjectInfo -> ShowS

show :: ObjectInfo -> String

showList :: [ObjectInfo] -> ShowS

ListResponse GetBucketResponse ObjectInfo Source # 
Instance details

Defined in Aws.S3.Commands.GetBucket

parseObjectInfo :: MonadThrow m => Cursor -> m ObjectInfo Source #

data ObjectMetadata Source #

Constructors

ObjectMetadata 

Fields

Instances

Instances details
Show ObjectMetadata Source # 
Instance details

Defined in Aws.S3.Core

Methods

showsPrec :: Int -> ObjectMetadata -> ShowS

show :: ObjectMetadata -> String

showList :: [ObjectMetadata] -> ShowS

parseObjectMetadata :: MonadThrow m => ResponseHeaders -> m ObjectMetadata Source #