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