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