Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data S3Authorization
- data RequestStyle
- data S3SignPayloadMode
- data S3SignVersion
- data S3Configuration qt = S3Configuration {}
- s3EndpointUsClassic :: ByteString
- s3EndpointUsWest :: ByteString
- s3EndpointUsWest2 :: ByteString
- s3EndpointEu :: ByteString
- s3EndpointEuWest2 :: ByteString
- s3EndpointApSouthEast :: ByteString
- s3EndpointApSouthEast2 :: ByteString
- s3EndpointApNorthEast :: ByteString
- s3 :: Protocol -> ByteString -> Bool -> S3Configuration qt
- s3v4 :: Protocol -> ByteString -> Bool -> S3SignPayloadMode -> S3Configuration qt
- type ErrorCode = Text
- data S3Error = S3Error {}
- data S3Metadata = S3Metadata {}
- data S3Query = S3Query {}
- hAmzDate :: HeaderName
- hAmzContentSha256 :: HeaderName
- hAmzAlgorithm :: HeaderName
- hAmzCredential :: HeaderName
- hAmzExpires :: HeaderName
- hAmzSignedHeaders :: HeaderName
- hAmzSignature :: HeaderName
- hAmzSecurityToken :: HeaderName
- s3SignQuery :: S3Query -> S3Configuration qt -> SignatureData -> SignedQuery
- s3UriEncode :: Bool -> ByteString -> ByteString
- s3RenderQuery :: Bool -> Query -> ByteString
- s3ExtractRegion :: ByteString -> ByteString
- s3ResponseConsumer :: HTTPResponseConsumer a -> IORef S3Metadata -> HTTPResponseConsumer a
- s3BinaryResponseConsumer :: HTTPResponseConsumer a -> IORef S3Metadata -> HTTPResponseConsumer a
- s3XmlResponseConsumer :: (Cursor -> Response S3Metadata a) -> IORef S3Metadata -> HTTPResponseConsumer a
- s3ErrorResponseConsumer :: HTTPResponseConsumer a
- type CanonicalUserId = Text
- data UserInfo = UserInfo {}
- parseUserInfo :: MonadThrow m => Cursor -> m UserInfo
- data CannedAcl
- writeCannedAcl :: CannedAcl -> Text
- data StorageClass
- parseStorageClass :: Text -> StorageClass
- writeStorageClass :: StorageClass -> Text
- data ServerSideEncryption = AES256
- parseServerSideEncryption :: MonadThrow m => Text -> m ServerSideEncryption
- writeServerSideEncryption :: ServerSideEncryption -> Text
- type Bucket = Text
- data BucketInfo = BucketInfo {}
- type Object = Text
- data ObjectId = ObjectId {}
- data ObjectVersionInfo
- = ObjectVersion { }
- | DeleteMarker {
- oviKey :: Text
- oviVersionId :: Text
- oviIsLatest :: Bool
- oviLastModified :: UTCTime
- oviOwner :: Maybe UserInfo
- parseObjectVersionInfo :: MonadThrow m => Cursor -> m ObjectVersionInfo
- data ObjectInfo = ObjectInfo {}
- parseObjectInfo :: MonadThrow m => Cursor -> m ObjectInfo
- data ObjectMetadata = ObjectMetadata {}
- parseObjectMetadata :: MonadThrow m => ResponseHeaders -> m ObjectMetadata
- type LocationConstraint = Text
- locationUsClassic :: LocationConstraint
- locationUsWest :: LocationConstraint
- locationUsWest2 :: LocationConstraint
- locationEu :: LocationConstraint
- locationEuWest2 :: LocationConstraint
- locationEuFrankfurt :: LocationConstraint
- locationApSouthEast :: LocationConstraint
- locationApSouthEast2 :: LocationConstraint
- locationApNorthEast :: LocationConstraint
- locationSA :: LocationConstraint
- normaliseLocation :: LocationConstraint -> LocationConstraint
Documentation
data S3Authorization Source #
data RequestStyle Source #
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 |
data S3SignPayloadMode Source #
AlwaysUnsigned | Always use the UNSIGNED-PAYLOAD option. |
SignWithEffort | Sign the payload when |
AlwaysSigned | Always sign the payload. Note: |
data S3SignVersion Source #
data S3Configuration qt Source #
s3 :: Protocol -> ByteString -> Bool -> S3Configuration qt Source #
s3v4 :: Protocol -> ByteString -> Bool -> S3SignPayloadMode -> S3Configuration qt Source #
data S3Metadata Source #
s3SignQuery :: S3Query -> S3Configuration qt -> SignatureData -> SignedQuery Source #
:: Bool | Whether encode slash characters |
-> ByteString | |
-> ByteString |
Custom UriEncode function see http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html
:: Bool | Whether prepend a question mark |
-> Query | |
-> ByteString |
s3BinaryResponseConsumer :: HTTPResponseConsumer a -> IORef S3Metadata -> HTTPResponseConsumer a Source #
s3XmlResponseConsumer :: (Cursor -> Response S3Metadata a) -> IORef S3Metadata -> HTTPResponseConsumer a Source #
type CanonicalUserId = Text Source #
parseUserInfo :: MonadThrow m => Cursor -> m UserInfo Source #
writeCannedAcl :: CannedAcl -> Text Source #
data StorageClass Source #
parseStorageClass :: Text -> StorageClass Source #
writeStorageClass :: StorageClass -> Text Source #
parseServerSideEncryption :: MonadThrow m => Text -> m ServerSideEncryption Source #
data BucketInfo Source #
data ObjectVersionInfo Source #
ObjectVersion | |
| |
DeleteMarker | |
|
parseObjectVersionInfo :: MonadThrow m => Cursor -> m ObjectVersionInfo Source #
data ObjectInfo Source #
parseObjectInfo :: MonadThrow m => Cursor -> m ObjectInfo Source #
data ObjectMetadata Source #
parseObjectMetadata :: MonadThrow m => ResponseHeaders -> m ObjectMetadata Source #
type LocationConstraint = Text Source #