{-# 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.SecurityHub.Types.AwsRedshiftClusterPendingModifiedValues where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data AwsRedshiftClusterPendingModifiedValues = AwsRedshiftClusterPendingModifiedValues'
{
AwsRedshiftClusterPendingModifiedValues -> Maybe Text
encryptionType :: Prelude.Maybe Prelude.Text,
AwsRedshiftClusterPendingModifiedValues -> Maybe Bool
enhancedVpcRouting :: Prelude.Maybe Prelude.Bool,
AwsRedshiftClusterPendingModifiedValues -> Maybe Text
masterUserPassword :: Prelude.Maybe Prelude.Text,
AwsRedshiftClusterPendingModifiedValues -> Maybe Bool
publiclyAccessible :: Prelude.Maybe Prelude.Bool,
AwsRedshiftClusterPendingModifiedValues -> Maybe Text
maintenanceTrackName :: Prelude.Maybe Prelude.Text,
AwsRedshiftClusterPendingModifiedValues -> Maybe Int
automatedSnapshotRetentionPeriod :: Prelude.Maybe Prelude.Int,
AwsRedshiftClusterPendingModifiedValues -> Maybe Text
clusterIdentifier :: Prelude.Maybe Prelude.Text,
AwsRedshiftClusterPendingModifiedValues -> Maybe Int
numberOfNodes :: Prelude.Maybe Prelude.Int,
AwsRedshiftClusterPendingModifiedValues -> Maybe Text
clusterType :: Prelude.Maybe Prelude.Text,
AwsRedshiftClusterPendingModifiedValues -> Maybe Text
clusterVersion :: Prelude.Maybe Prelude.Text,
AwsRedshiftClusterPendingModifiedValues -> Maybe Text
nodeType :: Prelude.Maybe Prelude.Text
}
deriving (AwsRedshiftClusterPendingModifiedValues
-> AwsRedshiftClusterPendingModifiedValues -> Bool
(AwsRedshiftClusterPendingModifiedValues
-> AwsRedshiftClusterPendingModifiedValues -> Bool)
-> (AwsRedshiftClusterPendingModifiedValues
-> AwsRedshiftClusterPendingModifiedValues -> Bool)
-> Eq AwsRedshiftClusterPendingModifiedValues
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AwsRedshiftClusterPendingModifiedValues
-> AwsRedshiftClusterPendingModifiedValues -> Bool
$c/= :: AwsRedshiftClusterPendingModifiedValues
-> AwsRedshiftClusterPendingModifiedValues -> Bool
== :: AwsRedshiftClusterPendingModifiedValues
-> AwsRedshiftClusterPendingModifiedValues -> Bool
$c== :: AwsRedshiftClusterPendingModifiedValues
-> AwsRedshiftClusterPendingModifiedValues -> Bool
Prelude.Eq, ReadPrec [AwsRedshiftClusterPendingModifiedValues]
ReadPrec AwsRedshiftClusterPendingModifiedValues
Int -> ReadS AwsRedshiftClusterPendingModifiedValues
ReadS [AwsRedshiftClusterPendingModifiedValues]
(Int -> ReadS AwsRedshiftClusterPendingModifiedValues)
-> ReadS [AwsRedshiftClusterPendingModifiedValues]
-> ReadPrec AwsRedshiftClusterPendingModifiedValues
-> ReadPrec [AwsRedshiftClusterPendingModifiedValues]
-> Read AwsRedshiftClusterPendingModifiedValues
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AwsRedshiftClusterPendingModifiedValues]
$creadListPrec :: ReadPrec [AwsRedshiftClusterPendingModifiedValues]
readPrec :: ReadPrec AwsRedshiftClusterPendingModifiedValues
$creadPrec :: ReadPrec AwsRedshiftClusterPendingModifiedValues
readList :: ReadS [AwsRedshiftClusterPendingModifiedValues]
$creadList :: ReadS [AwsRedshiftClusterPendingModifiedValues]
readsPrec :: Int -> ReadS AwsRedshiftClusterPendingModifiedValues
$creadsPrec :: Int -> ReadS AwsRedshiftClusterPendingModifiedValues
Prelude.Read, Int -> AwsRedshiftClusterPendingModifiedValues -> ShowS
[AwsRedshiftClusterPendingModifiedValues] -> ShowS
AwsRedshiftClusterPendingModifiedValues -> String
(Int -> AwsRedshiftClusterPendingModifiedValues -> ShowS)
-> (AwsRedshiftClusterPendingModifiedValues -> String)
-> ([AwsRedshiftClusterPendingModifiedValues] -> ShowS)
-> Show AwsRedshiftClusterPendingModifiedValues
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AwsRedshiftClusterPendingModifiedValues] -> ShowS
$cshowList :: [AwsRedshiftClusterPendingModifiedValues] -> ShowS
show :: AwsRedshiftClusterPendingModifiedValues -> String
$cshow :: AwsRedshiftClusterPendingModifiedValues -> String
showsPrec :: Int -> AwsRedshiftClusterPendingModifiedValues -> ShowS
$cshowsPrec :: Int -> AwsRedshiftClusterPendingModifiedValues -> ShowS
Prelude.Show, (forall x.
AwsRedshiftClusterPendingModifiedValues
-> Rep AwsRedshiftClusterPendingModifiedValues x)
-> (forall x.
Rep AwsRedshiftClusterPendingModifiedValues x
-> AwsRedshiftClusterPendingModifiedValues)
-> Generic AwsRedshiftClusterPendingModifiedValues
forall x.
Rep AwsRedshiftClusterPendingModifiedValues x
-> AwsRedshiftClusterPendingModifiedValues
forall x.
AwsRedshiftClusterPendingModifiedValues
-> Rep AwsRedshiftClusterPendingModifiedValues x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AwsRedshiftClusterPendingModifiedValues x
-> AwsRedshiftClusterPendingModifiedValues
$cfrom :: forall x.
AwsRedshiftClusterPendingModifiedValues
-> Rep AwsRedshiftClusterPendingModifiedValues x
Prelude.Generic)
newAwsRedshiftClusterPendingModifiedValues ::
AwsRedshiftClusterPendingModifiedValues
newAwsRedshiftClusterPendingModifiedValues :: AwsRedshiftClusterPendingModifiedValues
newAwsRedshiftClusterPendingModifiedValues =
AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues'
{ $sel:encryptionType:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
encryptionType =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:enhancedVpcRouting:AwsRedshiftClusterPendingModifiedValues' :: Maybe Bool
enhancedVpcRouting =
Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:masterUserPassword:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
masterUserPassword =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:publiclyAccessible:AwsRedshiftClusterPendingModifiedValues' :: Maybe Bool
publiclyAccessible =
Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:maintenanceTrackName:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
maintenanceTrackName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:automatedSnapshotRetentionPeriod:AwsRedshiftClusterPendingModifiedValues' :: Maybe Int
automatedSnapshotRetentionPeriod =
Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:clusterIdentifier:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
clusterIdentifier =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:numberOfNodes:AwsRedshiftClusterPendingModifiedValues' :: Maybe Int
numberOfNodes = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:clusterType:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
clusterType = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:clusterVersion:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
clusterVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:nodeType:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
nodeType = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
awsRedshiftClusterPendingModifiedValues_encryptionType :: Lens.Lens' AwsRedshiftClusterPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRedshiftClusterPendingModifiedValues_encryptionType :: (Maybe Text -> f (Maybe Text))
-> AwsRedshiftClusterPendingModifiedValues
-> f AwsRedshiftClusterPendingModifiedValues
awsRedshiftClusterPendingModifiedValues_encryptionType = (AwsRedshiftClusterPendingModifiedValues -> Maybe Text)
-> (AwsRedshiftClusterPendingModifiedValues
-> Maybe Text -> AwsRedshiftClusterPendingModifiedValues)
-> Lens
AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRedshiftClusterPendingModifiedValues' {Maybe Text
encryptionType :: Maybe Text
$sel:encryptionType:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
encryptionType} -> Maybe Text
encryptionType) (\s :: AwsRedshiftClusterPendingModifiedValues
s@AwsRedshiftClusterPendingModifiedValues' {} Maybe Text
a -> AwsRedshiftClusterPendingModifiedValues
s {$sel:encryptionType:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
encryptionType = Maybe Text
a} :: AwsRedshiftClusterPendingModifiedValues)
awsRedshiftClusterPendingModifiedValues_enhancedVpcRouting :: Lens.Lens' AwsRedshiftClusterPendingModifiedValues (Prelude.Maybe Prelude.Bool)
awsRedshiftClusterPendingModifiedValues_enhancedVpcRouting :: (Maybe Bool -> f (Maybe Bool))
-> AwsRedshiftClusterPendingModifiedValues
-> f AwsRedshiftClusterPendingModifiedValues
awsRedshiftClusterPendingModifiedValues_enhancedVpcRouting = (AwsRedshiftClusterPendingModifiedValues -> Maybe Bool)
-> (AwsRedshiftClusterPendingModifiedValues
-> Maybe Bool -> AwsRedshiftClusterPendingModifiedValues)
-> Lens
AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRedshiftClusterPendingModifiedValues' {Maybe Bool
enhancedVpcRouting :: Maybe Bool
$sel:enhancedVpcRouting:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Bool
enhancedVpcRouting} -> Maybe Bool
enhancedVpcRouting) (\s :: AwsRedshiftClusterPendingModifiedValues
s@AwsRedshiftClusterPendingModifiedValues' {} Maybe Bool
a -> AwsRedshiftClusterPendingModifiedValues
s {$sel:enhancedVpcRouting:AwsRedshiftClusterPendingModifiedValues' :: Maybe Bool
enhancedVpcRouting = Maybe Bool
a} :: AwsRedshiftClusterPendingModifiedValues)
awsRedshiftClusterPendingModifiedValues_masterUserPassword :: Lens.Lens' AwsRedshiftClusterPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRedshiftClusterPendingModifiedValues_masterUserPassword :: (Maybe Text -> f (Maybe Text))
-> AwsRedshiftClusterPendingModifiedValues
-> f AwsRedshiftClusterPendingModifiedValues
awsRedshiftClusterPendingModifiedValues_masterUserPassword = (AwsRedshiftClusterPendingModifiedValues -> Maybe Text)
-> (AwsRedshiftClusterPendingModifiedValues
-> Maybe Text -> AwsRedshiftClusterPendingModifiedValues)
-> Lens
AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRedshiftClusterPendingModifiedValues' {Maybe Text
masterUserPassword :: Maybe Text
$sel:masterUserPassword:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
masterUserPassword} -> Maybe Text
masterUserPassword) (\s :: AwsRedshiftClusterPendingModifiedValues
s@AwsRedshiftClusterPendingModifiedValues' {} Maybe Text
a -> AwsRedshiftClusterPendingModifiedValues
s {$sel:masterUserPassword:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
masterUserPassword = Maybe Text
a} :: AwsRedshiftClusterPendingModifiedValues)
awsRedshiftClusterPendingModifiedValues_publiclyAccessible :: Lens.Lens' AwsRedshiftClusterPendingModifiedValues (Prelude.Maybe Prelude.Bool)
awsRedshiftClusterPendingModifiedValues_publiclyAccessible :: (Maybe Bool -> f (Maybe Bool))
-> AwsRedshiftClusterPendingModifiedValues
-> f AwsRedshiftClusterPendingModifiedValues
awsRedshiftClusterPendingModifiedValues_publiclyAccessible = (AwsRedshiftClusterPendingModifiedValues -> Maybe Bool)
-> (AwsRedshiftClusterPendingModifiedValues
-> Maybe Bool -> AwsRedshiftClusterPendingModifiedValues)
-> Lens
AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRedshiftClusterPendingModifiedValues' {Maybe Bool
publiclyAccessible :: Maybe Bool
$sel:publiclyAccessible:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Bool
publiclyAccessible} -> Maybe Bool
publiclyAccessible) (\s :: AwsRedshiftClusterPendingModifiedValues
s@AwsRedshiftClusterPendingModifiedValues' {} Maybe Bool
a -> AwsRedshiftClusterPendingModifiedValues
s {$sel:publiclyAccessible:AwsRedshiftClusterPendingModifiedValues' :: Maybe Bool
publiclyAccessible = Maybe Bool
a} :: AwsRedshiftClusterPendingModifiedValues)
awsRedshiftClusterPendingModifiedValues_maintenanceTrackName :: Lens.Lens' AwsRedshiftClusterPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRedshiftClusterPendingModifiedValues_maintenanceTrackName :: (Maybe Text -> f (Maybe Text))
-> AwsRedshiftClusterPendingModifiedValues
-> f AwsRedshiftClusterPendingModifiedValues
awsRedshiftClusterPendingModifiedValues_maintenanceTrackName = (AwsRedshiftClusterPendingModifiedValues -> Maybe Text)
-> (AwsRedshiftClusterPendingModifiedValues
-> Maybe Text -> AwsRedshiftClusterPendingModifiedValues)
-> Lens
AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRedshiftClusterPendingModifiedValues' {Maybe Text
maintenanceTrackName :: Maybe Text
$sel:maintenanceTrackName:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
maintenanceTrackName} -> Maybe Text
maintenanceTrackName) (\s :: AwsRedshiftClusterPendingModifiedValues
s@AwsRedshiftClusterPendingModifiedValues' {} Maybe Text
a -> AwsRedshiftClusterPendingModifiedValues
s {$sel:maintenanceTrackName:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
maintenanceTrackName = Maybe Text
a} :: AwsRedshiftClusterPendingModifiedValues)
awsRedshiftClusterPendingModifiedValues_automatedSnapshotRetentionPeriod :: Lens.Lens' AwsRedshiftClusterPendingModifiedValues (Prelude.Maybe Prelude.Int)
awsRedshiftClusterPendingModifiedValues_automatedSnapshotRetentionPeriod :: (Maybe Int -> f (Maybe Int))
-> AwsRedshiftClusterPendingModifiedValues
-> f AwsRedshiftClusterPendingModifiedValues
awsRedshiftClusterPendingModifiedValues_automatedSnapshotRetentionPeriod = (AwsRedshiftClusterPendingModifiedValues -> Maybe Int)
-> (AwsRedshiftClusterPendingModifiedValues
-> Maybe Int -> AwsRedshiftClusterPendingModifiedValues)
-> Lens
AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRedshiftClusterPendingModifiedValues' {Maybe Int
automatedSnapshotRetentionPeriod :: Maybe Int
$sel:automatedSnapshotRetentionPeriod:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Int
automatedSnapshotRetentionPeriod} -> Maybe Int
automatedSnapshotRetentionPeriod) (\s :: AwsRedshiftClusterPendingModifiedValues
s@AwsRedshiftClusterPendingModifiedValues' {} Maybe Int
a -> AwsRedshiftClusterPendingModifiedValues
s {$sel:automatedSnapshotRetentionPeriod:AwsRedshiftClusterPendingModifiedValues' :: Maybe Int
automatedSnapshotRetentionPeriod = Maybe Int
a} :: AwsRedshiftClusterPendingModifiedValues)
awsRedshiftClusterPendingModifiedValues_clusterIdentifier :: Lens.Lens' AwsRedshiftClusterPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRedshiftClusterPendingModifiedValues_clusterIdentifier :: (Maybe Text -> f (Maybe Text))
-> AwsRedshiftClusterPendingModifiedValues
-> f AwsRedshiftClusterPendingModifiedValues
awsRedshiftClusterPendingModifiedValues_clusterIdentifier = (AwsRedshiftClusterPendingModifiedValues -> Maybe Text)
-> (AwsRedshiftClusterPendingModifiedValues
-> Maybe Text -> AwsRedshiftClusterPendingModifiedValues)
-> Lens
AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRedshiftClusterPendingModifiedValues' {Maybe Text
clusterIdentifier :: Maybe Text
$sel:clusterIdentifier:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
clusterIdentifier} -> Maybe Text
clusterIdentifier) (\s :: AwsRedshiftClusterPendingModifiedValues
s@AwsRedshiftClusterPendingModifiedValues' {} Maybe Text
a -> AwsRedshiftClusterPendingModifiedValues
s {$sel:clusterIdentifier:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
clusterIdentifier = Maybe Text
a} :: AwsRedshiftClusterPendingModifiedValues)
awsRedshiftClusterPendingModifiedValues_numberOfNodes :: Lens.Lens' AwsRedshiftClusterPendingModifiedValues (Prelude.Maybe Prelude.Int)
awsRedshiftClusterPendingModifiedValues_numberOfNodes :: (Maybe Int -> f (Maybe Int))
-> AwsRedshiftClusterPendingModifiedValues
-> f AwsRedshiftClusterPendingModifiedValues
awsRedshiftClusterPendingModifiedValues_numberOfNodes = (AwsRedshiftClusterPendingModifiedValues -> Maybe Int)
-> (AwsRedshiftClusterPendingModifiedValues
-> Maybe Int -> AwsRedshiftClusterPendingModifiedValues)
-> Lens
AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRedshiftClusterPendingModifiedValues' {Maybe Int
numberOfNodes :: Maybe Int
$sel:numberOfNodes:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Int
numberOfNodes} -> Maybe Int
numberOfNodes) (\s :: AwsRedshiftClusterPendingModifiedValues
s@AwsRedshiftClusterPendingModifiedValues' {} Maybe Int
a -> AwsRedshiftClusterPendingModifiedValues
s {$sel:numberOfNodes:AwsRedshiftClusterPendingModifiedValues' :: Maybe Int
numberOfNodes = Maybe Int
a} :: AwsRedshiftClusterPendingModifiedValues)
awsRedshiftClusterPendingModifiedValues_clusterType :: Lens.Lens' AwsRedshiftClusterPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRedshiftClusterPendingModifiedValues_clusterType :: (Maybe Text -> f (Maybe Text))
-> AwsRedshiftClusterPendingModifiedValues
-> f AwsRedshiftClusterPendingModifiedValues
awsRedshiftClusterPendingModifiedValues_clusterType = (AwsRedshiftClusterPendingModifiedValues -> Maybe Text)
-> (AwsRedshiftClusterPendingModifiedValues
-> Maybe Text -> AwsRedshiftClusterPendingModifiedValues)
-> Lens
AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRedshiftClusterPendingModifiedValues' {Maybe Text
clusterType :: Maybe Text
$sel:clusterType:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
clusterType} -> Maybe Text
clusterType) (\s :: AwsRedshiftClusterPendingModifiedValues
s@AwsRedshiftClusterPendingModifiedValues' {} Maybe Text
a -> AwsRedshiftClusterPendingModifiedValues
s {$sel:clusterType:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
clusterType = Maybe Text
a} :: AwsRedshiftClusterPendingModifiedValues)
awsRedshiftClusterPendingModifiedValues_clusterVersion :: Lens.Lens' AwsRedshiftClusterPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRedshiftClusterPendingModifiedValues_clusterVersion :: (Maybe Text -> f (Maybe Text))
-> AwsRedshiftClusterPendingModifiedValues
-> f AwsRedshiftClusterPendingModifiedValues
awsRedshiftClusterPendingModifiedValues_clusterVersion = (AwsRedshiftClusterPendingModifiedValues -> Maybe Text)
-> (AwsRedshiftClusterPendingModifiedValues
-> Maybe Text -> AwsRedshiftClusterPendingModifiedValues)
-> Lens
AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRedshiftClusterPendingModifiedValues' {Maybe Text
clusterVersion :: Maybe Text
$sel:clusterVersion:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
clusterVersion} -> Maybe Text
clusterVersion) (\s :: AwsRedshiftClusterPendingModifiedValues
s@AwsRedshiftClusterPendingModifiedValues' {} Maybe Text
a -> AwsRedshiftClusterPendingModifiedValues
s {$sel:clusterVersion:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
clusterVersion = Maybe Text
a} :: AwsRedshiftClusterPendingModifiedValues)
awsRedshiftClusterPendingModifiedValues_nodeType :: Lens.Lens' AwsRedshiftClusterPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRedshiftClusterPendingModifiedValues_nodeType :: (Maybe Text -> f (Maybe Text))
-> AwsRedshiftClusterPendingModifiedValues
-> f AwsRedshiftClusterPendingModifiedValues
awsRedshiftClusterPendingModifiedValues_nodeType = (AwsRedshiftClusterPendingModifiedValues -> Maybe Text)
-> (AwsRedshiftClusterPendingModifiedValues
-> Maybe Text -> AwsRedshiftClusterPendingModifiedValues)
-> Lens
AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRedshiftClusterPendingModifiedValues' {Maybe Text
nodeType :: Maybe Text
$sel:nodeType:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
nodeType} -> Maybe Text
nodeType) (\s :: AwsRedshiftClusterPendingModifiedValues
s@AwsRedshiftClusterPendingModifiedValues' {} Maybe Text
a -> AwsRedshiftClusterPendingModifiedValues
s {$sel:nodeType:AwsRedshiftClusterPendingModifiedValues' :: Maybe Text
nodeType = Maybe Text
a} :: AwsRedshiftClusterPendingModifiedValues)
instance
Core.FromJSON
AwsRedshiftClusterPendingModifiedValues
where
parseJSON :: Value -> Parser AwsRedshiftClusterPendingModifiedValues
parseJSON =
String
-> (Object -> Parser AwsRedshiftClusterPendingModifiedValues)
-> Value
-> Parser AwsRedshiftClusterPendingModifiedValues
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"AwsRedshiftClusterPendingModifiedValues"
( \Object
x ->
Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues
AwsRedshiftClusterPendingModifiedValues'
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EncryptionType")
Parser
(Maybe Bool
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
-> Parser (Maybe Bool)
-> Parser
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EnhancedVpcRouting")
Parser
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"MasterUserPassword")
Parser
(Maybe Bool
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
-> Parser (Maybe Bool)
-> Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"PubliclyAccessible")
Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"MaintenanceTrackName")
Parser
(Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
-> Parser (Maybe Int)
-> Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AutomatedSnapshotRetentionPeriod")
Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ClusterIdentifier")
Parser
(Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
-> Parser (Maybe Int)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"NumberOfNodes")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> AwsRedshiftClusterPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text -> AwsRedshiftClusterPendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ClusterType")
Parser
(Maybe Text
-> Maybe Text -> AwsRedshiftClusterPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser (Maybe Text -> AwsRedshiftClusterPendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ClusterVersion")
Parser (Maybe Text -> AwsRedshiftClusterPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser AwsRedshiftClusterPendingModifiedValues
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"NodeType")
)
instance
Prelude.Hashable
AwsRedshiftClusterPendingModifiedValues
instance
Prelude.NFData
AwsRedshiftClusterPendingModifiedValues
instance
Core.ToJSON
AwsRedshiftClusterPendingModifiedValues
where
toJSON :: AwsRedshiftClusterPendingModifiedValues -> Value
toJSON AwsRedshiftClusterPendingModifiedValues' {Maybe Bool
Maybe Int
Maybe Text
nodeType :: Maybe Text
clusterVersion :: Maybe Text
clusterType :: Maybe Text
numberOfNodes :: Maybe Int
clusterIdentifier :: Maybe Text
automatedSnapshotRetentionPeriod :: Maybe Int
maintenanceTrackName :: Maybe Text
publiclyAccessible :: Maybe Bool
masterUserPassword :: Maybe Text
enhancedVpcRouting :: Maybe Bool
encryptionType :: Maybe Text
$sel:nodeType:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
$sel:clusterVersion:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
$sel:clusterType:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
$sel:numberOfNodes:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Int
$sel:clusterIdentifier:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
$sel:automatedSnapshotRetentionPeriod:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Int
$sel:maintenanceTrackName:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
$sel:publiclyAccessible:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Bool
$sel:masterUserPassword:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
$sel:enhancedVpcRouting:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Bool
$sel:encryptionType:AwsRedshiftClusterPendingModifiedValues' :: AwsRedshiftClusterPendingModifiedValues -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"EncryptionType" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
encryptionType,
(Text
"EnhancedVpcRouting" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
enhancedVpcRouting,
(Text
"MasterUserPassword" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
masterUserPassword,
(Text
"PubliclyAccessible" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
publiclyAccessible,
(Text
"MaintenanceTrackName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
maintenanceTrackName,
(Text
"AutomatedSnapshotRetentionPeriod" Text -> Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Int -> Pair) -> Maybe Int -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Int
automatedSnapshotRetentionPeriod,
(Text
"ClusterIdentifier" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
clusterIdentifier,
(Text
"NumberOfNodes" Text -> Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Int -> Pair) -> Maybe Int -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Int
numberOfNodes,
(Text
"ClusterType" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
clusterType,
(Text
"ClusterVersion" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
clusterVersion,
(Text
"NodeType" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nodeType
]
)