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