amazonka-1.6.1: Comprehensive Amazon Web Services SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Data

Contents

Description

Re-exports some of the underlying textual and byte serialisation mechanisms for convenience.

Many of the AWS identifiers like S3's ObjectVersionId or ETag, as well as any nullary sum types such as Region have ToText and ToByteString instances, making it convenient to use the type classes to convert a value to its textual representation.

Synopsis

Text

class FromText a where #

Methods

parser :: Parser a #

Instances
FromText Bool 
Instance details

Defined in Network.AWS.Data.Text

Methods

parser :: Parser Bool #

FromText Char 
Instance details

Defined in Network.AWS.Data.Text

Methods

parser :: Parser Char #

FromText Double 
Instance details

Defined in Network.AWS.Data.Text

Methods

parser :: Parser Double #

FromText Int 
Instance details

Defined in Network.AWS.Data.Text

Methods

parser :: Parser Int #

FromText Int64 
Instance details

Defined in Network.AWS.Data.Text

Methods

parser :: Parser Int64 #

FromText Integer 
Instance details

Defined in Network.AWS.Data.Text

FromText Natural 
Instance details

Defined in Network.AWS.Data.Text

FromText ByteString 
Instance details

Defined in Network.AWS.Data.Text

FromText Scientific 
Instance details

Defined in Network.AWS.Data.Text

FromText Text 
Instance details

Defined in Network.AWS.Data.Text

Methods

parser :: Parser Text #

FromText Abbrev 
Instance details

Defined in Network.AWS.Types

Methods

parser :: Parser Abbrev #

FromText ErrorCode 
Instance details

Defined in Network.AWS.Types

FromText ErrorMessage 
Instance details

Defined in Network.AWS.Types

FromText RequestId 
Instance details

Defined in Network.AWS.Types

FromText LogLevel 
Instance details

Defined in Network.AWS.Types

FromText AccessKey 
Instance details

Defined in Network.AWS.Types

FromText SecretKey 
Instance details

Defined in Network.AWS.Types

FromText SessionToken 
Instance details

Defined in Network.AWS.Types

FromText Region 
Instance details

Defined in Network.AWS.Types

Methods

parser :: Parser Region #

FromText Seconds 
Instance details

Defined in Network.AWS.Types

FromText Base64 
Instance details

Defined in Network.AWS.Data.Base64

Methods

parser :: Parser Base64 #

FromText Nat 
Instance details

Defined in Network.AWS.Data.Numeric

Methods

parser :: Parser Nat #

FromText RFC822 
Instance details

Defined in Network.AWS.Data.Time

Methods

parser :: Parser RFC822 #

FromText ISO8601 
Instance details

Defined in Network.AWS.Data.Time

FromText BasicTime 
Instance details

Defined in Network.AWS.Data.Time

FromText AWSTime 
Instance details

Defined in Network.AWS.Data.Time

FromText POSIX 
Instance details

Defined in Network.AWS.Data.Time

Methods

parser :: Parser POSIX #

FromText String 
Instance details

Defined in Network.AWS.Data.Text

Methods

parser :: Parser String #

FromText StdMethod 
Instance details

Defined in Network.AWS.Data.Text

FromText a => FromText (Sensitive a) 
Instance details

Defined in Network.AWS.Data.Sensitive

Methods

parser :: Parser (Sensitive a) #

(FoldCase a, FromText a) => FromText (CI a) 
Instance details

Defined in Network.AWS.Data.Text

Methods

parser :: Parser (CI a) #

fromTextError :: Text -> Parser a #

Fail parsing with a Text error.

Constrained to the actual attoparsec monad to avoid exposing fail usage directly.

class ToText a where #

Methods

toText :: a -> Text #

Instances
ToText Bool 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: Bool -> Text #

ToText Char 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: Char -> Text #

ToText Double 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: Double -> Text #

ToText Int 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: Int -> Text #

ToText Int64 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: Int64 -> Text #

ToText Integer 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: Integer -> Text #

ToText Natural 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: Natural -> Text #

ToText ByteString 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: ByteString -> Text #

ToText Scientific 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: Scientific -> Text #

ToText Text 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: Text -> Text #

ToText Abbrev 
Instance details

Defined in Network.AWS.Types

Methods

toText :: Abbrev -> Text #

ToText ErrorCode 
Instance details

Defined in Network.AWS.Types

Methods

toText :: ErrorCode -> Text #

ToText ErrorMessage 
Instance details

Defined in Network.AWS.Types

Methods

toText :: ErrorMessage -> Text #

ToText RequestId 
Instance details

Defined in Network.AWS.Types

Methods

toText :: RequestId -> Text #

ToText LogLevel 
Instance details

Defined in Network.AWS.Types

Methods

toText :: LogLevel -> Text #

ToText AccessKey 
Instance details

Defined in Network.AWS.Types

Methods

toText :: AccessKey -> Text #

ToText SecretKey 
Instance details

Defined in Network.AWS.Types

Methods

toText :: SecretKey -> Text #

ToText SessionToken 
Instance details

Defined in Network.AWS.Types

