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