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