{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.SageMaker.Types.HubStatus
( HubStatus
( ..,
HubStatus_CreateFailed,
HubStatus_Creating,
HubStatus_DeleteFailed,
HubStatus_Deleting,
HubStatus_InService,
HubStatus_UpdateFailed,
HubStatus_Updating
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype HubStatus = HubStatus'
{ HubStatus -> Text
fromHubStatus ::
Data.Text
}
deriving stock
( Int -> HubStatus -> ShowS
[HubStatus] -> ShowS
HubStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [HubStatus] -> ShowS
$cshowList :: [HubStatus] -> ShowS
show :: HubStatus -> String
$cshow :: HubStatus -> String
showsPrec :: Int -> HubStatus -> ShowS
$cshowsPrec :: Int -> HubStatus -> ShowS
Prelude.Show,
ReadPrec [HubStatus]
ReadPrec HubStatus
Int -> ReadS HubStatus
ReadS [HubStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [HubStatus]
$creadListPrec :: ReadPrec [HubStatus]
readPrec :: ReadPrec HubStatus
$creadPrec :: ReadPrec HubStatus
readList :: ReadS [HubStatus]
$creadList :: ReadS [HubStatus]
readsPrec :: Int -> ReadS HubStatus
$creadsPrec :: Int -> ReadS HubStatus
Prelude.Read,
HubStatus -> HubStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: HubStatus -> HubStatus -> Bool
$c/= :: HubStatus -> HubStatus -> Bool
== :: HubStatus -> HubStatus -> Bool
$c== :: HubStatus -> HubStatus -> Bool
Prelude.Eq,
Eq HubStatus
HubStatus -> HubStatus -> Bool
HubStatus -> HubStatus -> Ordering
HubStatus -> HubStatus -> HubStatus
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 :: HubStatus -> HubStatus -> HubStatus
$cmin :: HubStatus -> HubStatus -> HubStatus
max :: HubStatus -> HubStatus -> HubStatus
$cmax :: HubStatus -> HubStatus -> HubStatus
>= :: HubStatus -> HubStatus -> Bool
$c>= :: HubStatus -> HubStatus -> Bool
> :: HubStatus -> HubStatus -> Bool
$c> :: HubStatus -> HubStatus -> Bool
<= :: HubStatus -> HubStatus -> Bool
$c<= :: HubStatus -> HubStatus -> Bool
< :: HubStatus -> HubStatus -> Bool
$c< :: HubStatus -> HubStatus -> Bool
compare :: HubStatus -> HubStatus -> Ordering
$ccompare :: HubStatus -> HubStatus -> Ordering
Prelude.Ord,
forall x. Rep HubStatus x -> HubStatus
forall x. HubStatus -> Rep HubStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep HubStatus x -> HubStatus
$cfrom :: forall x. HubStatus -> Rep HubStatus x
Prelude.Generic
)
deriving newtype
( Eq HubStatus
Int -> HubStatus -> Int
HubStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: HubStatus -> Int
$chash :: HubStatus -> Int
hashWithSalt :: Int -> HubStatus -> Int
$chashWithSalt :: Int -> HubStatus -> Int
Prelude.Hashable,
HubStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: HubStatus -> ()
$crnf :: HubStatus -> ()
Prelude.NFData,
Text -> Either String HubStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String HubStatus
$cfromText :: Text -> Either String HubStatus
Data.FromText,
HubStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: HubStatus -> Text
$ctoText :: HubStatus -> Text
Data.ToText,
HubStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: HubStatus -> ByteString
$ctoBS :: HubStatus -> ByteString
Data.ToByteString,
HubStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: HubStatus -> ByteStringBuilder
$cbuild :: HubStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> HubStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> HubStatus -> [Header]
$ctoHeader :: HeaderName -> HubStatus -> [Header]
Data.ToHeader,
HubStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: HubStatus -> QueryString
$ctoQuery :: HubStatus -> QueryString
Data.ToQuery,
Value -> Parser [HubStatus]
Value -> Parser HubStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [HubStatus]
$cparseJSONList :: Value -> Parser [HubStatus]
parseJSON :: Value -> Parser HubStatus
$cparseJSON :: Value -> Parser HubStatus
Data.FromJSON,
FromJSONKeyFunction [HubStatus]
FromJSONKeyFunction HubStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [HubStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [HubStatus]
fromJSONKey :: FromJSONKeyFunction HubStatus
$cfromJSONKey :: FromJSONKeyFunction HubStatus
Data.FromJSONKey,
[HubStatus] -> Encoding
[HubStatus] -> Value
HubStatus -> Encoding
HubStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [HubStatus] -> Encoding
$ctoEncodingList :: [HubStatus] -> Encoding
toJSONList :: [HubStatus] -> Value
$ctoJSONList :: [HubStatus] -> Value
toEncoding :: HubStatus -> Encoding
$ctoEncoding :: HubStatus -> Encoding
toJSON :: HubStatus -> Value
$ctoJSON :: HubStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [HubStatus]
ToJSONKeyFunction HubStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [HubStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [HubStatus]
toJSONKey :: ToJSONKeyFunction HubStatus
$ctoJSONKey :: ToJSONKeyFunction HubStatus
Data.ToJSONKey,
[Node] -> Either String HubStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String HubStatus
$cparseXML :: [Node] -> Either String HubStatus
Data.FromXML,
HubStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: HubStatus -> XML
$ctoXML :: HubStatus -> XML
Data.ToXML
)
pattern HubStatus_CreateFailed :: HubStatus
pattern $bHubStatus_CreateFailed :: HubStatus
$mHubStatus_CreateFailed :: forall {r}. HubStatus -> ((# #) -> r) -> ((# #) -> r) -> r
HubStatus_CreateFailed = HubStatus' "CreateFailed"
pattern HubStatus_Creating :: HubStatus
pattern $bHubStatus_Creating :: HubStatus
$mHubStatus_Creating :: forall {r}. HubStatus -> ((# #) -> r) -> ((# #) -> r) -> r
HubStatus_Creating = HubStatus' "Creating"
pattern HubStatus_DeleteFailed :: HubStatus
pattern $bHubStatus_DeleteFailed :: HubStatus
$mHubStatus_DeleteFailed :: forall {r}. HubStatus -> ((# #) -> r) -> ((# #) -> r) -> r
HubStatus_DeleteFailed = HubStatus' "DeleteFailed"
pattern HubStatus_Deleting :: HubStatus
pattern $bHubStatus_Deleting :: HubStatus
$mHubStatus_Deleting :: forall {r}. HubStatus -> ((# #) -> r) -> ((# #) -> r) -> r
HubStatus_Deleting = HubStatus' "Deleting"
pattern HubStatus_InService :: HubStatus
pattern $bHubStatus_InService :: HubStatus
$mHubStatus_InService :: forall {r}. HubStatus -> ((# #) -> r) -> ((# #) -> r) -> r
HubStatus_InService = HubStatus' "InService"
pattern HubStatus_UpdateFailed :: HubStatus
pattern $bHubStatus_UpdateFailed :: HubStatus
$mHubStatus_UpdateFailed :: forall {r}. HubStatus -> ((# #) -> r) -> ((# #) -> r) -> r
HubStatus_UpdateFailed = HubStatus' "UpdateFailed"
pattern HubStatus_Updating :: HubStatus
pattern $bHubStatus_Updating :: HubStatus
$mHubStatus_Updating :: forall {r}. HubStatus -> ((# #) -> r) -> ((# #) -> r) -> r
HubStatus_Updating = HubStatus' "Updating"
{-# COMPLETE
HubStatus_CreateFailed,
HubStatus_Creating,
HubStatus_DeleteFailed,
HubStatus_Deleting,
HubStatus_InService,
HubStatus_UpdateFailed,
HubStatus_Updating,
HubStatus'
#-}