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