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