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