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