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