{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.EC2.Types.DestinationFileFormat
( DestinationFileFormat
( ..,
DestinationFileFormat_Parquet,
DestinationFileFormat_Plain_text
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import Amazonka.EC2.Internal
import qualified Amazonka.Prelude as Prelude
newtype DestinationFileFormat = DestinationFileFormat'
{ DestinationFileFormat -> Text
fromDestinationFileFormat ::
Data.Text
}
deriving stock
( Int -> DestinationFileFormat -> ShowS
[DestinationFileFormat] -> ShowS
DestinationFileFormat -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DestinationFileFormat] -> ShowS
$cshowList :: [DestinationFileFormat] -> ShowS
show :: DestinationFileFormat -> String
$cshow :: DestinationFileFormat -> String
showsPrec :: Int -> DestinationFileFormat -> ShowS
$cshowsPrec :: Int -> DestinationFileFormat -> ShowS
Prelude.Show,
ReadPrec [DestinationFileFormat]
ReadPrec DestinationFileFormat
Int -> ReadS DestinationFileFormat
ReadS [DestinationFileFormat]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DestinationFileFormat]
$creadListPrec :: ReadPrec [DestinationFileFormat]
readPrec :: ReadPrec DestinationFileFormat
$creadPrec :: ReadPrec DestinationFileFormat
readList :: ReadS [DestinationFileFormat]
$creadList :: ReadS [DestinationFileFormat]
readsPrec :: Int -> ReadS DestinationFileFormat
$creadsPrec :: Int -> ReadS DestinationFileFormat
Prelude.Read,
DestinationFileFormat -> DestinationFileFormat -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DestinationFileFormat -> DestinationFileFormat -> Bool
$c/= :: DestinationFileFormat -> DestinationFileFormat -> Bool
== :: DestinationFileFormat -> DestinationFileFormat -> Bool
$c== :: DestinationFileFormat -> DestinationFileFormat -> Bool
Prelude.Eq,
Eq DestinationFileFormat
DestinationFileFormat -> DestinationFileFormat -> Bool
DestinationFileFormat -> DestinationFileFormat -> Ordering
DestinationFileFormat
-> DestinationFileFormat -> DestinationFileFormat
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 :: DestinationFileFormat
-> DestinationFileFormat -> DestinationFileFormat
$cmin :: DestinationFileFormat
-> DestinationFileFormat -> DestinationFileFormat
max :: DestinationFileFormat
-> DestinationFileFormat -> DestinationFileFormat
$cmax :: DestinationFileFormat
-> DestinationFileFormat -> DestinationFileFormat
>= :: DestinationFileFormat -> DestinationFileFormat -> Bool
$c>= :: DestinationFileFormat -> DestinationFileFormat -> Bool
> :: DestinationFileFormat -> DestinationFileFormat -> Bool
$c> :: DestinationFileFormat -> DestinationFileFormat -> Bool
<= :: DestinationFileFormat -> DestinationFileFormat -> Bool
$c<= :: DestinationFileFormat -> DestinationFileFormat -> Bool
< :: DestinationFileFormat -> DestinationFileFormat -> Bool
$c< :: DestinationFileFormat -> DestinationFileFormat -> Bool
compare :: DestinationFileFormat -> DestinationFileFormat -> Ordering
$ccompare :: DestinationFileFormat -> DestinationFileFormat -> Ordering
Prelude.Ord,
forall x. Rep DestinationFileFormat x -> DestinationFileFormat
forall x. DestinationFileFormat -> Rep DestinationFileFormat x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DestinationFileFormat x -> DestinationFileFormat
$cfrom :: forall x. DestinationFileFormat -> Rep DestinationFileFormat x
Prelude.Generic
)
deriving newtype
( Eq DestinationFileFormat
Int -> DestinationFileFormat -> Int
DestinationFileFormat -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: DestinationFileFormat -> Int
$chash :: DestinationFileFormat -> Int
hashWithSalt :: Int -> DestinationFileFormat -> Int
$chashWithSalt :: Int -> DestinationFileFormat -> Int
Prelude.Hashable,
DestinationFileFormat -> ()
forall a. (a -> ()) -> NFData a
rnf :: DestinationFileFormat -> ()
$crnf :: DestinationFileFormat -> ()
Prelude.NFData,
Text -> Either String DestinationFileFormat
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String DestinationFileFormat
$cfromText :: Text -> Either String DestinationFileFormat
Data.FromText,
DestinationFileFormat -> Text
forall a. (a -> Text) -> ToText a
toText :: DestinationFileFormat -> Text
$ctoText :: DestinationFileFormat -> Text
Data.ToText,
DestinationFileFormat -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: DestinationFileFormat -> ByteString
$ctoBS :: DestinationFileFormat -> ByteString
Data.ToByteString,
DestinationFileFormat -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: DestinationFileFormat -> ByteStringBuilder
$cbuild :: DestinationFileFormat -> ByteStringBuilder
Data.ToLog,
HeaderName -> DestinationFileFormat -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> DestinationFileFormat -> [Header]
$ctoHeader :: HeaderName -> DestinationFileFormat -> [Header]
Data.ToHeader,
DestinationFileFormat -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: DestinationFileFormat -> QueryString
$ctoQuery :: DestinationFileFormat -> QueryString
Data.ToQuery,
Value -> Parser [DestinationFileFormat]
Value -> Parser DestinationFileFormat
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [DestinationFileFormat]
$cparseJSONList :: Value -> Parser [DestinationFileFormat]
parseJSON :: Value -> Parser DestinationFileFormat
$cparseJSON :: Value -> Parser DestinationFileFormat
Data.FromJSON,
FromJSONKeyFunction [DestinationFileFormat]
FromJSONKeyFunction DestinationFileFormat
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [DestinationFileFormat]
$cfromJSONKeyList :: FromJSONKeyFunction [DestinationFileFormat]
fromJSONKey :: FromJSONKeyFunction DestinationFileFormat
$cfromJSONKey :: FromJSONKeyFunction DestinationFileFormat
Data.FromJSONKey,
[DestinationFileFormat] -> Encoding
[DestinationFileFormat] -> Value
DestinationFileFormat -> Encoding
DestinationFileFormat -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [DestinationFileFormat] -> Encoding
$ctoEncodingList :: [DestinationFileFormat] -> Encoding
toJSONList :: [DestinationFileFormat] -> Value
$ctoJSONList :: [DestinationFileFormat] -> Value
toEncoding :: DestinationFileFormat -> Encoding
$ctoEncoding :: DestinationFileFormat -> Encoding
toJSON :: DestinationFileFormat -> Value
$ctoJSON :: DestinationFileFormat -> Value
Data.ToJSON,
ToJSONKeyFunction [DestinationFileFormat]
ToJSONKeyFunction DestinationFileFormat
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [DestinationFileFormat]
$ctoJSONKeyList :: ToJSONKeyFunction [DestinationFileFormat]
toJSONKey :: ToJSONKeyFunction DestinationFileFormat
$ctoJSONKey :: ToJSONKeyFunction DestinationFileFormat
Data.ToJSONKey,
[Node] -> Either String DestinationFileFormat
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String DestinationFileFormat
$cparseXML :: [Node] -> Either String DestinationFileFormat
Data.FromXML,
DestinationFileFormat -> XML
forall a. (a -> XML) -> ToXML a
toXML :: DestinationFileFormat -> XML
$ctoXML :: DestinationFileFormat -> XML
Data.ToXML
)
pattern DestinationFileFormat_Parquet :: DestinationFileFormat
pattern $bDestinationFileFormat_Parquet :: DestinationFileFormat
$mDestinationFileFormat_Parquet :: forall {r}.
DestinationFileFormat -> ((# #) -> r) -> ((# #) -> r) -> r
DestinationFileFormat_Parquet = DestinationFileFormat' "parquet"
pattern DestinationFileFormat_Plain_text :: DestinationFileFormat
pattern $bDestinationFileFormat_Plain_text :: DestinationFileFormat
$mDestinationFileFormat_Plain_text :: forall {r}.
DestinationFileFormat -> ((# #) -> r) -> ((# #) -> r) -> r
DestinationFileFormat_Plain_text = DestinationFileFormat' "plain-text"
{-# COMPLETE
DestinationFileFormat_Parquet,
DestinationFileFormat_Plain_text,
DestinationFileFormat'
#-}