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