{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Lambda.Types.Runtime
( Runtime
( ..,
Runtime_Dotnetcore1_0,
Runtime_Dotnetcore2_0,
Runtime_Dotnetcore2_1,
Runtime_Dotnetcore3_1,
Runtime_Go1_x,
Runtime_Java11,
Runtime_Java8,
Runtime_Java8_al2,
Runtime_Nodejs,
Runtime_Nodejs10_x,
Runtime_Nodejs12_x,
Runtime_Nodejs14_x,
Runtime_Nodejs4_3,
Runtime_Nodejs4_3_edge,
Runtime_Nodejs6_10,
Runtime_Nodejs8_10,
Runtime_Provided,
Runtime_Provided_al2,
Runtime_Python2_7,
Runtime_Python3_6,
Runtime_Python3_7,
Runtime_Python3_8,
Runtime_Python3_9,
Runtime_Ruby2_5,
Runtime_Ruby2_7
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype Runtime = Runtime' {Runtime -> Text
fromRuntime :: Core.Text}
deriving stock
( Int -> Runtime -> ShowS
[Runtime] -> ShowS
Runtime -> String
(Int -> Runtime -> ShowS)
-> (Runtime -> String) -> ([Runtime] -> ShowS) -> Show Runtime
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Runtime] -> ShowS
$cshowList :: [Runtime] -> ShowS
show :: Runtime -> String
$cshow :: Runtime -> String
showsPrec :: Int -> Runtime -> ShowS
$cshowsPrec :: Int -> Runtime -> ShowS
Prelude.Show,
ReadPrec [Runtime]
ReadPrec Runtime
Int -> ReadS Runtime
ReadS [Runtime]
(Int -> ReadS Runtime)
-> ReadS [Runtime]
-> ReadPrec Runtime
-> ReadPrec [Runtime]
-> Read Runtime
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Runtime]
$creadListPrec :: ReadPrec [Runtime]
readPrec :: ReadPrec Runtime
$creadPrec :: ReadPrec Runtime
readList :: ReadS [Runtime]
$creadList :: ReadS [Runtime]
readsPrec :: Int -> ReadS Runtime
$creadsPrec :: Int -> ReadS Runtime
Prelude.Read,
Runtime -> Runtime -> Bool
(Runtime -> Runtime -> Bool)
-> (Runtime -> Runtime -> Bool) -> Eq Runtime
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Runtime -> Runtime -> Bool
$c/= :: Runtime -> Runtime -> Bool
== :: Runtime -> Runtime -> Bool
$c== :: Runtime -> Runtime -> Bool
Prelude.Eq,
Eq Runtime
Eq Runtime
-> (Runtime -> Runtime -> Ordering)
-> (Runtime -> Runtime -> Bool)
-> (Runtime -> Runtime -> Bool)
-> (Runtime -> Runtime -> Bool)
-> (Runtime -> Runtime -> Bool)
-> (Runtime -> Runtime -> Runtime)
-> (Runtime -> Runtime -> Runtime)
-> Ord Runtime
Runtime -> Runtime -> Bool
Runtime -> Runtime -> Ordering
Runtime -> Runtime -> Runtime
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 :: Runtime -> Runtime -> Runtime
$cmin :: Runtime -> Runtime -> Runtime
max :: Runtime -> Runtime -> Runtime
$cmax :: Runtime -> Runtime -> Runtime
>= :: Runtime -> Runtime -> Bool
$c>= :: Runtime -> Runtime -> Bool
> :: Runtime -> Runtime -> Bool
$c> :: Runtime -> Runtime -> Bool
<= :: Runtime -> Runtime -> Bool
$c<= :: Runtime -> Runtime -> Bool
< :: Runtime -> Runtime -> Bool
$c< :: Runtime -> Runtime -> Bool
compare :: Runtime -> Runtime -> Ordering
$ccompare :: Runtime -> Runtime -> Ordering
$cp1Ord :: Eq Runtime
Prelude.Ord,
(forall x. Runtime -> Rep Runtime x)
-> (forall x. Rep Runtime x -> Runtime) -> Generic Runtime
forall x. Rep Runtime x -> Runtime
forall x. Runtime -> Rep Runtime x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Runtime x -> Runtime
$cfrom :: forall x. Runtime -> Rep Runtime x
Prelude.Generic
)
deriving newtype
( Int -> Runtime -> Int
Runtime -> Int
(Int -> Runtime -> Int) -> (Runtime -> Int) -> Hashable Runtime
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Runtime -> Int
$chash :: Runtime -> Int
hashWithSalt :: Int -> Runtime -> Int
$chashWithSalt :: Int -> Runtime -> Int
Prelude.Hashable,
Runtime -> ()
(Runtime -> ()) -> NFData Runtime
forall a. (a -> ()) -> NFData a
rnf :: Runtime -> ()
$crnf :: Runtime -> ()
Prelude.NFData,
Text -> Either String Runtime
(Text -> Either String Runtime) -> FromText Runtime
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Runtime
$cfromText :: Text -> Either String Runtime
Core.FromText,
Runtime -> Text
(Runtime -> Text) -> ToText Runtime
forall a. (a -> Text) -> ToText a
toText :: Runtime -> Text
$ctoText :: Runtime -> Text
Core.ToText,
Runtime -> ByteString
(Runtime -> ByteString) -> ToByteString Runtime
forall a. (a -> ByteString) -> ToByteString a
toBS :: Runtime -> ByteString
$ctoBS :: Runtime -> ByteString
Core.ToByteString,
Runtime -> ByteStringBuilder
(Runtime -> ByteStringBuilder) -> ToLog Runtime
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Runtime -> ByteStringBuilder
$cbuild :: Runtime -> ByteStringBuilder
Core.ToLog,
HeaderName -> Runtime -> [Header]
(HeaderName -> Runtime -> [Header]) -> ToHeader Runtime
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Runtime -> [Header]
$ctoHeader :: HeaderName -> Runtime -> [Header]
Core.ToHeader,
Runtime -> QueryString
(Runtime -> QueryString) -> ToQuery Runtime
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Runtime -> QueryString
$ctoQuery :: Runtime -> QueryString
Core.ToQuery,
Value -> Parser [Runtime]
Value -> Parser Runtime
(Value -> Parser Runtime)
-> (Value -> Parser [Runtime]) -> FromJSON Runtime
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Runtime]
$cparseJSONList :: Value -> Parser [Runtime]
parseJSON :: Value -> Parser Runtime
$cparseJSON :: Value -> Parser Runtime
Core.FromJSON,
FromJSONKeyFunction [Runtime]
FromJSONKeyFunction Runtime
FromJSONKeyFunction Runtime
-> FromJSONKeyFunction [Runtime] -> FromJSONKey Runtime
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Runtime]
$cfromJSONKeyList :: FromJSONKeyFunction [Runtime]
fromJSONKey :: FromJSONKeyFunction Runtime
$cfromJSONKey :: FromJSONKeyFunction Runtime
Core.FromJSONKey,
[Runtime] -> Encoding
[Runtime] -> Value
Runtime -> Encoding
Runtime -> Value
(Runtime -> Value)
-> (Runtime -> Encoding)
-> ([Runtime] -> Value)
-> ([Runtime] -> Encoding)
-> ToJSON Runtime
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Runtime] -> Encoding
$ctoEncodingList :: [Runtime] -> Encoding
toJSONList :: [Runtime] -> Value
$ctoJSONList :: [Runtime] -> Value
toEncoding :: Runtime -> Encoding
$ctoEncoding :: Runtime -> Encoding
toJSON :: Runtime -> Value
$ctoJSON :: Runtime -> Value
Core.ToJSON,
ToJSONKeyFunction [Runtime]
ToJSONKeyFunction Runtime
ToJSONKeyFunction Runtime
-> ToJSONKeyFunction [Runtime] -> ToJSONKey Runtime
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Runtime]
$ctoJSONKeyList :: ToJSONKeyFunction [Runtime]
toJSONKey :: ToJSONKeyFunction Runtime
$ctoJSONKey :: ToJSONKeyFunction Runtime
Core.ToJSONKey,
[Node] -> Either String Runtime
([Node] -> Either String Runtime) -> FromXML Runtime
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Runtime
$cparseXML :: [Node] -> Either String Runtime
Core.FromXML,
Runtime -> XML
(Runtime -> XML) -> ToXML Runtime
forall a. (a -> XML) -> ToXML a
toXML :: Runtime -> XML
$ctoXML :: Runtime -> XML
Core.ToXML
)
pattern Runtime_Dotnetcore1_0 :: Runtime
pattern $bRuntime_Dotnetcore1_0 :: Runtime
$mRuntime_Dotnetcore1_0 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Dotnetcore1_0 = Runtime' "dotnetcore1.0"
pattern Runtime_Dotnetcore2_0 :: Runtime
pattern $bRuntime_Dotnetcore2_0 :: Runtime
$mRuntime_Dotnetcore2_0 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Dotnetcore2_0 = Runtime' "dotnetcore2.0"
pattern Runtime_Dotnetcore2_1 :: Runtime
pattern $bRuntime_Dotnetcore2_1 :: Runtime
$mRuntime_Dotnetcore2_1 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Dotnetcore2_1 = Runtime' "dotnetcore2.1"
pattern Runtime_Dotnetcore3_1 :: Runtime
pattern $bRuntime_Dotnetcore3_1 :: Runtime
$mRuntime_Dotnetcore3_1 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Dotnetcore3_1 = Runtime' "dotnetcore3.1"
pattern Runtime_Go1_x :: Runtime
pattern $bRuntime_Go1_x :: Runtime
$mRuntime_Go1_x :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Go1_x = Runtime' "go1.x"
pattern Runtime_Java11 :: Runtime
pattern $bRuntime_Java11 :: Runtime
$mRuntime_Java11 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Java11 = Runtime' "java11"
pattern Runtime_Java8 :: Runtime
pattern $bRuntime_Java8 :: Runtime
$mRuntime_Java8 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Java8 = Runtime' "java8"
pattern Runtime_Java8_al2 :: Runtime
pattern $bRuntime_Java8_al2 :: Runtime
$mRuntime_Java8_al2 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Java8_al2 = Runtime' "java8.al2"
pattern Runtime_Nodejs :: Runtime
pattern $bRuntime_Nodejs :: Runtime
$mRuntime_Nodejs :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Nodejs = Runtime' "nodejs"
pattern Runtime_Nodejs10_x :: Runtime
pattern $bRuntime_Nodejs10_x :: Runtime
$mRuntime_Nodejs10_x :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Nodejs10_x = Runtime' "nodejs10.x"
pattern Runtime_Nodejs12_x :: Runtime
pattern $bRuntime_Nodejs12_x :: Runtime
$mRuntime_Nodejs12_x :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Nodejs12_x = Runtime' "nodejs12.x"
pattern Runtime_Nodejs14_x :: Runtime
pattern $bRuntime_Nodejs14_x :: Runtime
$mRuntime_Nodejs14_x :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Nodejs14_x = Runtime' "nodejs14.x"
pattern Runtime_Nodejs4_3 :: Runtime
pattern $bRuntime_Nodejs4_3 :: Runtime
$mRuntime_Nodejs4_3 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Nodejs4_3 = Runtime' "nodejs4.3"
pattern Runtime_Nodejs4_3_edge :: Runtime
pattern $bRuntime_Nodejs4_3_edge :: Runtime
$mRuntime_Nodejs4_3_edge :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Nodejs4_3_edge = Runtime' "nodejs4.3-edge"
pattern Runtime_Nodejs6_10 :: Runtime
pattern $bRuntime_Nodejs6_10 :: Runtime
$mRuntime_Nodejs6_10 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Nodejs6_10 = Runtime' "nodejs6.10"
pattern Runtime_Nodejs8_10 :: Runtime
pattern $bRuntime_Nodejs8_10 :: Runtime
$mRuntime_Nodejs8_10 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Nodejs8_10 = Runtime' "nodejs8.10"
pattern Runtime_Provided :: Runtime
pattern $bRuntime_Provided :: Runtime
$mRuntime_Provided :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Provided = Runtime' "provided"
pattern Runtime_Provided_al2 :: Runtime
pattern $bRuntime_Provided_al2 :: Runtime
$mRuntime_Provided_al2 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Provided_al2 = Runtime' "provided.al2"
pattern Runtime_Python2_7 :: Runtime
pattern $bRuntime_Python2_7 :: Runtime
$mRuntime_Python2_7 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Python2_7 = Runtime' "python2.7"
pattern Runtime_Python3_6 :: Runtime
pattern $bRuntime_Python3_6 :: Runtime
$mRuntime_Python3_6 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Python3_6 = Runtime' "python3.6"
pattern Runtime_Python3_7 :: Runtime
pattern $bRuntime_Python3_7 :: Runtime
$mRuntime_Python3_7 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Python3_7 = Runtime' "python3.7"
pattern Runtime_Python3_8 :: Runtime
pattern $bRuntime_Python3_8 :: Runtime
$mRuntime_Python3_8 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Python3_8 = Runtime' "python3.8"
pattern Runtime_Python3_9 :: Runtime
pattern $bRuntime_Python3_9 :: Runtime
$mRuntime_Python3_9 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Python3_9 = Runtime' "python3.9"
pattern Runtime_Ruby2_5 :: Runtime
pattern $bRuntime_Ruby2_5 :: Runtime
$mRuntime_Ruby2_5 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Ruby2_5 = Runtime' "ruby2.5"
pattern Runtime_Ruby2_7 :: Runtime
pattern $bRuntime_Ruby2_7 :: Runtime
$mRuntime_Ruby2_7 :: forall r. Runtime -> (Void# -> r) -> (Void# -> r) -> r
Runtime_Ruby2_7 = Runtime' "ruby2.7"
{-# COMPLETE
Runtime_Dotnetcore1_0,
Runtime_Dotnetcore2_0,
Runtime_Dotnetcore2_1,
Runtime_Dotnetcore3_1,
Runtime_Go1_x,
Runtime_Java11,
Runtime_Java8,
Runtime_Java8_al2,
Runtime_Nodejs,
Runtime_Nodejs10_x,
Runtime_Nodejs12_x,
Runtime_Nodejs14_x,
Runtime_Nodejs4_3,
Runtime_Nodejs4_3_edge,
Runtime_Nodejs6_10,
Runtime_Nodejs8_10,
Runtime_Provided,
Runtime_Provided_al2,
Runtime_Python2_7,
Runtime_Python3_6,
Runtime_Python3_7,
Runtime_Python3_8,
Runtime_Python3_9,
Runtime_Ruby2_5,
Runtime_Ruby2_7,
Runtime'
#-}