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