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