{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.SageMakerGeoSpatial.Types.EarthObservationJobStatus
( EarthObservationJobStatus
( ..,
EarthObservationJobStatus_COMPLETED,
EarthObservationJobStatus_DELETED,
EarthObservationJobStatus_DELETING,
EarthObservationJobStatus_FAILED,
EarthObservationJobStatus_INITIALIZING,
EarthObservationJobStatus_IN_PROGRESS,
EarthObservationJobStatus_STOPPED,
EarthObservationJobStatus_STOPPING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype EarthObservationJobStatus = EarthObservationJobStatus'
{ EarthObservationJobStatus -> Text
fromEarthObservationJobStatus ::
Data.Text
}
deriving stock
( Int -> EarthObservationJobStatus -> ShowS
[EarthObservationJobStatus] -> ShowS
EarthObservationJobStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EarthObservationJobStatus] -> ShowS
$cshowList :: [EarthObservationJobStatus] -> ShowS
show :: EarthObservationJobStatus -> String
$cshow :: EarthObservationJobStatus -> String
showsPrec :: Int -> EarthObservationJobStatus -> ShowS
$cshowsPrec :: Int -> EarthObservationJobStatus -> ShowS
Prelude.Show,
ReadPrec [EarthObservationJobStatus]
ReadPrec EarthObservationJobStatus
Int -> ReadS EarthObservationJobStatus
ReadS [EarthObservationJobStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [EarthObservationJobStatus]
$creadListPrec :: ReadPrec [EarthObservationJobStatus]
readPrec :: ReadPrec EarthObservationJobStatus
$creadPrec :: ReadPrec EarthObservationJobStatus
readList :: ReadS [EarthObservationJobStatus]
$creadList :: ReadS [EarthObservationJobStatus]
readsPrec :: Int -> ReadS EarthObservationJobStatus
$creadsPrec :: Int -> ReadS EarthObservationJobStatus
Prelude.Read,
EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
$c/= :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
== :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
$c== :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
Prelude.Eq,
Eq EarthObservationJobStatus
EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
EarthObservationJobStatus -> EarthObservationJobStatus -> Ordering
EarthObservationJobStatus
-> EarthObservationJobStatus -> EarthObservationJobStatus
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 :: EarthObservationJobStatus
-> EarthObservationJobStatus -> EarthObservationJobStatus
$cmin :: EarthObservationJobStatus
-> EarthObservationJobStatus -> EarthObservationJobStatus
max :: EarthObservationJobStatus
-> EarthObservationJobStatus -> EarthObservationJobStatus
$cmax :: EarthObservationJobStatus
-> EarthObservationJobStatus -> EarthObservationJobStatus
>= :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
$c>= :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
> :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
$c> :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
<= :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
$c<= :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
< :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
$c< :: EarthObservationJobStatus -> EarthObservationJobStatus -> Bool
compare :: EarthObservationJobStatus -> EarthObservationJobStatus -> Ordering
$ccompare :: EarthObservationJobStatus -> EarthObservationJobStatus -> Ordering
Prelude.Ord,
forall x.
Rep EarthObservationJobStatus x -> EarthObservationJobStatus
forall x.
EarthObservationJobStatus -> Rep EarthObservationJobStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep EarthObservationJobStatus x -> EarthObservationJobStatus
$cfrom :: forall x.
EarthObservationJobStatus -> Rep EarthObservationJobStatus x
Prelude.Generic
)
deriving newtype
( Eq EarthObservationJobStatus
Int -> EarthObservationJobStatus -> Int
EarthObservationJobStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: EarthObservationJobStatus -> Int
$chash :: EarthObservationJobStatus -> Int
hashWithSalt :: Int -> EarthObservationJobStatus -> Int
$chashWithSalt :: Int -> EarthObservationJobStatus -> Int
Prelude.Hashable,
EarthObservationJobStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: EarthObservationJobStatus -> ()
$crnf :: EarthObservationJobStatus -> ()
Prelude.NFData,
Text -> Either String EarthObservationJobStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String EarthObservationJobStatus
$cfromText :: Text -> Either String EarthObservationJobStatus
Data.FromText,
EarthObservationJobStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: EarthObservationJobStatus -> Text
$ctoText :: EarthObservationJobStatus -> Text
Data.ToText,
EarthObservationJobStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: EarthObservationJobStatus -> ByteString
$ctoBS :: EarthObservationJobStatus -> ByteString
Data.ToByteString,
EarthObservationJobStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: EarthObservationJobStatus -> ByteStringBuilder
$cbuild :: EarthObservationJobStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> EarthObservationJobStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> EarthObservationJobStatus -> [Header]
$ctoHeader :: HeaderName -> EarthObservationJobStatus -> [Header]
Data.ToHeader,
EarthObservationJobStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: EarthObservationJobStatus -> QueryString
$ctoQuery :: EarthObservationJobStatus -> QueryString
Data.ToQuery,
Value -> Parser [EarthObservationJobStatus]
Value -> Parser EarthObservationJobStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [EarthObservationJobStatus]
$cparseJSONList :: Value -> Parser [EarthObservationJobStatus]
parseJSON :: Value -> Parser EarthObservationJobStatus
$cparseJSON :: Value -> Parser EarthObservationJobStatus
Data.FromJSON,
FromJSONKeyFunction [EarthObservationJobStatus]
FromJSONKeyFunction EarthObservationJobStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [EarthObservationJobStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [EarthObservationJobStatus]
fromJSONKey :: FromJSONKeyFunction EarthObservationJobStatus
$cfromJSONKey :: FromJSONKeyFunction EarthObservationJobStatus
Data.FromJSONKey,
[EarthObservationJobStatus] -> Encoding
[EarthObservationJobStatus] -> Value
EarthObservationJobStatus -> Encoding
EarthObservationJobStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [EarthObservationJobStatus] -> Encoding
$ctoEncodingList :: [EarthObservationJobStatus] -> Encoding
toJSONList :: [EarthObservationJobStatus] -> Value
$ctoJSONList :: [EarthObservationJobStatus] -> Value
toEncoding :: EarthObservationJobStatus -> Encoding
$ctoEncoding :: EarthObservationJobStatus -> Encoding
toJSON :: EarthObservationJobStatus -> Value
$ctoJSON :: EarthObservationJobStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [EarthObservationJobStatus]
ToJSONKeyFunction EarthObservationJobStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [EarthObservationJobStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [EarthObservationJobStatus]
toJSONKey :: ToJSONKeyFunction EarthObservationJobStatus
$ctoJSONKey :: ToJSONKeyFunction EarthObservationJobStatus
Data.ToJSONKey,
[Node] -> Either String EarthObservationJobStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String EarthObservationJobStatus
$cparseXML :: [Node] -> Either String EarthObservationJobStatus
Data.FromXML,
EarthObservationJobStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: EarthObservationJobStatus -> XML
$ctoXML :: EarthObservationJobStatus -> XML
Data.ToXML
)
pattern EarthObservationJobStatus_COMPLETED :: EarthObservationJobStatus
pattern $bEarthObservationJobStatus_COMPLETED :: EarthObservationJobStatus
$mEarthObservationJobStatus_COMPLETED :: forall {r}.
EarthObservationJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
EarthObservationJobStatus_COMPLETED = EarthObservationJobStatus' "COMPLETED"
pattern EarthObservationJobStatus_DELETED :: EarthObservationJobStatus
pattern $bEarthObservationJobStatus_DELETED :: EarthObservationJobStatus
$mEarthObservationJobStatus_DELETED :: forall {r}.
EarthObservationJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
EarthObservationJobStatus_DELETED = EarthObservationJobStatus' "DELETED"
pattern EarthObservationJobStatus_DELETING :: EarthObservationJobStatus
pattern $bEarthObservationJobStatus_DELETING :: EarthObservationJobStatus
$mEarthObservationJobStatus_DELETING :: forall {r}.
EarthObservationJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
EarthObservationJobStatus_DELETING = EarthObservationJobStatus' "DELETING"
pattern EarthObservationJobStatus_FAILED :: EarthObservationJobStatus
pattern $bEarthObservationJobStatus_FAILED :: EarthObservationJobStatus
$mEarthObservationJobStatus_FAILED :: forall {r}.
EarthObservationJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
EarthObservationJobStatus_FAILED = EarthObservationJobStatus' "FAILED"
pattern EarthObservationJobStatus_INITIALIZING :: EarthObservationJobStatus
pattern $bEarthObservationJobStatus_INITIALIZING :: EarthObservationJobStatus
$mEarthObservationJobStatus_INITIALIZING :: forall {r}.
EarthObservationJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
EarthObservationJobStatus_INITIALIZING = EarthObservationJobStatus' "INITIALIZING"
pattern EarthObservationJobStatus_IN_PROGRESS :: EarthObservationJobStatus
pattern $bEarthObservationJobStatus_IN_PROGRESS :: EarthObservationJobStatus
$mEarthObservationJobStatus_IN_PROGRESS :: forall {r}.
EarthObservationJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
EarthObservationJobStatus_IN_PROGRESS = EarthObservationJobStatus' "IN_PROGRESS"
pattern EarthObservationJobStatus_STOPPED :: EarthObservationJobStatus
pattern $bEarthObservationJobStatus_STOPPED :: EarthObservationJobStatus
$mEarthObservationJobStatus_STOPPED :: forall {r}.
EarthObservationJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
EarthObservationJobStatus_STOPPED = EarthObservationJobStatus' "STOPPED"
pattern EarthObservationJobStatus_STOPPING :: EarthObservationJobStatus
pattern $bEarthObservationJobStatus_STOPPING :: EarthObservationJobStatus
$mEarthObservationJobStatus_STOPPING :: forall {r}.
EarthObservationJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
EarthObservationJobStatus_STOPPING = EarthObservationJobStatus' "STOPPING"
{-# COMPLETE
EarthObservationJobStatus_COMPLETED,
EarthObservationJobStatus_DELETED,
EarthObservationJobStatus_DELETING,
EarthObservationJobStatus_FAILED,
EarthObservationJobStatus_INITIALIZING,
EarthObservationJobStatus_IN_PROGRESS,
EarthObservationJobStatus_STOPPED,
EarthObservationJobStatus_STOPPING,
EarthObservationJobStatus'
#-}