{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype HlsMediaStoreStorageClass = HlsMediaStoreStorageClass'
{ HlsMediaStoreStorageClass -> Text
fromHlsMediaStoreStorageClass ::
Data.Text
}
deriving stock
( Int -> HlsMediaStoreStorageClass -> ShowS
[HlsMediaStoreStorageClass] -> ShowS
HlsMediaStoreStorageClass -> String
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]
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
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
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
Prelude.Ord,
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
( Eq HlsMediaStoreStorageClass
Int -> HlsMediaStoreStorageClass -> Int
HlsMediaStoreStorageClass -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: HlsMediaStoreStorageClass -> ()
$crnf :: HlsMediaStoreStorageClass -> ()
Prelude.NFData,
Text -> Either String HlsMediaStoreStorageClass
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String HlsMediaStoreStorageClass
$cfromText :: Text -> Either String HlsMediaStoreStorageClass
Data.FromText,
HlsMediaStoreStorageClass -> Text
forall a. (a -> Text) -> ToText a
toText :: HlsMediaStoreStorageClass -> Text
$ctoText :: HlsMediaStoreStorageClass -> Text
Data.ToText,
HlsMediaStoreStorageClass -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: HlsMediaStoreStorageClass -> ByteString
$ctoBS :: HlsMediaStoreStorageClass -> ByteString
Data.ToByteString,
HlsMediaStoreStorageClass -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: HlsMediaStoreStorageClass -> ByteStringBuilder
$cbuild :: HlsMediaStoreStorageClass -> ByteStringBuilder
Data.ToLog,
HeaderName -> HlsMediaStoreStorageClass -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> HlsMediaStoreStorageClass -> [Header]
$ctoHeader :: HeaderName -> HlsMediaStoreStorageClass -> [Header]
Data.ToHeader,
HlsMediaStoreStorageClass -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: HlsMediaStoreStorageClass -> QueryString
$ctoQuery :: HlsMediaStoreStorageClass -> QueryString
Data.ToQuery,
Value -> Parser [HlsMediaStoreStorageClass]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [HlsMediaStoreStorageClass]
FromJSONKeyFunction HlsMediaStoreStorageClass
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [HlsMediaStoreStorageClass]
$cfromJSONKeyList :: FromJSONKeyFunction [HlsMediaStoreStorageClass]
fromJSONKey :: FromJSONKeyFunction HlsMediaStoreStorageClass
$cfromJSONKey :: FromJSONKeyFunction HlsMediaStoreStorageClass
Data.FromJSONKey,
[HlsMediaStoreStorageClass] -> Encoding
[HlsMediaStoreStorageClass] -> Value
HlsMediaStoreStorageClass -> Encoding
HlsMediaStoreStorageClass -> Value
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
Data.ToJSON,
ToJSONKeyFunction [HlsMediaStoreStorageClass]
ToJSONKeyFunction HlsMediaStoreStorageClass
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [HlsMediaStoreStorageClass]
$ctoJSONKeyList :: ToJSONKeyFunction [HlsMediaStoreStorageClass]
toJSONKey :: ToJSONKeyFunction HlsMediaStoreStorageClass
$ctoJSONKey :: ToJSONKeyFunction HlsMediaStoreStorageClass
Data.ToJSONKey,
[Node] -> Either String HlsMediaStoreStorageClass
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String HlsMediaStoreStorageClass
$cparseXML :: [Node] -> Either String HlsMediaStoreStorageClass
Data.FromXML,
HlsMediaStoreStorageClass -> XML
forall a. (a -> XML) -> ToXML a
toXML :: HlsMediaStoreStorageClass -> XML
$ctoXML :: HlsMediaStoreStorageClass -> XML
Data.ToXML
)
pattern HlsMediaStoreStorageClass_TEMPORAL :: HlsMediaStoreStorageClass
pattern $bHlsMediaStoreStorageClass_TEMPORAL :: HlsMediaStoreStorageClass
$mHlsMediaStoreStorageClass_TEMPORAL :: forall {r}.
HlsMediaStoreStorageClass -> ((# #) -> r) -> ((# #) -> r) -> r
HlsMediaStoreStorageClass_TEMPORAL = HlsMediaStoreStorageClass' "TEMPORAL"
{-# COMPLETE
HlsMediaStoreStorageClass_TEMPORAL,
HlsMediaStoreStorageClass'
#-}