module Stratosphere.RDS.GlobalCluster (
GlobalCluster(..), mkGlobalCluster
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data GlobalCluster
=
GlobalCluster {GlobalCluster -> ()
haddock_workaround_ :: (),
GlobalCluster -> Maybe (Value Bool)
deletionProtection :: (Prelude.Maybe (Value Prelude.Bool)),
GlobalCluster -> Maybe (Value Text)
engine :: (Prelude.Maybe (Value Prelude.Text)),
GlobalCluster -> Maybe (Value Text)
engineLifecycleSupport :: (Prelude.Maybe (Value Prelude.Text)),
GlobalCluster -> Maybe (Value Text)
engineVersion :: (Prelude.Maybe (Value Prelude.Text)),
GlobalCluster -> Maybe (Value Text)
globalClusterIdentifier :: (Prelude.Maybe (Value Prelude.Text)),
GlobalCluster -> Maybe (Value Text)
sourceDBClusterIdentifier :: (Prelude.Maybe (Value Prelude.Text)),
GlobalCluster -> Maybe (Value Bool)
storageEncrypted :: (Prelude.Maybe (Value Prelude.Bool)),
GlobalCluster -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (GlobalCluster -> GlobalCluster -> Bool
(GlobalCluster -> GlobalCluster -> Bool)
-> (GlobalCluster -> GlobalCluster -> Bool) -> Eq GlobalCluster
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GlobalCluster -> GlobalCluster -> Bool
== :: GlobalCluster -> GlobalCluster -> Bool
$c/= :: GlobalCluster -> GlobalCluster -> Bool
/= :: GlobalCluster -> GlobalCluster -> Bool
Prelude.Eq, Int -> GlobalCluster -> ShowS
[GlobalCluster] -> ShowS
GlobalCluster -> String
(Int -> GlobalCluster -> ShowS)
-> (GlobalCluster -> String)
-> ([GlobalCluster] -> ShowS)
-> Show GlobalCluster
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GlobalCluster -> ShowS
showsPrec :: Int -> GlobalCluster -> ShowS
$cshow :: GlobalCluster -> String
show :: GlobalCluster -> String
$cshowList :: [GlobalCluster] -> ShowS
showList :: [GlobalCluster] -> ShowS
Prelude.Show)
mkGlobalCluster :: GlobalCluster
mkGlobalCluster :: GlobalCluster
mkGlobalCluster
= GlobalCluster
{haddock_workaround_ :: ()
haddock_workaround_ = (), deletionProtection :: Maybe (Value Bool)
deletionProtection = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
engine :: Maybe (Value Text)
engine = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, engineLifecycleSupport :: Maybe (Value Text)
engineLifecycleSupport = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
engineVersion :: Maybe (Value Text)
engineVersion = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
globalClusterIdentifier :: Maybe (Value Text)
globalClusterIdentifier = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
sourceDBClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
storageEncrypted :: Maybe (Value Bool)
storageEncrypted = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties GlobalCluster where
toResourceProperties :: GlobalCluster -> ResourceProperties
toResourceProperties GlobalCluster {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlobalCluster -> ()
deletionProtection :: GlobalCluster -> Maybe (Value Bool)
engine :: GlobalCluster -> Maybe (Value Text)
engineLifecycleSupport :: GlobalCluster -> Maybe (Value Text)
engineVersion :: GlobalCluster -> Maybe (Value Text)
globalClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
sourceDBClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
storageEncrypted :: GlobalCluster -> Maybe (Value Bool)
tags :: GlobalCluster -> Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::RDS::GlobalCluster", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeletionProtection" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
deletionProtection,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Engine" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
engine,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EngineLifecycleSupport"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
engineLifecycleSupport,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EngineVersion" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
engineVersion,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"GlobalClusterIdentifier"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
globalClusterIdentifier,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SourceDBClusterIdentifier"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
sourceDBClusterIdentifier,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StorageEncrypted" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
storageEncrypted,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])}
instance JSON.ToJSON GlobalCluster where
toJSON :: GlobalCluster -> Value
toJSON GlobalCluster {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlobalCluster -> ()
deletionProtection :: GlobalCluster -> Maybe (Value Bool)
engine :: GlobalCluster -> Maybe (Value Text)
engineLifecycleSupport :: GlobalCluster -> Maybe (Value Text)
engineVersion :: GlobalCluster -> Maybe (Value Text)
globalClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
sourceDBClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
storageEncrypted :: GlobalCluster -> Maybe (Value Bool)
tags :: GlobalCluster -> Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeletionProtection" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
deletionProtection,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Engine" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
engine,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EngineLifecycleSupport"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
engineLifecycleSupport,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EngineVersion" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
engineVersion,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"GlobalClusterIdentifier"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
globalClusterIdentifier,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SourceDBClusterIdentifier"
(Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
sourceDBClusterIdentifier,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StorageEncrypted" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
storageEncrypted,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))
instance Property "DeletionProtection" GlobalCluster where
type PropertyType "DeletionProtection" GlobalCluster = Value Prelude.Bool
set :: PropertyType "DeletionProtection" GlobalCluster
-> GlobalCluster -> GlobalCluster
set PropertyType "DeletionProtection" GlobalCluster
newValue GlobalCluster {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlobalCluster -> ()
deletionProtection :: GlobalCluster -> Maybe (Value Bool)
engine :: GlobalCluster -> Maybe (Value Text)
engineLifecycleSupport :: GlobalCluster -> Maybe (Value Text)
engineVersion :: GlobalCluster -> Maybe (Value Text)
globalClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
sourceDBClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
storageEncrypted :: GlobalCluster -> Maybe (Value Bool)
tags :: GlobalCluster -> Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= GlobalCluster {deletionProtection :: Maybe (Value Bool)
deletionProtection = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeletionProtection" GlobalCluster
Value Bool
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "Engine" GlobalCluster where
type PropertyType "Engine" GlobalCluster = Value Prelude.Text
set :: PropertyType "Engine" GlobalCluster
-> GlobalCluster -> GlobalCluster
set PropertyType "Engine" GlobalCluster
newValue GlobalCluster {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlobalCluster -> ()
deletionProtection :: GlobalCluster -> Maybe (Value Bool)
engine :: GlobalCluster -> Maybe (Value Text)
engineLifecycleSupport :: GlobalCluster -> Maybe (Value Text)
engineVersion :: GlobalCluster -> Maybe (Value Text)
globalClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
sourceDBClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
storageEncrypted :: GlobalCluster -> Maybe (Value Bool)
tags :: GlobalCluster -> Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= GlobalCluster {engine :: Maybe (Value Text)
engine = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Engine" GlobalCluster
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "EngineLifecycleSupport" GlobalCluster where
type PropertyType "EngineLifecycleSupport" GlobalCluster = Value Prelude.Text
set :: PropertyType "EngineLifecycleSupport" GlobalCluster
-> GlobalCluster -> GlobalCluster
set PropertyType "EngineLifecycleSupport" GlobalCluster
newValue GlobalCluster {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlobalCluster -> ()
deletionProtection :: GlobalCluster -> Maybe (Value Bool)
engine :: GlobalCluster -> Maybe (Value Text)
engineLifecycleSupport :: GlobalCluster -> Maybe (Value Text)
engineVersion :: GlobalCluster -> Maybe (Value Text)
globalClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
sourceDBClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
storageEncrypted :: GlobalCluster -> Maybe (Value Bool)
tags :: GlobalCluster -> Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= GlobalCluster
{engineLifecycleSupport :: Maybe (Value Text)
engineLifecycleSupport = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EngineLifecycleSupport" GlobalCluster
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "EngineVersion" GlobalCluster where
type PropertyType "EngineVersion" GlobalCluster = Value Prelude.Text
set :: PropertyType "EngineVersion" GlobalCluster
-> GlobalCluster -> GlobalCluster
set PropertyType "EngineVersion" GlobalCluster
newValue GlobalCluster {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlobalCluster -> ()
deletionProtection :: GlobalCluster -> Maybe (Value Bool)
engine :: GlobalCluster -> Maybe (Value Text)
engineLifecycleSupport :: GlobalCluster -> Maybe (Value Text)
engineVersion :: GlobalCluster -> Maybe (Value Text)
globalClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
sourceDBClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
storageEncrypted :: GlobalCluster -> Maybe (Value Bool)
tags :: GlobalCluster -> Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= GlobalCluster {engineVersion :: Maybe (Value Text)
engineVersion = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EngineVersion" GlobalCluster
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "GlobalClusterIdentifier" GlobalCluster where
type PropertyType "GlobalClusterIdentifier" GlobalCluster = Value Prelude.Text
set :: PropertyType "GlobalClusterIdentifier" GlobalCluster
-> GlobalCluster -> GlobalCluster
set PropertyType "GlobalClusterIdentifier" GlobalCluster
newValue GlobalCluster {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlobalCluster -> ()
deletionProtection :: GlobalCluster -> Maybe (Value Bool)
engine :: GlobalCluster -> Maybe (Value Text)
engineLifecycleSupport :: GlobalCluster -> Maybe (Value Text)
engineVersion :: GlobalCluster -> Maybe (Value Text)
globalClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
sourceDBClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
storageEncrypted :: GlobalCluster -> Maybe (Value Bool)
tags :: GlobalCluster -> Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= GlobalCluster
{globalClusterIdentifier :: Maybe (Value Text)
globalClusterIdentifier = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "GlobalClusterIdentifier" GlobalCluster
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "SourceDBClusterIdentifier" GlobalCluster where
type PropertyType "SourceDBClusterIdentifier" GlobalCluster = Value Prelude.Text
set :: PropertyType "SourceDBClusterIdentifier" GlobalCluster
-> GlobalCluster -> GlobalCluster
set PropertyType "SourceDBClusterIdentifier" GlobalCluster
newValue GlobalCluster {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlobalCluster -> ()
deletionProtection :: GlobalCluster -> Maybe (Value Bool)
engine :: GlobalCluster -> Maybe (Value Text)
engineLifecycleSupport :: GlobalCluster -> Maybe (Value Text)
engineVersion :: GlobalCluster -> Maybe (Value Text)
globalClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
sourceDBClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
storageEncrypted :: GlobalCluster -> Maybe (Value Bool)
tags :: GlobalCluster -> Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= GlobalCluster
{sourceDBClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SourceDBClusterIdentifier" GlobalCluster
Value Text
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "StorageEncrypted" GlobalCluster where
type PropertyType "StorageEncrypted" GlobalCluster = Value Prelude.Bool
set :: PropertyType "StorageEncrypted" GlobalCluster
-> GlobalCluster -> GlobalCluster
set PropertyType "StorageEncrypted" GlobalCluster
newValue GlobalCluster {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlobalCluster -> ()
deletionProtection :: GlobalCluster -> Maybe (Value Bool)
engine :: GlobalCluster -> Maybe (Value Text)
engineLifecycleSupport :: GlobalCluster -> Maybe (Value Text)
engineVersion :: GlobalCluster -> Maybe (Value Text)
globalClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
sourceDBClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
storageEncrypted :: GlobalCluster -> Maybe (Value Bool)
tags :: GlobalCluster -> Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= GlobalCluster {storageEncrypted :: Maybe (Value Bool)
storageEncrypted = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StorageEncrypted" GlobalCluster
Value Bool
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Tags" GlobalCluster where
type PropertyType "Tags" GlobalCluster = [Tag]
set :: PropertyType "Tags" GlobalCluster -> GlobalCluster -> GlobalCluster
set PropertyType "Tags" GlobalCluster
newValue GlobalCluster {Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: GlobalCluster -> ()
deletionProtection :: GlobalCluster -> Maybe (Value Bool)
engine :: GlobalCluster -> Maybe (Value Text)
engineLifecycleSupport :: GlobalCluster -> Maybe (Value Text)
engineVersion :: GlobalCluster -> Maybe (Value Text)
globalClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
sourceDBClusterIdentifier :: GlobalCluster -> Maybe (Value Text)
storageEncrypted :: GlobalCluster -> Maybe (Value Bool)
tags :: GlobalCluster -> Maybe [Tag]
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
= GlobalCluster {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" GlobalCluster
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
haddock_workaround_ :: ()
deletionProtection :: Maybe (Value Bool)
engine :: Maybe (Value Text)
engineLifecycleSupport :: Maybe (Value Text)
engineVersion :: Maybe (Value Text)
globalClusterIdentifier :: Maybe (Value Text)
sourceDBClusterIdentifier :: Maybe (Value Text)
storageEncrypted :: Maybe (Value Bool)
..}