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