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