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