{-# 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.LastUpdateStatusValue
( LastUpdateStatusValue
( ..,
LastUpdateStatusValue_Failed,
LastUpdateStatusValue_InProgress,
LastUpdateStatusValue_Successful
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype LastUpdateStatusValue = LastUpdateStatusValue'
{ LastUpdateStatusValue -> Text
fromLastUpdateStatusValue ::
Data.Text
}
deriving stock
( Int -> LastUpdateStatusValue -> ShowS
[LastUpdateStatusValue] -> ShowS
LastUpdateStatusValue -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LastUpdateStatusValue] -> ShowS
$cshowList :: [LastUpdateStatusValue] -> ShowS
show :: LastUpdateStatusValue -> String
$cshow :: LastUpdateStatusValue -> String
showsPrec :: Int -> LastUpdateStatusValue -> ShowS
$cshowsPrec :: Int -> LastUpdateStatusValue -> ShowS
Prelude.Show,
ReadPrec [LastUpdateStatusValue]
ReadPrec LastUpdateStatusValue
Int -> ReadS LastUpdateStatusValue
ReadS [LastUpdateStatusValue]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [LastUpdateStatusValue]
$creadListPrec :: ReadPrec [LastUpdateStatusValue]
readPrec :: ReadPrec LastUpdateStatusValue
$creadPrec :: ReadPrec LastUpdateStatusValue
readList :: ReadS [LastUpdateStatusValue]
$creadList :: ReadS [LastUpdateStatusValue]
readsPrec :: Int -> ReadS LastUpdateStatusValue
$creadsPrec :: Int -> ReadS LastUpdateStatusValue
Prelude.Read,
LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
$c/= :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
== :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
$c== :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
Prelude.Eq,
Eq LastUpdateStatusValue
LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
LastUpdateStatusValue -> LastUpdateStatusValue -> Ordering
LastUpdateStatusValue
-> LastUpdateStatusValue -> LastUpdateStatusValue
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 :: LastUpdateStatusValue
-> LastUpdateStatusValue -> LastUpdateStatusValue
$cmin :: LastUpdateStatusValue
-> LastUpdateStatusValue -> LastUpdateStatusValue
max :: LastUpdateStatusValue
-> LastUpdateStatusValue -> LastUpdateStatusValue
$cmax :: LastUpdateStatusValue
-> LastUpdateStatusValue -> LastUpdateStatusValue
>= :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
$c>= :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
> :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
$c> :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
<= :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
$c<= :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
< :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
$c< :: LastUpdateStatusValue -> LastUpdateStatusValue -> Bool
compare :: LastUpdateStatusValue -> LastUpdateStatusValue -> Ordering
$ccompare :: LastUpdateStatusValue -> LastUpdateStatusValue -> Ordering
Prelude.Ord,
forall x. Rep LastUpdateStatusValue x -> LastUpdateStatusValue
forall x. LastUpdateStatusValue -> Rep LastUpdateStatusValue x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LastUpdateStatusValue x -> LastUpdateStatusValue
$cfrom :: forall x. LastUpdateStatusValue -> Rep LastUpdateStatusValue x
Prelude.Generic
)
deriving newtype
( Eq LastUpdateStatusValue
Int -> LastUpdateStatusValue -> Int
LastUpdateStatusValue -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: LastUpdateStatusValue -> Int
$chash :: LastUpdateStatusValue -> Int
hashWithSalt :: Int -> LastUpdateStatusValue -> Int
$chashWithSalt :: Int -> LastUpdateStatusValue -> Int
Prelude.Hashable,
LastUpdateStatusValue -> ()
forall a. (a -> ()) -> NFData a
rnf :: LastUpdateStatusValue -> ()
$crnf :: LastUpdateStatusValue -> ()
Prelude.NFData,
Text -> Either String LastUpdateStatusValue
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String LastUpdateStatusValue
$cfromText :: Text -> Either String LastUpdateStatusValue
Data.FromText,
LastUpdateStatusValue -> Text
forall a. (a -> Text) -> ToText a
toText :: LastUpdateStatusValue -> Text
$ctoText :: LastUpdateStatusValue -> Text
Data.ToText,
LastUpdateStatusValue -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: LastUpdateStatusValue -> ByteString
$ctoBS :: LastUpdateStatusValue -> ByteString
Data.ToByteString,
LastUpdateStatusValue -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: LastUpdateStatusValue -> ByteStringBuilder
$cbuild :: LastUpdateStatusValue -> ByteStringBuilder
Data.ToLog,
HeaderName -> LastUpdateStatusValue -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> LastUpdateStatusValue -> [Header]
$ctoHeader :: HeaderName -> LastUpdateStatusValue -> [Header]
Data.ToHeader,
LastUpdateStatusValue -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: LastUpdateStatusValue -> QueryString
$ctoQuery :: LastUpdateStatusValue -> QueryString
Data.ToQuery,
Value -> Parser [LastUpdateStatusValue]
Value -> Parser LastUpdateStatusValue
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [LastUpdateStatusValue]
$cparseJSONList :: Value -> Parser [LastUpdateStatusValue]
parseJSON :: Value -> Parser LastUpdateStatusValue
$cparseJSON :: Value -> Parser LastUpdateStatusValue
Data.FromJSON,
FromJSONKeyFunction [LastUpdateStatusValue]
FromJSONKeyFunction LastUpdateStatusValue
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [LastUpdateStatusValue]
$cfromJSONKeyList :: FromJSONKeyFunction [LastUpdateStatusValue]
fromJSONKey :: FromJSONKeyFunction LastUpdateStatusValue
$cfromJSONKey :: FromJSONKeyFunction LastUpdateStatusValue
Data.FromJSONKey,
[LastUpdateStatusValue] -> Encoding
[LastUpdateStatusValue] -> Value
LastUpdateStatusValue -> Encoding
LastUpdateStatusValue -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [LastUpdateStatusValue] -> Encoding
$ctoEncodingList :: [LastUpdateStatusValue] -> Encoding
toJSONList :: [LastUpdateStatusValue] -> Value
$ctoJSONList :: [LastUpdateStatusValue] -> Value
toEncoding :: LastUpdateStatusValue -> Encoding
$ctoEncoding :: LastUpdateStatusValue -> Encoding
toJSON :: LastUpdateStatusValue -> Value
$ctoJSON :: LastUpdateStatusValue -> Value
Data.ToJSON,
ToJSONKeyFunction [LastUpdateStatusValue]
ToJSONKeyFunction LastUpdateStatusValue
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [LastUpdateStatusValue]
$ctoJSONKeyList :: ToJSONKeyFunction [LastUpdateStatusValue]
toJSONKey :: ToJSONKeyFunction LastUpdateStatusValue
$ctoJSONKey :: ToJSONKeyFunction LastUpdateStatusValue
Data.ToJSONKey,
[Node] -> Either String LastUpdateStatusValue
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String LastUpdateStatusValue
$cparseXML :: [Node] -> Either String LastUpdateStatusValue
Data.FromXML,
LastUpdateStatusValue -> XML
forall a. (a -> XML) -> ToXML a
toXML :: LastUpdateStatusValue -> XML
$ctoXML :: LastUpdateStatusValue -> XML
Data.ToXML
)
pattern LastUpdateStatusValue_Failed :: LastUpdateStatusValue
pattern $bLastUpdateStatusValue_Failed :: LastUpdateStatusValue
$mLastUpdateStatusValue_Failed :: forall {r}.
LastUpdateStatusValue -> ((# #) -> r) -> ((# #) -> r) -> r
LastUpdateStatusValue_Failed = LastUpdateStatusValue' "Failed"
pattern LastUpdateStatusValue_InProgress :: LastUpdateStatusValue
pattern $bLastUpdateStatusValue_InProgress :: LastUpdateStatusValue
$mLastUpdateStatusValue_InProgress :: forall {r}.
LastUpdateStatusValue -> ((# #) -> r) -> ((# #) -> r) -> r
LastUpdateStatusValue_InProgress = LastUpdateStatusValue' "InProgress"
pattern LastUpdateStatusValue_Successful :: LastUpdateStatusValue
pattern $bLastUpdateStatusValue_Successful :: LastUpdateStatusValue
$mLastUpdateStatusValue_Successful :: forall {r}.
LastUpdateStatusValue -> ((# #) -> r) -> ((# #) -> r) -> r
LastUpdateStatusValue_Successful = LastUpdateStatusValue' "Successful"
{-# COMPLETE
LastUpdateStatusValue_Failed,
LastUpdateStatusValue_InProgress,
LastUpdateStatusValue_Successful,
LastUpdateStatusValue'
#-}