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