{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.RDS.RestoreDBClusterFromS3
(
RestoreDBClusterFromS3 (..),
newRestoreDBClusterFromS3,
restoreDBClusterFromS3_engineVersion,
restoreDBClusterFromS3_deletionProtection,
restoreDBClusterFromS3_storageEncrypted,
restoreDBClusterFromS3_dbSubnetGroupName,
restoreDBClusterFromS3_domain,
restoreDBClusterFromS3_backtrackWindow,
restoreDBClusterFromS3_preferredMaintenanceWindow,
restoreDBClusterFromS3_availabilityZones,
restoreDBClusterFromS3_characterSetName,
restoreDBClusterFromS3_kmsKeyId,
restoreDBClusterFromS3_preferredBackupWindow,
restoreDBClusterFromS3_backupRetentionPeriod,
restoreDBClusterFromS3_vpcSecurityGroupIds,
restoreDBClusterFromS3_databaseName,
restoreDBClusterFromS3_dbClusterParameterGroupName,
restoreDBClusterFromS3_s3Prefix,
restoreDBClusterFromS3_optionGroupName,
restoreDBClusterFromS3_copyTagsToSnapshot,
restoreDBClusterFromS3_domainIAMRoleName,
restoreDBClusterFromS3_tags,
restoreDBClusterFromS3_port,
restoreDBClusterFromS3_enableIAMDatabaseAuthentication,
restoreDBClusterFromS3_enableCloudwatchLogsExports,
restoreDBClusterFromS3_dbClusterIdentifier,
restoreDBClusterFromS3_engine,
restoreDBClusterFromS3_masterUsername,
restoreDBClusterFromS3_masterUserPassword,
restoreDBClusterFromS3_sourceEngine,
restoreDBClusterFromS3_sourceEngineVersion,
restoreDBClusterFromS3_s3BucketName,
restoreDBClusterFromS3_s3IngestionRoleArn,
RestoreDBClusterFromS3Response (..),
newRestoreDBClusterFromS3Response,
restoreDBClusterFromS3Response_dbCluster,
restoreDBClusterFromS3Response_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.RDS.Types
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data RestoreDBClusterFromS3 = RestoreDBClusterFromS3'
{
RestoreDBClusterFromS3 -> Maybe Text
engineVersion :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Bool
deletionProtection :: Prelude.Maybe Prelude.Bool,
RestoreDBClusterFromS3 -> Maybe Bool
storageEncrypted :: Prelude.Maybe Prelude.Bool,
RestoreDBClusterFromS3 -> Maybe Text
dbSubnetGroupName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
domain :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Integer
backtrackWindow :: Prelude.Maybe Prelude.Integer,
RestoreDBClusterFromS3 -> Maybe Text
preferredMaintenanceWindow :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe [Text]
availabilityZones :: Prelude.Maybe [Prelude.Text],
RestoreDBClusterFromS3 -> Maybe Text
characterSetName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
kmsKeyId :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
preferredBackupWindow :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Int
backupRetentionPeriod :: Prelude.Maybe Prelude.Int,
RestoreDBClusterFromS3 -> Maybe [Text]
vpcSecurityGroupIds :: Prelude.Maybe [Prelude.Text],
RestoreDBClusterFromS3 -> Maybe Text
databaseName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
dbClusterParameterGroupName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
s3Prefix :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
optionGroupName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Bool
copyTagsToSnapshot :: Prelude.Maybe Prelude.Bool,
RestoreDBClusterFromS3 -> Maybe Text
domainIAMRoleName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe [Tag]
tags :: Prelude.Maybe [Tag],
RestoreDBClusterFromS3 -> Maybe Int
port :: Prelude.Maybe Prelude.Int,
RestoreDBClusterFromS3 -> Maybe Bool
enableIAMDatabaseAuthentication :: Prelude.Maybe Prelude.Bool,
RestoreDBClusterFromS3 -> Maybe [Text]
enableCloudwatchLogsExports :: Prelude.Maybe [Prelude.Text],
RestoreDBClusterFromS3 -> Text
dbClusterIdentifier :: Prelude.Text,
RestoreDBClusterFromS3 -> Text
engine :: Prelude.Text,
RestoreDBClusterFromS3 -> Text
masterUsername :: Prelude.Text,
RestoreDBClusterFromS3 -> Text
masterUserPassword :: Prelude.Text,
RestoreDBClusterFromS3 -> Text
sourceEngine :: Prelude.Text,
RestoreDBClusterFromS3 -> Text
sourceEngineVersion :: Prelude.Text,
RestoreDBClusterFromS3 -> Text
s3BucketName :: Prelude.Text,
RestoreDBClusterFromS3 -> Text
s3IngestionRoleArn :: Prelude.Text
}
deriving (RestoreDBClusterFromS3 -> RestoreDBClusterFromS3 -> Bool
(RestoreDBClusterFromS3 -> RestoreDBClusterFromS3 -> Bool)
-> (RestoreDBClusterFromS3 -> RestoreDBClusterFromS3 -> Bool)
-> Eq RestoreDBClusterFromS3
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RestoreDBClusterFromS3 -> RestoreDBClusterFromS3 -> Bool
$c/= :: RestoreDBClusterFromS3 -> RestoreDBClusterFromS3 -> Bool
== :: RestoreDBClusterFromS3 -> RestoreDBClusterFromS3 -> Bool
$c== :: RestoreDBClusterFromS3 -> RestoreDBClusterFromS3 -> Bool
Prelude.Eq, ReadPrec [RestoreDBClusterFromS3]
ReadPrec RestoreDBClusterFromS3
Int -> ReadS RestoreDBClusterFromS3
ReadS [RestoreDBClusterFromS3]
(Int -> ReadS RestoreDBClusterFromS3)
-> ReadS [RestoreDBClusterFromS3]
-> ReadPrec RestoreDBClusterFromS3
-> ReadPrec [RestoreDBClusterFromS3]
-> Read RestoreDBClusterFromS3
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RestoreDBClusterFromS3]
$creadListPrec :: ReadPrec [RestoreDBClusterFromS3]
readPrec :: ReadPrec RestoreDBClusterFromS3
$creadPrec :: ReadPrec RestoreDBClusterFromS3
readList :: ReadS [RestoreDBClusterFromS3]
$creadList :: ReadS [RestoreDBClusterFromS3]
readsPrec :: Int -> ReadS RestoreDBClusterFromS3
$creadsPrec :: Int -> ReadS RestoreDBClusterFromS3
Prelude.Read, Int -> RestoreDBClusterFromS3 -> ShowS
[RestoreDBClusterFromS3] -> ShowS
RestoreDBClusterFromS3 -> String
(Int -> RestoreDBClusterFromS3 -> ShowS)
-> (RestoreDBClusterFromS3 -> String)
-> ([RestoreDBClusterFromS3] -> ShowS)
-> Show RestoreDBClusterFromS3
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RestoreDBClusterFromS3] -> ShowS
$cshowList :: [RestoreDBClusterFromS3] -> ShowS
show :: RestoreDBClusterFromS3 -> String
$cshow :: RestoreDBClusterFromS3 -> String
showsPrec :: Int -> RestoreDBClusterFromS3 -> ShowS
$cshowsPrec :: Int -> RestoreDBClusterFromS3 -> ShowS
Prelude.Show, (forall x. RestoreDBClusterFromS3 -> Rep RestoreDBClusterFromS3 x)
-> (forall x.
Rep RestoreDBClusterFromS3 x -> RestoreDBClusterFromS3)
-> Generic RestoreDBClusterFromS3
forall x. Rep RestoreDBClusterFromS3 x -> RestoreDBClusterFromS3
forall x. RestoreDBClusterFromS3 -> Rep RestoreDBClusterFromS3 x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RestoreDBClusterFromS3 x -> RestoreDBClusterFromS3
$cfrom :: forall x. RestoreDBClusterFromS3 -> Rep RestoreDBClusterFromS3 x
Prelude.Generic)
newRestoreDBClusterFromS3 ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
RestoreDBClusterFromS3
newRestoreDBClusterFromS3 :: Text
-> Text
-> Text
-> Text
-> Text
-> Text
-> Text
-> Text
-> RestoreDBClusterFromS3
newRestoreDBClusterFromS3
Text
pDBClusterIdentifier_
Text
pEngine_
Text
pMasterUsername_
Text
pMasterUserPassword_
Text
pSourceEngine_
Text
pSourceEngineVersion_
Text
pS3BucketName_
Text
pS3IngestionRoleArn_ =
RestoreDBClusterFromS3' :: Maybe Text
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe [Tag]
-> Maybe Int
-> Maybe Bool
-> Maybe [Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> Text
-> Text
-> Text
-> RestoreDBClusterFromS3
RestoreDBClusterFromS3'
{ $sel:engineVersion:RestoreDBClusterFromS3' :: Maybe Text
engineVersion =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:deletionProtection:RestoreDBClusterFromS3' :: Maybe Bool
deletionProtection = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:storageEncrypted:RestoreDBClusterFromS3' :: Maybe Bool
storageEncrypted = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:dbSubnetGroupName:RestoreDBClusterFromS3' :: Maybe Text
dbSubnetGroupName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:domain:RestoreDBClusterFromS3' :: Maybe Text
domain = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:backtrackWindow:RestoreDBClusterFromS3' :: Maybe Integer
backtrackWindow = Maybe Integer
forall a. Maybe a
Prelude.Nothing,
$sel:preferredMaintenanceWindow:RestoreDBClusterFromS3' :: Maybe Text
preferredMaintenanceWindow = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:availabilityZones:RestoreDBClusterFromS3' :: Maybe [Text]
availabilityZones = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:characterSetName:RestoreDBClusterFromS3' :: Maybe Text
characterSetName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:kmsKeyId:RestoreDBClusterFromS3' :: Maybe Text
kmsKeyId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:preferredBackupWindow:RestoreDBClusterFromS3' :: Maybe Text
preferredBackupWindow = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:backupRetentionPeriod:RestoreDBClusterFromS3' :: Maybe Int
backupRetentionPeriod = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:vpcSecurityGroupIds:RestoreDBClusterFromS3' :: Maybe [Text]
vpcSecurityGroupIds = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:databaseName:RestoreDBClusterFromS3' :: Maybe Text
databaseName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dbClusterParameterGroupName:RestoreDBClusterFromS3' :: Maybe Text
dbClusterParameterGroupName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:s3Prefix:RestoreDBClusterFromS3' :: Maybe Text
s3Prefix = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:optionGroupName:RestoreDBClusterFromS3' :: Maybe Text
optionGroupName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:copyTagsToSnapshot:RestoreDBClusterFromS3' :: Maybe Bool
copyTagsToSnapshot = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:domainIAMRoleName:RestoreDBClusterFromS3' :: Maybe Text
domainIAMRoleName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:tags:RestoreDBClusterFromS3' :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
$sel:port:RestoreDBClusterFromS3' :: Maybe Int
port = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:enableIAMDatabaseAuthentication:RestoreDBClusterFromS3' :: Maybe Bool
enableIAMDatabaseAuthentication = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:enableCloudwatchLogsExports:RestoreDBClusterFromS3' :: Maybe [Text]
enableCloudwatchLogsExports = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:dbClusterIdentifier:RestoreDBClusterFromS3' :: Text
dbClusterIdentifier = Text
pDBClusterIdentifier_,
$sel:engine:RestoreDBClusterFromS3' :: Text
engine = Text
pEngine_,
$sel:masterUsername:RestoreDBClusterFromS3' :: Text
masterUsername = Text
pMasterUsername_,
$sel:masterUserPassword:RestoreDBClusterFromS3' :: Text
masterUserPassword = Text
pMasterUserPassword_,
$sel:sourceEngine:RestoreDBClusterFromS3' :: Text
sourceEngine = Text
pSourceEngine_,
$sel:sourceEngineVersion:RestoreDBClusterFromS3' :: Text
sourceEngineVersion = Text
pSourceEngineVersion_,
$sel:s3BucketName:RestoreDBClusterFromS3' :: Text
s3BucketName = Text
pS3BucketName_,
$sel:s3IngestionRoleArn:RestoreDBClusterFromS3' :: Text
s3IngestionRoleArn = Text
pS3IngestionRoleArn_
}
restoreDBClusterFromS3_engineVersion :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_engineVersion :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_engineVersion = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
engineVersion :: Maybe Text
$sel:engineVersion:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
engineVersion} -> Maybe Text
engineVersion) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:engineVersion:RestoreDBClusterFromS3' :: Maybe Text
engineVersion = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_deletionProtection :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Bool)
restoreDBClusterFromS3_deletionProtection :: (Maybe Bool -> f (Maybe Bool))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_deletionProtection = (RestoreDBClusterFromS3 -> Maybe Bool)
-> (RestoreDBClusterFromS3 -> Maybe Bool -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Bool
deletionProtection :: Maybe Bool
$sel:deletionProtection:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
deletionProtection} -> Maybe Bool
deletionProtection) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Bool
a -> RestoreDBClusterFromS3
s {$sel:deletionProtection:RestoreDBClusterFromS3' :: Maybe Bool
deletionProtection = Maybe Bool
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_storageEncrypted :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Bool)
restoreDBClusterFromS3_storageEncrypted :: (Maybe Bool -> f (Maybe Bool))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_storageEncrypted = (RestoreDBClusterFromS3 -> Maybe Bool)
-> (RestoreDBClusterFromS3 -> Maybe Bool -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Bool
storageEncrypted :: Maybe Bool
$sel:storageEncrypted:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
storageEncrypted} -> Maybe Bool
storageEncrypted) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Bool
a -> RestoreDBClusterFromS3
s {$sel:storageEncrypted:RestoreDBClusterFromS3' :: Maybe Bool
storageEncrypted = Maybe Bool
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_dbSubnetGroupName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_dbSubnetGroupName :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_dbSubnetGroupName = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
dbSubnetGroupName :: Maybe Text
$sel:dbSubnetGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
dbSubnetGroupName} -> Maybe Text
dbSubnetGroupName) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:dbSubnetGroupName:RestoreDBClusterFromS3' :: Maybe Text
dbSubnetGroupName = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_domain :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_domain :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_domain = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
domain :: Maybe Text
$sel:domain:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
domain} -> Maybe Text
domain) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:domain:RestoreDBClusterFromS3' :: Maybe Text
domain = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_backtrackWindow :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Integer)
restoreDBClusterFromS3_backtrackWindow :: (Maybe Integer -> f (Maybe Integer))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_backtrackWindow = (RestoreDBClusterFromS3 -> Maybe Integer)
-> (RestoreDBClusterFromS3
-> Maybe Integer -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Integer)
(Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Integer
backtrackWindow :: Maybe Integer
$sel:backtrackWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Integer
backtrackWindow} -> Maybe Integer
backtrackWindow) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Integer
a -> RestoreDBClusterFromS3
s {$sel:backtrackWindow:RestoreDBClusterFromS3' :: Maybe Integer
backtrackWindow = Maybe Integer
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_preferredMaintenanceWindow :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_preferredMaintenanceWindow :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_preferredMaintenanceWindow = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
preferredMaintenanceWindow :: Maybe Text
$sel:preferredMaintenanceWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
preferredMaintenanceWindow} -> Maybe Text
preferredMaintenanceWindow) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:preferredMaintenanceWindow:RestoreDBClusterFromS3' :: Maybe Text
preferredMaintenanceWindow = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_availabilityZones :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe [Prelude.Text])
restoreDBClusterFromS3_availabilityZones :: (Maybe [Text] -> f (Maybe [Text]))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_availabilityZones = (RestoreDBClusterFromS3 -> Maybe [Text])
-> (RestoreDBClusterFromS3
-> Maybe [Text] -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe [Text]
availabilityZones :: Maybe [Text]
$sel:availabilityZones:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
availabilityZones} -> Maybe [Text]
availabilityZones) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe [Text]
a -> RestoreDBClusterFromS3
s {$sel:availabilityZones:RestoreDBClusterFromS3' :: Maybe [Text]
availabilityZones = Maybe [Text]
a} :: RestoreDBClusterFromS3) ((Maybe [Text] -> f (Maybe [Text]))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> RestoreDBClusterFromS3
-> f RestoreDBClusterFromS3
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
restoreDBClusterFromS3_characterSetName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_characterSetName :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_characterSetName = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
characterSetName :: Maybe Text
$sel:characterSetName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
characterSetName} -> Maybe Text
characterSetName) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:characterSetName:RestoreDBClusterFromS3' :: Maybe Text
characterSetName = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_kmsKeyId :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_kmsKeyId :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_kmsKeyId = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
kmsKeyId :: Maybe Text
$sel:kmsKeyId:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
kmsKeyId} -> Maybe Text
kmsKeyId) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:kmsKeyId:RestoreDBClusterFromS3' :: Maybe Text
kmsKeyId = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_preferredBackupWindow :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_preferredBackupWindow :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_preferredBackupWindow = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
preferredBackupWindow :: Maybe Text
$sel:preferredBackupWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
preferredBackupWindow} -> Maybe Text
preferredBackupWindow) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:preferredBackupWindow:RestoreDBClusterFromS3' :: Maybe Text
preferredBackupWindow = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_backupRetentionPeriod :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Int)
restoreDBClusterFromS3_backupRetentionPeriod :: (Maybe Int -> f (Maybe Int))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_backupRetentionPeriod = (RestoreDBClusterFromS3 -> Maybe Int)
-> (RestoreDBClusterFromS3 -> Maybe Int -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Int
backupRetentionPeriod :: Maybe Int
$sel:backupRetentionPeriod:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Int
backupRetentionPeriod} -> Maybe Int
backupRetentionPeriod) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Int
a -> RestoreDBClusterFromS3
s {$sel:backupRetentionPeriod:RestoreDBClusterFromS3' :: Maybe Int
backupRetentionPeriod = Maybe Int
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_vpcSecurityGroupIds :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe [Prelude.Text])
restoreDBClusterFromS3_vpcSecurityGroupIds :: (Maybe [Text] -> f (Maybe [Text]))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_vpcSecurityGroupIds = (RestoreDBClusterFromS3 -> Maybe [Text])
-> (RestoreDBClusterFromS3
-> Maybe [Text] -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe [Text]
vpcSecurityGroupIds :: Maybe [Text]
$sel:vpcSecurityGroupIds:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
vpcSecurityGroupIds} -> Maybe [Text]
vpcSecurityGroupIds) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe [Text]
a -> RestoreDBClusterFromS3
s {$sel:vpcSecurityGroupIds:RestoreDBClusterFromS3' :: Maybe [Text]
vpcSecurityGroupIds = Maybe [Text]
a} :: RestoreDBClusterFromS3) ((Maybe [Text] -> f (Maybe [Text]))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> RestoreDBClusterFromS3
-> f RestoreDBClusterFromS3
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
restoreDBClusterFromS3_databaseName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_databaseName :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_databaseName = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
databaseName :: Maybe Text
$sel:databaseName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
databaseName} -> Maybe Text
databaseName) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:databaseName:RestoreDBClusterFromS3' :: Maybe Text
databaseName = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_dbClusterParameterGroupName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_dbClusterParameterGroupName :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_dbClusterParameterGroupName = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
dbClusterParameterGroupName :: Maybe Text
$sel:dbClusterParameterGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
dbClusterParameterGroupName} -> Maybe Text
dbClusterParameterGroupName) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:dbClusterParameterGroupName:RestoreDBClusterFromS3' :: Maybe Text
dbClusterParameterGroupName = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_s3Prefix :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_s3Prefix :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_s3Prefix = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
s3Prefix :: Maybe Text
$sel:s3Prefix:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
s3Prefix} -> Maybe Text
s3Prefix) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:s3Prefix:RestoreDBClusterFromS3' :: Maybe Text
s3Prefix = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_optionGroupName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_optionGroupName :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_optionGroupName = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
optionGroupName :: Maybe Text
$sel:optionGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
optionGroupName} -> Maybe Text
optionGroupName) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:optionGroupName:RestoreDBClusterFromS3' :: Maybe Text
optionGroupName = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_copyTagsToSnapshot :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Bool)
restoreDBClusterFromS3_copyTagsToSnapshot :: (Maybe Bool -> f (Maybe Bool))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_copyTagsToSnapshot = (RestoreDBClusterFromS3 -> Maybe Bool)
-> (RestoreDBClusterFromS3 -> Maybe Bool -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Bool
copyTagsToSnapshot :: Maybe Bool
$sel:copyTagsToSnapshot:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
copyTagsToSnapshot} -> Maybe Bool
copyTagsToSnapshot) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Bool
a -> RestoreDBClusterFromS3
s {$sel:copyTagsToSnapshot:RestoreDBClusterFromS3' :: Maybe Bool
copyTagsToSnapshot = Maybe Bool
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_domainIAMRoleName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_domainIAMRoleName :: (Maybe Text -> f (Maybe Text))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_domainIAMRoleName = (RestoreDBClusterFromS3 -> Maybe Text)
-> (RestoreDBClusterFromS3 -> Maybe Text -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
domainIAMRoleName :: Maybe Text
$sel:domainIAMRoleName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
domainIAMRoleName} -> Maybe Text
domainIAMRoleName) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:domainIAMRoleName:RestoreDBClusterFromS3' :: Maybe Text
domainIAMRoleName = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_tags :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe [Tag])
restoreDBClusterFromS3_tags :: (Maybe [Tag] -> f (Maybe [Tag]))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_tags = (RestoreDBClusterFromS3 -> Maybe [Tag])
-> (RestoreDBClusterFromS3
-> Maybe [Tag] -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe [Tag])
(Maybe [Tag])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe [Tag]
a -> RestoreDBClusterFromS3
s {$sel:tags:RestoreDBClusterFromS3' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: RestoreDBClusterFromS3) ((Maybe [Tag] -> f (Maybe [Tag]))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3)
-> ((Maybe [Tag] -> f (Maybe [Tag]))
-> Maybe [Tag] -> f (Maybe [Tag]))
-> (Maybe [Tag] -> f (Maybe [Tag]))
-> RestoreDBClusterFromS3
-> f RestoreDBClusterFromS3
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Tag] [Tag] [Tag] [Tag]
-> Iso (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag])
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 [Tag] [Tag] [Tag] [Tag]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
restoreDBClusterFromS3_port :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Int)
restoreDBClusterFromS3_port :: (Maybe Int -> f (Maybe Int))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_port = (RestoreDBClusterFromS3 -> Maybe Int)
-> (RestoreDBClusterFromS3 -> Maybe Int -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Int
port :: Maybe Int
$sel:port:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Int
port} -> Maybe Int
port) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Int
a -> RestoreDBClusterFromS3
s {$sel:port:RestoreDBClusterFromS3' :: Maybe Int
port = Maybe Int
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_enableIAMDatabaseAuthentication :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Bool)
restoreDBClusterFromS3_enableIAMDatabaseAuthentication :: (Maybe Bool -> f (Maybe Bool))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_enableIAMDatabaseAuthentication = (RestoreDBClusterFromS3 -> Maybe Bool)
-> (RestoreDBClusterFromS3 -> Maybe Bool -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Bool
enableIAMDatabaseAuthentication :: Maybe Bool
$sel:enableIAMDatabaseAuthentication:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
enableIAMDatabaseAuthentication} -> Maybe Bool
enableIAMDatabaseAuthentication) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Bool
a -> RestoreDBClusterFromS3
s {$sel:enableIAMDatabaseAuthentication:RestoreDBClusterFromS3' :: Maybe Bool
enableIAMDatabaseAuthentication = Maybe Bool
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_enableCloudwatchLogsExports :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe [Prelude.Text])
restoreDBClusterFromS3_enableCloudwatchLogsExports :: (Maybe [Text] -> f (Maybe [Text]))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_enableCloudwatchLogsExports = (RestoreDBClusterFromS3 -> Maybe [Text])
-> (RestoreDBClusterFromS3
-> Maybe [Text] -> RestoreDBClusterFromS3)
-> Lens
RestoreDBClusterFromS3
RestoreDBClusterFromS3
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe [Text]
enableCloudwatchLogsExports :: Maybe [Text]
$sel:enableCloudwatchLogsExports:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
enableCloudwatchLogsExports} -> Maybe [Text]
enableCloudwatchLogsExports) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe [Text]
a -> RestoreDBClusterFromS3
s {$sel:enableCloudwatchLogsExports:RestoreDBClusterFromS3' :: Maybe [Text]
enableCloudwatchLogsExports = Maybe [Text]
a} :: RestoreDBClusterFromS3) ((Maybe [Text] -> f (Maybe [Text]))
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> RestoreDBClusterFromS3
-> f RestoreDBClusterFromS3
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
restoreDBClusterFromS3_dbClusterIdentifier :: Lens.Lens' RestoreDBClusterFromS3 Prelude.Text
restoreDBClusterFromS3_dbClusterIdentifier :: (Text -> f Text)
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_dbClusterIdentifier = (RestoreDBClusterFromS3 -> Text)
-> (RestoreDBClusterFromS3 -> Text -> RestoreDBClusterFromS3)
-> Lens RestoreDBClusterFromS3 RestoreDBClusterFromS3 Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Text
dbClusterIdentifier :: Text
$sel:dbClusterIdentifier:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
dbClusterIdentifier} -> Text
dbClusterIdentifier) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Text
a -> RestoreDBClusterFromS3
s {$sel:dbClusterIdentifier:RestoreDBClusterFromS3' :: Text
dbClusterIdentifier = Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_engine :: Lens.Lens' RestoreDBClusterFromS3 Prelude.Text
restoreDBClusterFromS3_engine :: (Text -> f Text)
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_engine = (RestoreDBClusterFromS3 -> Text)
-> (RestoreDBClusterFromS3 -> Text -> RestoreDBClusterFromS3)
-> Lens RestoreDBClusterFromS3 RestoreDBClusterFromS3 Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Text
engine :: Text
$sel:engine:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
engine} -> Text
engine) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Text
a -> RestoreDBClusterFromS3
s {$sel:engine:RestoreDBClusterFromS3' :: Text
engine = Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_masterUsername :: Lens.Lens' RestoreDBClusterFromS3 Prelude.Text
restoreDBClusterFromS3_masterUsername :: (Text -> f Text)
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_masterUsername = (RestoreDBClusterFromS3 -> Text)
-> (RestoreDBClusterFromS3 -> Text -> RestoreDBClusterFromS3)
-> Lens RestoreDBClusterFromS3 RestoreDBClusterFromS3 Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Text
masterUsername :: Text
$sel:masterUsername:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
masterUsername} -> Text
masterUsername) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Text
a -> RestoreDBClusterFromS3
s {$sel:masterUsername:RestoreDBClusterFromS3' :: Text
masterUsername = Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_masterUserPassword :: Lens.Lens' RestoreDBClusterFromS3 Prelude.Text
restoreDBClusterFromS3_masterUserPassword :: (Text -> f Text)
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_masterUserPassword = (RestoreDBClusterFromS3 -> Text)
-> (RestoreDBClusterFromS3 -> Text -> RestoreDBClusterFromS3)
-> Lens RestoreDBClusterFromS3 RestoreDBClusterFromS3 Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Text
masterUserPassword :: Text
$sel:masterUserPassword:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
masterUserPassword} -> Text
masterUserPassword) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Text
a -> RestoreDBClusterFromS3
s {$sel:masterUserPassword:RestoreDBClusterFromS3' :: Text
masterUserPassword = Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_sourceEngine :: Lens.Lens' RestoreDBClusterFromS3 Prelude.Text
restoreDBClusterFromS3_sourceEngine :: (Text -> f Text)
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_sourceEngine = (RestoreDBClusterFromS3 -> Text)
-> (RestoreDBClusterFromS3 -> Text -> RestoreDBClusterFromS3)
-> Lens RestoreDBClusterFromS3 RestoreDBClusterFromS3 Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Text
sourceEngine :: Text
$sel:sourceEngine:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
sourceEngine} -> Text
sourceEngine) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Text
a -> RestoreDBClusterFromS3
s {$sel:sourceEngine:RestoreDBClusterFromS3' :: Text
sourceEngine = Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_sourceEngineVersion :: Lens.Lens' RestoreDBClusterFromS3 Prelude.Text
restoreDBClusterFromS3_sourceEngineVersion :: (Text -> f Text)
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_sourceEngineVersion = (RestoreDBClusterFromS3 -> Text)
-> (RestoreDBClusterFromS3 -> Text -> RestoreDBClusterFromS3)
-> Lens RestoreDBClusterFromS3 RestoreDBClusterFromS3 Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Text
sourceEngineVersion :: Text
$sel:sourceEngineVersion:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
sourceEngineVersion} -> Text
sourceEngineVersion) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Text
a -> RestoreDBClusterFromS3
s {$sel:sourceEngineVersion:RestoreDBClusterFromS3' :: Text
sourceEngineVersion = Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_s3BucketName :: Lens.Lens' RestoreDBClusterFromS3 Prelude.Text
restoreDBClusterFromS3_s3BucketName :: (Text -> f Text)
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_s3BucketName = (RestoreDBClusterFromS3 -> Text)
-> (RestoreDBClusterFromS3 -> Text -> RestoreDBClusterFromS3)
-> Lens RestoreDBClusterFromS3 RestoreDBClusterFromS3 Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Text
s3BucketName :: Text
$sel:s3BucketName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
s3BucketName} -> Text
s3BucketName) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Text
a -> RestoreDBClusterFromS3
s {$sel:s3BucketName:RestoreDBClusterFromS3' :: Text
s3BucketName = Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_s3IngestionRoleArn :: Lens.Lens' RestoreDBClusterFromS3 Prelude.Text
restoreDBClusterFromS3_s3IngestionRoleArn :: (Text -> f Text)
-> RestoreDBClusterFromS3 -> f RestoreDBClusterFromS3
restoreDBClusterFromS3_s3IngestionRoleArn = (RestoreDBClusterFromS3 -> Text)
-> (RestoreDBClusterFromS3 -> Text -> RestoreDBClusterFromS3)
-> Lens RestoreDBClusterFromS3 RestoreDBClusterFromS3 Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Text
s3IngestionRoleArn :: Text
$sel:s3IngestionRoleArn:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
s3IngestionRoleArn} -> Text
s3IngestionRoleArn) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Text
a -> RestoreDBClusterFromS3
s {$sel:s3IngestionRoleArn:RestoreDBClusterFromS3' :: Text
s3IngestionRoleArn = Text
a} :: RestoreDBClusterFromS3)
instance Core.AWSRequest RestoreDBClusterFromS3 where
type
AWSResponse RestoreDBClusterFromS3 =
RestoreDBClusterFromS3Response
request :: RestoreDBClusterFromS3 -> Request RestoreDBClusterFromS3
request = Service -> RestoreDBClusterFromS3 -> Request RestoreDBClusterFromS3
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy RestoreDBClusterFromS3
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse RestoreDBClusterFromS3)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse RestoreDBClusterFromS3))
-> Logger
-> Service
-> Proxy RestoreDBClusterFromS3
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse RestoreDBClusterFromS3)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
Text
"RestoreDBClusterFromS3Result"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe DBCluster -> Int -> RestoreDBClusterFromS3Response
RestoreDBClusterFromS3Response'
(Maybe DBCluster -> Int -> RestoreDBClusterFromS3Response)
-> Either String (Maybe DBCluster)
-> Either String (Int -> RestoreDBClusterFromS3Response)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe DBCluster)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"DBCluster")
Either String (Int -> RestoreDBClusterFromS3Response)
-> Either String Int
-> Either String RestoreDBClusterFromS3Response
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable RestoreDBClusterFromS3
instance Prelude.NFData RestoreDBClusterFromS3
instance Core.ToHeaders RestoreDBClusterFromS3 where
toHeaders :: RestoreDBClusterFromS3 -> ResponseHeaders
toHeaders = ResponseHeaders -> RestoreDBClusterFromS3 -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath RestoreDBClusterFromS3 where
toPath :: RestoreDBClusterFromS3 -> ByteString
toPath = ByteString -> RestoreDBClusterFromS3 -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery RestoreDBClusterFromS3 where
toQuery :: RestoreDBClusterFromS3 -> QueryString
toQuery RestoreDBClusterFromS3' {Maybe Bool
Maybe Int
Maybe Integer
Maybe [Text]
Maybe [Tag]
Maybe Text
Text
s3IngestionRoleArn :: Text
s3BucketName :: Text
sourceEngineVersion :: Text
sourceEngine :: Text
masterUserPassword :: Text
masterUsername :: Text
engine :: Text
dbClusterIdentifier :: Text
enableCloudwatchLogsExports :: Maybe [Text]
enableIAMDatabaseAuthentication :: Maybe Bool
port :: Maybe Int
tags :: Maybe [Tag]
domainIAMRoleName :: Maybe Text
copyTagsToSnapshot :: Maybe Bool
optionGroupName :: Maybe Text
s3Prefix :: Maybe Text
dbClusterParameterGroupName :: Maybe Text
databaseName :: Maybe Text
vpcSecurityGroupIds :: Maybe [Text]
backupRetentionPeriod :: Maybe Int
preferredBackupWindow :: Maybe Text
kmsKeyId :: Maybe Text
characterSetName :: Maybe Text
availabilityZones :: Maybe [Text]
preferredMaintenanceWindow :: Maybe Text
backtrackWindow :: Maybe Integer
domain :: Maybe Text
dbSubnetGroupName :: Maybe Text
storageEncrypted :: Maybe Bool
deletionProtection :: Maybe Bool
engineVersion :: Maybe Text
$sel:s3IngestionRoleArn:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:s3BucketName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:sourceEngineVersion:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:sourceEngine:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:masterUserPassword:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:masterUsername:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:engine:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:dbClusterIdentifier:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:enableCloudwatchLogsExports:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
$sel:enableIAMDatabaseAuthentication:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:port:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Int
$sel:tags:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Tag]
$sel:domainIAMRoleName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:copyTagsToSnapshot:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:optionGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:s3Prefix:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:dbClusterParameterGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:databaseName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:vpcSecurityGroupIds:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
$sel:backupRetentionPeriod:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Int
$sel:preferredBackupWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:kmsKeyId:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:characterSetName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:availabilityZones:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
$sel:preferredMaintenanceWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:backtrackWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Integer
$sel:domain:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:dbSubnetGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:storageEncrypted:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:deletionProtection:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:engineVersion:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"RestoreDBClusterFromS3" :: Prelude.ByteString),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2014-10-31" :: Prelude.ByteString),
ByteString
"EngineVersion" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
engineVersion,
ByteString
"DeletionProtection" ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
deletionProtection,
ByteString
"StorageEncrypted" ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
storageEncrypted,
ByteString
"DBSubnetGroupName" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
dbSubnetGroupName,
ByteString
"Domain" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
domain,
ByteString
"BacktrackWindow" ByteString -> Maybe Integer -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Integer
backtrackWindow,
ByteString
"PreferredMaintenanceWindow"
ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
preferredMaintenanceWindow,
ByteString
"AvailabilityZones"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
( ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"AvailabilityZone"
([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
availabilityZones
),
ByteString
"CharacterSetName" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
characterSetName,
ByteString
"KmsKeyId" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
kmsKeyId,
ByteString
"PreferredBackupWindow"
ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
preferredBackupWindow,
ByteString
"BackupRetentionPeriod"
ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
backupRetentionPeriod,
ByteString
"VpcSecurityGroupIds"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
( ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"VpcSecurityGroupId"
([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
vpcSecurityGroupIds
),
ByteString
"DatabaseName" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
databaseName,
ByteString
"DBClusterParameterGroupName"
ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
dbClusterParameterGroupName,
ByteString
"S3Prefix" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
s3Prefix,
ByteString
"OptionGroupName" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
optionGroupName,
ByteString
"CopyTagsToSnapshot" ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
copyTagsToSnapshot,
ByteString
"DomainIAMRoleName" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
domainIAMRoleName,
ByteString
"Tags"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
(ByteString -> [Tag] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"Tag" ([Tag] -> QueryString) -> Maybe [Tag] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags),
ByteString
"Port" ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
port,
ByteString
"EnableIAMDatabaseAuthentication"
ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
enableIAMDatabaseAuthentication,
ByteString
"EnableCloudwatchLogsExports"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
( ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member"
([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
enableCloudwatchLogsExports
),
ByteString
"DBClusterIdentifier" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
dbClusterIdentifier,
ByteString
"Engine" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
engine,
ByteString
"MasterUsername" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
masterUsername,
ByteString
"MasterUserPassword" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
masterUserPassword,
ByteString
"SourceEngine" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
sourceEngine,
ByteString
"SourceEngineVersion" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
sourceEngineVersion,
ByteString
"S3BucketName" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
s3BucketName,
ByteString
"S3IngestionRoleArn" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
s3IngestionRoleArn
]
data RestoreDBClusterFromS3Response = RestoreDBClusterFromS3Response'
{ RestoreDBClusterFromS3Response -> Maybe DBCluster
dbCluster :: Prelude.Maybe DBCluster,
RestoreDBClusterFromS3Response -> Int
httpStatus :: Prelude.Int
}
deriving (RestoreDBClusterFromS3Response
-> RestoreDBClusterFromS3Response -> Bool
(RestoreDBClusterFromS3Response
-> RestoreDBClusterFromS3Response -> Bool)
-> (RestoreDBClusterFromS3Response
-> RestoreDBClusterFromS3Response -> Bool)
-> Eq RestoreDBClusterFromS3Response
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RestoreDBClusterFromS3Response
-> RestoreDBClusterFromS3Response -> Bool
$c/= :: RestoreDBClusterFromS3Response
-> RestoreDBClusterFromS3Response -> Bool
== :: RestoreDBClusterFromS3Response
-> RestoreDBClusterFromS3Response -> Bool
$c== :: RestoreDBClusterFromS3Response
-> RestoreDBClusterFromS3Response -> Bool
Prelude.Eq, ReadPrec [RestoreDBClusterFromS3Response]
ReadPrec RestoreDBClusterFromS3Response
Int -> ReadS RestoreDBClusterFromS3Response
ReadS [RestoreDBClusterFromS3Response]
(Int -> ReadS RestoreDBClusterFromS3Response)
-> ReadS [RestoreDBClusterFromS3Response]
-> ReadPrec RestoreDBClusterFromS3Response
-> ReadPrec [RestoreDBClusterFromS3Response]
-> Read RestoreDBClusterFromS3Response
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RestoreDBClusterFromS3Response]
$creadListPrec :: ReadPrec [RestoreDBClusterFromS3Response]
readPrec :: ReadPrec RestoreDBClusterFromS3Response
$creadPrec :: ReadPrec RestoreDBClusterFromS3Response
readList :: ReadS [RestoreDBClusterFromS3Response]
$creadList :: ReadS [RestoreDBClusterFromS3Response]
readsPrec :: Int -> ReadS RestoreDBClusterFromS3Response
$creadsPrec :: Int -> ReadS RestoreDBClusterFromS3Response
Prelude.Read, Int -> RestoreDBClusterFromS3Response -> ShowS
[RestoreDBClusterFromS3Response] -> ShowS
RestoreDBClusterFromS3Response -> String
(Int -> RestoreDBClusterFromS3Response -> ShowS)
-> (RestoreDBClusterFromS3Response -> String)
-> ([RestoreDBClusterFromS3Response] -> ShowS)
-> Show RestoreDBClusterFromS3Response
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RestoreDBClusterFromS3Response] -> ShowS
$cshowList :: [RestoreDBClusterFromS3Response] -> ShowS
show :: RestoreDBClusterFromS3Response -> String
$cshow :: RestoreDBClusterFromS3Response -> String
showsPrec :: Int -> RestoreDBClusterFromS3Response -> ShowS
$cshowsPrec :: Int -> RestoreDBClusterFromS3Response -> ShowS
Prelude.Show, (forall x.
RestoreDBClusterFromS3Response
-> Rep RestoreDBClusterFromS3Response x)
-> (forall x.
Rep RestoreDBClusterFromS3Response x
-> RestoreDBClusterFromS3Response)
-> Generic RestoreDBClusterFromS3Response
forall x.
Rep RestoreDBClusterFromS3Response x
-> RestoreDBClusterFromS3Response
forall x.
RestoreDBClusterFromS3Response
-> Rep RestoreDBClusterFromS3Response x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep RestoreDBClusterFromS3Response x
-> RestoreDBClusterFromS3Response
$cfrom :: forall x.
RestoreDBClusterFromS3Response
-> Rep RestoreDBClusterFromS3Response x
Prelude.Generic)
newRestoreDBClusterFromS3Response ::
Prelude.Int ->
RestoreDBClusterFromS3Response
newRestoreDBClusterFromS3Response :: Int -> RestoreDBClusterFromS3Response
newRestoreDBClusterFromS3Response Int
pHttpStatus_ =
RestoreDBClusterFromS3Response' :: Maybe DBCluster -> Int -> RestoreDBClusterFromS3Response
RestoreDBClusterFromS3Response'
{ $sel:dbCluster:RestoreDBClusterFromS3Response' :: Maybe DBCluster
dbCluster =
Maybe DBCluster
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:RestoreDBClusterFromS3Response' :: Int
httpStatus = Int
pHttpStatus_
}
restoreDBClusterFromS3Response_dbCluster :: Lens.Lens' RestoreDBClusterFromS3Response (Prelude.Maybe DBCluster)
restoreDBClusterFromS3Response_dbCluster :: (Maybe DBCluster -> f (Maybe DBCluster))
-> RestoreDBClusterFromS3Response
-> f RestoreDBClusterFromS3Response
restoreDBClusterFromS3Response_dbCluster = (RestoreDBClusterFromS3Response -> Maybe DBCluster)
-> (RestoreDBClusterFromS3Response
-> Maybe DBCluster -> RestoreDBClusterFromS3Response)
-> Lens
RestoreDBClusterFromS3Response
RestoreDBClusterFromS3Response
(Maybe DBCluster)
(Maybe DBCluster)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3Response' {Maybe DBCluster
dbCluster :: Maybe DBCluster
$sel:dbCluster:RestoreDBClusterFromS3Response' :: RestoreDBClusterFromS3Response -> Maybe DBCluster
dbCluster} -> Maybe DBCluster
dbCluster) (\s :: RestoreDBClusterFromS3Response
s@RestoreDBClusterFromS3Response' {} Maybe DBCluster
a -> RestoreDBClusterFromS3Response
s {$sel:dbCluster:RestoreDBClusterFromS3Response' :: Maybe DBCluster
dbCluster = Maybe DBCluster
a} :: RestoreDBClusterFromS3Response)
restoreDBClusterFromS3Response_httpStatus :: Lens.Lens' RestoreDBClusterFromS3Response Prelude.Int
restoreDBClusterFromS3Response_httpStatus :: (Int -> f Int)
-> RestoreDBClusterFromS3Response
-> f RestoreDBClusterFromS3Response
restoreDBClusterFromS3Response_httpStatus = (RestoreDBClusterFromS3Response -> Int)
-> (RestoreDBClusterFromS3Response
-> Int -> RestoreDBClusterFromS3Response)
-> Lens
RestoreDBClusterFromS3Response
RestoreDBClusterFromS3Response
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3Response' {Int
httpStatus :: Int
$sel:httpStatus:RestoreDBClusterFromS3Response' :: RestoreDBClusterFromS3Response -> Int
httpStatus} -> Int
httpStatus) (\s :: RestoreDBClusterFromS3Response
s@RestoreDBClusterFromS3Response' {} Int
a -> RestoreDBClusterFromS3Response
s {$sel:httpStatus:RestoreDBClusterFromS3Response' :: Int
httpStatus = Int
a} :: RestoreDBClusterFromS3Response)
instance
Prelude.NFData
RestoreDBClusterFromS3Response