-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon Web Services (AWS) for Haskell -- -- Bindings for Amazon Web Services (AWS), with the aim of supporting all -- AWS services. @package aws @version 0.0.2 module Aws.SimpleDb.Metadata data SdbMetadata SdbMetadata :: String -> Maybe String -> SdbMetadata requestId :: SdbMetadata -> String boxUsage :: SdbMetadata -> Maybe String instance Show SdbMetadata module Aws.S3.Metadata data S3Metadata S3Metadata :: String -> String -> S3Metadata s3MAmzId2 :: S3Metadata -> String s3MRequestId :: S3Metadata -> String instance Show S3Metadata module Aws.Util tryError :: (Exception e, Monad m) => Iteratee a m b -> Iteratee a m (Either e b) queryList :: (a -> [(ByteString, ByteString)]) -> ByteString -> [a] -> [(ByteString, ByteString)] awsBool :: Bool -> ByteString awsTrue :: ByteString awsFalse :: ByteString fmtTime :: String -> UTCTime -> Ascii fmtRfc822Time :: UTCTime -> Ascii fmtAmzTime :: UTCTime -> Ascii fmtTimeEpochSeconds :: UTCTime -> Ascii module Aws.Response class ResponseIteratee a responseIteratee :: ResponseIteratee a => Status -> ResponseHeaders -> Iteratee ByteString IO a xmlResponseIteratee :: Exception e => Xml e Response a -> Status -> ResponseHeaders -> Iteratee ByteString IO a parseXmlResponse :: (FromXmlError e, Error e) => Xml e Response Element instance ResponseIteratee Response module Aws.Metadata class WithMetadata a m | a -> m getMetadata :: WithMetadata a m => a -> Maybe m setMetadata :: WithMetadata a m => m -> a -> a module Aws.S3.Error type ErrorCode = String data S3Error S3Error :: Status -> ErrorCode -> String -> Maybe String -> Maybe String -> Maybe String -> Maybe ByteString -> Maybe S3Metadata -> S3Error s3StatusCode :: S3Error -> Status s3ErrorCode :: S3Error -> ErrorCode s3ErrorMessage :: S3Error -> String s3ErrorResource :: S3Error -> Maybe String s3ErrorHostId :: S3Error -> Maybe String s3ErrorAccessKeyId :: S3Error -> Maybe String s3ErrorStringToSign :: S3Error -> Maybe ByteString s3ErrorMetadata :: S3Error -> Maybe S3Metadata S3XmlError :: XmlError -> Maybe S3Metadata -> S3Error fromS3XmlError :: S3Error -> XmlError s3XmlErrorMetadata :: S3Error -> Maybe S3Metadata instance Typeable S3Error instance Show S3Error instance WithMetadata S3Error S3Metadata instance Error S3Error instance FromXmlError S3Error instance Exception S3Error module Aws.S3.Model type CanonicalUserId = String data UserInfo UserInfo :: CanonicalUserId -> String -> UserInfo userId :: UserInfo -> CanonicalUserId userDisplayName :: UserInfo -> String parseUserInfo :: Xml S3Error Element UserInfo type Bucket = String data BucketInfo BucketInfo :: Bucket -> UTCTime -> BucketInfo bucketName :: BucketInfo -> Bucket bucketCreationDate :: BucketInfo -> UTCTime data ObjectInfo ObjectInfo :: String -> UTCTime -> String -> Integer -> StorageClass -> UserInfo -> ObjectInfo objectKey :: ObjectInfo -> String objectLastModified :: ObjectInfo -> UTCTime objectETag :: ObjectInfo -> String objectSize :: ObjectInfo -> Integer objectStorageClass :: ObjectInfo -> StorageClass objectOwner :: ObjectInfo -> UserInfo data StorageClass StorageClassStandard :: StorageClass type LocationConstraint = String locationUsWest :: LocationConstraint locationEu :: LocationConstraint locationApSouthEast :: LocationConstraint locationApNorthEast :: LocationConstraint locationUsClassic :: LocationConstraint instance Show UserInfo instance Show BucketInfo instance Show StorageClass instance Show ObjectInfo module Aws.S3.Response data S3Response a S3Response :: a -> String -> String -> S3Response a fromS3Response :: S3Response a -> a s3AmzId2 :: S3Response a -> String s3RequestId :: S3Response a -> String s3ErrorResponseIteratee :: Status -> ResponseHeaders -> Iteratee ByteString IO a class S3ResponseIteratee a s3ResponseIteratee :: S3ResponseIteratee a => Status -> ResponseHeaders -> Iteratee ByteString IO a instance Show a => Show (S3Response a) instance S3ResponseIteratee Response instance S3ResponseIteratee a => ResponseIteratee (S3Response a) module Aws.SimpleDb.Error type ErrorCode = String data SdbError SdbError :: Status -> ErrorCode -> String -> Maybe SdbMetadata -> SdbError sdbStatusCode :: SdbError -> Status sdbErrorCode :: SdbError -> ErrorCode sdbErrorMessage :: SdbError -> String sdbErrorMetadata :: SdbError -> Maybe SdbMetadata SdbXmlError :: XmlError -> Maybe SdbMetadata -> SdbError fromSdbXmlError :: SdbError -> XmlError sdbXmlErrorMetadata :: SdbError -> Maybe SdbMetadata instance Typeable SdbError instance Show SdbError instance Exception SdbError instance Error SdbError instance WithMetadata SdbError SdbMetadata instance FromXmlError SdbError module Aws.SimpleDb.Response data SdbResponse a SdbResponse :: a -> SdbMetadata -> SdbResponse a fromSdbResponse :: SdbResponse a -> a sdbResponseMetadata :: SdbResponse a -> SdbMetadata class SdbFromResponse a sdbFromResponse :: SdbFromResponse a => Xml SdbError Element a decodeBase64 :: Xml SdbError Element String instance Show a => Show (SdbResponse a) instance SdbFromResponse a => ResponseIteratee (SdbResponse a) instance Functor SdbResponse module Aws.SimpleDb.Model data Attribute a ForAttribute :: String -> a -> Attribute a attributeName :: Attribute a -> String attributeData :: Attribute a -> a readAttribute :: Xml SdbError Element (Attribute String) data SetAttribute SetAttribute :: String -> Bool -> SetAttribute setAttribute :: SetAttribute -> String isReplaceAttribute :: SetAttribute -> Bool attributeQuery :: (a -> [(ByteString, ByteString)]) -> Attribute a -> [(ByteString, ByteString)] addAttribute :: String -> String -> Attribute SetAttribute replaceAttribute :: String -> String -> Attribute SetAttribute setAttributeQuery :: SetAttribute -> [(ByteString, ByteString)] data DeleteAttribute DeleteAttribute :: DeleteAttribute ValuedDeleteAttribute :: String -> DeleteAttribute deleteAttributeValue :: DeleteAttribute -> String deleteAttributeQuery :: DeleteAttribute -> [(ByteString, ByteString)] data ExpectedAttribute ExpectedValue :: String -> ExpectedAttribute expectedAttributeValue :: ExpectedAttribute -> String ExpectedExists :: Bool -> ExpectedAttribute expectedAttributeExists :: ExpectedAttribute -> Bool expectedValue :: String -> String -> Attribute ExpectedAttribute expectedExists :: String -> Bool -> Attribute ExpectedAttribute expectedAttributeQuery :: ExpectedAttribute -> [(ByteString, ByteString)] data Item a Item :: String -> a -> Item a itemName :: Item a -> String itemData :: Item a -> a readItem :: Xml SdbError Element (Item [Attribute String]) itemQuery :: (a -> [(ByteString, ByteString)]) -> Item a -> [(ByteString, ByteString)] instance Show a => Show (Attribute a) instance Show SetAttribute instance Show DeleteAttribute instance Show ExpectedAttribute instance Show a => Show (Item a) module Aws.Http data Protocol HTTP :: Protocol HTTPS :: Protocol defaultPort :: Protocol -> Int data Method Get :: Method PostQuery :: Method httpMethod :: Method -> Method instance Show Protocol instance Show Method instance Eq Method module Aws.Query data SignedQuery SignedQuery :: Method -> Protocol -> Ascii -> Int -> Ascii -> Query -> Maybe UTCTime -> Maybe Ascii -> Maybe Ascii -> Maybe Ascii -> ByteString -> ByteString -> SignedQuery sqMethod :: SignedQuery -> Method sqProtocol :: SignedQuery -> Protocol sqHost :: SignedQuery -> Ascii sqPort :: SignedQuery -> Int sqPath :: SignedQuery -> Ascii sqQuery :: SignedQuery -> Query sqDate :: SignedQuery -> Maybe UTCTime sqAuthorization :: SignedQuery -> Maybe Ascii sqContentType :: SignedQuery -> Maybe Ascii sqContentMd5 :: SignedQuery -> Maybe Ascii sqBody :: SignedQuery -> ByteString sqStringToSign :: SignedQuery -> ByteString queryToHttpRequest :: SignedQuery -> Request m queryToUri :: SignedQuery -> ByteString instance Show SignedQuery module Aws.S3.Info data S3Authorization S3AuthorizationHeader :: S3Authorization S3AuthorizationQuery :: S3Authorization data Endpoint Endpoint :: Ascii -> LocationConstraint -> [LocationConstraint] -> Endpoint endpointHost :: Endpoint -> Ascii endpointDefaultLocationConstraint :: Endpoint -> LocationConstraint endpointAllowedLocationConstraints :: Endpoint -> [LocationConstraint] data S3Info S3Info :: Protocol -> Endpoint -> Int -> Bool -> NominalDiffTime -> S3Info s3Protocol :: S3Info -> Protocol s3Endpoint :: S3Info -> Endpoint s3Port :: S3Info -> Int s3UseUri :: S3Info -> Bool s3DefaultExpiry :: S3Info -> NominalDiffTime s3EndpointUsClassic :: Endpoint s3EndpointUsWest :: Endpoint s3EndpointEu :: Endpoint s3EndpointApSouthEast :: Endpoint s3EndpointApNorthEast :: Endpoint s3 :: Protocol -> Endpoint -> Bool -> S3Info instance Show S3Authorization instance Show Endpoint instance Show S3Info module Aws.SimpleDb.Info data SdbInfo SdbInfo :: Protocol -> Method -> Ascii -> Int -> SdbInfo sdbiProtocol :: SdbInfo -> Protocol sdbiHttpMethod :: SdbInfo -> Method sdbiHost :: SdbInfo -> Ascii sdbiPort :: SdbInfo -> Int sdbUsEast :: Ascii sdbUsWest :: Ascii sdbEuWest :: Ascii sdbApSoutheast :: Ascii sdbApNortheast :: Ascii sdbHttpGet :: Ascii -> SdbInfo sdbHttpPost :: Ascii -> SdbInfo sdbHttpsGet :: Ascii -> SdbInfo sdbHttpsPost :: Ascii -> SdbInfo instance Show SdbInfo module Aws.Debug debugPrint :: (MonadIO io, Show a) => String -> a -> io () module Aws.Credentials data Credentials Credentials :: ByteString -> ByteString -> Credentials accessKeyID :: Credentials -> ByteString secretAccessKey :: Credentials -> ByteString credentialsDefaultFile :: MonadIO io => io FilePath credentialsDefaultKey :: String loadCredentialsFromFile :: MonadIO io => FilePath -> String -> io (Maybe Credentials) loadCredentialsFromEnv :: MonadIO io => io (Maybe Credentials) loadCredentialsFromEnvOrFile :: MonadIO io => FilePath -> String -> io (Maybe Credentials) loadCredentialsDefault :: MonadIO io => io (Maybe Credentials) instance Show Credentials module Aws.Signature data TimeInfo Timestamp :: TimeInfo ExpiresAt :: UTCTime -> TimeInfo fromExpiresAt :: TimeInfo -> UTCTime ExpiresIn :: NominalDiffTime -> TimeInfo fromExpiresIn :: TimeInfo -> NominalDiffTime data AbsoluteTimeInfo AbsoluteTimestamp :: UTCTime -> AbsoluteTimeInfo fromAbsoluteTimestamp :: AbsoluteTimeInfo -> UTCTime AbsoluteExpires :: UTCTime -> AbsoluteTimeInfo fromAbsoluteExpires :: AbsoluteTimeInfo -> UTCTime fromAbsoluteTimeInfo :: AbsoluteTimeInfo -> UTCTime makeAbsoluteTimeInfo :: TimeInfo -> UTCTime -> AbsoluteTimeInfo data SignatureData SignatureData :: AbsoluteTimeInfo -> UTCTime -> Credentials -> SignatureData signatureTimeInfo :: SignatureData -> AbsoluteTimeInfo signatureTime :: SignatureData -> UTCTime signatureCredentials :: SignatureData -> Credentials signatureData :: TimeInfo -> Credentials -> IO SignatureData class SignQuery r where { type family Info r :: *; } signQuery :: SignQuery r => r -> Info r -> SignatureData -> SignedQuery data AuthorizationHash HmacSHA1 :: AuthorizationHash HmacSHA256 :: AuthorizationHash amzHash :: AuthorizationHash -> ByteString signature :: Credentials -> AuthorizationHash -> ByteString -> ByteString instance Show TimeInfo instance Show AbsoluteTimeInfo instance Show AuthorizationHash module Aws.Transaction class (SignQuery r, ResponseIteratee a) => Transaction r a | r -> a, a -> r module Aws.S3.Query data S3Query S3Query :: Maybe Ascii -> Query -> Query -> S3Query s3QBucket :: S3Query -> Maybe Ascii s3QSubresources :: S3Query -> Query s3QQuery :: S3Query -> Query s3SignQuery :: S3Query -> S3Info -> SignatureData -> SignedQuery instance Show S3Query module Aws.S3.Commands.GetBucket data GetBucket GetBucket :: Bucket -> Maybe String -> Maybe String -> Maybe Int -> Maybe String -> GetBucket gbBucket :: GetBucket -> Bucket gbDelimiter :: GetBucket -> Maybe String gbMarker :: GetBucket -> Maybe String gbMaxKeys :: GetBucket -> Maybe Int gbPrefix :: GetBucket -> Maybe String getBucket :: Bucket -> GetBucket data GetBucketResult GetBucketResult :: Bucket -> Maybe String -> Maybe String -> Maybe Int -> Maybe String -> [ObjectInfo] -> [String] -> GetBucketResult gbrName :: GetBucketResult -> Bucket gbrDelimiter :: GetBucketResult -> Maybe String gbrMarker :: GetBucketResult -> Maybe String gbrMaxKeys :: GetBucketResult -> Maybe Int gbrPrefix :: GetBucketResult -> Maybe String gbrContents :: GetBucketResult -> [ObjectInfo] gbrCommonPrefixes :: GetBucketResult -> [String] instance Show GetBucket instance Show GetBucketResult instance SignQuery GetBucket module Aws.S3.Commands.GetService data GetService GetService :: GetService data GetServiceResponse GetServiceResponse :: UserInfo -> [BucketInfo] -> GetServiceResponse gsrOwner :: GetServiceResponse -> UserInfo gsrBuckets :: GetServiceResponse -> [BucketInfo] instance Show GetServiceResponse instance Transaction GetService (S3Response GetServiceResponse) instance SignQuery GetService instance S3ResponseIteratee GetServiceResponse module Aws.S3.Commands module Aws.S3 module Aws.SimpleDb.Query sdbSignQuery :: [(ByteString, ByteString)] -> SdbInfo -> SignatureData -> SignedQuery module Aws.SimpleDb.Commands.BatchDeleteAttributes data BatchDeleteAttributes BatchDeleteAttributes :: [Item [Attribute DeleteAttribute]] -> String -> BatchDeleteAttributes bdaItems :: BatchDeleteAttributes -> [Item [Attribute DeleteAttribute]] bdaDomainName :: BatchDeleteAttributes -> String data BatchDeleteAttributesResponse BatchDeleteAttributesResponse :: BatchDeleteAttributesResponse batchDeleteAttributes :: [Item [Attribute DeleteAttribute]] -> String -> BatchDeleteAttributes instance Show BatchDeleteAttributes instance Show BatchDeleteAttributesResponse instance Transaction BatchDeleteAttributes (SdbResponse BatchDeleteAttributesResponse) instance SdbFromResponse BatchDeleteAttributesResponse instance SignQuery BatchDeleteAttributes module Aws.SimpleDb.Commands.BatchPutAttributes data BatchPutAttributes BatchPutAttributes :: [Item [Attribute SetAttribute]] -> String -> BatchPutAttributes bpaItems :: BatchPutAttributes -> [Item [Attribute SetAttribute]] bpaDomainName :: BatchPutAttributes -> String data BatchPutAttributesResponse BatchPutAttributesResponse :: BatchPutAttributesResponse batchPutAttributes :: [Item [Attribute SetAttribute]] -> String -> BatchPutAttributes instance Show BatchPutAttributes instance Show BatchPutAttributesResponse instance Transaction BatchPutAttributes (SdbResponse BatchPutAttributesResponse) instance SdbFromResponse BatchPutAttributesResponse instance SignQuery BatchPutAttributes module Aws.SimpleDb.Commands.CreateDomain data CreateDomain CreateDomain :: String -> CreateDomain cdDomainName :: CreateDomain -> String data CreateDomainResponse CreateDomainResponse :: CreateDomainResponse createDomain :: String -> CreateDomain instance Show CreateDomain instance Show CreateDomainResponse instance Transaction CreateDomain (SdbResponse CreateDomainResponse) instance SdbFromResponse CreateDomainResponse instance SignQuery CreateDomain module Aws.SimpleDb.Commands.DeleteAttributes data DeleteAttributes DeleteAttributes :: String -> [Attribute DeleteAttribute] -> [Attribute ExpectedAttribute] -> String -> DeleteAttributes daItemName :: DeleteAttributes -> String daAttributes :: DeleteAttributes -> [Attribute DeleteAttribute] daExpected :: DeleteAttributes -> [Attribute ExpectedAttribute] daDomainName :: DeleteAttributes -> String data DeleteAttributesResponse DeleteAttributesResponse :: DeleteAttributesResponse deleteAttributes :: String -> [Attribute DeleteAttribute] -> String -> DeleteAttributes instance Show DeleteAttributes instance Show DeleteAttributesResponse instance Transaction DeleteAttributes (SdbResponse DeleteAttributesResponse) instance SdbFromResponse DeleteAttributesResponse instance SignQuery DeleteAttributes module Aws.SimpleDb.Commands.DeleteDomain data DeleteDomain DeleteDomain :: String -> DeleteDomain ddDomainName :: DeleteDomain -> String data DeleteDomainResponse DeleteDomainResponse :: DeleteDomainResponse deleteDomain :: String -> DeleteDomain instance Show DeleteDomain instance Show DeleteDomainResponse instance Transaction DeleteDomain (SdbResponse DeleteDomainResponse) instance SdbFromResponse DeleteDomainResponse instance SignQuery DeleteDomain module Aws.SimpleDb.Commands.DomainMetadata data DomainMetadata DomainMetadata :: String -> DomainMetadata dmDomainName :: DomainMetadata -> String data DomainMetadataResponse DomainMetadataResponse :: UTCTime -> Integer -> Integer -> Integer -> Integer -> Integer -> Integer -> DomainMetadataResponse dmrTimestamp :: DomainMetadataResponse -> UTCTime dmrItemCount :: DomainMetadataResponse -> Integer dmrAttributeValueCount :: DomainMetadataResponse -> Integer dmrAttributeNameCount :: DomainMetadataResponse -> Integer dmrItemNamesSizeBytes :: DomainMetadataResponse -> Integer dmrAttributeValuesSizeBytes :: DomainMetadataResponse -> Integer dmrAttributeNamesSizeBytes :: DomainMetadataResponse -> Integer domainMetadata :: String -> DomainMetadata instance Show DomainMetadata instance Show DomainMetadataResponse instance Transaction DomainMetadata (SdbResponse DomainMetadataResponse) instance SdbFromResponse DomainMetadataResponse instance SignQuery DomainMetadata module Aws.SimpleDb.Commands.GetAttributes data GetAttributes GetAttributes :: String -> Maybe String -> Bool -> String -> GetAttributes gaItemName :: GetAttributes -> String gaAttributeName :: GetAttributes -> Maybe String gaConsistentRead :: GetAttributes -> Bool gaDomainName :: GetAttributes -> String data GetAttributesResponse GetAttributesResponse :: [Attribute String] -> GetAttributesResponse garAttributes :: GetAttributesResponse -> [Attribute String] getAttributes :: String -> String -> GetAttributes instance Show GetAttributes instance Show GetAttributesResponse instance Transaction GetAttributes (SdbResponse GetAttributesResponse) instance SdbFromResponse GetAttributesResponse instance SignQuery GetAttributes module Aws.SimpleDb.Commands.ListDomains data ListDomains ListDomains :: Maybe Int -> Maybe String -> ListDomains ldMaxNumberOfDomains :: ListDomains -> Maybe Int ldNextToken :: ListDomains -> Maybe String data ListDomainsResponse ListDomainsResponse :: [String] -> Maybe String -> ListDomainsResponse ldrDomainNames :: ListDomainsResponse -> [String] ldrNextToken :: ListDomainsResponse -> Maybe String listDomains :: ListDomains instance Show ListDomains instance Show ListDomainsResponse instance Transaction ListDomains (SdbResponse ListDomainsResponse) instance SdbFromResponse ListDomainsResponse instance SignQuery ListDomains module Aws.SimpleDb.Commands.PutAttributes data PutAttributes PutAttributes :: String -> [Attribute SetAttribute] -> [Attribute ExpectedAttribute] -> String -> PutAttributes paItemName :: PutAttributes -> String paAttributes :: PutAttributes -> [Attribute SetAttribute] paExpected :: PutAttributes -> [Attribute ExpectedAttribute] paDomainName :: PutAttributes -> String data PutAttributesResponse PutAttributesResponse :: PutAttributesResponse putAttributes :: String -> [Attribute SetAttribute] -> String -> PutAttributes instance Show PutAttributes instance Show PutAttributesResponse instance Transaction PutAttributes (SdbResponse PutAttributesResponse) instance SdbFromResponse PutAttributesResponse instance SignQuery PutAttributes module Aws.SimpleDb.Commands.Select data Select Select :: String -> Bool -> String -> Select sSelectExpression :: Select -> String sConsistentRead :: Select -> Bool sNextToken :: Select -> String data SelectResponse SelectResponse :: [Item [Attribute String]] -> Maybe String -> SelectResponse srItems :: SelectResponse -> [Item [Attribute String]] srNextToken :: SelectResponse -> Maybe String select :: String -> Select instance Show Select instance Show SelectResponse instance Transaction Select (SdbResponse SelectResponse) instance SdbFromResponse SelectResponse instance SignQuery Select module Aws.SimpleDb.Commands module Aws.SimpleDb module Aws.Aws data Configuration Configuration :: TimeInfo -> Credentials -> SdbInfo -> SdbInfo -> S3Info -> S3Info -> Configuration timeInfo :: Configuration -> TimeInfo credentials :: Configuration -> Credentials sdbInfo :: Configuration -> SdbInfo sdbInfoUri :: Configuration -> SdbInfo s3Info :: Configuration -> S3Info s3InfoUri :: Configuration -> S3Info class ConfigurationFetch a configurationFetch :: ConfigurationFetch a => Configuration -> a configurationFetchUri :: ConfigurationFetch a => Configuration -> a baseConfiguration :: MonadIO io => io Configuration debugConfiguration :: MonadIO io => io Configuration newtype AwsT m a AwsT :: ReaderT Configuration m a -> AwsT m a fromAwsT :: AwsT m a -> ReaderT Configuration m a type Aws = AwsT IO runAws :: AwsT m a -> Configuration -> m a runAws' :: MonadIO io => AwsT io a -> io a runAwsDebug :: MonadIO io => AwsT io a -> io a class MonadIO aws => MonadAws aws configuration :: (MonadAws aws, MonadAws aws) => aws Configuration aws :: (Transaction request response, ConfigurationFetch (Info request), MonadAws aws) => request -> aws response unsafeAws :: (MonadAws m, ResponseIteratee response, SignQuery request, ConfigurationFetch (Info request)) => request -> m response awsUri :: (SignQuery request, ConfigurationFetch (Info request), MonadAws aws) => request -> aws ByteString instance MonadIO m => MonadAws (AwsT m) instance MonadIO m => MonadIO (AwsT m) instance Monad m => Monad (AwsT m) instance ConfigurationFetch S3Info instance ConfigurationFetch SdbInfo instance ConfigurationFetch () module Aws