{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Redshift.Types.PendingModifiedValues where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.Redshift.Internal
data PendingModifiedValues = PendingModifiedValues'
{
PendingModifiedValues -> Maybe Text
encryptionType :: Prelude.Maybe Prelude.Text,
PendingModifiedValues -> Maybe Bool
enhancedVpcRouting :: Prelude.Maybe Prelude.Bool,
PendingModifiedValues -> Maybe Text
masterUserPassword :: Prelude.Maybe Prelude.Text,
PendingModifiedValues -> Maybe Bool
publiclyAccessible :: Prelude.Maybe Prelude.Bool,
PendingModifiedValues -> Maybe Text
maintenanceTrackName :: Prelude.Maybe Prelude.Text,
PendingModifiedValues -> Maybe Int
automatedSnapshotRetentionPeriod :: Prelude.Maybe Prelude.Int,
PendingModifiedValues -> Maybe Text
clusterIdentifier :: Prelude.Maybe Prelude.Text,
PendingModifiedValues -> Maybe Int
numberOfNodes :: Prelude.Maybe Prelude.Int,
PendingModifiedValues -> Maybe Text
clusterType :: Prelude.Maybe Prelude.Text,
PendingModifiedValues -> Maybe Text
clusterVersion :: Prelude.Maybe Prelude.Text,
PendingModifiedValues -> Maybe Text
nodeType :: Prelude.Maybe Prelude.Text
}
deriving (PendingModifiedValues -> PendingModifiedValues -> Bool
(PendingModifiedValues -> PendingModifiedValues -> Bool)
-> (PendingModifiedValues -> PendingModifiedValues -> Bool)
-> Eq PendingModifiedValues
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PendingModifiedValues -> PendingModifiedValues -> Bool
$c/= :: PendingModifiedValues -> PendingModifiedValues -> Bool
== :: PendingModifiedValues -> PendingModifiedValues -> Bool
$c== :: PendingModifiedValues -> PendingModifiedValues -> Bool
Prelude.Eq, ReadPrec [PendingModifiedValues]
ReadPrec PendingModifiedValues
Int -> ReadS PendingModifiedValues
ReadS [PendingModifiedValues]
(Int -> ReadS PendingModifiedValues)
-> ReadS [PendingModifiedValues]
-> ReadPrec PendingModifiedValues
-> ReadPrec [PendingModifiedValues]
-> Read PendingModifiedValues
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PendingModifiedValues]
$creadListPrec :: ReadPrec [PendingModifiedValues]
readPrec :: ReadPrec PendingModifiedValues
$creadPrec :: ReadPrec PendingModifiedValues
readList :: ReadS [PendingModifiedValues]
$creadList :: ReadS [PendingModifiedValues]
readsPrec :: Int -> ReadS PendingModifiedValues
$creadsPrec :: Int -> ReadS PendingModifiedValues
Prelude.Read, Int -> PendingModifiedValues -> ShowS
[PendingModifiedValues] -> ShowS
PendingModifiedValues -> String
(Int -> PendingModifiedValues -> ShowS)
-> (PendingModifiedValues -> String)
-> ([PendingModifiedValues] -> ShowS)
-> Show PendingModifiedValues
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PendingModifiedValues] -> ShowS
$cshowList :: [PendingModifiedValues] -> ShowS
show :: PendingModifiedValues -> String
$cshow :: PendingModifiedValues -> String
showsPrec :: Int -> PendingModifiedValues -> ShowS
$cshowsPrec :: Int -> PendingModifiedValues -> ShowS
Prelude.Show, (forall x. PendingModifiedValues -> Rep PendingModifiedValues x)
-> (forall x. Rep PendingModifiedValues x -> PendingModifiedValues)
-> Generic PendingModifiedValues
forall x. Rep PendingModifiedValues x -> PendingModifiedValues
forall x. PendingModifiedValues -> Rep PendingModifiedValues x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PendingModifiedValues x -> PendingModifiedValues
$cfrom :: forall x. PendingModifiedValues -> Rep PendingModifiedValues x
Prelude.Generic)
newPendingModifiedValues ::
PendingModifiedValues
newPendingModifiedValues :: PendingModifiedValues
newPendingModifiedValues =
PendingModifiedValues' :: Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues
PendingModifiedValues'
{ $sel:encryptionType:PendingModifiedValues' :: Maybe Text
encryptionType =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:enhancedVpcRouting:PendingModifiedValues' :: Maybe Bool
enhancedVpcRouting = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:masterUserPassword:PendingModifiedValues' :: Maybe Text
masterUserPassword = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:publiclyAccessible:PendingModifiedValues' :: Maybe Bool
publiclyAccessible = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:maintenanceTrackName:PendingModifiedValues' :: Maybe Text
maintenanceTrackName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:automatedSnapshotRetentionPeriod:PendingModifiedValues' :: Maybe Int
automatedSnapshotRetentionPeriod = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:clusterIdentifier:PendingModifiedValues' :: Maybe Text
clusterIdentifier = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:numberOfNodes:PendingModifiedValues' :: Maybe Int
numberOfNodes = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:clusterType:PendingModifiedValues' :: Maybe Text
clusterType = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:clusterVersion:PendingModifiedValues' :: Maybe Text
clusterVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:nodeType:PendingModifiedValues' :: Maybe Text
nodeType = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
pendingModifiedValues_encryptionType :: Lens.Lens' PendingModifiedValues (Prelude.Maybe Prelude.Text)
pendingModifiedValues_encryptionType :: (Maybe Text -> f (Maybe Text))
-> PendingModifiedValues -> f PendingModifiedValues
pendingModifiedValues_encryptionType = (PendingModifiedValues -> Maybe Text)
-> (PendingModifiedValues -> Maybe Text -> PendingModifiedValues)
-> Lens
PendingModifiedValues
PendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PendingModifiedValues' {Maybe Text
encryptionType :: Maybe Text
$sel:encryptionType:PendingModifiedValues' :: PendingModifiedValues -> Maybe Text
encryptionType} -> Maybe Text
encryptionType) (\s :: PendingModifiedValues
s@PendingModifiedValues' {} Maybe Text
a -> PendingModifiedValues
s {$sel:encryptionType:PendingModifiedValues' :: Maybe Text
encryptionType = Maybe Text
a} :: PendingModifiedValues)
pendingModifiedValues_enhancedVpcRouting :: Lens.Lens' PendingModifiedValues (Prelude.Maybe Prelude.Bool)
pendingModifiedValues_enhancedVpcRouting :: (Maybe Bool -> f (Maybe Bool))
-> PendingModifiedValues -> f PendingModifiedValues
pendingModifiedValues_enhancedVpcRouting = (PendingModifiedValues -> Maybe Bool)
-> (PendingModifiedValues -> Maybe Bool -> PendingModifiedValues)
-> Lens
PendingModifiedValues
PendingModifiedValues
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PendingModifiedValues' {Maybe Bool
enhancedVpcRouting :: Maybe Bool
$sel:enhancedVpcRouting:PendingModifiedValues' :: PendingModifiedValues -> Maybe Bool
enhancedVpcRouting} -> Maybe Bool
enhancedVpcRouting) (\s :: PendingModifiedValues
s@PendingModifiedValues' {} Maybe Bool
a -> PendingModifiedValues
s {$sel:enhancedVpcRouting:PendingModifiedValues' :: Maybe Bool
enhancedVpcRouting = Maybe Bool
a} :: PendingModifiedValues)
pendingModifiedValues_masterUserPassword :: Lens.Lens' PendingModifiedValues (Prelude.Maybe Prelude.Text)
pendingModifiedValues_masterUserPassword :: (Maybe Text -> f (Maybe Text))
-> PendingModifiedValues -> f PendingModifiedValues
pendingModifiedValues_masterUserPassword = (PendingModifiedValues -> Maybe Text)
-> (PendingModifiedValues -> Maybe Text -> PendingModifiedValues)
-> Lens
PendingModifiedValues
PendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PendingModifiedValues' {Maybe Text
masterUserPassword :: Maybe Text
$sel:masterUserPassword:PendingModifiedValues' :: PendingModifiedValues -> Maybe Text
masterUserPassword} -> Maybe Text
masterUserPassword) (\s :: PendingModifiedValues
s@PendingModifiedValues' {} Maybe Text
a -> PendingModifiedValues
s {$sel:masterUserPassword:PendingModifiedValues' :: Maybe Text
masterUserPassword = Maybe Text
a} :: PendingModifiedValues)
pendingModifiedValues_publiclyAccessible :: Lens.Lens' PendingModifiedValues (Prelude.Maybe Prelude.Bool)
pendingModifiedValues_publiclyAccessible :: (Maybe Bool -> f (Maybe Bool))
-> PendingModifiedValues -> f PendingModifiedValues
pendingModifiedValues_publiclyAccessible = (PendingModifiedValues -> Maybe Bool)
-> (PendingModifiedValues -> Maybe Bool -> PendingModifiedValues)
-> Lens
PendingModifiedValues
PendingModifiedValues
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PendingModifiedValues' {Maybe Bool
publiclyAccessible :: Maybe Bool
$sel:publiclyAccessible:PendingModifiedValues' :: PendingModifiedValues -> Maybe Bool
publiclyAccessible} -> Maybe Bool
publiclyAccessible) (\s :: PendingModifiedValues
s@PendingModifiedValues' {} Maybe Bool
a -> PendingModifiedValues
s {$sel:publiclyAccessible:PendingModifiedValues' :: Maybe Bool
publiclyAccessible = Maybe Bool
a} :: PendingModifiedValues)
pendingModifiedValues_maintenanceTrackName :: Lens.Lens' PendingModifiedValues (Prelude.Maybe Prelude.Text)
pendingModifiedValues_maintenanceTrackName :: (Maybe Text -> f (Maybe Text))
-> PendingModifiedValues -> f PendingModifiedValues
pendingModifiedValues_maintenanceTrackName = (PendingModifiedValues -> Maybe Text)
-> (PendingModifiedValues -> Maybe Text -> PendingModifiedValues)
-> Lens
PendingModifiedValues
PendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PendingModifiedValues' {Maybe Text
maintenanceTrackName :: Maybe Text
$sel:maintenanceTrackName:PendingModifiedValues' :: PendingModifiedValues -> Maybe Text
maintenanceTrackName} -> Maybe Text
maintenanceTrackName) (\s :: PendingModifiedValues
s@PendingModifiedValues' {} Maybe Text
a -> PendingModifiedValues
s {$sel:maintenanceTrackName:PendingModifiedValues' :: Maybe Text
maintenanceTrackName = Maybe Text
a} :: PendingModifiedValues)
pendingModifiedValues_automatedSnapshotRetentionPeriod :: Lens.Lens' PendingModifiedValues (Prelude.Maybe Prelude.Int)
pendingModifiedValues_automatedSnapshotRetentionPeriod :: (Maybe Int -> f (Maybe Int))
-> PendingModifiedValues -> f PendingModifiedValues
pendingModifiedValues_automatedSnapshotRetentionPeriod = (PendingModifiedValues -> Maybe Int)
-> (PendingModifiedValues -> Maybe Int -> PendingModifiedValues)
-> Lens
PendingModifiedValues PendingModifiedValues (Maybe Int) (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PendingModifiedValues' {Maybe Int
automatedSnapshotRetentionPeriod :: Maybe Int
$sel:automatedSnapshotRetentionPeriod:PendingModifiedValues' :: PendingModifiedValues -> Maybe Int
automatedSnapshotRetentionPeriod} -> Maybe Int
automatedSnapshotRetentionPeriod) (\s :: PendingModifiedValues
s@PendingModifiedValues' {} Maybe Int
a -> PendingModifiedValues
s {$sel:automatedSnapshotRetentionPeriod:PendingModifiedValues' :: Maybe Int
automatedSnapshotRetentionPeriod = Maybe Int
a} :: PendingModifiedValues)
pendingModifiedValues_clusterIdentifier :: Lens.Lens' PendingModifiedValues (Prelude.Maybe Prelude.Text)
pendingModifiedValues_clusterIdentifier :: (Maybe Text -> f (Maybe Text))
-> PendingModifiedValues -> f PendingModifiedValues
pendingModifiedValues_clusterIdentifier = (PendingModifiedValues -> Maybe Text)
-> (PendingModifiedValues -> Maybe Text -> PendingModifiedValues)
-> Lens
PendingModifiedValues
PendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PendingModifiedValues' {Maybe Text
clusterIdentifier :: Maybe Text
$sel:clusterIdentifier:PendingModifiedValues' :: PendingModifiedValues -> Maybe Text
clusterIdentifier} -> Maybe Text
clusterIdentifier) (\s :: PendingModifiedValues
s@PendingModifiedValues' {} Maybe Text
a -> PendingModifiedValues
s {$sel:clusterIdentifier:PendingModifiedValues' :: Maybe Text
clusterIdentifier = Maybe Text
a} :: PendingModifiedValues)
pendingModifiedValues_numberOfNodes :: Lens.Lens' PendingModifiedValues (Prelude.Maybe Prelude.Int)
pendingModifiedValues_numberOfNodes :: (Maybe Int -> f (Maybe Int))
-> PendingModifiedValues -> f PendingModifiedValues
pendingModifiedValues_numberOfNodes = (PendingModifiedValues -> Maybe Int)
-> (PendingModifiedValues -> Maybe Int -> PendingModifiedValues)
-> Lens
PendingModifiedValues PendingModifiedValues (Maybe Int) (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PendingModifiedValues' {Maybe Int
numberOfNodes :: Maybe Int
$sel:numberOfNodes:PendingModifiedValues' :: PendingModifiedValues -> Maybe Int
numberOfNodes} -> Maybe Int
numberOfNodes) (\s :: PendingModifiedValues
s@PendingModifiedValues' {} Maybe Int
a -> PendingModifiedValues
s {$sel:numberOfNodes:PendingModifiedValues' :: Maybe Int
numberOfNodes = Maybe Int
a} :: PendingModifiedValues)
pendingModifiedValues_clusterType :: Lens.Lens' PendingModifiedValues (Prelude.Maybe Prelude.Text)
pendingModifiedValues_clusterType :: (Maybe Text -> f (Maybe Text))
-> PendingModifiedValues -> f PendingModifiedValues
pendingModifiedValues_clusterType = (PendingModifiedValues -> Maybe Text)
-> (PendingModifiedValues -> Maybe Text -> PendingModifiedValues)
-> Lens
PendingModifiedValues
PendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PendingModifiedValues' {Maybe Text
clusterType :: Maybe Text
$sel:clusterType:PendingModifiedValues' :: PendingModifiedValues -> Maybe Text
clusterType} -> Maybe Text
clusterType) (\s :: PendingModifiedValues
s@PendingModifiedValues' {} Maybe Text
a -> PendingModifiedValues
s {$sel:clusterType:PendingModifiedValues' :: Maybe Text
clusterType = Maybe Text
a} :: PendingModifiedValues)
pendingModifiedValues_clusterVersion :: Lens.Lens' PendingModifiedValues (Prelude.Maybe Prelude.Text)
pendingModifiedValues_clusterVersion :: (Maybe Text -> f (Maybe Text))
-> PendingModifiedValues -> f PendingModifiedValues
pendingModifiedValues_clusterVersion = (PendingModifiedValues -> Maybe Text)
-> (PendingModifiedValues -> Maybe Text -> PendingModifiedValues)
-> Lens
PendingModifiedValues
PendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PendingModifiedValues' {Maybe Text
clusterVersion :: Maybe Text
$sel:clusterVersion:PendingModifiedValues' :: PendingModifiedValues -> Maybe Text
clusterVersion} -> Maybe Text
clusterVersion) (\s :: PendingModifiedValues
s@PendingModifiedValues' {} Maybe Text
a -> PendingModifiedValues
s {$sel:clusterVersion:PendingModifiedValues' :: Maybe Text
clusterVersion = Maybe Text
a} :: PendingModifiedValues)
pendingModifiedValues_nodeType :: Lens.Lens' PendingModifiedValues (Prelude.Maybe Prelude.Text)
pendingModifiedValues_nodeType :: (Maybe Text -> f (Maybe Text))
-> PendingModifiedValues -> f PendingModifiedValues
pendingModifiedValues_nodeType = (PendingModifiedValues -> Maybe Text)
-> (PendingModifiedValues -> Maybe Text -> PendingModifiedValues)
-> Lens
PendingModifiedValues
PendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PendingModifiedValues' {Maybe Text
nodeType :: Maybe Text
$sel:nodeType:PendingModifiedValues' :: PendingModifiedValues -> Maybe Text
nodeType} -> Maybe Text
nodeType) (\s :: PendingModifiedValues
s@PendingModifiedValues' {} Maybe Text
a -> PendingModifiedValues
s {$sel:nodeType:PendingModifiedValues' :: Maybe Text
nodeType = Maybe Text
a} :: PendingModifiedValues)
instance Core.FromXML PendingModifiedValues where
parseXML :: [Node] -> Either String PendingModifiedValues
parseXML [Node]
x =
Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues
PendingModifiedValues'
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
-> Either String (Maybe Text)
-> Either
String
(Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"EncryptionType")
Either
String
(Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
-> Either String (Maybe Bool)
-> Either
String
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"EnhancedVpcRouting")
Either
String
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
-> Either String (Maybe Text)
-> Either
String
(Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"MasterUserPassword")
Either
String
(Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
-> Either String (Maybe Bool)
-> Either
String
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"PubliclyAccessible")
Either
String
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
-> Either String (Maybe Text)
-> Either
String
(Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"MaintenanceTrackName")
Either
String
(Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
-> Either String (Maybe Int)
-> Either
String
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Int)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"AutomatedSnapshotRetentionPeriod")
Either
String
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> PendingModifiedValues)
-> Either String (Maybe Text)
-> Either
String
(Maybe Int
-> Maybe Text -> Maybe Text -> Maybe Text -> PendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"ClusterIdentifier")
Either
String
(Maybe Int
-> Maybe Text -> Maybe Text -> Maybe Text -> PendingModifiedValues)
-> Either String (Maybe Int)
-> Either
String
(Maybe Text -> Maybe Text -> Maybe Text -> PendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Int)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"NumberOfNodes")
Either
String
(Maybe Text -> Maybe Text -> Maybe Text -> PendingModifiedValues)
-> Either String (Maybe Text)
-> Either
String (Maybe Text -> Maybe Text -> PendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"ClusterType")
Either String (Maybe Text -> Maybe Text -> PendingModifiedValues)
-> Either String (Maybe Text)
-> Either String (Maybe Text -> PendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"ClusterVersion")
Either String (Maybe Text -> PendingModifiedValues)
-> Either String (Maybe Text)
-> Either String PendingModifiedValues
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"NodeType")
instance Prelude.Hashable PendingModifiedValues
instance Prelude.NFData PendingModifiedValues