Methods

toText :: SessionToken -> Text #

ToText Region 
Instance details

Defined in Network.AWS.Types

Methods

toText :: Region -> Text #

ToText Seconds 
Instance details

Defined in Network.AWS.Types

Methods

toText :: Seconds -> Text #

ToText Base64 
Instance details

Defined in Network.AWS.Data.Base64

Methods

toText :: Base64 -> Text #

ToText Nat 
Instance details

Defined in Network.AWS.Data.Numeric

Methods

toText :: Nat -> Text #

ToText RFC822 
Instance details

Defined in Network.AWS.Data.Time

Methods

toText :: RFC822 -> Text #

ToText ISO8601 
Instance details

Defined in Network.AWS.Data.Time

Methods

toText :: ISO8601 -> Text #

ToText BasicTime 
Instance details

Defined in Network.AWS.Data.Time

Methods

toText :: BasicTime -> Text #

ToText AWSTime 
Instance details

Defined in Network.AWS.Data.Time

Methods

toText :: AWSTime -> Text #

ToText POSIX 
Instance details

Defined in Network.AWS.Data.Time

Methods

toText :: POSIX -> Text #

ToText String 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: String -> Text #

ToText StdMethod 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: StdMethod -> Text #

ToText Info Source # 
Instance details

Defined in Network.AWS.EC2.Metadata

Methods

toText :: Info -> Text #

ToText Interface Source # 
Instance details

Defined in Network.AWS.EC2.Metadata

Methods

toText :: Interface -> Text #

ToText Mapping Source # 
Instance details

Defined in Network.AWS.EC2.Metadata

Methods

toText :: Mapping -> Text #

ToText Metadata Source # 
Instance details

Defined in Network.AWS.EC2.Metadata

Methods

toText :: Metadata -> Text #

ToText Dynamic Source # 
Instance details

Defined in Network.AWS.EC2.Metadata

Methods

toText :: Dynamic -> Text #

ToText a => ToText (Sensitive a) 
Instance details

Defined in Network.AWS.Data.Sensitive

Methods

toText :: Sensitive a -> Text #

ToText (Digest a) 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: Digest a -> Text #

ToText a => ToText (CI a) 
Instance details

Defined in Network.AWS.Data.Text

Methods

toText :: CI a -> Text #

ByteString

class ToByteString a where #

Minimal complete definition

Nothing

Methods

toBS :: a -> ByteString #

Instances
ToByteString Double 
Instance details

Defined in Network.AWS.Data.ByteString

Methods

toBS :: Double -> ByteString #

ToByteString Int 
Instance details

Defined in Network.AWS.Data.ByteString

Methods

toBS :: Int -> ByteString #

ToByteString Integer 
Instance details

Defined in Network.AWS.Data.ByteString

Methods

toBS :: Integer -> ByteString #

ToByteString Natural 
Instance details

Defined in Network.AWS.Data.ByteString

Methods

toBS :: Natural -> ByteString #

ToByteString ByteString 
Instance details

Defined in Network.AWS.Data.ByteString

ToByteString Builder 
Instance details

Defined in Network.AWS.Data.ByteString

Methods

toBS :: Builder -> ByteString #

ToByteString Text 
Instance details

Defined in Network.AWS.Data.ByteString

Methods

toBS :: Text -> ByteString #

ToByteString UTCTime 
Instance details

Defined in Network.AWS.Data.ByteString

Methods

toBS :: UTCTime -> ByteString #

ToByteString LogLevel 
Instance details

Defined in Network.AWS.Types

Methods

toBS :: LogLevel -> ByteString #

ToByteString AccessKey 
Instance details

Defined in Network.AWS.Types

Methods

toBS :: AccessKey -> ByteString #

ToByteString SecretKey 
Instance details

Defined in Network.AWS.Types

Methods

toBS :: SecretKey -> ByteString #

ToByteString SessionToken 
Instance details

Defined in Network.AWS.Types

ToByteString Region 
Instance details

Defined in Network.AWS.Types

Methods

toBS :: Region -> ByteString #

ToByteString Seconds 
Instance details

Defined in Network.AWS.Types

Methods

toBS :: Seconds -> ByteString #

ToByteString Base64 
Instance details

Defined in Network.AWS.Data.Base64

Methods

toBS :: Base64 -> ByteString #

ToByteString Nat 
Instance details

Defined in Network.AWS.Data.Numeric

Methods

toBS :: Nat -> ByteString #

ToByteString RFC822 
Instance details

Defined in Network.AWS.Data.Time

Methods

toBS :: RFC822 -> ByteString #

ToByteString ISO8601 
Instance details

Defined in Network.AWS.Data.Time

Methods

toBS :: ISO8601 -> ByteString #

ToByteString BasicTime 
Instance details

Defined in Network.AWS.Data.Time

Methods

toBS :: BasicTime -> ByteString #

ToByteString AWSTime 
Instance details

Defined in Network.AWS.Data.Time

Methods

toBS :: AWSTime -> ByteString #

ToByteString EscapedPath 
Instance details

Defined in Network.AWS.Data.Path

