{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaLive.Types.M2tsSegmentationMarkers
( M2tsSegmentationMarkers
( ..,
M2tsSegmentationMarkers_EBP,
M2tsSegmentationMarkers_EBP_LEGACY,
M2tsSegmentationMarkers_NONE,
M2tsSegmentationMarkers_PSI_SEGSTART,
M2tsSegmentationMarkers_RAI_ADAPT,
M2tsSegmentationMarkers_RAI_SEGSTART
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype M2tsSegmentationMarkers = M2tsSegmentationMarkers'
{ M2tsSegmentationMarkers -> Text
fromM2tsSegmentationMarkers ::
Core.Text
}
deriving stock
( Int -> M2tsSegmentationMarkers -> ShowS
[M2tsSegmentationMarkers] -> ShowS
M2tsSegmentationMarkers -> String
(Int -> M2tsSegmentationMarkers -> ShowS)
-> (M2tsSegmentationMarkers -> String)
-> ([M2tsSegmentationMarkers] -> ShowS)
-> Show M2tsSegmentationMarkers
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [M2tsSegmentationMarkers] -> ShowS
$cshowList :: [M2tsSegmentationMarkers] -> ShowS
show :: M2tsSegmentationMarkers -> String
$cshow :: M2tsSegmentationMarkers -> String
showsPrec :: Int -> M2tsSegmentationMarkers -> ShowS
$cshowsPrec :: Int -> M2tsSegmentationMarkers -> ShowS
Prelude.Show,
ReadPrec [M2tsSegmentationMarkers]
ReadPrec M2tsSegmentationMarkers
Int -> ReadS M2tsSegmentationMarkers
ReadS [M2tsSegmentationMarkers]
(Int -> ReadS M2tsSegmentationMarkers)
-> ReadS [M2tsSegmentationMarkers]
-> ReadPrec M2tsSegmentationMarkers
-> ReadPrec [M2tsSegmentationMarkers]
-> Read M2tsSegmentationMarkers
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [M2tsSegmentationMarkers]
$creadListPrec :: ReadPrec [M2tsSegmentationMarkers]
readPrec :: ReadPrec M2tsSegmentationMarkers
$creadPrec :: ReadPrec M2tsSegmentationMarkers
readList :: ReadS [M2tsSegmentationMarkers]
$creadList :: ReadS [M2tsSegmentationMarkers]
readsPrec :: Int -> ReadS M2tsSegmentationMarkers
$creadsPrec :: Int -> ReadS M2tsSegmentationMarkers
Prelude.Read,
M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
(M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool)
-> (M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool)
-> Eq M2tsSegmentationMarkers
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
$c/= :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
== :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
$c== :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
Prelude.Eq,
Eq M2tsSegmentationMarkers
Eq M2tsSegmentationMarkers
-> (M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Ordering)
-> (M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool)
-> (M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool)
-> (M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool)
-> (M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool)
-> (M2tsSegmentationMarkers
-> M2tsSegmentationMarkers -> M2tsSegmentationMarkers)
-> (M2tsSegmentationMarkers
-> M2tsSegmentationMarkers -> M2tsSegmentationMarkers)
-> Ord M2tsSegmentationMarkers
M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Ordering
M2tsSegmentationMarkers
-> M2tsSegmentationMarkers -> M2tsSegmentationMarkers
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 :: M2tsSegmentationMarkers
-> M2tsSegmentationMarkers -> M2tsSegmentationMarkers
$cmin :: M2tsSegmentationMarkers
-> M2tsSegmentationMarkers -> M2tsSegmentationMarkers
max :: M2tsSegmentationMarkers
-> M2tsSegmentationMarkers -> M2tsSegmentationMarkers
$cmax :: M2tsSegmentationMarkers
-> M2tsSegmentationMarkers -> M2tsSegmentationMarkers
>= :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
$c>= :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
> :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
$c> :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
<= :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
$c<= :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
< :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
$c< :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Bool
compare :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Ordering
$ccompare :: M2tsSegmentationMarkers -> M2tsSegmentationMarkers -> Ordering
$cp1Ord :: Eq M2tsSegmentationMarkers
Prelude.Ord,
(forall x.
M2tsSegmentationMarkers -> Rep M2tsSegmentationMarkers x)
-> (forall x.
Rep M2tsSegmentationMarkers x -> M2tsSegmentationMarkers)
-> Generic M2tsSegmentationMarkers
forall x. Rep M2tsSegmentationMarkers x -> M2tsSegmentationMarkers
forall x. M2tsSegmentationMarkers -> Rep M2tsSegmentationMarkers x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep M2tsSegmentationMarkers x -> M2tsSegmentationMarkers
$cfrom :: forall x. M2tsSegmentationMarkers -> Rep M2tsSegmentationMarkers x
Prelude.Generic
)
deriving newtype
( Int -> M2tsSegmentationMarkers -> Int
M2tsSegmentationMarkers -> Int
(Int -> M2tsSegmentationMarkers -> Int)
-> (M2tsSegmentationMarkers -> Int)
-> Hashable M2tsSegmentationMarkers
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: M2tsSegmentationMarkers -> Int
$chash :: M2tsSegmentationMarkers -> Int
hashWithSalt :: Int -> M2tsSegmentationMarkers -> Int
$chashWithSalt :: Int -> M2tsSegmentationMarkers -> Int
Prelude.Hashable,
M2tsSegmentationMarkers -> ()
(M2tsSegmentationMarkers -> ()) -> NFData M2tsSegmentationMarkers
forall a. (a -> ()) -> NFData a
rnf :: M2tsSegmentationMarkers -> ()
$crnf :: M2tsSegmentationMarkers -> ()
Prelude.NFData,
Text -> Either String M2tsSegmentationMarkers
(Text -> Either String M2tsSegmentationMarkers)
-> FromText M2tsSegmentationMarkers
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String M2tsSegmentationMarkers
$cfromText :: Text -> Either String M2tsSegmentationMarkers
Core.FromText,
M2tsSegmentationMarkers -> Text
(M2tsSegmentationMarkers -> Text) -> ToText M2tsSegmentationMarkers
forall a. (a -> Text) -> ToText a
toText :: M2tsSegmentationMarkers -> Text
$ctoText :: M2tsSegmentationMarkers -> Text
Core.ToText,
M2tsSegmentationMarkers -> ByteString
(M2tsSegmentationMarkers -> ByteString)
-> ToByteString M2tsSegmentationMarkers
forall a. (a -> ByteString) -> ToByteString a
toBS :: M2tsSegmentationMarkers -> ByteString
$ctoBS :: M2tsSegmentationMarkers -> ByteString
Core.ToByteString,
M2tsSegmentationMarkers -> ByteStringBuilder
(M2tsSegmentationMarkers -> ByteStringBuilder)
-> ToLog M2tsSegmentationMarkers
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: M2tsSegmentationMarkers -> ByteStringBuilder
$cbuild :: M2tsSegmentationMarkers -> ByteStringBuilder
Core.ToLog,
HeaderName -> M2tsSegmentationMarkers -> [Header]
(HeaderName -> M2tsSegmentationMarkers -> [Header])
-> ToHeader M2tsSegmentationMarkers
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> M2tsSegmentationMarkers -> [Header]
$ctoHeader :: HeaderName -> M2tsSegmentationMarkers -> [Header]
Core.ToHeader,
M2tsSegmentationMarkers -> QueryString
(M2tsSegmentationMarkers -> QueryString)
-> ToQuery M2tsSegmentationMarkers
forall a. (a -> QueryString) -> ToQuery a
toQuery :: M2tsSegmentationMarkers -> QueryString
$ctoQuery :: M2tsSegmentationMarkers -> QueryString
Core.ToQuery,
Value -> Parser [M2tsSegmentationMarkers]
Value -> Parser M2tsSegmentationMarkers
(Value -> Parser M2tsSegmentationMarkers)
-> (Value -> Parser [M2tsSegmentationMarkers])
-> FromJSON M2tsSegmentationMarkers
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [M2tsSegmentationMarkers]
$cparseJSONList :: Value -> Parser [M2tsSegmentationMarkers]
parseJSON :: Value -> Parser M2tsSegmentationMarkers
$cparseJSON :: Value -> Parser M2tsSegmentationMarkers
Core.FromJSON,
FromJSONKeyFunction [M2tsSegmentationMarkers]
FromJSONKeyFunction M2tsSegmentationMarkers
FromJSONKeyFunction M2tsSegmentationMarkers
-> FromJSONKeyFunction [M2tsSegmentationMarkers]
-> FromJSONKey M2tsSegmentationMarkers
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [M2tsSegmentationMarkers]
$cfromJSONKeyList :: FromJSONKeyFunction [M2tsSegmentationMarkers]
fromJSONKey :: FromJSONKeyFunction M2tsSegmentationMarkers
$cfromJSONKey :: FromJSONKeyFunction M2tsSegmentationMarkers
Core.FromJSONKey,
[M2tsSegmentationMarkers] -> Encoding
[M2tsSegmentationMarkers] -> Value
M2tsSegmentationMarkers -> Encoding
M2tsSegmentationMarkers -> Value
(M2tsSegmentationMarkers -> Value)
-> (M2tsSegmentationMarkers -> Encoding)
-> ([M2tsSegmentationMarkers] -> Value)
-> ([M2tsSegmentationMarkers] -> Encoding)
-> ToJSON M2tsSegmentationMarkers
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [M2tsSegmentationMarkers] -> Encoding
$ctoEncodingList :: [M2tsSegmentationMarkers] -> Encoding
toJSONList :: [M2tsSegmentationMarkers] -> Value
$ctoJSONList :: [M2tsSegmentationMarkers] -> Value
toEncoding :: M2tsSegmentationMarkers -> Encoding
$ctoEncoding :: M2tsSegmentationMarkers -> Encoding
toJSON :: M2tsSegmentationMarkers -> Value
$ctoJSON :: M2tsSegmentationMarkers -> Value
Core.ToJSON,
ToJSONKeyFunction [M2tsSegmentationMarkers]
ToJSONKeyFunction M2tsSegmentationMarkers
ToJSONKeyFunction M2tsSegmentationMarkers
-> ToJSONKeyFunction [M2tsSegmentationMarkers]
-> ToJSONKey M2tsSegmentationMarkers
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [M2tsSegmentationMarkers]
$ctoJSONKeyList :: ToJSONKeyFunction [M2tsSegmentationMarkers]
toJSONKey :: ToJSONKeyFunction M2tsSegmentationMarkers
$ctoJSONKey :: ToJSONKeyFunction M2tsSegmentationMarkers
Core.ToJSONKey,
[Node] -> Either String M2tsSegmentationMarkers
([Node] -> Either String M2tsSegmentationMarkers)
-> FromXML M2tsSegmentationMarkers
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String M2tsSegmentationMarkers
$cparseXML :: [Node] -> Either String M2tsSegmentationMarkers
Core.FromXML,
M2tsSegmentationMarkers -> XML
(M2tsSegmentationMarkers -> XML) -> ToXML M2tsSegmentationMarkers
forall a. (a -> XML) -> ToXML a
toXML :: M2tsSegmentationMarkers -> XML
$ctoXML :: M2tsSegmentationMarkers -> XML
Core.ToXML
)
pattern M2tsSegmentationMarkers_EBP :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_EBP :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_EBP :: forall r.
M2tsSegmentationMarkers -> (Void# -> r) -> (Void# -> r) -> r
M2tsSegmentationMarkers_EBP = M2tsSegmentationMarkers' "EBP"
pattern M2tsSegmentationMarkers_EBP_LEGACY :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_EBP_LEGACY :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_EBP_LEGACY :: forall r.
M2tsSegmentationMarkers -> (Void# -> r) -> (Void# -> r) -> r
M2tsSegmentationMarkers_EBP_LEGACY = M2tsSegmentationMarkers' "EBP_LEGACY"
pattern M2tsSegmentationMarkers_NONE :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_NONE :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_NONE :: forall r.
M2tsSegmentationMarkers -> (Void# -> r) -> (Void# -> r) -> r
M2tsSegmentationMarkers_NONE = M2tsSegmentationMarkers' "NONE"
pattern M2tsSegmentationMarkers_PSI_SEGSTART :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_PSI_SEGSTART :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_PSI_SEGSTART :: forall r.
M2tsSegmentationMarkers -> (Void# -> r) -> (Void# -> r) -> r
M2tsSegmentationMarkers_PSI_SEGSTART = M2tsSegmentationMarkers' "PSI_SEGSTART"
pattern M2tsSegmentationMarkers_RAI_ADAPT :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_RAI_ADAPT :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_RAI_ADAPT :: forall r.
M2tsSegmentationMarkers -> (Void# -> r) -> (Void# -> r) -> r
M2tsSegmentationMarkers_RAI_ADAPT = M2tsSegmentationMarkers' "RAI_ADAPT"
pattern M2tsSegmentationMarkers_RAI_SEGSTART :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_RAI_SEGSTART :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_RAI_SEGSTART :: forall r.
M2tsSegmentationMarkers -> (Void# -> r) -> (Void# -> r) -> r
M2tsSegmentationMarkers_RAI_SEGSTART = M2tsSegmentationMarkers' "RAI_SEGSTART"
{-# COMPLETE
M2tsSegmentationMarkers_EBP,
M2tsSegmentationMarkers_EBP_LEGACY,
M2tsSegmentationMarkers_NONE,
M2tsSegmentationMarkers_PSI_SEGSTART,
M2tsSegmentationMarkers_RAI_ADAPT,
M2tsSegmentationMarkers_RAI_SEGSTART,
M2tsSegmentationMarkers'
#-}