{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Chime.Types.MediaPipelineStatus
( MediaPipelineStatus
( ..,
MediaPipelineStatus_Failed,
MediaPipelineStatus_InProgress,
MediaPipelineStatus_Initializing,
MediaPipelineStatus_Stopped,
MediaPipelineStatus_Stopping
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype MediaPipelineStatus = MediaPipelineStatus'
{ MediaPipelineStatus -> Text
fromMediaPipelineStatus ::
Core.Text
}
deriving stock
( Int -> MediaPipelineStatus -> ShowS
[MediaPipelineStatus] -> ShowS
MediaPipelineStatus -> String
(Int -> MediaPipelineStatus -> ShowS)
-> (MediaPipelineStatus -> String)
-> ([MediaPipelineStatus] -> ShowS)
-> Show MediaPipelineStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MediaPipelineStatus] -> ShowS
$cshowList :: [MediaPipelineStatus] -> ShowS
show :: MediaPipelineStatus -> String
$cshow :: MediaPipelineStatus -> String
showsPrec :: Int -> MediaPipelineStatus -> ShowS
$cshowsPrec :: Int -> MediaPipelineStatus -> ShowS
Prelude.Show,
ReadPrec [MediaPipelineStatus]
ReadPrec MediaPipelineStatus
Int -> ReadS MediaPipelineStatus
ReadS [MediaPipelineStatus]
(Int -> ReadS MediaPipelineStatus)
-> ReadS [MediaPipelineStatus]
-> ReadPrec MediaPipelineStatus
-> ReadPrec [MediaPipelineStatus]
-> Read MediaPipelineStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MediaPipelineStatus]
$creadListPrec :: ReadPrec [MediaPipelineStatus]
readPrec :: ReadPrec MediaPipelineStatus
$creadPrec :: ReadPrec MediaPipelineStatus
readList :: ReadS [MediaPipelineStatus]
$creadList :: ReadS [MediaPipelineStatus]
readsPrec :: Int -> ReadS MediaPipelineStatus
$creadsPrec :: Int -> ReadS MediaPipelineStatus
Prelude.Read,
MediaPipelineStatus -> MediaPipelineStatus -> Bool
(MediaPipelineStatus -> MediaPipelineStatus -> Bool)
-> (MediaPipelineStatus -> MediaPipelineStatus -> Bool)
-> Eq MediaPipelineStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
$c/= :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
== :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
$c== :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
Prelude.Eq,
Eq MediaPipelineStatus
Eq MediaPipelineStatus
-> (MediaPipelineStatus -> MediaPipelineStatus -> Ordering)
-> (MediaPipelineStatus -> MediaPipelineStatus -> Bool)
-> (MediaPipelineStatus -> MediaPipelineStatus -> Bool)
-> (MediaPipelineStatus -> MediaPipelineStatus -> Bool)
-> (MediaPipelineStatus -> MediaPipelineStatus -> Bool)
-> (MediaPipelineStatus
-> MediaPipelineStatus -> MediaPipelineStatus)
-> (MediaPipelineStatus
-> MediaPipelineStatus -> MediaPipelineStatus)
-> Ord MediaPipelineStatus
MediaPipelineStatus -> MediaPipelineStatus -> Bool
MediaPipelineStatus -> MediaPipelineStatus -> Ordering
MediaPipelineStatus -> MediaPipelineStatus -> MediaPipelineStatus
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 :: MediaPipelineStatus -> MediaPipelineStatus -> MediaPipelineStatus
$cmin :: MediaPipelineStatus -> MediaPipelineStatus -> MediaPipelineStatus
max :: MediaPipelineStatus -> MediaPipelineStatus -> MediaPipelineStatus
$cmax :: MediaPipelineStatus -> MediaPipelineStatus -> MediaPipelineStatus
>= :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
$c>= :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
> :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
$c> :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
<= :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
$c<= :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
< :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
$c< :: MediaPipelineStatus -> MediaPipelineStatus -> Bool
compare :: MediaPipelineStatus -> MediaPipelineStatus -> Ordering
$ccompare :: MediaPipelineStatus -> MediaPipelineStatus -> Ordering
$cp1Ord :: Eq MediaPipelineStatus
Prelude.Ord,
(forall x. MediaPipelineStatus -> Rep MediaPipelineStatus x)
-> (forall x. Rep MediaPipelineStatus x -> MediaPipelineStatus)
-> Generic MediaPipelineStatus
forall x. Rep MediaPipelineStatus x -> MediaPipelineStatus
forall x. MediaPipelineStatus -> Rep MediaPipelineStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep MediaPipelineStatus x -> MediaPipelineStatus
$cfrom :: forall x. MediaPipelineStatus -> Rep MediaPipelineStatus x
Prelude.Generic
)
deriving newtype
( Int -> MediaPipelineStatus -> Int
MediaPipelineStatus -> Int
(Int -> MediaPipelineStatus -> Int)
-> (MediaPipelineStatus -> Int) -> Hashable MediaPipelineStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: MediaPipelineStatus -> Int
$chash :: MediaPipelineStatus -> Int
hashWithSalt :: Int -> MediaPipelineStatus -> Int
$chashWithSalt :: Int -> MediaPipelineStatus -> Int
Prelude.Hashable,
MediaPipelineStatus -> ()
(MediaPipelineStatus -> ()) -> NFData MediaPipelineStatus
forall a. (a -> ()) -> NFData a
rnf :: MediaPipelineStatus -> ()
$crnf :: MediaPipelineStatus -> ()
Prelude.NFData,
Text -> Either String MediaPipelineStatus
(Text -> Either String MediaPipelineStatus)
-> FromText MediaPipelineStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String MediaPipelineStatus
$cfromText :: Text -> Either String MediaPipelineStatus
Core.FromText,
MediaPipelineStatus -> Text
(MediaPipelineStatus -> Text) -> ToText MediaPipelineStatus
forall a. (a -> Text) -> ToText a
toText :: MediaPipelineStatus -> Text
$ctoText :: MediaPipelineStatus -> Text
Core.ToText,
MediaPipelineStatus -> ByteString
(MediaPipelineStatus -> ByteString)
-> ToByteString MediaPipelineStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: MediaPipelineStatus -> ByteString
$ctoBS :: MediaPipelineStatus -> ByteString
Core.ToByteString,
MediaPipelineStatus -> ByteStringBuilder
(MediaPipelineStatus -> ByteStringBuilder)
-> ToLog MediaPipelineStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: MediaPipelineStatus -> ByteStringBuilder
$cbuild :: MediaPipelineStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> MediaPipelineStatus -> [Header]
(HeaderName -> MediaPipelineStatus -> [Header])
-> ToHeader MediaPipelineStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> MediaPipelineStatus -> [Header]
$ctoHeader :: HeaderName -> MediaPipelineStatus -> [Header]
Core.ToHeader,
MediaPipelineStatus -> QueryString
(MediaPipelineStatus -> QueryString) -> ToQuery MediaPipelineStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: MediaPipelineStatus -> QueryString
$ctoQuery :: MediaPipelineStatus -> QueryString
Core.ToQuery,
Value -> Parser [MediaPipelineStatus]
Value -> Parser MediaPipelineStatus
(Value -> Parser MediaPipelineStatus)
-> (Value -> Parser [MediaPipelineStatus])
-> FromJSON MediaPipelineStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [MediaPipelineStatus]
$cparseJSONList :: Value -> Parser [MediaPipelineStatus]
parseJSON :: Value -> Parser MediaPipelineStatus
$cparseJSON :: Value -> Parser MediaPipelineStatus
Core.FromJSON,
FromJSONKeyFunction [MediaPipelineStatus]
FromJSONKeyFunction MediaPipelineStatus
FromJSONKeyFunction MediaPipelineStatus
-> FromJSONKeyFunction [MediaPipelineStatus]
-> FromJSONKey MediaPipelineStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [MediaPipelineStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [MediaPipelineStatus]
fromJSONKey :: FromJSONKeyFunction MediaPipelineStatus
$cfromJSONKey :: FromJSONKeyFunction MediaPipelineStatus
Core.FromJSONKey,
[MediaPipelineStatus] -> Encoding
[MediaPipelineStatus] -> Value
MediaPipelineStatus -> Encoding
MediaPipelineStatus -> Value
(MediaPipelineStatus -> Value)
-> (MediaPipelineStatus -> Encoding)
-> ([MediaPipelineStatus] -> Value)
-> ([MediaPipelineStatus] -> Encoding)
-> ToJSON MediaPipelineStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [MediaPipelineStatus] -> Encoding
$ctoEncodingList :: [MediaPipelineStatus] -> Encoding
toJSONList :: [MediaPipelineStatus] -> Value
$ctoJSONList :: [MediaPipelineStatus] -> Value
toEncoding :: MediaPipelineStatus -> Encoding
$ctoEncoding :: MediaPipelineStatus -> Encoding
toJSON :: MediaPipelineStatus -> Value
$ctoJSON :: MediaPipelineStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [MediaPipelineStatus]
ToJSONKeyFunction MediaPipelineStatus
ToJSONKeyFunction MediaPipelineStatus
-> ToJSONKeyFunction [MediaPipelineStatus]
-> ToJSONKey MediaPipelineStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [MediaPipelineStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [MediaPipelineStatus]
toJSONKey :: ToJSONKeyFunction MediaPipelineStatus
$ctoJSONKey :: ToJSONKeyFunction MediaPipelineStatus
Core.ToJSONKey,
[Node] -> Either String MediaPipelineStatus
([Node] -> Either String MediaPipelineStatus)
-> FromXML MediaPipelineStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String MediaPipelineStatus
$cparseXML :: [Node] -> Either String MediaPipelineStatus
Core.FromXML,
MediaPipelineStatus -> XML
(MediaPipelineStatus -> XML) -> ToXML MediaPipelineStatus
forall a. (a -> XML) -> ToXML a
toXML :: MediaPipelineStatus -> XML
$ctoXML :: MediaPipelineStatus -> XML
Core.ToXML
)
pattern MediaPipelineStatus_Failed :: MediaPipelineStatus
pattern $bMediaPipelineStatus_Failed :: MediaPipelineStatus
$mMediaPipelineStatus_Failed :: forall r. MediaPipelineStatus -> (Void# -> r) -> (Void# -> r) -> r
MediaPipelineStatus_Failed = MediaPipelineStatus' "Failed"
pattern MediaPipelineStatus_InProgress :: MediaPipelineStatus
pattern $bMediaPipelineStatus_InProgress :: MediaPipelineStatus
$mMediaPipelineStatus_InProgress :: forall r. MediaPipelineStatus -> (Void# -> r) -> (Void# -> r) -> r
MediaPipelineStatus_InProgress = MediaPipelineStatus' "InProgress"
pattern MediaPipelineStatus_Initializing :: MediaPipelineStatus
pattern $bMediaPipelineStatus_Initializing :: MediaPipelineStatus
$mMediaPipelineStatus_Initializing :: forall r. MediaPipelineStatus -> (Void# -> r) -> (Void# -> r) -> r
MediaPipelineStatus_Initializing = MediaPipelineStatus' "Initializing"
pattern MediaPipelineStatus_Stopped :: MediaPipelineStatus
pattern $bMediaPipelineStatus_Stopped :: MediaPipelineStatus
$mMediaPipelineStatus_Stopped :: forall r. MediaPipelineStatus -> (Void# -> r) -> (Void# -> r) -> r
MediaPipelineStatus_Stopped = MediaPipelineStatus' "Stopped"
pattern MediaPipelineStatus_Stopping :: MediaPipelineStatus
pattern $bMediaPipelineStatus_Stopping :: MediaPipelineStatus
$mMediaPipelineStatus_Stopping :: forall r. MediaPipelineStatus -> (Void# -> r) -> (Void# -> r) -> r
MediaPipelineStatus_Stopping = MediaPipelineStatus' "Stopping"
{-# COMPLETE
MediaPipelineStatus_Failed,
MediaPipelineStatus_InProgress,
MediaPipelineStatus_Initializing,
MediaPipelineStatus_Stopped,
MediaPipelineStatus_Stopping,
MediaPipelineStatus'
#-}