Types for S3 module
Errors returned from S3 operations
HttpError
is from the standard Elm Http
module.
AWSError
is from the AWS.Http module.
DecodeError
denotes a Decoder error in parsing S3 account info.
{ name : String
, region : Maybe String
, isDigitalOcean : Basics.Bool
, accessKey : String
, secretKey : String
, buckets : List String
}
Information about an S3 account
String
The name of an S3 bucket.
String
The name of an S3 key.
String
An HTTP mimetype, e.g. "text/html".
String
The StorageClass for a key returned from listing a bucket's contents.
{ id : String
, displayName : String
}
The owner of an object returned from listing a bucket's contents.
{ key : Key
, lastModified : String
, eTag : String
, size : Basics.Int
, storageClass : StorageClass
, owner : Maybe Owner
}
Information about a single key returned from listing a bucket's contents.
{ name : String
, prefix : Maybe String
, marker : Maybe String
, nextMarker : Maybe String
, maxKeys : Basics.Int
, isTruncated : Basics.Bool
, keys : List KeyInfo
}
All the information returned from listing a bucket's contents.
An Elm encoding of the ListBucketResult XML element.
List QueryElement
A list of QueryElement
s.
An element of a Query
, used for HTTP headers and query parameters.
AnyQuery
allows you to encode any key/value pair.
XAmzAcl
is used as a header with S3.putObject
.
The others are used as query parameters with S3.listKeys
.
Values for the XAmzAcl Query type.
aclToString : CannedAcl -> String
Convert a CannedAcl
to a String.