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