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