{-# 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.StepStatus
( StepStatus
( ..,
StepStatus_Executing,
StepStatus_Failed,
StepStatus_Starting,
StepStatus_Stopped,
StepStatus_Stopping,
StepStatus_Succeeded
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype StepStatus = StepStatus'
{ StepStatus -> Text
fromStepStatus ::
Core.Text
}
deriving stock
( Int -> StepStatus -> ShowS
[StepStatus] -> ShowS
StepStatus -> String
(Int -> StepStatus -> ShowS)
-> (StepStatus -> String)
-> ([StepStatus] -> ShowS)
-> Show StepStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StepStatus] -> ShowS
$cshowList :: [StepStatus] -> ShowS
show :: StepStatus -> String
$cshow :: StepStatus -> String
showsPrec :: Int -> StepStatus -> ShowS
$cshowsPrec :: Int -> StepStatus -> ShowS
Prelude.Show,
ReadPrec [StepStatus]
ReadPrec StepStatus
Int -> ReadS StepStatus
ReadS [StepStatus]
(Int -> ReadS StepStatus)
-> ReadS [StepStatus]
-> ReadPrec StepStatus
-> ReadPrec [StepStatus]
-> Read StepStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StepStatus]
$creadListPrec :: ReadPrec [StepStatus]
readPrec :: ReadPrec StepStatus
$creadPrec :: ReadPrec StepStatus
readList :: ReadS [StepStatus]
$creadList :: ReadS [StepStatus]
readsPrec :: Int -> ReadS StepStatus
$creadsPrec :: Int -> ReadS StepStatus
Prelude.Read,
StepStatus -> StepStatus -> Bool
(StepStatus -> StepStatus -> Bool)
-> (StepStatus -> StepStatus -> Bool) -> Eq StepStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StepStatus -> StepStatus -> Bool
$c/= :: StepStatus -> StepStatus -> Bool
== :: StepStatus -> StepStatus -> Bool
$c== :: StepStatus -> StepStatus -> Bool
Prelude.Eq,
Eq StepStatus
Eq StepStatus
-> (StepStatus -> StepStatus -> Ordering)
-> (StepStatus -> StepStatus -> Bool)
-> (StepStatus -> StepStatus -> Bool)
-> (StepStatus -> StepStatus -> Bool)
-> (StepStatus -> StepStatus -> Bool)
-> (StepStatus -> StepStatus -> StepStatus)
-> (StepStatus -> StepStatus -> StepStatus)
-> Ord StepStatus
StepStatus -> StepStatus -> Bool
StepStatus -> StepStatus -> Ordering
StepStatus -> StepStatus -> StepStatus
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 :: StepStatus -> StepStatus -> StepStatus
$cmin :: StepStatus -> StepStatus -> StepStatus
max :: StepStatus -> StepStatus -> StepStatus
$cmax :: StepStatus -> StepStatus -> StepStatus
>= :: StepStatus -> StepStatus -> Bool
$c>= :: StepStatus -> StepStatus -> Bool
> :: StepStatus -> StepStatus -> Bool
$c> :: StepStatus -> StepStatus -> Bool
<= :: StepStatus -> StepStatus -> Bool
$c<= :: StepStatus -> StepStatus -> Bool
< :: StepStatus -> StepStatus -> Bool
$c< :: StepStatus -> StepStatus -> Bool
compare :: StepStatus -> StepStatus -> Ordering
$ccompare :: StepStatus -> StepStatus -> Ordering
$cp1Ord :: Eq StepStatus
Prelude.Ord,
(forall x. StepStatus -> Rep StepStatus x)
-> (forall x. Rep StepStatus x -> StepStatus) -> Generic StepStatus
forall x. Rep StepStatus x -> StepStatus
forall x. StepStatus -> Rep StepStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StepStatus x -> StepStatus
$cfrom :: forall x. StepStatus -> Rep StepStatus x
Prelude.Generic
)
deriving newtype
( Int -> StepStatus -> Int
StepStatus -> Int
(Int -> StepStatus -> Int)
-> (StepStatus -> Int) -> Hashable StepStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: StepStatus -> Int
$chash :: StepStatus -> Int
hashWithSalt :: Int -> StepStatus -> Int
$chashWithSalt :: Int -> StepStatus -> Int
Prelude.Hashable,
StepStatus -> ()
(StepStatus -> ()) -> NFData StepStatus
forall a. (a -> ()) -> NFData a
rnf :: StepStatus -> ()
$crnf :: StepStatus -> ()
Prelude.NFData,
Text -> Either String StepStatus
(Text -> Either String StepStatus) -> FromText StepStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String StepStatus
$cfromText :: Text -> Either String StepStatus
Core.FromText,
StepStatus -> Text
(StepStatus -> Text) -> ToText StepStatus
forall a. (a -> Text) -> ToText a
toText :: StepStatus -> Text
$ctoText :: StepStatus -> Text
Core.ToText,
StepStatus -> ByteString
(StepStatus -> ByteString) -> ToByteString StepStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: StepStatus -> ByteString
$ctoBS :: StepStatus -> ByteString
Core.ToByteString,
StepStatus -> ByteStringBuilder
(StepStatus -> ByteStringBuilder) -> ToLog StepStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: StepStatus -> ByteStringBuilder
$cbuild :: StepStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> StepStatus -> [Header]
(HeaderName -> StepStatus -> [Header]) -> ToHeader StepStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> StepStatus -> [Header]
$ctoHeader :: HeaderName -> StepStatus -> [Header]
Core.ToHeader,
StepStatus -> QueryString
(StepStatus -> QueryString) -> ToQuery StepStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: StepStatus -> QueryString
$ctoQuery :: StepStatus -> QueryString
Core.ToQuery,
Value -> Parser [StepStatus]
Value -> Parser StepStatus
(Value -> Parser StepStatus)
-> (Value -> Parser [StepStatus]) -> FromJSON StepStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [StepStatus]
$cparseJSONList :: Value -> Parser [StepStatus]
parseJSON :: Value -> Parser StepStatus
$cparseJSON :: Value -> Parser StepStatus
Core.FromJSON,
FromJSONKeyFunction [StepStatus]
FromJSONKeyFunction StepStatus
FromJSONKeyFunction StepStatus
-> FromJSONKeyFunction [StepStatus] -> FromJSONKey StepStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [StepStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [StepStatus]
fromJSONKey :: FromJSONKeyFunction StepStatus
$cfromJSONKey :: FromJSONKeyFunction StepStatus
Core.FromJSONKey,
[StepStatus] -> Encoding
[StepStatus] -> Value
StepStatus -> Encoding
StepStatus -> Value
(StepStatus -> Value)
-> (StepStatus -> Encoding)
-> ([StepStatus] -> Value)
-> ([StepStatus] -> Encoding)
-> ToJSON StepStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [StepStatus] -> Encoding
$ctoEncodingList :: [StepStatus] -> Encoding
toJSONList :: [StepStatus] -> Value
$ctoJSONList :: [StepStatus] -> Value
toEncoding :: StepStatus -> Encoding
$ctoEncoding :: StepStatus -> Encoding
toJSON :: StepStatus -> Value
$ctoJSON :: StepStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [StepStatus]
ToJSONKeyFunction StepStatus
ToJSONKeyFunction StepStatus
-> ToJSONKeyFunction [StepStatus] -> ToJSONKey StepStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [StepStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [StepStatus]
toJSONKey :: ToJSONKeyFunction StepStatus
$ctoJSONKey :: ToJSONKeyFunction StepStatus
Core.ToJSONKey,
[Node] -> Either String StepStatus
([Node] -> Either String StepStatus) -> FromXML StepStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String StepStatus
$cparseXML :: [Node] -> Either String StepStatus
Core.FromXML,
StepStatus -> XML
(StepStatus -> XML) -> ToXML StepStatus
forall a. (a -> XML) -> ToXML a
toXML :: StepStatus -> XML
$ctoXML :: StepStatus -> XML
Core.ToXML
)
pattern StepStatus_Executing :: StepStatus
pattern $bStepStatus_Executing :: StepStatus
$mStepStatus_Executing :: forall r. StepStatus -> (Void# -> r) -> (Void# -> r) -> r
StepStatus_Executing = StepStatus' "Executing"
pattern StepStatus_Failed :: StepStatus
pattern $bStepStatus_Failed :: StepStatus
$mStepStatus_Failed :: forall r. StepStatus -> (Void# -> r) -> (Void# -> r) -> r
StepStatus_Failed = StepStatus' "Failed"
pattern StepStatus_Starting :: StepStatus
pattern $bStepStatus_Starting :: StepStatus
$mStepStatus_Starting :: forall r. StepStatus -> (Void# -> r) -> (Void# -> r) -> r
StepStatus_Starting = StepStatus' "Starting"
pattern StepStatus_Stopped :: StepStatus
pattern $bStepStatus_Stopped :: StepStatus
$mStepStatus_Stopped :: forall r. StepStatus -> (Void# -> r) -> (Void# -> r) -> r
StepStatus_Stopped = StepStatus' "Stopped"
pattern StepStatus_Stopping :: StepStatus
pattern $bStepStatus_Stopping :: StepStatus
$mStepStatus_Stopping :: forall r. StepStatus -> (Void# -> r) -> (Void# -> r) -> r
StepStatus_Stopping = StepStatus' "Stopping"
pattern StepStatus_Succeeded :: StepStatus
pattern $bStepStatus_Succeeded :: StepStatus
$mStepStatus_Succeeded :: forall r. StepStatus -> (Void# -> r) -> (Void# -> r) -> r
StepStatus_Succeeded = StepStatus' "Succeeded"
{-# COMPLETE
StepStatus_Executing,
StepStatus_Failed,
StepStatus_Starting,
StepStatus_Stopped,
StepStatus_Stopping,
StepStatus_Succeeded,
StepStatus'
#-}