{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype LoadBalancerTypeEnum = LoadBalancerTypeEnum'
{ LoadBalancerTypeEnum -> Text
fromLoadBalancerTypeEnum ::
Data.Text
}
deriving stock
( Int -> LoadBalancerTypeEnum -> ShowS
[LoadBalancerTypeEnum] -> ShowS
LoadBalancerTypeEnum -> String
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]
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
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
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
Prelude.Ord,
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
( Eq LoadBalancerTypeEnum
Int -> LoadBalancerTypeEnum -> Int
LoadBalancerTypeEnum -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: LoadBalancerTypeEnum -> ()
$crnf :: LoadBalancerTypeEnum -> ()
Prelude.NFData,
Text -> Either String LoadBalancerTypeEnum
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String LoadBalancerTypeEnum
$cfromText :: Text -> Either String LoadBalancerTypeEnum
Data.FromText,
LoadBalancerTypeEnum -> Text
forall a. (a -> Text) -> ToText a
toText :: LoadBalancerTypeEnum -> Text
$ctoText :: LoadBalancerTypeEnum -> Text
Data.ToText,
LoadBalancerTypeEnum -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: LoadBalancerTypeEnum -> ByteString
$ctoBS :: LoadBalancerTypeEnum -> ByteString
Data.ToByteString,
LoadBalancerTypeEnum -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: LoadBalancerTypeEnum -> ByteStringBuilder
$cbuild :: LoadBalancerTypeEnum -> ByteStringBuilder
Data.ToLog,
HeaderName -> LoadBalancerTypeEnum -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> LoadBalancerTypeEnum -> [Header]
$ctoHeader :: HeaderName -> LoadBalancerTypeEnum -> [Header]
Data.ToHeader,
LoadBalancerTypeEnum -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: LoadBalancerTypeEnum -> QueryString
$ctoQuery :: LoadBalancerTypeEnum -> QueryString
Data.ToQuery,
Value -> Parser [LoadBalancerTypeEnum]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [LoadBalancerTypeEnum]
FromJSONKeyFunction LoadBalancerTypeEnum
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [LoadBalancerTypeEnum]
$cfromJSONKeyList :: FromJSONKeyFunction [LoadBalancerTypeEnum]
fromJSONKey :: FromJSONKeyFunction LoadBalancerTypeEnum
$cfromJSONKey :: FromJSONKeyFunction LoadBalancerTypeEnum
Data.FromJSONKey,
[LoadBalancerTypeEnum] -> Encoding
[LoadBalancerTypeEnum] -> Value
LoadBalancerTypeEnum -> Encoding
LoadBalancerTypeEnum -> Value
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
Data.ToJSON,
ToJSONKeyFunction [LoadBalancerTypeEnum]
ToJSONKeyFunction LoadBalancerTypeEnum
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [LoadBalancerTypeEnum]
$ctoJSONKeyList :: ToJSONKeyFunction [LoadBalancerTypeEnum]
toJSONKey :: ToJSONKeyFunction LoadBalancerTypeEnum
$ctoJSONKey :: ToJSONKeyFunction LoadBalancerTypeEnum
Data.ToJSONKey,
[Node] -> Either String LoadBalancerTypeEnum
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String LoadBalancerTypeEnum
$cparseXML :: [Node] -> Either String LoadBalancerTypeEnum
Data.FromXML,
LoadBalancerTypeEnum -> XML
forall a. (a -> XML) -> ToXML a
toXML :: LoadBalancerTypeEnum -> XML
$ctoXML :: LoadBalancerTypeEnum -> XML
Data.ToXML
)
pattern LoadBalancerTypeEnum_Application :: LoadBalancerTypeEnum
pattern $bLoadBalancerTypeEnum_Application :: LoadBalancerTypeEnum
$mLoadBalancerTypeEnum_Application :: forall {r}.
LoadBalancerTypeEnum -> ((# #) -> r) -> ((# #) -> r) -> r
LoadBalancerTypeEnum_Application = LoadBalancerTypeEnum' "application"
pattern LoadBalancerTypeEnum_Gateway :: LoadBalancerTypeEnum
pattern $bLoadBalancerTypeEnum_Gateway :: LoadBalancerTypeEnum
$mLoadBalancerTypeEnum_Gateway :: forall {r}.
LoadBalancerTypeEnum -> ((# #) -> r) -> ((# #) -> r) -> r
LoadBalancerTypeEnum_Gateway = LoadBalancerTypeEnum' "gateway"
pattern LoadBalancerTypeEnum_Network :: LoadBalancerTypeEnum
pattern $bLoadBalancerTypeEnum_Network :: LoadBalancerTypeEnum
$mLoadBalancerTypeEnum_Network :: forall {r}.
LoadBalancerTypeEnum -> ((# #) -> r) -> ((# #) -> r) -> r
LoadBalancerTypeEnum_Network = LoadBalancerTypeEnum' "network"
{-# COMPLETE
LoadBalancerTypeEnum_Application,
LoadBalancerTypeEnum_Gateway,
LoadBalancerTypeEnum_Network,
LoadBalancerTypeEnum'
#-}