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