{-# 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.VerifiedAccessEndpointStatusCode
( VerifiedAccessEndpointStatusCode
( ..,
VerifiedAccessEndpointStatusCode_Active,
VerifiedAccessEndpointStatusCode_Deleted,
VerifiedAccessEndpointStatusCode_Deleting,
VerifiedAccessEndpointStatusCode_Pending,
VerifiedAccessEndpointStatusCode_Updating
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import Amazonka.EC2.Internal
import qualified Amazonka.Prelude as Prelude
newtype VerifiedAccessEndpointStatusCode = VerifiedAccessEndpointStatusCode'
{ VerifiedAccessEndpointStatusCode -> Text
fromVerifiedAccessEndpointStatusCode ::
Data.Text
}
deriving stock
( Int -> VerifiedAccessEndpointStatusCode -> ShowS
[VerifiedAccessEndpointStatusCode] -> ShowS
VerifiedAccessEndpointStatusCode -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [VerifiedAccessEndpointStatusCode] -> ShowS
$cshowList :: [VerifiedAccessEndpointStatusCode] -> ShowS
show :: VerifiedAccessEndpointStatusCode -> String
$cshow :: VerifiedAccessEndpointStatusCode -> String
showsPrec :: Int -> VerifiedAccessEndpointStatusCode -> ShowS
$cshowsPrec :: Int -> VerifiedAccessEndpointStatusCode -> ShowS
Prelude.Show,
ReadPrec [VerifiedAccessEndpointStatusCode]
ReadPrec VerifiedAccessEndpointStatusCode
Int -> ReadS VerifiedAccessEndpointStatusCode
ReadS [VerifiedAccessEndpointStatusCode]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [VerifiedAccessEndpointStatusCode]
$creadListPrec :: ReadPrec [VerifiedAccessEndpointStatusCode]
readPrec :: ReadPrec VerifiedAccessEndpointStatusCode
$creadPrec :: ReadPrec VerifiedAccessEndpointStatusCode
readList :: ReadS [VerifiedAccessEndpointStatusCode]
$creadList :: ReadS [VerifiedAccessEndpointStatusCode]
readsPrec :: Int -> ReadS VerifiedAccessEndpointStatusCode
$creadsPrec :: Int -> ReadS VerifiedAccessEndpointStatusCode
Prelude.Read,
VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
$c/= :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
== :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
$c== :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
Prelude.Eq,
Eq VerifiedAccessEndpointStatusCode
VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Ordering
VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode
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 :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode
$cmin :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode
max :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode
$cmax :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode
>= :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
$c>= :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
> :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
$c> :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
<= :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
$c<= :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
< :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
$c< :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Bool
compare :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Ordering
$ccompare :: VerifiedAccessEndpointStatusCode
-> VerifiedAccessEndpointStatusCode -> Ordering
Prelude.Ord,
forall x.
Rep VerifiedAccessEndpointStatusCode x
-> VerifiedAccessEndpointStatusCode
forall x.
VerifiedAccessEndpointStatusCode
-> Rep VerifiedAccessEndpointStatusCode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep VerifiedAccessEndpointStatusCode x
-> VerifiedAccessEndpointStatusCode
$cfrom :: forall x.
VerifiedAccessEndpointStatusCode
-> Rep VerifiedAccessEndpointStatusCode x
Prelude.Generic
)
deriving newtype
( Eq VerifiedAccessEndpointStatusCode
Int -> VerifiedAccessEndpointStatusCode -> Int
VerifiedAccessEndpointStatusCode -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: VerifiedAccessEndpointStatusCode -> Int
$chash :: VerifiedAccessEndpointStatusCode -> Int
hashWithSalt :: Int -> VerifiedAccessEndpointStatusCode -> Int
$chashWithSalt :: Int -> VerifiedAccessEndpointStatusCode -> Int
Prelude.Hashable,
VerifiedAccessEndpointStatusCode -> ()
forall a. (a -> ()) -> NFData a
rnf :: VerifiedAccessEndpointStatusCode -> ()
$crnf :: VerifiedAccessEndpointStatusCode -> ()
Prelude.NFData,
Text -> Either String VerifiedAccessEndpointStatusCode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String VerifiedAccessEndpointStatusCode
$cfromText :: Text -> Either String VerifiedAccessEndpointStatusCode
Data.FromText,
VerifiedAccessEndpointStatusCode -> Text
forall a. (a -> Text) -> ToText a
toText :: VerifiedAccessEndpointStatusCode -> Text
$ctoText :: VerifiedAccessEndpointStatusCode -> Text
Data.ToText,
VerifiedAccessEndpointStatusCode -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: VerifiedAccessEndpointStatusCode -> ByteString
$ctoBS :: VerifiedAccessEndpointStatusCode -> ByteString
Data.ToByteString,
VerifiedAccessEndpointStatusCode -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: VerifiedAccessEndpointStatusCode -> ByteStringBuilder
$cbuild :: VerifiedAccessEndpointStatusCode -> ByteStringBuilder
Data.ToLog,
HeaderName -> VerifiedAccessEndpointStatusCode -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> VerifiedAccessEndpointStatusCode -> [Header]
$ctoHeader :: HeaderName -> VerifiedAccessEndpointStatusCode -> [Header]
Data.ToHeader,
VerifiedAccessEndpointStatusCode -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: VerifiedAccessEndpointStatusCode -> QueryString
$ctoQuery :: VerifiedAccessEndpointStatusCode -> QueryString
Data.ToQuery,
Value -> Parser [VerifiedAccessEndpointStatusCode]
Value -> Parser VerifiedAccessEndpointStatusCode
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [VerifiedAccessEndpointStatusCode]
$cparseJSONList :: Value -> Parser [VerifiedAccessEndpointStatusCode]
parseJSON :: Value -> Parser VerifiedAccessEndpointStatusCode
$cparseJSON :: Value -> Parser VerifiedAccessEndpointStatusCode
Data.FromJSON,
FromJSONKeyFunction [VerifiedAccessEndpointStatusCode]
FromJSONKeyFunction VerifiedAccessEndpointStatusCode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [VerifiedAccessEndpointStatusCode]
$cfromJSONKeyList :: FromJSONKeyFunction [VerifiedAccessEndpointStatusCode]
fromJSONKey :: FromJSONKeyFunction VerifiedAccessEndpointStatusCode
$cfromJSONKey :: FromJSONKeyFunction VerifiedAccessEndpointStatusCode
Data.FromJSONKey,
[VerifiedAccessEndpointStatusCode] -> Encoding
[VerifiedAccessEndpointStatusCode] -> Value
VerifiedAccessEndpointStatusCode -> Encoding
VerifiedAccessEndpointStatusCode -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [VerifiedAccessEndpointStatusCode] -> Encoding
$ctoEncodingList :: [VerifiedAccessEndpointStatusCode] -> Encoding
toJSONList :: [VerifiedAccessEndpointStatusCode] -> Value
$ctoJSONList :: [VerifiedAccessEndpointStatusCode] -> Value
toEncoding :: VerifiedAccessEndpointStatusCode -> Encoding
$ctoEncoding :: VerifiedAccessEndpointStatusCode -> Encoding
toJSON :: VerifiedAccessEndpointStatusCode -> Value
$ctoJSON :: VerifiedAccessEndpointStatusCode -> Value
Data.ToJSON,
ToJSONKeyFunction [VerifiedAccessEndpointStatusCode]
ToJSONKeyFunction VerifiedAccessEndpointStatusCode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [VerifiedAccessEndpointStatusCode]
$ctoJSONKeyList :: ToJSONKeyFunction [VerifiedAccessEndpointStatusCode]
toJSONKey :: ToJSONKeyFunction VerifiedAccessEndpointStatusCode
$ctoJSONKey :: ToJSONKeyFunction VerifiedAccessEndpointStatusCode
Data.ToJSONKey,
[Node] -> Either String VerifiedAccessEndpointStatusCode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String VerifiedAccessEndpointStatusCode
$cparseXML :: [Node] -> Either String VerifiedAccessEndpointStatusCode
Data.FromXML,
VerifiedAccessEndpointStatusCode -> XML
forall a. (a -> XML) -> ToXML a
toXML :: VerifiedAccessEndpointStatusCode -> XML
$ctoXML :: VerifiedAccessEndpointStatusCode -> XML
Data.ToXML
)
pattern VerifiedAccessEndpointStatusCode_Active :: VerifiedAccessEndpointStatusCode
pattern $bVerifiedAccessEndpointStatusCode_Active :: VerifiedAccessEndpointStatusCode
$mVerifiedAccessEndpointStatusCode_Active :: forall {r}.
VerifiedAccessEndpointStatusCode
-> ((# #) -> r) -> ((# #) -> r) -> r
VerifiedAccessEndpointStatusCode_Active = VerifiedAccessEndpointStatusCode' "active"
pattern VerifiedAccessEndpointStatusCode_Deleted :: VerifiedAccessEndpointStatusCode
pattern $bVerifiedAccessEndpointStatusCode_Deleted :: VerifiedAccessEndpointStatusCode
$mVerifiedAccessEndpointStatusCode_Deleted :: forall {r}.
VerifiedAccessEndpointStatusCode
-> ((# #) -> r) -> ((# #) -> r) -> r
VerifiedAccessEndpointStatusCode_Deleted = VerifiedAccessEndpointStatusCode' "deleted"
pattern VerifiedAccessEndpointStatusCode_Deleting :: VerifiedAccessEndpointStatusCode
pattern $bVerifiedAccessEndpointStatusCode_Deleting :: VerifiedAccessEndpointStatusCode
$mVerifiedAccessEndpointStatusCode_Deleting :: forall {r}.
VerifiedAccessEndpointStatusCode
-> ((# #) -> r) -> ((# #) -> r) -> r
VerifiedAccessEndpointStatusCode_Deleting = VerifiedAccessEndpointStatusCode' "deleting"
pattern VerifiedAccessEndpointStatusCode_Pending :: VerifiedAccessEndpointStatusCode
pattern $bVerifiedAccessEndpointStatusCode_Pending :: VerifiedAccessEndpointStatusCode
$mVerifiedAccessEndpointStatusCode_Pending :: forall {r}.
VerifiedAccessEndpointStatusCode
-> ((# #) -> r) -> ((# #) -> r) -> r
VerifiedAccessEndpointStatusCode_Pending = VerifiedAccessEndpointStatusCode' "pending"
pattern VerifiedAccessEndpointStatusCode_Updating :: VerifiedAccessEndpointStatusCode
pattern $bVerifiedAccessEndpointStatusCode_Updating :: VerifiedAccessEndpointStatusCode
$mVerifiedAccessEndpointStatusCode_Updating :: forall {r}.
VerifiedAccessEndpointStatusCode
-> ((# #) -> r) -> ((# #) -> r) -> r
VerifiedAccessEndpointStatusCode_Updating = VerifiedAccessEndpointStatusCode' "updating"
{-# COMPLETE
VerifiedAccessEndpointStatusCode_Active,
VerifiedAccessEndpointStatusCode_Deleted,
VerifiedAccessEndpointStatusCode_Deleting,
VerifiedAccessEndpointStatusCode_Pending,
VerifiedAccessEndpointStatusCode_Updating,
VerifiedAccessEndpointStatusCode'
#-}