{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.HoneyCode.Types.ImportDataCharacterEncoding
( ImportDataCharacterEncoding
( ..,
ImportDataCharacterEncoding_ISO_8859_1,
ImportDataCharacterEncoding_US_ASCII,
ImportDataCharacterEncoding_UTF_16,
ImportDataCharacterEncoding_UTF_16BE,
ImportDataCharacterEncoding_UTF_16LE,
ImportDataCharacterEncoding_UTF_8
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype ImportDataCharacterEncoding = ImportDataCharacterEncoding'
{ ImportDataCharacterEncoding -> Text
fromImportDataCharacterEncoding ::
Core.Text
}
deriving stock
( Int -> ImportDataCharacterEncoding -> ShowS
[ImportDataCharacterEncoding] -> ShowS
ImportDataCharacterEncoding -> String
(Int -> ImportDataCharacterEncoding -> ShowS)
-> (ImportDataCharacterEncoding -> String)
-> ([ImportDataCharacterEncoding] -> ShowS)
-> Show ImportDataCharacterEncoding
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ImportDataCharacterEncoding] -> ShowS
$cshowList :: [ImportDataCharacterEncoding] -> ShowS
show :: ImportDataCharacterEncoding -> String
$cshow :: ImportDataCharacterEncoding -> String
showsPrec :: Int -> ImportDataCharacterEncoding -> ShowS
$cshowsPrec :: Int -> ImportDataCharacterEncoding -> ShowS
Prelude.Show,
ReadPrec [ImportDataCharacterEncoding]
ReadPrec ImportDataCharacterEncoding
Int -> ReadS ImportDataCharacterEncoding
ReadS [ImportDataCharacterEncoding]
(Int -> ReadS ImportDataCharacterEncoding)
-> ReadS [ImportDataCharacterEncoding]
-> ReadPrec ImportDataCharacterEncoding
-> ReadPrec [ImportDataCharacterEncoding]
-> Read ImportDataCharacterEncoding
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ImportDataCharacterEncoding]
$creadListPrec :: ReadPrec [ImportDataCharacterEncoding]
readPrec :: ReadPrec ImportDataCharacterEncoding
$creadPrec :: ReadPrec ImportDataCharacterEncoding
readList :: ReadS [ImportDataCharacterEncoding]
$creadList :: ReadS [ImportDataCharacterEncoding]
readsPrec :: Int -> ReadS ImportDataCharacterEncoding
$creadsPrec :: Int -> ReadS ImportDataCharacterEncoding
Prelude.Read,
ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
(ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> Bool)
-> (ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> Bool)
-> Eq ImportDataCharacterEncoding
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
$c/= :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
== :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
$c== :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
Prelude.Eq,
Eq ImportDataCharacterEncoding
Eq ImportDataCharacterEncoding
-> (ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> Ordering)
-> (ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> Bool)
-> (ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> Bool)
-> (ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> Bool)
-> (ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> Bool)
-> (ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> ImportDataCharacterEncoding)
-> (ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> ImportDataCharacterEncoding)
-> Ord ImportDataCharacterEncoding
ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> Ordering
ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> ImportDataCharacterEncoding
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> ImportDataCharacterEncoding
$cmin :: ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> ImportDataCharacterEncoding
max :: ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> ImportDataCharacterEncoding
$cmax :: ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> ImportDataCharacterEncoding
>= :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
$c>= :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
> :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
$c> :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
<= :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
$c<= :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
< :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
$c< :: ImportDataCharacterEncoding -> ImportDataCharacterEncoding -> Bool
compare :: ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> Ordering
$ccompare :: ImportDataCharacterEncoding
-> ImportDataCharacterEncoding -> Ordering
$cp1Ord :: Eq ImportDataCharacterEncoding
Prelude.Ord,
(forall x.
ImportDataCharacterEncoding -> Rep ImportDataCharacterEncoding x)
-> (forall x.
Rep ImportDataCharacterEncoding x -> ImportDataCharacterEncoding)
-> Generic ImportDataCharacterEncoding
forall x.
Rep ImportDataCharacterEncoding x -> ImportDataCharacterEncoding
forall x.
ImportDataCharacterEncoding -> Rep ImportDataCharacterEncoding x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ImportDataCharacterEncoding x -> ImportDataCharacterEncoding
$cfrom :: forall x.
ImportDataCharacterEncoding -> Rep ImportDataCharacterEncoding x
Prelude.Generic
)
deriving newtype
( Int -> ImportDataCharacterEncoding -> Int
ImportDataCharacterEncoding -> Int
(Int -> ImportDataCharacterEncoding -> Int)
-> (ImportDataCharacterEncoding -> Int)
-> Hashable ImportDataCharacterEncoding
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ImportDataCharacterEncoding -> Int
$chash :: ImportDataCharacterEncoding -> Int
hashWithSalt :: Int -> ImportDataCharacterEncoding -> Int
$chashWithSalt :: Int -> ImportDataCharacterEncoding -> Int
Prelude.Hashable,
ImportDataCharacterEncoding -> ()
(ImportDataCharacterEncoding -> ())
-> NFData ImportDataCharacterEncoding
forall a. (a -> ()) -> NFData a
rnf :: ImportDataCharacterEncoding -> ()
$crnf :: ImportDataCharacterEncoding -> ()
Prelude.NFData,
Text -> Either String ImportDataCharacterEncoding
(Text -> Either String ImportDataCharacterEncoding)
-> FromText ImportDataCharacterEncoding
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ImportDataCharacterEncoding
$cfromText :: Text -> Either String ImportDataCharacterEncoding
Core.FromText,
ImportDataCharacterEncoding -> Text
(ImportDataCharacterEncoding -> Text)
-> ToText ImportDataCharacterEncoding
forall a. (a -> Text) -> ToText a
toText :: ImportDataCharacterEncoding -> Text
$ctoText :: ImportDataCharacterEncoding -> Text
Core.ToText,
ImportDataCharacterEncoding -> ByteString
(ImportDataCharacterEncoding -> ByteString)
-> ToByteString ImportDataCharacterEncoding
forall a. (a -> ByteString) -> ToByteString a
toBS :: ImportDataCharacterEncoding -> ByteString
$ctoBS :: ImportDataCharacterEncoding -> ByteString
Core.ToByteString,
ImportDataCharacterEncoding -> ByteStringBuilder
(ImportDataCharacterEncoding -> ByteStringBuilder)
-> ToLog ImportDataCharacterEncoding
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ImportDataCharacterEncoding -> ByteStringBuilder
$cbuild :: ImportDataCharacterEncoding -> ByteStringBuilder
Core.ToLog,
HeaderName -> ImportDataCharacterEncoding -> [Header]
(HeaderName -> ImportDataCharacterEncoding -> [Header])
-> ToHeader ImportDataCharacterEncoding
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ImportDataCharacterEncoding -> [Header]
$ctoHeader :: HeaderName -> ImportDataCharacterEncoding -> [Header]
Core.ToHeader,
ImportDataCharacterEncoding -> QueryString
(ImportDataCharacterEncoding -> QueryString)
-> ToQuery ImportDataCharacterEncoding
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ImportDataCharacterEncoding -> QueryString
$ctoQuery :: ImportDataCharacterEncoding -> QueryString
Core.ToQuery,
Value -> Parser [ImportDataCharacterEncoding]
Value -> Parser ImportDataCharacterEncoding
(Value -> Parser ImportDataCharacterEncoding)
-> (Value -> Parser [ImportDataCharacterEncoding])
-> FromJSON ImportDataCharacterEncoding
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ImportDataCharacterEncoding]
$cparseJSONList :: Value -> Parser [ImportDataCharacterEncoding]
parseJSON :: Value -> Parser ImportDataCharacterEncoding
$cparseJSON :: Value -> Parser ImportDataCharacterEncoding
Core.FromJSON,
FromJSONKeyFunction [ImportDataCharacterEncoding]
FromJSONKeyFunction ImportDataCharacterEncoding
FromJSONKeyFunction ImportDataCharacterEncoding
-> FromJSONKeyFunction [ImportDataCharacterEncoding]
-> FromJSONKey ImportDataCharacterEncoding
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ImportDataCharacterEncoding]
$cfromJSONKeyList :: FromJSONKeyFunction [ImportDataCharacterEncoding]
fromJSONKey :: FromJSONKeyFunction ImportDataCharacterEncoding
$cfromJSONKey :: FromJSONKeyFunction ImportDataCharacterEncoding
Core.FromJSONKey,
[ImportDataCharacterEncoding] -> Encoding
[ImportDataCharacterEncoding] -> Value
ImportDataCharacterEncoding -> Encoding
ImportDataCharacterEncoding -> Value
(ImportDataCharacterEncoding -> Value)
-> (ImportDataCharacterEncoding -> Encoding)
-> ([ImportDataCharacterEncoding] -> Value)
-> ([ImportDataCharacterEncoding] -> Encoding)
-> ToJSON ImportDataCharacterEncoding
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ImportDataCharacterEncoding] -> Encoding
$ctoEncodingList :: [ImportDataCharacterEncoding] -> Encoding
toJSONList :: [ImportDataCharacterEncoding] -> Value
$ctoJSONList :: [ImportDataCharacterEncoding] -> Value
toEncoding :: ImportDataCharacterEncoding -> Encoding
$ctoEncoding :: ImportDataCharacterEncoding -> Encoding
toJSON :: ImportDataCharacterEncoding -> Value
$ctoJSON :: ImportDataCharacterEncoding -> Value
Core.ToJSON,
ToJSONKeyFunction [ImportDataCharacterEncoding]
ToJSONKeyFunction ImportDataCharacterEncoding
ToJSONKeyFunction ImportDataCharacterEncoding
-> ToJSONKeyFunction [ImportDataCharacterEncoding]
-> ToJSONKey ImportDataCharacterEncoding
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ImportDataCharacterEncoding]
$ctoJSONKeyList :: ToJSONKeyFunction [ImportDataCharacterEncoding]
toJSONKey :: ToJSONKeyFunction ImportDataCharacterEncoding
$ctoJSONKey :: ToJSONKeyFunction ImportDataCharacterEncoding
Core.ToJSONKey,
[Node] -> Either String ImportDataCharacterEncoding
([Node] -> Either String ImportDataCharacterEncoding)
-> FromXML ImportDataCharacterEncoding
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ImportDataCharacterEncoding
$cparseXML :: [Node] -> Either String ImportDataCharacterEncoding
Core.FromXML,
ImportDataCharacterEncoding -> XML
(ImportDataCharacterEncoding -> XML)
-> ToXML ImportDataCharacterEncoding
forall a. (a -> XML) -> ToXML a
toXML :: ImportDataCharacterEncoding -> XML
$ctoXML :: ImportDataCharacterEncoding -> XML
Core.ToXML
)
pattern ImportDataCharacterEncoding_ISO_8859_1 :: ImportDataCharacterEncoding
pattern $bImportDataCharacterEncoding_ISO_8859_1 :: ImportDataCharacterEncoding
$mImportDataCharacterEncoding_ISO_8859_1 :: forall r.
ImportDataCharacterEncoding -> (Void# -> r) -> (Void# -> r) -> r
ImportDataCharacterEncoding_ISO_8859_1 = ImportDataCharacterEncoding' "ISO-8859-1"
pattern ImportDataCharacterEncoding_US_ASCII :: ImportDataCharacterEncoding
pattern $bImportDataCharacterEncoding_US_ASCII :: ImportDataCharacterEncoding
$mImportDataCharacterEncoding_US_ASCII :: forall r.
ImportDataCharacterEncoding -> (Void# -> r) -> (Void# -> r) -> r
ImportDataCharacterEncoding_US_ASCII = ImportDataCharacterEncoding' "US-ASCII"
pattern ImportDataCharacterEncoding_UTF_16 :: ImportDataCharacterEncoding
pattern $bImportDataCharacterEncoding_UTF_16 :: ImportDataCharacterEncoding
$mImportDataCharacterEncoding_UTF_16 :: forall r.
ImportDataCharacterEncoding -> (Void# -> r) -> (Void# -> r) -> r
ImportDataCharacterEncoding_UTF_16 = ImportDataCharacterEncoding' "UTF-16"
pattern ImportDataCharacterEncoding_UTF_16BE :: ImportDataCharacterEncoding
pattern $bImportDataCharacterEncoding_UTF_16BE :: ImportDataCharacterEncoding
$mImportDataCharacterEncoding_UTF_16BE :: forall r.
ImportDataCharacterEncoding -> (Void# -> r) -> (Void# -> r) -> r
ImportDataCharacterEncoding_UTF_16BE = ImportDataCharacterEncoding' "UTF-16BE"
pattern ImportDataCharacterEncoding_UTF_16LE :: ImportDataCharacterEncoding
pattern $bImportDataCharacterEncoding_UTF_16LE :: ImportDataCharacterEncoding
$mImportDataCharacterEncoding_UTF_16LE :: forall r.
ImportDataCharacterEncoding -> (Void# -> r) -> (Void# -> r) -> r
ImportDataCharacterEncoding_UTF_16LE = ImportDataCharacterEncoding' "UTF-16LE"
pattern ImportDataCharacterEncoding_UTF_8 :: ImportDataCharacterEncoding
pattern $bImportDataCharacterEncoding_UTF_8 :: ImportDataCharacterEncoding
$mImportDataCharacterEncoding_UTF_8 :: forall r.
ImportDataCharacterEncoding -> (Void# -> r) -> (Void# -> r) -> r
ImportDataCharacterEncoding_UTF_8 = ImportDataCharacterEncoding' "UTF-8"
{-# COMPLETE
ImportDataCharacterEncoding_ISO_8859_1,
ImportDataCharacterEncoding_US_ASCII,
ImportDataCharacterEncoding_UTF_16,
ImportDataCharacterEncoding_UTF_16BE,
ImportDataCharacterEncoding_UTF_16LE,
ImportDataCharacterEncoding_UTF_8,
ImportDataCharacterEncoding'
#-}