{-# 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.RuntimeEnvironment
( RuntimeEnvironment
( ..,
RuntimeEnvironment_FLINK_1_11,
RuntimeEnvironment_FLINK_1_13,
RuntimeEnvironment_FLINK_1_6,
RuntimeEnvironment_FLINK_1_8,
RuntimeEnvironment_SQL_1_0,
RuntimeEnvironment_ZEPPELIN_FLINK_1_0,
RuntimeEnvironment_ZEPPELIN_FLINK_2_0
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype RuntimeEnvironment = RuntimeEnvironment'
{ RuntimeEnvironment -> Text
fromRuntimeEnvironment ::
Core.Text
}
deriving stock
( Int -> RuntimeEnvironment -> ShowS
[RuntimeEnvironment] -> ShowS
RuntimeEnvironment -> String
(Int -> RuntimeEnvironment -> ShowS)
-> (RuntimeEnvironment -> String)
-> ([RuntimeEnvironment] -> ShowS)
-> Show RuntimeEnvironment
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RuntimeEnvironment] -> ShowS
$cshowList :: [RuntimeEnvironment] -> ShowS
show :: RuntimeEnvironment -> String
$cshow :: RuntimeEnvironment -> String
showsPrec :: Int -> RuntimeEnvironment -> ShowS
$cshowsPrec :: Int -> RuntimeEnvironment -> ShowS
Prelude.Show,
ReadPrec [RuntimeEnvironment]
ReadPrec RuntimeEnvironment
Int -> ReadS RuntimeEnvironment
ReadS [RuntimeEnvironment]
(Int -> ReadS RuntimeEnvironment)
-> ReadS [RuntimeEnvironment]
-> ReadPrec RuntimeEnvironment
-> ReadPrec [RuntimeEnvironment]
-> Read RuntimeEnvironment
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RuntimeEnvironment]
$creadListPrec :: ReadPrec [RuntimeEnvironment]
readPrec :: ReadPrec RuntimeEnvironment
$creadPrec :: ReadPrec RuntimeEnvironment
readList :: ReadS [RuntimeEnvironment]
$creadList :: ReadS [RuntimeEnvironment]
readsPrec :: Int -> ReadS RuntimeEnvironment
$creadsPrec :: Int -> ReadS RuntimeEnvironment
Prelude.Read,
RuntimeEnvironment -> RuntimeEnvironment -> Bool
(RuntimeEnvironment -> RuntimeEnvironment -> Bool)
-> (RuntimeEnvironment -> RuntimeEnvironment -> Bool)
-> Eq RuntimeEnvironment
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
$c/= :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
== :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
$c== :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
Prelude.Eq,
Eq RuntimeEnvironment
Eq RuntimeEnvironment
-> (RuntimeEnvironment -> RuntimeEnvironment -> Ordering)
-> (RuntimeEnvironment -> RuntimeEnvironment -> Bool)
-> (RuntimeEnvironment -> RuntimeEnvironment -> Bool)
-> (RuntimeEnvironment -> RuntimeEnvironment -> Bool)
-> (RuntimeEnvironment -> RuntimeEnvironment -> Bool)
-> (RuntimeEnvironment -> RuntimeEnvironment -> RuntimeEnvironment)
-> (RuntimeEnvironment -> RuntimeEnvironment -> RuntimeEnvironment)
-> Ord RuntimeEnvironment
RuntimeEnvironment -> RuntimeEnvironment -> Bool
RuntimeEnvironment -> RuntimeEnvironment -> Ordering
RuntimeEnvironment -> RuntimeEnvironment -> RuntimeEnvironment
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 :: RuntimeEnvironment -> RuntimeEnvironment -> RuntimeEnvironment
$cmin :: RuntimeEnvironment -> RuntimeEnvironment -> RuntimeEnvironment
max :: RuntimeEnvironment -> RuntimeEnvironment -> RuntimeEnvironment
$cmax :: RuntimeEnvironment -> RuntimeEnvironment -> RuntimeEnvironment
>= :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
$c>= :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
> :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
$c> :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
<= :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
$c<= :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
< :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
$c< :: RuntimeEnvironment -> RuntimeEnvironment -> Bool
compare :: RuntimeEnvironment -> RuntimeEnvironment -> Ordering
$ccompare :: RuntimeEnvironment -> RuntimeEnvironment -> Ordering
$cp1Ord :: Eq RuntimeEnvironment
Prelude.Ord,
(forall x. RuntimeEnvironment -> Rep RuntimeEnvironment x)
-> (forall x. Rep RuntimeEnvironment x -> RuntimeEnvironment)
-> Generic RuntimeEnvironment
forall x. Rep RuntimeEnvironment x -> RuntimeEnvironment
forall x. RuntimeEnvironment -> Rep RuntimeEnvironment x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RuntimeEnvironment x -> RuntimeEnvironment
$cfrom :: forall x. RuntimeEnvironment -> Rep RuntimeEnvironment x
Prelude.Generic
)
deriving newtype
( Int -> RuntimeEnvironment -> Int
RuntimeEnvironment -> Int
(Int -> RuntimeEnvironment -> Int)
-> (RuntimeEnvironment -> Int) -> Hashable RuntimeEnvironment
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: RuntimeEnvironment -> Int
$chash :: RuntimeEnvironment -> Int
hashWithSalt :: Int -> RuntimeEnvironment -> Int
$chashWithSalt :: Int -> RuntimeEnvironment -> Int
Prelude.Hashable,
RuntimeEnvironment -> ()
(RuntimeEnvironment -> ()) -> NFData RuntimeEnvironment
forall a. (a -> ()) -> NFData a
rnf :: RuntimeEnvironment -> ()
$crnf :: RuntimeEnvironment -> ()
Prelude.NFData,
Text -> Either String RuntimeEnvironment
(Text -> Either String RuntimeEnvironment)
-> FromText RuntimeEnvironment
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String RuntimeEnvironment
$cfromText :: Text -> Either String RuntimeEnvironment
Core.FromText,
RuntimeEnvironment -> Text
(RuntimeEnvironment -> Text) -> ToText RuntimeEnvironment
forall a. (a -> Text) -> ToText a
toText :: RuntimeEnvironment -> Text
$ctoText :: RuntimeEnvironment -> Text
Core.ToText,
RuntimeEnvironment -> ByteString
(RuntimeEnvironment -> ByteString)
-> ToByteString RuntimeEnvironment
forall a. (a -> ByteString) -> ToByteString a
toBS :: RuntimeEnvironment -> ByteString
$ctoBS :: RuntimeEnvironment -> ByteString
Core.ToByteString,
RuntimeEnvironment -> ByteStringBuilder
(RuntimeEnvironment -> ByteStringBuilder)
-> ToLog RuntimeEnvironment
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: RuntimeEnvironment -> ByteStringBuilder
$cbuild :: RuntimeEnvironment -> ByteStringBuilder
Core.ToLog,
HeaderName -> RuntimeEnvironment -> [Header]
(HeaderName -> RuntimeEnvironment -> [Header])
-> ToHeader RuntimeEnvironment
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> RuntimeEnvironment -> [Header]
$ctoHeader :: HeaderName -> RuntimeEnvironment -> [Header]
Core.ToHeader,
RuntimeEnvironment -> QueryString
(RuntimeEnvironment -> QueryString) -> ToQuery RuntimeEnvironment
forall a. (a -> QueryString) -> ToQuery a
toQuery :: RuntimeEnvironment -> QueryString
$ctoQuery :: RuntimeEnvironment -> QueryString
Core.ToQuery,
Value -> Parser [RuntimeEnvironment]
Value -> Parser RuntimeEnvironment
(Value -> Parser RuntimeEnvironment)
-> (Value -> Parser [RuntimeEnvironment])
-> FromJSON RuntimeEnvironment
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [RuntimeEnvironment]
$cparseJSONList :: Value -> Parser [RuntimeEnvironment]
parseJSON :: Value -> Parser RuntimeEnvironment
$cparseJSON :: Value -> Parser RuntimeEnvironment
Core.FromJSON,
FromJSONKeyFunction [RuntimeEnvironment]
FromJSONKeyFunction RuntimeEnvironment
FromJSONKeyFunction RuntimeEnvironment
-> FromJSONKeyFunction [RuntimeEnvironment]
-> FromJSONKey RuntimeEnvironment
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [RuntimeEnvironment]
$cfromJSONKeyList :: FromJSONKeyFunction [RuntimeEnvironment]
fromJSONKey :: FromJSONKeyFunction RuntimeEnvironment
$cfromJSONKey :: FromJSONKeyFunction RuntimeEnvironment
Core.FromJSONKey,
[RuntimeEnvironment] -> Encoding
[RuntimeEnvironment] -> Value
RuntimeEnvironment -> Encoding
RuntimeEnvironment -> Value
(RuntimeEnvironment -> Value)
-> (RuntimeEnvironment -> Encoding)
-> ([RuntimeEnvironment] -> Value)
-> ([RuntimeEnvironment] -> Encoding)
-> ToJSON RuntimeEnvironment
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [RuntimeEnvironment] -> Encoding
$ctoEncodingList :: [RuntimeEnvironment] -> Encoding
toJSONList :: [RuntimeEnvironment] -> Value
$ctoJSONList :: [RuntimeEnvironment] -> Value
toEncoding :: RuntimeEnvironment -> Encoding
$ctoEncoding :: RuntimeEnvironment -> Encoding
toJSON :: RuntimeEnvironment -> Value
$ctoJSON :: RuntimeEnvironment -> Value
Core.ToJSON,
ToJSONKeyFunction [RuntimeEnvironment]
ToJSONKeyFunction RuntimeEnvironment
ToJSONKeyFunction RuntimeEnvironment
-> ToJSONKeyFunction [RuntimeEnvironment]
-> ToJSONKey RuntimeEnvironment
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [RuntimeEnvironment]
$ctoJSONKeyList :: ToJSONKeyFunction [RuntimeEnvironment]
toJSONKey :: ToJSONKeyFunction RuntimeEnvironment
$ctoJSONKey :: ToJSONKeyFunction RuntimeEnvironment
Core.ToJSONKey,
[Node] -> Either String RuntimeEnvironment
([Node] -> Either String RuntimeEnvironment)
-> FromXML RuntimeEnvironment
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String RuntimeEnvironment
$cparseXML :: [Node] -> Either String RuntimeEnvironment
Core.FromXML,
RuntimeEnvironment -> XML
(RuntimeEnvironment -> XML) -> ToXML RuntimeEnvironment
forall a. (a -> XML) -> ToXML a
toXML :: RuntimeEnvironment -> XML
$ctoXML :: RuntimeEnvironment -> XML
Core.ToXML
)
pattern RuntimeEnvironment_FLINK_1_11 :: RuntimeEnvironment
pattern $bRuntimeEnvironment_FLINK_1_11 :: RuntimeEnvironment
$mRuntimeEnvironment_FLINK_1_11 :: forall r. RuntimeEnvironment -> (Void# -> r) -> (Void# -> r) -> r
RuntimeEnvironment_FLINK_1_11 = RuntimeEnvironment' "FLINK-1_11"
pattern RuntimeEnvironment_FLINK_1_13 :: RuntimeEnvironment
pattern $bRuntimeEnvironment_FLINK_1_13 :: RuntimeEnvironment
$mRuntimeEnvironment_FLINK_1_13 :: forall r. RuntimeEnvironment -> (Void# -> r) -> (Void# -> r) -> r
RuntimeEnvironment_FLINK_1_13 = RuntimeEnvironment' "FLINK-1_13"
pattern RuntimeEnvironment_FLINK_1_6 :: RuntimeEnvironment
pattern $bRuntimeEnvironment_FLINK_1_6 :: RuntimeEnvironment
$mRuntimeEnvironment_FLINK_1_6 :: forall r. RuntimeEnvironment -> (Void# -> r) -> (Void# -> r) -> r
RuntimeEnvironment_FLINK_1_6 = RuntimeEnvironment' "FLINK-1_6"
pattern RuntimeEnvironment_FLINK_1_8 :: RuntimeEnvironment
pattern $bRuntimeEnvironment_FLINK_1_8 :: RuntimeEnvironment
$mRuntimeEnvironment_FLINK_1_8 :: forall r. RuntimeEnvironment -> (Void# -> r) -> (Void# -> r) -> r
RuntimeEnvironment_FLINK_1_8 = RuntimeEnvironment' "FLINK-1_8"
pattern RuntimeEnvironment_SQL_1_0 :: RuntimeEnvironment
pattern $bRuntimeEnvironment_SQL_1_0 :: RuntimeEnvironment
$mRuntimeEnvironment_SQL_1_0 :: forall r. RuntimeEnvironment -> (Void# -> r) -> (Void# -> r) -> r
RuntimeEnvironment_SQL_1_0 = RuntimeEnvironment' "SQL-1_0"
pattern RuntimeEnvironment_ZEPPELIN_FLINK_1_0 :: RuntimeEnvironment
pattern $bRuntimeEnvironment_ZEPPELIN_FLINK_1_0 :: RuntimeEnvironment
$mRuntimeEnvironment_ZEPPELIN_FLINK_1_0 :: forall r. RuntimeEnvironment -> (Void# -> r) -> (Void# -> r) -> r
RuntimeEnvironment_ZEPPELIN_FLINK_1_0 = RuntimeEnvironment' "ZEPPELIN-FLINK-1_0"
pattern RuntimeEnvironment_ZEPPELIN_FLINK_2_0 :: RuntimeEnvironment
pattern $bRuntimeEnvironment_ZEPPELIN_FLINK_2_0 :: RuntimeEnvironment
$mRuntimeEnvironment_ZEPPELIN_FLINK_2_0 :: forall r. RuntimeEnvironment -> (Void# -> r) -> (Void# -> r) -> r
RuntimeEnvironment_ZEPPELIN_FLINK_2_0 = RuntimeEnvironment' "ZEPPELIN-FLINK-2_0"
{-# COMPLETE
RuntimeEnvironment_FLINK_1_11,
RuntimeEnvironment_FLINK_1_13,
RuntimeEnvironment_FLINK_1_6,
RuntimeEnvironment_FLINK_1_8,
RuntimeEnvironment_SQL_1_0,
RuntimeEnvironment_ZEPPELIN_FLINK_1_0,
RuntimeEnvironment_ZEPPELIN_FLINK_2_0,
RuntimeEnvironment'
#-}