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