Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
Text
Instances
fromTextError :: Text -> Parser a #
takeLowerText :: Parser Text #
Instances
ByteString
class ToByteString a where #
Nothing
toBS :: a -> ByteString #