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