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