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