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