{-# 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.ImportSourceDataFormat
( ImportSourceDataFormat
( ..,
ImportSourceDataFormat_DELIMITED_TEXT
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype ImportSourceDataFormat = ImportSourceDataFormat'
{ ImportSourceDataFormat -> Text
fromImportSourceDataFormat ::
Core.Text
}
deriving stock
( Int -> ImportSourceDataFormat -> ShowS
[ImportSourceDataFormat] -> ShowS
ImportSourceDataFormat -> String
(Int -> ImportSourceDataFormat -> ShowS)
-> (ImportSourceDataFormat -> String)
-> ([ImportSourceDataFormat] -> ShowS)
-> Show ImportSourceDataFormat
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ImportSourceDataFormat] -> ShowS
$cshowList :: [ImportSourceDataFormat] -> ShowS
show :: ImportSourceDataFormat -> String
$cshow :: ImportSourceDataFormat -> String
showsPrec :: Int -> ImportSourceDataFormat -> ShowS
$cshowsPrec :: Int -> ImportSourceDataFormat -> ShowS
Prelude.Show,
ReadPrec [ImportSourceDataFormat]
ReadPrec ImportSourceDataFormat
Int -> ReadS ImportSourceDataFormat
ReadS [ImportSourceDataFormat]
(Int -> ReadS ImportSourceDataFormat)
-> ReadS [ImportSourceDataFormat]
-> ReadPrec ImportSourceDataFormat
-> ReadPrec [ImportSourceDataFormat]
-> Read ImportSourceDataFormat
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ImportSourceDataFormat]
$creadListPrec :: ReadPrec [ImportSourceDataFormat]
readPrec :: ReadPrec ImportSourceDataFormat
$creadPrec :: ReadPrec ImportSourceDataFormat
readList :: ReadS [ImportSourceDataFormat]
$creadList :: ReadS [ImportSourceDataFormat]
readsPrec :: Int -> ReadS ImportSourceDataFormat
$creadsPrec :: Int -> ReadS ImportSourceDataFormat
Prelude.Read,
ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
(ImportSourceDataFormat -> ImportSourceDataFormat -> Bool)
-> (ImportSourceDataFormat -> ImportSourceDataFormat -> Bool)
-> Eq ImportSourceDataFormat
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
$c/= :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
== :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
$c== :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
Prelude.Eq,
Eq ImportSourceDataFormat
Eq ImportSourceDataFormat
-> (ImportSourceDataFormat -> ImportSourceDataFormat -> Ordering)
-> (ImportSourceDataFormat -> ImportSourceDataFormat -> Bool)
-> (ImportSourceDataFormat -> ImportSourceDataFormat -> Bool)
-> (ImportSourceDataFormat -> ImportSourceDataFormat -> Bool)
-> (ImportSourceDataFormat -> ImportSourceDataFormat -> Bool)
-> (ImportSourceDataFormat
-> ImportSourceDataFormat -> ImportSourceDataFormat)
-> (ImportSourceDataFormat
-> ImportSourceDataFormat -> ImportSourceDataFormat)
-> Ord ImportSourceDataFormat
ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
ImportSourceDataFormat -> ImportSourceDataFormat -> Ordering
ImportSourceDataFormat
-> ImportSourceDataFormat -> ImportSourceDataFormat
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 :: ImportSourceDataFormat
-> ImportSourceDataFormat -> ImportSourceDataFormat
$cmin :: ImportSourceDataFormat
-> ImportSourceDataFormat -> ImportSourceDataFormat
max :: ImportSourceDataFormat
-> ImportSourceDataFormat -> ImportSourceDataFormat
$cmax :: ImportSourceDataFormat
-> ImportSourceDataFormat -> ImportSourceDataFormat
>= :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
$c>= :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
> :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
$c> :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
<= :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
$c<= :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
< :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
$c< :: ImportSourceDataFormat -> ImportSourceDataFormat -> Bool
compare :: ImportSourceDataFormat -> ImportSourceDataFormat -> Ordering
$ccompare :: ImportSourceDataFormat -> ImportSourceDataFormat -> Ordering
$cp1Ord :: Eq ImportSourceDataFormat
Prelude.Ord,
(forall x. ImportSourceDataFormat -> Rep ImportSourceDataFormat x)
-> (forall x.
Rep ImportSourceDataFormat x -> ImportSourceDataFormat)
-> Generic ImportSourceDataFormat
forall x. Rep ImportSourceDataFormat x -> ImportSourceDataFormat
forall x. ImportSourceDataFormat -> Rep ImportSourceDataFormat x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ImportSourceDataFormat x -> ImportSourceDataFormat
$cfrom :: forall x. ImportSourceDataFormat -> Rep ImportSourceDataFormat x
Prelude.Generic
)
deriving newtype
( Int -> ImportSourceDataFormat -> Int
ImportSourceDataFormat -> Int
(Int -> ImportSourceDataFormat -> Int)
-> (ImportSourceDataFormat -> Int)
-> Hashable ImportSourceDataFormat
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ImportSourceDataFormat -> Int
$chash :: ImportSourceDataFormat -> Int
hashWithSalt :: Int -> ImportSourceDataFormat -> Int
$chashWithSalt :: Int -> ImportSourceDataFormat -> Int
Prelude.Hashable,
ImportSourceDataFormat -> ()
(ImportSourceDataFormat -> ()) -> NFData ImportSourceDataFormat
forall a. (a -> ()) -> NFData a
rnf :: ImportSourceDataFormat -> ()
$crnf :: ImportSourceDataFormat -> ()
Prelude.NFData,
Text -> Either String ImportSourceDataFormat
(Text -> Either String ImportSourceDataFormat)
-> FromText ImportSourceDataFormat
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ImportSourceDataFormat
$cfromText :: Text -> Either String ImportSourceDataFormat
Core.FromText,
ImportSourceDataFormat -> Text
(ImportSourceDataFormat -> Text) -> ToText ImportSourceDataFormat
forall a. (a -> Text) -> ToText a
toText :: ImportSourceDataFormat -> Text
$ctoText :: ImportSourceDataFormat -> Text
Core.ToText,
ImportSourceDataFormat -> ByteString
(ImportSourceDataFormat -> ByteString)
-> ToByteString ImportSourceDataFormat
forall a. (a -> ByteString) -> ToByteString a
toBS :: ImportSourceDataFormat -> ByteString
$ctoBS :: ImportSourceDataFormat -> ByteString
Core.ToByteString,
ImportSourceDataFormat -> ByteStringBuilder
(ImportSourceDataFormat -> ByteStringBuilder)
-> ToLog ImportSourceDataFormat
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ImportSourceDataFormat -> ByteStringBuilder
$cbuild :: ImportSourceDataFormat -> ByteStringBuilder
Core.ToLog,
HeaderName -> ImportSourceDataFormat -> [Header]
(HeaderName -> ImportSourceDataFormat -> [Header])
-> ToHeader ImportSourceDataFormat
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ImportSourceDataFormat -> [Header]
$ctoHeader :: HeaderName -> ImportSourceDataFormat -> [Header]
Core.ToHeader,
ImportSourceDataFormat -> QueryString
(ImportSourceDataFormat -> QueryString)
-> ToQuery ImportSourceDataFormat
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ImportSourceDataFormat -> QueryString
$ctoQuery :: ImportSourceDataFormat -> QueryString
Core.ToQuery,
Value -> Parser [ImportSourceDataFormat]
Value -> Parser ImportSourceDataFormat
(Value -> Parser ImportSourceDataFormat)
-> (Value -> Parser [ImportSourceDataFormat])
-> FromJSON ImportSourceDataFormat
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ImportSourceDataFormat]
$cparseJSONList :: Value -> Parser [ImportSourceDataFormat]
parseJSON :: Value -> Parser ImportSourceDataFormat
$cparseJSON :: Value -> Parser ImportSourceDataFormat
Core.FromJSON,
FromJSONKeyFunction [ImportSourceDataFormat]
FromJSONKeyFunction ImportSourceDataFormat
FromJSONKeyFunction ImportSourceDataFormat
-> FromJSONKeyFunction [ImportSourceDataFormat]
-> FromJSONKey ImportSourceDataFormat
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ImportSourceDataFormat]
$cfromJSONKeyList :: FromJSONKeyFunction [ImportSourceDataFormat]
fromJSONKey :: FromJSONKeyFunction ImportSourceDataFormat
$cfromJSONKey :: FromJSONKeyFunction ImportSourceDataFormat
Core.FromJSONKey,
[ImportSourceDataFormat] -> Encoding
[ImportSourceDataFormat] -> Value
ImportSourceDataFormat -> Encoding
ImportSourceDataFormat -> Value
(ImportSourceDataFormat -> Value)
-> (ImportSourceDataFormat -> Encoding)
-> ([ImportSourceDataFormat] -> Value)
-> ([ImportSourceDataFormat] -> Encoding)
-> ToJSON ImportSourceDataFormat
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ImportSourceDataFormat] -> Encoding
$ctoEncodingList :: [ImportSourceDataFormat] -> Encoding
toJSONList :: [ImportSourceDataFormat] -> Value
$ctoJSONList :: [ImportSourceDataFormat] -> Value
toEncoding :: ImportSourceDataFormat -> Encoding
$ctoEncoding :: ImportSourceDataFormat -> Encoding
toJSON :: ImportSourceDataFormat -> Value
$ctoJSON :: ImportSourceDataFormat -> Value
Core.ToJSON,
ToJSONKeyFunction [ImportSourceDataFormat]
ToJSONKeyFunction ImportSourceDataFormat
ToJSONKeyFunction ImportSourceDataFormat
-> ToJSONKeyFunction [ImportSourceDataFormat]
-> ToJSONKey ImportSourceDataFormat
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ImportSourceDataFormat]
$ctoJSONKeyList :: ToJSONKeyFunction [ImportSourceDataFormat]
toJSONKey :: ToJSONKeyFunction ImportSourceDataFormat
$ctoJSONKey :: ToJSONKeyFunction ImportSourceDataFormat
Core.ToJSONKey,
[Node] -> Either String ImportSourceDataFormat
([Node] -> Either String ImportSourceDataFormat)
-> FromXML ImportSourceDataFormat
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ImportSourceDataFormat
$cparseXML :: [Node] -> Either String ImportSourceDataFormat
Core.FromXML,
ImportSourceDataFormat -> XML
(ImportSourceDataFormat -> XML) -> ToXML ImportSourceDataFormat
forall a. (a -> XML) -> ToXML a
toXML :: ImportSourceDataFormat -> XML
$ctoXML :: ImportSourceDataFormat -> XML
Core.ToXML
)
pattern ImportSourceDataFormat_DELIMITED_TEXT :: ImportSourceDataFormat
pattern $bImportSourceDataFormat_DELIMITED_TEXT :: ImportSourceDataFormat
$mImportSourceDataFormat_DELIMITED_TEXT :: forall r.
ImportSourceDataFormat -> (Void# -> r) -> (Void# -> r) -> r
ImportSourceDataFormat_DELIMITED_TEXT = ImportSourceDataFormat' "DELIMITED_TEXT"
{-# COMPLETE
ImportSourceDataFormat_DELIMITED_TEXT,
ImportSourceDataFormat'
#-}