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