{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.IoTAnalytics.Types.ReprocessingStatus
( ReprocessingStatus
( ..,
ReprocessingStatus_CANCELLED,
ReprocessingStatus_FAILED,
ReprocessingStatus_RUNNING,
ReprocessingStatus_SUCCEEDED
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype ReprocessingStatus = ReprocessingStatus'
{ ReprocessingStatus -> Text
fromReprocessingStatus ::
Data.Text
}
deriving stock
( Int -> ReprocessingStatus -> ShowS
[ReprocessingStatus] -> ShowS
ReprocessingStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ReprocessingStatus] -> ShowS
$cshowList :: [ReprocessingStatus] -> ShowS
show :: ReprocessingStatus -> String
$cshow :: ReprocessingStatus -> String
showsPrec :: Int -> ReprocessingStatus -> ShowS
$cshowsPrec :: Int -> ReprocessingStatus -> ShowS
Prelude.Show,
ReadPrec [ReprocessingStatus]
ReadPrec ReprocessingStatus
Int -> ReadS ReprocessingStatus
ReadS [ReprocessingStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ReprocessingStatus]
$creadListPrec :: ReadPrec [ReprocessingStatus]
readPrec :: ReadPrec ReprocessingStatus
$creadPrec :: ReadPrec ReprocessingStatus
readList :: ReadS [ReprocessingStatus]
$creadList :: ReadS [ReprocessingStatus]
readsPrec :: Int -> ReadS ReprocessingStatus
$creadsPrec :: Int -> ReadS ReprocessingStatus
Prelude.Read,
ReprocessingStatus -> ReprocessingStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ReprocessingStatus -> ReprocessingStatus -> Bool
$c/= :: ReprocessingStatus -> ReprocessingStatus -> Bool
== :: ReprocessingStatus -> ReprocessingStatus -> Bool
$c== :: ReprocessingStatus -> ReprocessingStatus -> Bool
Prelude.Eq,
Eq ReprocessingStatus
ReprocessingStatus -> ReprocessingStatus -> Bool
ReprocessingStatus -> ReprocessingStatus -> Ordering
ReprocessingStatus -> ReprocessingStatus -> ReprocessingStatus
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 :: ReprocessingStatus -> ReprocessingStatus -> ReprocessingStatus
$cmin :: ReprocessingStatus -> ReprocessingStatus -> ReprocessingStatus
max :: ReprocessingStatus -> ReprocessingStatus -> ReprocessingStatus
$cmax :: ReprocessingStatus -> ReprocessingStatus -> ReprocessingStatus
>= :: ReprocessingStatus -> ReprocessingStatus -> Bool
$c>= :: ReprocessingStatus -> ReprocessingStatus -> Bool
> :: ReprocessingStatus -> ReprocessingStatus -> Bool
$c> :: ReprocessingStatus -> ReprocessingStatus -> Bool
<= :: ReprocessingStatus -> ReprocessingStatus -> Bool
$c<= :: ReprocessingStatus -> ReprocessingStatus -> Bool
< :: ReprocessingStatus -> ReprocessingStatus -> Bool
$c< :: ReprocessingStatus -> ReprocessingStatus -> Bool
compare :: ReprocessingStatus -> ReprocessingStatus -> Ordering
$ccompare :: ReprocessingStatus -> ReprocessingStatus -> Ordering
Prelude.Ord,
forall x. Rep ReprocessingStatus x -> ReprocessingStatus
forall x. ReprocessingStatus -> Rep ReprocessingStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ReprocessingStatus x -> ReprocessingStatus
$cfrom :: forall x. ReprocessingStatus -> Rep ReprocessingStatus x
Prelude.Generic
)
deriving newtype
( Eq ReprocessingStatus
Int -> ReprocessingStatus -> Int
ReprocessingStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ReprocessingStatus -> Int
$chash :: ReprocessingStatus -> Int
hashWithSalt :: Int -> ReprocessingStatus -> Int
$chashWithSalt :: Int -> ReprocessingStatus -> Int
Prelude.Hashable,
ReprocessingStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: ReprocessingStatus -> ()
$crnf :: ReprocessingStatus -> ()
Prelude.NFData,
Text -> Either String ReprocessingStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ReprocessingStatus
$cfromText :: Text -> Either String ReprocessingStatus
Data.FromText,
ReprocessingStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: ReprocessingStatus -> Text
$ctoText :: ReprocessingStatus -> Text
Data.ToText,
ReprocessingStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: ReprocessingStatus -> ByteString
$ctoBS :: ReprocessingStatus -> ByteString
Data.ToByteString,
ReprocessingStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ReprocessingStatus -> ByteStringBuilder
$cbuild :: ReprocessingStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> ReprocessingStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ReprocessingStatus -> [Header]
$ctoHeader :: HeaderName -> ReprocessingStatus -> [Header]
Data.ToHeader,
ReprocessingStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ReprocessingStatus -> QueryString
$ctoQuery :: ReprocessingStatus -> QueryString
Data.ToQuery,
Value -> Parser [ReprocessingStatus]
Value -> Parser ReprocessingStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ReprocessingStatus]
$cparseJSONList :: Value -> Parser [ReprocessingStatus]
parseJSON :: Value -> Parser ReprocessingStatus
$cparseJSON :: Value -> Parser ReprocessingStatus
Data.FromJSON,
FromJSONKeyFunction [ReprocessingStatus]
FromJSONKeyFunction ReprocessingStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ReprocessingStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [ReprocessingStatus]
fromJSONKey :: FromJSONKeyFunction ReprocessingStatus
$cfromJSONKey :: FromJSONKeyFunction ReprocessingStatus
Data.FromJSONKey,
[ReprocessingStatus] -> Encoding
[ReprocessingStatus] -> Value
ReprocessingStatus -> Encoding
ReprocessingStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ReprocessingStatus] -> Encoding
$ctoEncodingList :: [ReprocessingStatus] -> Encoding
toJSONList :: [ReprocessingStatus] -> Value
$ctoJSONList :: [ReprocessingStatus] -> Value
toEncoding :: ReprocessingStatus -> Encoding
$ctoEncoding :: ReprocessingStatus -> Encoding
toJSON :: ReprocessingStatus -> Value
$ctoJSON :: ReprocessingStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [ReprocessingStatus]
ToJSONKeyFunction ReprocessingStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ReprocessingStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [ReprocessingStatus]
toJSONKey :: ToJSONKeyFunction ReprocessingStatus
$ctoJSONKey :: ToJSONKeyFunction ReprocessingStatus
Data.ToJSONKey,
[Node] -> Either String ReprocessingStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ReprocessingStatus
$cparseXML :: [Node] -> Either String ReprocessingStatus
Data.FromXML,
ReprocessingStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: ReprocessingStatus -> XML
$ctoXML :: ReprocessingStatus -> XML
Data.ToXML
)
pattern ReprocessingStatus_CANCELLED :: ReprocessingStatus
pattern $bReprocessingStatus_CANCELLED :: ReprocessingStatus
$mReprocessingStatus_CANCELLED :: forall {r}. ReprocessingStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ReprocessingStatus_CANCELLED = ReprocessingStatus' "CANCELLED"
pattern ReprocessingStatus_FAILED :: ReprocessingStatus
pattern $bReprocessingStatus_FAILED :: ReprocessingStatus
$mReprocessingStatus_FAILED :: forall {r}. ReprocessingStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ReprocessingStatus_FAILED = ReprocessingStatus' "FAILED"
pattern ReprocessingStatus_RUNNING :: ReprocessingStatus
pattern $bReprocessingStatus_RUNNING :: ReprocessingStatus
$mReprocessingStatus_RUNNING :: forall {r}. ReprocessingStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ReprocessingStatus_RUNNING = ReprocessingStatus' "RUNNING"
pattern ReprocessingStatus_SUCCEEDED :: ReprocessingStatus
pattern $bReprocessingStatus_SUCCEEDED :: ReprocessingStatus
$mReprocessingStatus_SUCCEEDED :: forall {r}. ReprocessingStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ReprocessingStatus_SUCCEEDED = ReprocessingStatus' "SUCCEEDED"
{-# COMPLETE
ReprocessingStatus_CANCELLED,
ReprocessingStatus_FAILED,
ReprocessingStatus_RUNNING,
ReprocessingStatus_SUCCEEDED,
ReprocessingStatus'
#-}