{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaConvert.Types.M3u8AudioDuration
( M3u8AudioDuration
( ..,
M3u8AudioDuration_DEFAULT_CODEC_DURATION,
M3u8AudioDuration_MATCH_VIDEO_DURATION
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype M3u8AudioDuration = M3u8AudioDuration'
{ M3u8AudioDuration -> Text
fromM3u8AudioDuration ::
Core.Text
}
deriving stock
( Int -> M3u8AudioDuration -> ShowS
[M3u8AudioDuration] -> ShowS
M3u8AudioDuration -> String
(Int -> M3u8AudioDuration -> ShowS)
-> (M3u8AudioDuration -> String)
-> ([M3u8AudioDuration] -> ShowS)
-> Show M3u8AudioDuration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [M3u8AudioDuration] -> ShowS
$cshowList :: [M3u8AudioDuration] -> ShowS
show :: M3u8AudioDuration -> String
$cshow :: M3u8AudioDuration -> String
showsPrec :: Int -> M3u8AudioDuration -> ShowS
$cshowsPrec :: Int -> M3u8AudioDuration -> ShowS
Prelude.Show,
ReadPrec [M3u8AudioDuration]
ReadPrec M3u8AudioDuration
Int -> ReadS M3u8AudioDuration
ReadS [M3u8AudioDuration]
(Int -> ReadS M3u8AudioDuration)
-> ReadS [M3u8AudioDuration]
-> ReadPrec M3u8AudioDuration
-> ReadPrec [M3u8AudioDuration]
-> Read M3u8AudioDuration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [M3u8AudioDuration]
$creadListPrec :: ReadPrec [M3u8AudioDuration]
readPrec :: ReadPrec M3u8AudioDuration
$creadPrec :: ReadPrec M3u8AudioDuration
readList :: ReadS [M3u8AudioDuration]
$creadList :: ReadS [M3u8AudioDuration]
readsPrec :: Int -> ReadS M3u8AudioDuration
$creadsPrec :: Int -> ReadS M3u8AudioDuration
Prelude.Read,
M3u8AudioDuration -> M3u8AudioDuration -> Bool
(M3u8AudioDuration -> M3u8AudioDuration -> Bool)
-> (M3u8AudioDuration -> M3u8AudioDuration -> Bool)
-> Eq M3u8AudioDuration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
$c/= :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
== :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
$c== :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
Prelude.Eq,
Eq M3u8AudioDuration
Eq M3u8AudioDuration
-> (M3u8AudioDuration -> M3u8AudioDuration -> Ordering)
-> (M3u8AudioDuration -> M3u8AudioDuration -> Bool)
-> (M3u8AudioDuration -> M3u8AudioDuration -> Bool)
-> (M3u8AudioDuration -> M3u8AudioDuration -> Bool)
-> (M3u8AudioDuration -> M3u8AudioDuration -> Bool)
-> (M3u8AudioDuration -> M3u8AudioDuration -> M3u8AudioDuration)
-> (M3u8AudioDuration -> M3u8AudioDuration -> M3u8AudioDuration)
-> Ord M3u8AudioDuration
M3u8AudioDuration -> M3u8AudioDuration -> Bool
M3u8AudioDuration -> M3u8AudioDuration -> Ordering
M3u8AudioDuration -> M3u8AudioDuration -> M3u8AudioDuration
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 :: M3u8AudioDuration -> M3u8AudioDuration -> M3u8AudioDuration
$cmin :: M3u8AudioDuration -> M3u8AudioDuration -> M3u8AudioDuration
max :: M3u8AudioDuration -> M3u8AudioDuration -> M3u8AudioDuration
$cmax :: M3u8AudioDuration -> M3u8AudioDuration -> M3u8AudioDuration
>= :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
$c>= :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
> :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
$c> :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
<= :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
$c<= :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
< :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
$c< :: M3u8AudioDuration -> M3u8AudioDuration -> Bool
compare :: M3u8AudioDuration -> M3u8AudioDuration -> Ordering
$ccompare :: M3u8AudioDuration -> M3u8AudioDuration -> Ordering
$cp1Ord :: Eq M3u8AudioDuration
Prelude.Ord,
(forall x. M3u8AudioDuration -> Rep M3u8AudioDuration x)
-> (forall x. Rep M3u8AudioDuration x -> M3u8AudioDuration)
-> Generic M3u8AudioDuration
forall x. Rep M3u8AudioDuration x -> M3u8AudioDuration
forall x. M3u8AudioDuration -> Rep M3u8AudioDuration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep M3u8AudioDuration x -> M3u8AudioDuration
$cfrom :: forall x. M3u8AudioDuration -> Rep M3u8AudioDuration x
Prelude.Generic
)
deriving newtype
( Int -> M3u8AudioDuration -> Int
M3u8AudioDuration -> Int
(Int -> M3u8AudioDuration -> Int)
-> (M3u8AudioDuration -> Int) -> Hashable M3u8AudioDuration
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: M3u8AudioDuration -> Int
$chash :: M3u8AudioDuration -> Int
hashWithSalt :: Int -> M3u8AudioDuration -> Int
$chashWithSalt :: Int -> M3u8AudioDuration -> Int
Prelude.Hashable,
M3u8AudioDuration -> ()
(M3u8AudioDuration -> ()) -> NFData M3u8AudioDuration
forall a. (a -> ()) -> NFData a
rnf :: M3u8AudioDuration -> ()
$crnf :: M3u8AudioDuration -> ()
Prelude.NFData,
Text -> Either String M3u8AudioDuration
(Text -> Either String M3u8AudioDuration)
-> FromText M3u8AudioDuration
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String M3u8AudioDuration
$cfromText :: Text -> Either String M3u8AudioDuration
Core.FromText,
M3u8AudioDuration -> Text
(M3u8AudioDuration -> Text) -> ToText M3u8AudioDuration
forall a. (a -> Text) -> ToText a
toText :: M3u8AudioDuration -> Text
$ctoText :: M3u8AudioDuration -> Text
Core.ToText,
M3u8AudioDuration -> ByteString
(M3u8AudioDuration -> ByteString) -> ToByteString M3u8AudioDuration
forall a. (a -> ByteString) -> ToByteString a
toBS :: M3u8AudioDuration -> ByteString
$ctoBS :: M3u8AudioDuration -> ByteString
Core.ToByteString,
M3u8AudioDuration -> ByteStringBuilder
(M3u8AudioDuration -> ByteStringBuilder) -> ToLog M3u8AudioDuration
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: M3u8AudioDuration -> ByteStringBuilder
$cbuild :: M3u8AudioDuration -> ByteStringBuilder
Core.ToLog,
HeaderName -> M3u8AudioDuration -> [Header]
(HeaderName -> M3u8AudioDuration -> [Header])
-> ToHeader M3u8AudioDuration
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> M3u8AudioDuration -> [Header]
$ctoHeader :: HeaderName -> M3u8AudioDuration -> [Header]
Core.ToHeader,
M3u8AudioDuration -> QueryString
(M3u8AudioDuration -> QueryString) -> ToQuery M3u8AudioDuration
forall a. (a -> QueryString) -> ToQuery a
toQuery :: M3u8AudioDuration -> QueryString
$ctoQuery :: M3u8AudioDuration -> QueryString
Core.ToQuery,
Value -> Parser [M3u8AudioDuration]
Value -> Parser M3u8AudioDuration
(Value -> Parser M3u8AudioDuration)
-> (Value -> Parser [M3u8AudioDuration])
-> FromJSON M3u8AudioDuration
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [M3u8AudioDuration]
$cparseJSONList :: Value -> Parser [M3u8AudioDuration]
parseJSON :: Value -> Parser M3u8AudioDuration
$cparseJSON :: Value -> Parser M3u8AudioDuration
Core.FromJSON,
FromJSONKeyFunction [M3u8AudioDuration]
FromJSONKeyFunction M3u8AudioDuration
FromJSONKeyFunction M3u8AudioDuration
-> FromJSONKeyFunction [M3u8AudioDuration]
-> FromJSONKey M3u8AudioDuration
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [M3u8AudioDuration]
$cfromJSONKeyList :: FromJSONKeyFunction [M3u8AudioDuration]
fromJSONKey :: FromJSONKeyFunction M3u8AudioDuration
$cfromJSONKey :: FromJSONKeyFunction M3u8AudioDuration
Core.FromJSONKey,
[M3u8AudioDuration] -> Encoding
[M3u8AudioDuration] -> Value
M3u8AudioDuration -> Encoding
M3u8AudioDuration -> Value
(M3u8AudioDuration -> Value)
-> (M3u8AudioDuration -> Encoding)
-> ([M3u8AudioDuration] -> Value)
-> ([M3u8AudioDuration] -> Encoding)
-> ToJSON M3u8AudioDuration
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [M3u8AudioDuration] -> Encoding
$ctoEncodingList :: [M3u8AudioDuration] -> Encoding
toJSONList :: [M3u8AudioDuration] -> Value
$ctoJSONList :: [M3u8AudioDuration] -> Value
toEncoding :: M3u8AudioDuration -> Encoding
$ctoEncoding :: M3u8AudioDuration -> Encoding
toJSON :: M3u8AudioDuration -> Value
$ctoJSON :: M3u8AudioDuration -> Value
Core.ToJSON,
ToJSONKeyFunction [M3u8AudioDuration]
ToJSONKeyFunction M3u8AudioDuration
ToJSONKeyFunction M3u8AudioDuration
-> ToJSONKeyFunction [M3u8AudioDuration]
-> ToJSONKey M3u8AudioDuration
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [M3u8AudioDuration]
$ctoJSONKeyList :: ToJSONKeyFunction [M3u8AudioDuration]
toJSONKey :: ToJSONKeyFunction M3u8AudioDuration
$ctoJSONKey :: ToJSONKeyFunction M3u8AudioDuration
Core.ToJSONKey,
[Node] -> Either String M3u8AudioDuration
([Node] -> Either String M3u8AudioDuration)
-> FromXML M3u8AudioDuration
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String M3u8AudioDuration
$cparseXML :: [Node] -> Either String M3u8AudioDuration
Core.FromXML,
M3u8AudioDuration -> XML
(M3u8AudioDuration -> XML) -> ToXML M3u8AudioDuration
forall a. (a -> XML) -> ToXML a
toXML :: M3u8AudioDuration -> XML
$ctoXML :: M3u8AudioDuration -> XML
Core.ToXML
)
pattern M3u8AudioDuration_DEFAULT_CODEC_DURATION :: M3u8AudioDuration
pattern $bM3u8AudioDuration_DEFAULT_CODEC_DURATION :: M3u8AudioDuration
$mM3u8AudioDuration_DEFAULT_CODEC_DURATION :: forall r. M3u8AudioDuration -> (Void# -> r) -> (Void# -> r) -> r
M3u8AudioDuration_DEFAULT_CODEC_DURATION = M3u8AudioDuration' "DEFAULT_CODEC_DURATION"
pattern M3u8AudioDuration_MATCH_VIDEO_DURATION :: M3u8AudioDuration
pattern $bM3u8AudioDuration_MATCH_VIDEO_DURATION :: M3u8AudioDuration
$mM3u8AudioDuration_MATCH_VIDEO_DURATION :: forall r. M3u8AudioDuration -> (Void# -> r) -> (Void# -> r) -> r
M3u8AudioDuration_MATCH_VIDEO_DURATION = M3u8AudioDuration' "MATCH_VIDEO_DURATION"
{-# COMPLETE
M3u8AudioDuration_DEFAULT_CODEC_DURATION,
M3u8AudioDuration_MATCH_VIDEO_DURATION,
M3u8AudioDuration'
#-}