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