{-# 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.AwsRdsDbPendingModifiedValues where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.SecurityHub.Types.AwsRdsDbProcessorFeature
import Amazonka.SecurityHub.Types.AwsRdsPendingCloudWatchLogsExports
data AwsRdsDbPendingModifiedValues = AwsRdsDbPendingModifiedValues'
{
AwsRdsDbPendingModifiedValues -> Maybe Text
engineVersion :: Prelude.Maybe Prelude.Text,
AwsRdsDbPendingModifiedValues -> Maybe Text
masterUserPassword :: Prelude.Maybe Prelude.Text,
AwsRdsDbPendingModifiedValues -> Maybe Text
dbSubnetGroupName :: Prelude.Maybe Prelude.Text,
AwsRdsDbPendingModifiedValues -> Maybe Int
iops :: Prelude.Maybe Prelude.Int,
AwsRdsDbPendingModifiedValues -> Maybe Text
dbInstanceClass :: Prelude.Maybe Prelude.Text,
AwsRdsDbPendingModifiedValues -> Maybe [AwsRdsDbProcessorFeature]
processorFeatures :: Prelude.Maybe [AwsRdsDbProcessorFeature],
AwsRdsDbPendingModifiedValues -> Maybe Text
licenseModel :: Prelude.Maybe Prelude.Text,
AwsRdsDbPendingModifiedValues -> Maybe Text
dbInstanceIdentifier :: Prelude.Maybe Prelude.Text,
AwsRdsDbPendingModifiedValues -> Maybe Text
caCertificateIdentifier :: Prelude.Maybe Prelude.Text,
AwsRdsDbPendingModifiedValues
-> Maybe AwsRdsPendingCloudWatchLogsExports
pendingCloudWatchLogsExports :: Prelude.Maybe AwsRdsPendingCloudWatchLogsExports,
AwsRdsDbPendingModifiedValues -> Maybe Int
backupRetentionPeriod :: Prelude.Maybe Prelude.Int,
AwsRdsDbPendingModifiedValues -> Maybe Bool
multiAZ :: Prelude.Maybe Prelude.Bool,
AwsRdsDbPendingModifiedValues -> Maybe Int
allocatedStorage :: Prelude.Maybe Prelude.Int,
AwsRdsDbPendingModifiedValues -> Maybe Int
port :: Prelude.Maybe Prelude.Int,
AwsRdsDbPendingModifiedValues -> Maybe Text
storageType :: Prelude.Maybe Prelude.Text
}
deriving (AwsRdsDbPendingModifiedValues
-> AwsRdsDbPendingModifiedValues -> Bool
(AwsRdsDbPendingModifiedValues
-> AwsRdsDbPendingModifiedValues -> Bool)
-> (AwsRdsDbPendingModifiedValues
-> AwsRdsDbPendingModifiedValues -> Bool)
-> Eq AwsRdsDbPendingModifiedValues
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AwsRdsDbPendingModifiedValues
-> AwsRdsDbPendingModifiedValues -> Bool
$c/= :: AwsRdsDbPendingModifiedValues
-> AwsRdsDbPendingModifiedValues -> Bool
== :: AwsRdsDbPendingModifiedValues
-> AwsRdsDbPendingModifiedValues -> Bool
$c== :: AwsRdsDbPendingModifiedValues
-> AwsRdsDbPendingModifiedValues -> Bool
Prelude.Eq, ReadPrec [AwsRdsDbPendingModifiedValues]
ReadPrec AwsRdsDbPendingModifiedValues
Int -> ReadS AwsRdsDbPendingModifiedValues
ReadS [AwsRdsDbPendingModifiedValues]
(Int -> ReadS AwsRdsDbPendingModifiedValues)
-> ReadS [AwsRdsDbPendingModifiedValues]
-> ReadPrec AwsRdsDbPendingModifiedValues
-> ReadPrec [AwsRdsDbPendingModifiedValues]
-> Read AwsRdsDbPendingModifiedValues
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AwsRdsDbPendingModifiedValues]
$creadListPrec :: ReadPrec [AwsRdsDbPendingModifiedValues]
readPrec :: ReadPrec AwsRdsDbPendingModifiedValues
$creadPrec :: ReadPrec AwsRdsDbPendingModifiedValues
readList :: ReadS [AwsRdsDbPendingModifiedValues]
$creadList :: ReadS [AwsRdsDbPendingModifiedValues]
readsPrec :: Int -> ReadS AwsRdsDbPendingModifiedValues
$creadsPrec :: Int -> ReadS AwsRdsDbPendingModifiedValues
Prelude.Read, Int -> AwsRdsDbPendingModifiedValues -> ShowS
[AwsRdsDbPendingModifiedValues] -> ShowS
AwsRdsDbPendingModifiedValues -> String
(Int -> AwsRdsDbPendingModifiedValues -> ShowS)
-> (AwsRdsDbPendingModifiedValues -> String)
-> ([AwsRdsDbPendingModifiedValues] -> ShowS)
-> Show AwsRdsDbPendingModifiedValues
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AwsRdsDbPendingModifiedValues] -> ShowS
$cshowList :: [AwsRdsDbPendingModifiedValues] -> ShowS
show :: AwsRdsDbPendingModifiedValues -> String
$cshow :: AwsRdsDbPendingModifiedValues -> String
showsPrec :: Int -> AwsRdsDbPendingModifiedValues -> ShowS
$cshowsPrec :: Int -> AwsRdsDbPendingModifiedValues -> ShowS
Prelude.Show, (forall x.
AwsRdsDbPendingModifiedValues
-> Rep AwsRdsDbPendingModifiedValues x)
-> (forall x.
Rep AwsRdsDbPendingModifiedValues x
-> AwsRdsDbPendingModifiedValues)
-> Generic AwsRdsDbPendingModifiedValues
forall x.
Rep AwsRdsDbPendingModifiedValues x
-> AwsRdsDbPendingModifiedValues
forall x.
AwsRdsDbPendingModifiedValues
-> Rep AwsRdsDbPendingModifiedValues x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AwsRdsDbPendingModifiedValues x
-> AwsRdsDbPendingModifiedValues
$cfrom :: forall x.
AwsRdsDbPendingModifiedValues
-> Rep AwsRdsDbPendingModifiedValues x
Prelude.Generic)
newAwsRdsDbPendingModifiedValues ::
AwsRdsDbPendingModifiedValues
newAwsRdsDbPendingModifiedValues :: AwsRdsDbPendingModifiedValues
newAwsRdsDbPendingModifiedValues =
AwsRdsDbPendingModifiedValues' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues'
{ $sel:engineVersion:AwsRdsDbPendingModifiedValues' :: Maybe Text
engineVersion =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:masterUserPassword:AwsRdsDbPendingModifiedValues' :: Maybe Text
masterUserPassword = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dbSubnetGroupName:AwsRdsDbPendingModifiedValues' :: Maybe Text
dbSubnetGroupName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:iops:AwsRdsDbPendingModifiedValues' :: Maybe Int
iops = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:dbInstanceClass:AwsRdsDbPendingModifiedValues' :: Maybe Text
dbInstanceClass = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:processorFeatures:AwsRdsDbPendingModifiedValues' :: Maybe [AwsRdsDbProcessorFeature]
processorFeatures = Maybe [AwsRdsDbProcessorFeature]
forall a. Maybe a
Prelude.Nothing,
$sel:licenseModel:AwsRdsDbPendingModifiedValues' :: Maybe Text
licenseModel = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dbInstanceIdentifier:AwsRdsDbPendingModifiedValues' :: Maybe Text
dbInstanceIdentifier = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:caCertificateIdentifier:AwsRdsDbPendingModifiedValues' :: Maybe Text
caCertificateIdentifier = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:pendingCloudWatchLogsExports:AwsRdsDbPendingModifiedValues' :: Maybe AwsRdsPendingCloudWatchLogsExports
pendingCloudWatchLogsExports =
Maybe AwsRdsPendingCloudWatchLogsExports
forall a. Maybe a
Prelude.Nothing,
$sel:backupRetentionPeriod:AwsRdsDbPendingModifiedValues' :: Maybe Int
backupRetentionPeriod = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:multiAZ:AwsRdsDbPendingModifiedValues' :: Maybe Bool
multiAZ = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:allocatedStorage:AwsRdsDbPendingModifiedValues' :: Maybe Int
allocatedStorage = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:port:AwsRdsDbPendingModifiedValues' :: Maybe Int
port = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:storageType:AwsRdsDbPendingModifiedValues' :: Maybe Text
storageType = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
awsRdsDbPendingModifiedValues_engineVersion :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRdsDbPendingModifiedValues_engineVersion :: (Maybe Text -> f (Maybe Text))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_engineVersion = (AwsRdsDbPendingModifiedValues -> Maybe Text)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Text -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Text
engineVersion :: Maybe Text
$sel:engineVersion:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
engineVersion} -> Maybe Text
engineVersion) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Text
a -> AwsRdsDbPendingModifiedValues
s {$sel:engineVersion:AwsRdsDbPendingModifiedValues' :: Maybe Text
engineVersion = Maybe Text
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_masterUserPassword :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRdsDbPendingModifiedValues_masterUserPassword :: (Maybe Text -> f (Maybe Text))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_masterUserPassword = (AwsRdsDbPendingModifiedValues -> Maybe Text)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Text -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Text
masterUserPassword :: Maybe Text
$sel:masterUserPassword:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
masterUserPassword} -> Maybe Text
masterUserPassword) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Text
a -> AwsRdsDbPendingModifiedValues
s {$sel:masterUserPassword:AwsRdsDbPendingModifiedValues' :: Maybe Text
masterUserPassword = Maybe Text
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_dbSubnetGroupName :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRdsDbPendingModifiedValues_dbSubnetGroupName :: (Maybe Text -> f (Maybe Text))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_dbSubnetGroupName = (AwsRdsDbPendingModifiedValues -> Maybe Text)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Text -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Text
dbSubnetGroupName :: Maybe Text
$sel:dbSubnetGroupName:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
dbSubnetGroupName} -> Maybe Text
dbSubnetGroupName) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Text
a -> AwsRdsDbPendingModifiedValues
s {$sel:dbSubnetGroupName:AwsRdsDbPendingModifiedValues' :: Maybe Text
dbSubnetGroupName = Maybe Text
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_iops :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Int)
awsRdsDbPendingModifiedValues_iops :: (Maybe Int -> f (Maybe Int))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_iops = (AwsRdsDbPendingModifiedValues -> Maybe Int)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Int -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Int
iops :: Maybe Int
$sel:iops:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Int
iops} -> Maybe Int
iops) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Int
a -> AwsRdsDbPendingModifiedValues
s {$sel:iops:AwsRdsDbPendingModifiedValues' :: Maybe Int
iops = Maybe Int
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_dbInstanceClass :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRdsDbPendingModifiedValues_dbInstanceClass :: (Maybe Text -> f (Maybe Text))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_dbInstanceClass = (AwsRdsDbPendingModifiedValues -> Maybe Text)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Text -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Text
dbInstanceClass :: Maybe Text
$sel:dbInstanceClass:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
dbInstanceClass} -> Maybe Text
dbInstanceClass) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Text
a -> AwsRdsDbPendingModifiedValues
s {$sel:dbInstanceClass:AwsRdsDbPendingModifiedValues' :: Maybe Text
dbInstanceClass = Maybe Text
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_processorFeatures :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe [AwsRdsDbProcessorFeature])
awsRdsDbPendingModifiedValues_processorFeatures :: (Maybe [AwsRdsDbProcessorFeature]
-> f (Maybe [AwsRdsDbProcessorFeature]))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_processorFeatures = (AwsRdsDbPendingModifiedValues -> Maybe [AwsRdsDbProcessorFeature])
-> (AwsRdsDbPendingModifiedValues
-> Maybe [AwsRdsDbProcessorFeature]
-> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe [AwsRdsDbProcessorFeature])
(Maybe [AwsRdsDbProcessorFeature])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe [AwsRdsDbProcessorFeature]
processorFeatures :: Maybe [AwsRdsDbProcessorFeature]
$sel:processorFeatures:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe [AwsRdsDbProcessorFeature]
processorFeatures} -> Maybe [AwsRdsDbProcessorFeature]
processorFeatures) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe [AwsRdsDbProcessorFeature]
a -> AwsRdsDbPendingModifiedValues
s {$sel:processorFeatures:AwsRdsDbPendingModifiedValues' :: Maybe [AwsRdsDbProcessorFeature]
processorFeatures = Maybe [AwsRdsDbProcessorFeature]
a} :: AwsRdsDbPendingModifiedValues) ((Maybe [AwsRdsDbProcessorFeature]
-> f (Maybe [AwsRdsDbProcessorFeature]))
-> AwsRdsDbPendingModifiedValues
-> f AwsRdsDbPendingModifiedValues)
-> ((Maybe [AwsRdsDbProcessorFeature]
-> f (Maybe [AwsRdsDbProcessorFeature]))
-> Maybe [AwsRdsDbProcessorFeature]
-> f (Maybe [AwsRdsDbProcessorFeature]))
-> (Maybe [AwsRdsDbProcessorFeature]
-> f (Maybe [AwsRdsDbProcessorFeature]))
-> AwsRdsDbPendingModifiedValues
-> f AwsRdsDbPendingModifiedValues
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[AwsRdsDbProcessorFeature]
[AwsRdsDbProcessorFeature]
[AwsRdsDbProcessorFeature]
[AwsRdsDbProcessorFeature]
-> Iso
(Maybe [AwsRdsDbProcessorFeature])
(Maybe [AwsRdsDbProcessorFeature])
(Maybe [AwsRdsDbProcessorFeature])
(Maybe [AwsRdsDbProcessorFeature])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
[AwsRdsDbProcessorFeature]
[AwsRdsDbProcessorFeature]
[AwsRdsDbProcessorFeature]
[AwsRdsDbProcessorFeature]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
awsRdsDbPendingModifiedValues_licenseModel :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRdsDbPendingModifiedValues_licenseModel :: (Maybe Text -> f (Maybe Text))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_licenseModel = (AwsRdsDbPendingModifiedValues -> Maybe Text)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Text -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Text
licenseModel :: Maybe Text
$sel:licenseModel:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
licenseModel} -> Maybe Text
licenseModel) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Text
a -> AwsRdsDbPendingModifiedValues
s {$sel:licenseModel:AwsRdsDbPendingModifiedValues' :: Maybe Text
licenseModel = Maybe Text
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_dbInstanceIdentifier :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRdsDbPendingModifiedValues_dbInstanceIdentifier :: (Maybe Text -> f (Maybe Text))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_dbInstanceIdentifier = (AwsRdsDbPendingModifiedValues -> Maybe Text)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Text -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Text
dbInstanceIdentifier :: Maybe Text
$sel:dbInstanceIdentifier:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
dbInstanceIdentifier} -> Maybe Text
dbInstanceIdentifier) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Text
a -> AwsRdsDbPendingModifiedValues
s {$sel:dbInstanceIdentifier:AwsRdsDbPendingModifiedValues' :: Maybe Text
dbInstanceIdentifier = Maybe Text
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_caCertificateIdentifier :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRdsDbPendingModifiedValues_caCertificateIdentifier :: (Maybe Text -> f (Maybe Text))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_caCertificateIdentifier = (AwsRdsDbPendingModifiedValues -> Maybe Text)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Text -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Text
caCertificateIdentifier :: Maybe Text
$sel:caCertificateIdentifier:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
caCertificateIdentifier} -> Maybe Text
caCertificateIdentifier) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Text
a -> AwsRdsDbPendingModifiedValues
s {$sel:caCertificateIdentifier:AwsRdsDbPendingModifiedValues' :: Maybe Text
caCertificateIdentifier = Maybe Text
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_pendingCloudWatchLogsExports :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe AwsRdsPendingCloudWatchLogsExports)
awsRdsDbPendingModifiedValues_pendingCloudWatchLogsExports :: (Maybe AwsRdsPendingCloudWatchLogsExports
-> f (Maybe AwsRdsPendingCloudWatchLogsExports))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_pendingCloudWatchLogsExports = (AwsRdsDbPendingModifiedValues
-> Maybe AwsRdsPendingCloudWatchLogsExports)
-> (AwsRdsDbPendingModifiedValues
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe AwsRdsPendingCloudWatchLogsExports)
(Maybe AwsRdsPendingCloudWatchLogsExports)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe AwsRdsPendingCloudWatchLogsExports
pendingCloudWatchLogsExports :: Maybe AwsRdsPendingCloudWatchLogsExports
$sel:pendingCloudWatchLogsExports:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues
-> Maybe AwsRdsPendingCloudWatchLogsExports
pendingCloudWatchLogsExports} -> Maybe AwsRdsPendingCloudWatchLogsExports
pendingCloudWatchLogsExports) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe AwsRdsPendingCloudWatchLogsExports
a -> AwsRdsDbPendingModifiedValues
s {$sel:pendingCloudWatchLogsExports:AwsRdsDbPendingModifiedValues' :: Maybe AwsRdsPendingCloudWatchLogsExports
pendingCloudWatchLogsExports = Maybe AwsRdsPendingCloudWatchLogsExports
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_backupRetentionPeriod :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Int)
awsRdsDbPendingModifiedValues_backupRetentionPeriod :: (Maybe Int -> f (Maybe Int))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_backupRetentionPeriod = (AwsRdsDbPendingModifiedValues -> Maybe Int)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Int -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Int
backupRetentionPeriod :: Maybe Int
$sel:backupRetentionPeriod:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Int
backupRetentionPeriod} -> Maybe Int
backupRetentionPeriod) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Int
a -> AwsRdsDbPendingModifiedValues
s {$sel:backupRetentionPeriod:AwsRdsDbPendingModifiedValues' :: Maybe Int
backupRetentionPeriod = Maybe Int
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_multiAZ :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Bool)
awsRdsDbPendingModifiedValues_multiAZ :: (Maybe Bool -> f (Maybe Bool))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_multiAZ = (AwsRdsDbPendingModifiedValues -> Maybe Bool)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Bool -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Bool
multiAZ :: Maybe Bool
$sel:multiAZ:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Bool
multiAZ} -> Maybe Bool
multiAZ) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Bool
a -> AwsRdsDbPendingModifiedValues
s {$sel:multiAZ:AwsRdsDbPendingModifiedValues' :: Maybe Bool
multiAZ = Maybe Bool
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_allocatedStorage :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Int)
awsRdsDbPendingModifiedValues_allocatedStorage :: (Maybe Int -> f (Maybe Int))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_allocatedStorage = (AwsRdsDbPendingModifiedValues -> Maybe Int)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Int -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Int
allocatedStorage :: Maybe Int
$sel:allocatedStorage:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Int
allocatedStorage} -> Maybe Int
allocatedStorage) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Int
a -> AwsRdsDbPendingModifiedValues
s {$sel:allocatedStorage:AwsRdsDbPendingModifiedValues' :: Maybe Int
allocatedStorage = Maybe Int
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_port :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Int)
awsRdsDbPendingModifiedValues_port :: (Maybe Int -> f (Maybe Int))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_port = (AwsRdsDbPendingModifiedValues -> Maybe Int)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Int -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Int
port :: Maybe Int
$sel:port:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Int
port} -> Maybe Int
port) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Int
a -> AwsRdsDbPendingModifiedValues
s {$sel:port:AwsRdsDbPendingModifiedValues' :: Maybe Int
port = Maybe Int
a} :: AwsRdsDbPendingModifiedValues)
awsRdsDbPendingModifiedValues_storageType :: Lens.Lens' AwsRdsDbPendingModifiedValues (Prelude.Maybe Prelude.Text)
awsRdsDbPendingModifiedValues_storageType :: (Maybe Text -> f (Maybe Text))
-> AwsRdsDbPendingModifiedValues -> f AwsRdsDbPendingModifiedValues
awsRdsDbPendingModifiedValues_storageType = (AwsRdsDbPendingModifiedValues -> Maybe Text)
-> (AwsRdsDbPendingModifiedValues
-> Maybe Text -> AwsRdsDbPendingModifiedValues)
-> Lens
AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsRdsDbPendingModifiedValues' {Maybe Text
storageType :: Maybe Text
$sel:storageType:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
storageType} -> Maybe Text
storageType) (\s :: AwsRdsDbPendingModifiedValues
s@AwsRdsDbPendingModifiedValues' {} Maybe Text
a -> AwsRdsDbPendingModifiedValues
s {$sel:storageType:AwsRdsDbPendingModifiedValues' :: Maybe Text
storageType = Maybe Text
a} :: AwsRdsDbPendingModifiedValues)
instance Core.FromJSON AwsRdsDbPendingModifiedValues where
parseJSON :: Value -> Parser AwsRdsDbPendingModifiedValues
parseJSON =
String
-> (Object -> Parser AwsRdsDbPendingModifiedValues)
-> Value
-> Parser AwsRdsDbPendingModifiedValues
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"AwsRdsDbPendingModifiedValues"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues
AwsRdsDbPendingModifiedValues'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
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
"EngineVersion")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
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 Text
-> Maybe Int
-> Maybe Text
-> Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe Int
-> Maybe Text
-> Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
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
"DbSubnetGroupName")
Parser
(Maybe Int
-> Maybe Text
-> Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Int)
-> Parser
(Maybe Text
-> Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
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
"Iops")
Parser
(Maybe Text
-> Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
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
"DbInstanceClass")
Parser
(Maybe [AwsRdsDbProcessorFeature]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe [AwsRdsDbProcessorFeature])
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [AwsRdsDbProcessorFeature]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ProcessorFeatures"
Parser (Maybe (Maybe [AwsRdsDbProcessorFeature]))
-> Maybe [AwsRdsDbProcessorFeature]
-> Parser (Maybe [AwsRdsDbProcessorFeature])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [AwsRdsDbProcessorFeature]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
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
"LicenseModel")
Parser
(Maybe Text
-> Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
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
"DbInstanceIdentifier")
Parser
(Maybe Text
-> Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Text)
-> Parser
(Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
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
"CaCertificateIdentifier")
Parser
(Maybe AwsRdsPendingCloudWatchLogsExports
-> Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe AwsRdsPendingCloudWatchLogsExports)
-> Parser
(Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AwsRdsPendingCloudWatchLogsExports)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"PendingCloudWatchLogsExports")
Parser
(Maybe Int
-> Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Int)
-> Parser
(Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
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
"BackupRetentionPeriod")
Parser
(Maybe Bool
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Bool)
-> Parser
(Maybe Int
-> Maybe Int -> Maybe Text -> AwsRdsDbPendingModifiedValues)
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
"MultiAZ")
Parser
(Maybe Int
-> Maybe Int -> Maybe Text -> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Int)
-> Parser
(Maybe Int -> Maybe Text -> AwsRdsDbPendingModifiedValues)
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
"AllocatedStorage")
Parser (Maybe Int -> Maybe Text -> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Int)
-> Parser (Maybe Text -> AwsRdsDbPendingModifiedValues)
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
"Port")
Parser (Maybe Text -> AwsRdsDbPendingModifiedValues)
-> Parser (Maybe Text) -> Parser AwsRdsDbPendingModifiedValues
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
"StorageType")
)
instance
Prelude.Hashable
AwsRdsDbPendingModifiedValues
instance Prelude.NFData AwsRdsDbPendingModifiedValues
instance Core.ToJSON AwsRdsDbPendingModifiedValues where
toJSON :: AwsRdsDbPendingModifiedValues -> Value
toJSON AwsRdsDbPendingModifiedValues' {Maybe Bool
Maybe Int
Maybe [AwsRdsDbProcessorFeature]
Maybe Text
Maybe AwsRdsPendingCloudWatchLogsExports
storageType :: Maybe Text
port :: Maybe Int
allocatedStorage :: Maybe Int
multiAZ :: Maybe Bool
backupRetentionPeriod :: Maybe Int
pendingCloudWatchLogsExports :: Maybe AwsRdsPendingCloudWatchLogsExports
caCertificateIdentifier :: Maybe Text
dbInstanceIdentifier :: Maybe Text
licenseModel :: Maybe Text
processorFeatures :: Maybe [AwsRdsDbProcessorFeature]
dbInstanceClass :: Maybe Text
iops :: Maybe Int
dbSubnetGroupName :: Maybe Text
masterUserPassword :: Maybe Text
engineVersion :: Maybe Text
$sel:storageType:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
$sel:port:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Int
$sel:allocatedStorage:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Int
$sel:multiAZ:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Bool
$sel:backupRetentionPeriod:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Int
$sel:pendingCloudWatchLogsExports:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues
-> Maybe AwsRdsPendingCloudWatchLogsExports
$sel:caCertificateIdentifier:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
$sel:dbInstanceIdentifier:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
$sel:licenseModel:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
$sel:processorFeatures:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe [AwsRdsDbProcessorFeature]
$sel:dbInstanceClass:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
$sel:iops:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Int
$sel:dbSubnetGroupName:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
$sel:masterUserPassword:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
$sel:engineVersion:AwsRdsDbPendingModifiedValues' :: AwsRdsDbPendingModifiedValues -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"EngineVersion" 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
engineVersion,
(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
"DbSubnetGroupName" 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
dbSubnetGroupName,
(Text
"Iops" 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
iops,
(Text
"DbInstanceClass" 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
dbInstanceClass,
(Text
"ProcessorFeatures" Text -> [AwsRdsDbProcessorFeature] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
([AwsRdsDbProcessorFeature] -> Pair)
-> Maybe [AwsRdsDbProcessorFeature] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AwsRdsDbProcessorFeature]
processorFeatures,
(Text
"LicenseModel" 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
licenseModel,
(Text
"DbInstanceIdentifier" 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
dbInstanceIdentifier,
(Text
"CaCertificateIdentifier" 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
caCertificateIdentifier,
(Text
"PendingCloudWatchLogsExports" Text -> AwsRdsPendingCloudWatchLogsExports -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(AwsRdsPendingCloudWatchLogsExports -> Pair)
-> Maybe AwsRdsPendingCloudWatchLogsExports -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AwsRdsPendingCloudWatchLogsExports
pendingCloudWatchLogsExports,
(Text
"BackupRetentionPeriod" 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
backupRetentionPeriod,
(Text
"MultiAZ" 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
multiAZ,
(Text
"AllocatedStorage" 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
allocatedStorage,
(Text
"Port" 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
port,
(Text
"StorageType" 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
storageType
]
)