ToByteString QueryString 
Instance details

Defined in Network.AWS.Data.Query

ToByteString LazyByteString 
Instance details

Defined in Network.AWS.Data.ByteString

ToByteString String 
Instance details

Defined in Network.AWS.Data.ByteString

Methods

toBS :: String -> ByteString #

ToByteString StdMethod 
Instance details

Defined in Network.AWS.Data.ByteString

Methods

toBS :: StdMethod -> ByteString #

ToByteString a => ToByteString (Sensitive a) 
Instance details

Defined in Network.AWS.Data.Sensitive

Methods

toBS :: Sensitive a -> ByteString #

ToByteString a => ToByteString (CI a) 
Instance details

Defined in Network.AWS.Data.ByteString

Methods

toBS :: CI a -> ByteString #

Log Messages

class ToLog a where #

Methods

build :: a -> Builder #

Convert a value to a loggable builder.

Instances
ToLog Bool 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Bool -> Builder #

ToLog Char 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Char -> Builder #

ToLog Double 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Double -> Builder #

ToLog Float 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Float -> Builder #

ToLog Int 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Int -> Builder #

ToLog Int8 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Int8 -> Builder #

ToLog Int16 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Int16 -> Builder #

ToLog Int32 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Int32 -> Builder #

ToLog Int64 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Int64 -> Builder #

ToLog Integer 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Integer -> Builder #

ToLog Word 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Word -> Builder #

ToLog Word8 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Word8 -> Builder #

ToLog Word16 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Word16 -> Builder #

ToLog Word32 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Word32 -> Builder #

ToLog Word64 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Word64 -> Builder #

ToLog ByteString 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: ByteString -> Builder #

ToLog ByteString 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: ByteString -> Builder #

ToLog Builder 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Builder -> Builder #

ToLog Text 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Text -> Builder #

ToLog UTCTime 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: UTCTime -> Builder #

ToLog Accept 
Instance details

Defined in Network.AWS.Waiter

Methods

build :: Accept -> Builder #

ToLog Abbrev 
Instance details

Defined in Network.AWS.Types

Methods

build :: Abbrev -> Builder #

ToLog ErrorCode 
Instance details

Defined in Network.AWS.Types

Methods

build :: ErrorCode -> Builder #

ToLog ErrorMessage 
Instance details

Defined in Network.AWS.Types

ToLog RequestId 
Instance details

Defined in Network.AWS.Types

Methods

build :: RequestId -> Builder #

ToLog Error 
Instance details

Defined in Network.AWS.Types

Methods

build :: Error -> Builder #

ToLog SerializeError 
Instance details

Defined in Network.AWS.Types

ToLog ServiceError 
Instance details

Defined in Network.AWS.Types

ToLog Meta 
Instance details

Defined in Network.AWS.Types

Methods

build :: Meta -> Builder #

ToLog AccessKey 
Instance details

Defined in Network.AWS.Types

Methods

build :: AccessKey -> Builder #

ToLog AuthEnv 
Instance details

Defined in Network.AWS.Types

Methods

build :: AuthEnv -> Builder #

ToLog Auth 
Instance details

Defined in Network.AWS.Types

Methods

build :: Auth -> Builder #

ToLog Region 
Instance details

Defined in Network.AWS.Types

Methods

build :: Region -> Builder #

ToLog Seconds 
Instance details

Defined in Network.AWS.Types

Methods

build :: Seconds -> Builder #

ToLog ChunkSize 
Instance details

Defined in Network.AWS.Data.Body

Methods

build :: ChunkSize -> Builder #

ToLog EscapedPath 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: EscapedPath -> Builder #

ToLog QueryString 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: QueryString -> Builder #

ToLog Status 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Status -> Builder #

ToLog HttpException 
Instance details

Defined in Network.AWS.Data.Log

ToLog Text 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Text -> Builder #

ToLog HttpExceptionContent 
Instance details

Defined in Network.AWS.Data.Log

ToLog RequestBody 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: RequestBody -> Builder #

ToLog Request 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Request -> Builder #

ToLog HttpVersion 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: HttpVersion -> Builder #

ToLog StdMethod 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: StdMethod -> Builder #

ToLog AuthError Source # 
Instance details

Defined in Network.AWS.Auth

Methods

build :: AuthError -> Builder #

ToLog Credentials Source # 
Instance details

Defined in Network.AWS.Auth

Methods

build :: Credentials -> Builder #

ToLog Env Source # 
Instance details

Defined in Network.AWS.Env

Methods

build :: Env -> Builder #

ToLog [Char] 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: [Char] -> Builder #

ToLog [Header] 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: [Header] -> Builder #

ToLog a => ToLog (Maybe a) 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Maybe a -> Builder #

ToLog (Sensitive a) 
Instance details

Defined in Network.AWS.Data.Sensitive

Methods

build :: Sensitive a -> Builder #

ToLog a => ToLog (CI a) 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: CI a -> Builder #

ToLog (Response a) 
Instance details

Defined in Network.AWS.Data.Log

Methods

build :: Response a -> Builder #