{-# 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_availabilityZones,
restoreDBClusterFromS3_backtrackWindow,
restoreDBClusterFromS3_backupRetentionPeriod,
restoreDBClusterFromS3_characterSetName,
restoreDBClusterFromS3_copyTagsToSnapshot,
restoreDBClusterFromS3_dbClusterParameterGroupName,
restoreDBClusterFromS3_dbSubnetGroupName,
restoreDBClusterFromS3_databaseName,
restoreDBClusterFromS3_deletionProtection,
restoreDBClusterFromS3_domain,
restoreDBClusterFromS3_domainIAMRoleName,
restoreDBClusterFromS3_enableCloudwatchLogsExports,
restoreDBClusterFromS3_enableIAMDatabaseAuthentication,
restoreDBClusterFromS3_engineVersion,
restoreDBClusterFromS3_kmsKeyId,
restoreDBClusterFromS3_manageMasterUserPassword,
restoreDBClusterFromS3_masterUserPassword,
restoreDBClusterFromS3_masterUserSecretKmsKeyId,
restoreDBClusterFromS3_networkType,
restoreDBClusterFromS3_optionGroupName,
restoreDBClusterFromS3_port,
restoreDBClusterFromS3_preferredBackupWindow,
restoreDBClusterFromS3_preferredMaintenanceWindow,
restoreDBClusterFromS3_s3Prefix,
restoreDBClusterFromS3_serverlessV2ScalingConfiguration,
restoreDBClusterFromS3_storageEncrypted,
restoreDBClusterFromS3_tags,
restoreDBClusterFromS3_vpcSecurityGroupIds,
restoreDBClusterFromS3_dbClusterIdentifier,
restoreDBClusterFromS3_engine,
restoreDBClusterFromS3_masterUsername,
restoreDBClusterFromS3_sourceEngine,
restoreDBClusterFromS3_sourceEngineVersion,
restoreDBClusterFromS3_s3BucketName,
restoreDBClusterFromS3_s3IngestionRoleArn,
RestoreDBClusterFromS3Response (..),
newRestoreDBClusterFromS3Response,
restoreDBClusterFromS3Response_dbCluster,
restoreDBClusterFromS3Response_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
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]
availabilityZones :: Prelude.Maybe [Prelude.Text],
RestoreDBClusterFromS3 -> Maybe Integer
backtrackWindow :: Prelude.Maybe Prelude.Integer,
RestoreDBClusterFromS3 -> Maybe Int
backupRetentionPeriod :: Prelude.Maybe Prelude.Int,
RestoreDBClusterFromS3 -> Maybe Text
characterSetName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Bool
copyTagsToSnapshot :: Prelude.Maybe Prelude.Bool,
RestoreDBClusterFromS3 -> Maybe Text
dbClusterParameterGroupName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
dbSubnetGroupName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
databaseName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Bool
deletionProtection :: Prelude.Maybe Prelude.Bool,
RestoreDBClusterFromS3 -> Maybe Text
domain :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
domainIAMRoleName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe [Text]
enableCloudwatchLogsExports :: Prelude.Maybe [Prelude.Text],
RestoreDBClusterFromS3 -> Maybe Bool
enableIAMDatabaseAuthentication :: Prelude.Maybe Prelude.Bool,
RestoreDBClusterFromS3 -> Maybe Text
engineVersion :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
kmsKeyId :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Bool
manageMasterUserPassword :: Prelude.Maybe Prelude.Bool,
RestoreDBClusterFromS3 -> Maybe Text
masterUserPassword :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
masterUserSecretKmsKeyId :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
networkType :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
optionGroupName :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Int
port :: Prelude.Maybe Prelude.Int,
RestoreDBClusterFromS3 -> Maybe Text
preferredBackupWindow :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
preferredMaintenanceWindow :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe Text
s3Prefix :: Prelude.Maybe Prelude.Text,
RestoreDBClusterFromS3 -> Maybe ServerlessV2ScalingConfiguration
serverlessV2ScalingConfiguration :: Prelude.Maybe ServerlessV2ScalingConfiguration,
RestoreDBClusterFromS3 -> Maybe Bool
storageEncrypted :: Prelude.Maybe Prelude.Bool,
RestoreDBClusterFromS3 -> Maybe [Tag]
tags :: Prelude.Maybe [Tag],
RestoreDBClusterFromS3 -> Maybe [Text]
vpcSecurityGroupIds :: Prelude.Maybe [Prelude.Text],
RestoreDBClusterFromS3 -> Text
dbClusterIdentifier :: Prelude.Text,
RestoreDBClusterFromS3 -> Text
engine :: Prelude.Text,
RestoreDBClusterFromS3 -> Text
masterUsername :: 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
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]
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
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. 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 ->
RestoreDBClusterFromS3
newRestoreDBClusterFromS3 :: Text
-> Text
-> Text
-> Text
-> Text
-> Text
-> Text
-> RestoreDBClusterFromS3
newRestoreDBClusterFromS3
Text
pDBClusterIdentifier_
Text
pEngine_
Text
pMasterUsername_
Text
pSourceEngine_
Text
pSourceEngineVersion_
Text
pS3BucketName_
Text
pS3IngestionRoleArn_ =
RestoreDBClusterFromS3'
{ $sel:availabilityZones:RestoreDBClusterFromS3' :: Maybe [Text]
availabilityZones =
forall a. Maybe a
Prelude.Nothing,
$sel:backtrackWindow:RestoreDBClusterFromS3' :: Maybe Integer
backtrackWindow = forall a. Maybe a
Prelude.Nothing,
$sel:backupRetentionPeriod:RestoreDBClusterFromS3' :: Maybe Int
backupRetentionPeriod = forall a. Maybe a
Prelude.Nothing,
$sel:characterSetName:RestoreDBClusterFromS3' :: Maybe Text
characterSetName = forall a. Maybe a
Prelude.Nothing,
$sel:copyTagsToSnapshot:RestoreDBClusterFromS3' :: Maybe Bool
copyTagsToSnapshot = forall a. Maybe a
Prelude.Nothing,
$sel:dbClusterParameterGroupName:RestoreDBClusterFromS3' :: Maybe Text
dbClusterParameterGroupName = forall a. Maybe a
Prelude.Nothing,
$sel:dbSubnetGroupName:RestoreDBClusterFromS3' :: Maybe Text
dbSubnetGroupName = forall a. Maybe a
Prelude.Nothing,
$sel:databaseName:RestoreDBClusterFromS3' :: Maybe Text
databaseName = forall a. Maybe a
Prelude.Nothing,
$sel:deletionProtection:RestoreDBClusterFromS3' :: Maybe Bool
deletionProtection = forall a. Maybe a
Prelude.Nothing,
$sel:domain:RestoreDBClusterFromS3' :: Maybe Text
domain = forall a. Maybe a
Prelude.Nothing,
$sel:domainIAMRoleName:RestoreDBClusterFromS3' :: Maybe Text
domainIAMRoleName = forall a. Maybe a
Prelude.Nothing,
$sel:enableCloudwatchLogsExports:RestoreDBClusterFromS3' :: Maybe [Text]
enableCloudwatchLogsExports = forall a. Maybe a
Prelude.Nothing,
$sel:enableIAMDatabaseAuthentication:RestoreDBClusterFromS3' :: Maybe Bool
enableIAMDatabaseAuthentication = forall a. Maybe a
Prelude.Nothing,
$sel:engineVersion:RestoreDBClusterFromS3' :: Maybe Text
engineVersion = forall a. Maybe a
Prelude.Nothing,
$sel:kmsKeyId:RestoreDBClusterFromS3' :: Maybe Text
kmsKeyId = forall a. Maybe a
Prelude.Nothing,
$sel:manageMasterUserPassword:RestoreDBClusterFromS3' :: Maybe Bool
manageMasterUserPassword = forall a. Maybe a
Prelude.Nothing,
$sel:masterUserPassword:RestoreDBClusterFromS3' :: Maybe Text
masterUserPassword = forall a. Maybe a
Prelude.Nothing,
$sel:masterUserSecretKmsKeyId:RestoreDBClusterFromS3' :: Maybe Text
masterUserSecretKmsKeyId = forall a. Maybe a
Prelude.Nothing,
$sel:networkType:RestoreDBClusterFromS3' :: Maybe Text
networkType = forall a. Maybe a
Prelude.Nothing,
$sel:optionGroupName:RestoreDBClusterFromS3' :: Maybe Text
optionGroupName = forall a. Maybe a
Prelude.Nothing,
$sel:port:RestoreDBClusterFromS3' :: Maybe Int
port = forall a. Maybe a
Prelude.Nothing,
$sel:preferredBackupWindow:RestoreDBClusterFromS3' :: Maybe Text
preferredBackupWindow = forall a. Maybe a
Prelude.Nothing,
$sel:preferredMaintenanceWindow:RestoreDBClusterFromS3' :: Maybe Text
preferredMaintenanceWindow = forall a. Maybe a
Prelude.Nothing,
$sel:s3Prefix:RestoreDBClusterFromS3' :: Maybe Text
s3Prefix = forall a. Maybe a
Prelude.Nothing,
$sel:serverlessV2ScalingConfiguration:RestoreDBClusterFromS3' :: Maybe ServerlessV2ScalingConfiguration
serverlessV2ScalingConfiguration = forall a. Maybe a
Prelude.Nothing,
$sel:storageEncrypted:RestoreDBClusterFromS3' :: Maybe Bool
storageEncrypted = forall a. Maybe a
Prelude.Nothing,
$sel:tags:RestoreDBClusterFromS3' :: Maybe [Tag]
tags = forall a. Maybe a
Prelude.Nothing,
$sel:vpcSecurityGroupIds:RestoreDBClusterFromS3' :: Maybe [Text]
vpcSecurityGroupIds = 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: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_availabilityZones :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe [Prelude.Text])
restoreDBClusterFromS3_availabilityZones :: Lens' RestoreDBClusterFromS3 (Maybe [Text])
restoreDBClusterFromS3_availabilityZones = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
restoreDBClusterFromS3_backtrackWindow :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Integer)
restoreDBClusterFromS3_backtrackWindow :: Lens' RestoreDBClusterFromS3 (Maybe Integer)
restoreDBClusterFromS3_backtrackWindow = 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_backupRetentionPeriod :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Int)
restoreDBClusterFromS3_backupRetentionPeriod :: Lens' RestoreDBClusterFromS3 (Maybe Int)
restoreDBClusterFromS3_backupRetentionPeriod = 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_characterSetName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_characterSetName :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_characterSetName = 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_copyTagsToSnapshot :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Bool)
restoreDBClusterFromS3_copyTagsToSnapshot :: Lens' RestoreDBClusterFromS3 (Maybe Bool)
restoreDBClusterFromS3_copyTagsToSnapshot = 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_dbClusterParameterGroupName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_dbClusterParameterGroupName :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_dbClusterParameterGroupName = 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_dbSubnetGroupName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_dbSubnetGroupName :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_dbSubnetGroupName = 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_databaseName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_databaseName :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_databaseName = 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_deletionProtection :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Bool)
restoreDBClusterFromS3_deletionProtection :: Lens' RestoreDBClusterFromS3 (Maybe Bool)
restoreDBClusterFromS3_deletionProtection = 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_domain :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_domain :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_domain = 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_domainIAMRoleName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_domainIAMRoleName :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_domainIAMRoleName = 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_enableCloudwatchLogsExports :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe [Prelude.Text])
restoreDBClusterFromS3_enableCloudwatchLogsExports :: Lens' RestoreDBClusterFromS3 (Maybe [Text])
restoreDBClusterFromS3_enableCloudwatchLogsExports = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
restoreDBClusterFromS3_enableIAMDatabaseAuthentication :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Bool)
restoreDBClusterFromS3_enableIAMDatabaseAuthentication :: Lens' RestoreDBClusterFromS3 (Maybe Bool)
restoreDBClusterFromS3_enableIAMDatabaseAuthentication = 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_engineVersion :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_engineVersion :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_engineVersion = 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_kmsKeyId :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_kmsKeyId :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_kmsKeyId = 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_manageMasterUserPassword :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Bool)
restoreDBClusterFromS3_manageMasterUserPassword :: Lens' RestoreDBClusterFromS3 (Maybe Bool)
restoreDBClusterFromS3_manageMasterUserPassword = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Bool
manageMasterUserPassword :: Maybe Bool
$sel:manageMasterUserPassword:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
manageMasterUserPassword} -> Maybe Bool
manageMasterUserPassword) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Bool
a -> RestoreDBClusterFromS3
s {$sel:manageMasterUserPassword:RestoreDBClusterFromS3' :: Maybe Bool
manageMasterUserPassword = Maybe Bool
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_masterUserPassword :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_masterUserPassword :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_masterUserPassword = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
masterUserPassword :: Maybe Text
$sel:masterUserPassword:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
masterUserPassword} -> Maybe Text
masterUserPassword) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:masterUserPassword:RestoreDBClusterFromS3' :: Maybe Text
masterUserPassword = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_masterUserSecretKmsKeyId :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_masterUserSecretKmsKeyId :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_masterUserSecretKmsKeyId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
masterUserSecretKmsKeyId :: Maybe Text
$sel:masterUserSecretKmsKeyId:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
masterUserSecretKmsKeyId} -> Maybe Text
masterUserSecretKmsKeyId) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:masterUserSecretKmsKeyId:RestoreDBClusterFromS3' :: Maybe Text
masterUserSecretKmsKeyId = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_networkType :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_networkType :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_networkType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe Text
networkType :: Maybe Text
$sel:networkType:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
networkType} -> Maybe Text
networkType) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe Text
a -> RestoreDBClusterFromS3
s {$sel:networkType:RestoreDBClusterFromS3' :: Maybe Text
networkType = Maybe Text
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_optionGroupName :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_optionGroupName :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_optionGroupName = 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_port :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Int)
restoreDBClusterFromS3_port :: Lens' RestoreDBClusterFromS3 (Maybe Int)
restoreDBClusterFromS3_port = 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_preferredBackupWindow :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_preferredBackupWindow :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_preferredBackupWindow = 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_preferredMaintenanceWindow :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_preferredMaintenanceWindow :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_preferredMaintenanceWindow = 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_s3Prefix :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Text)
restoreDBClusterFromS3_s3Prefix :: Lens' RestoreDBClusterFromS3 (Maybe Text)
restoreDBClusterFromS3_s3Prefix = 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_serverlessV2ScalingConfiguration :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe ServerlessV2ScalingConfiguration)
restoreDBClusterFromS3_serverlessV2ScalingConfiguration :: Lens'
RestoreDBClusterFromS3 (Maybe ServerlessV2ScalingConfiguration)
restoreDBClusterFromS3_serverlessV2ScalingConfiguration = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreDBClusterFromS3' {Maybe ServerlessV2ScalingConfiguration
serverlessV2ScalingConfiguration :: Maybe ServerlessV2ScalingConfiguration
$sel:serverlessV2ScalingConfiguration:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe ServerlessV2ScalingConfiguration
serverlessV2ScalingConfiguration} -> Maybe ServerlessV2ScalingConfiguration
serverlessV2ScalingConfiguration) (\s :: RestoreDBClusterFromS3
s@RestoreDBClusterFromS3' {} Maybe ServerlessV2ScalingConfiguration
a -> RestoreDBClusterFromS3
s {$sel:serverlessV2ScalingConfiguration:RestoreDBClusterFromS3' :: Maybe ServerlessV2ScalingConfiguration
serverlessV2ScalingConfiguration = Maybe ServerlessV2ScalingConfiguration
a} :: RestoreDBClusterFromS3)
restoreDBClusterFromS3_storageEncrypted :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe Prelude.Bool)
restoreDBClusterFromS3_storageEncrypted :: Lens' RestoreDBClusterFromS3 (Maybe Bool)
restoreDBClusterFromS3_storageEncrypted = 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_tags :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe [Tag])
restoreDBClusterFromS3_tags :: Lens' RestoreDBClusterFromS3 (Maybe [Tag])
restoreDBClusterFromS3_tags = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
restoreDBClusterFromS3_vpcSecurityGroupIds :: Lens.Lens' RestoreDBClusterFromS3 (Prelude.Maybe [Prelude.Text])
restoreDBClusterFromS3_vpcSecurityGroupIds :: Lens' RestoreDBClusterFromS3 (Maybe [Text])
restoreDBClusterFromS3_vpcSecurityGroupIds = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 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 :: Lens' RestoreDBClusterFromS3 Text
restoreDBClusterFromS3_dbClusterIdentifier = 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 :: Lens' RestoreDBClusterFromS3 Text
restoreDBClusterFromS3_engine = 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 :: Lens' RestoreDBClusterFromS3 Text
restoreDBClusterFromS3_masterUsername = 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_sourceEngine :: Lens.Lens' RestoreDBClusterFromS3 Prelude.Text
restoreDBClusterFromS3_sourceEngine :: Lens' RestoreDBClusterFromS3 Text
restoreDBClusterFromS3_sourceEngine = 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 :: Lens' RestoreDBClusterFromS3 Text
restoreDBClusterFromS3_sourceEngineVersion = 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 :: Lens' RestoreDBClusterFromS3 Text
restoreDBClusterFromS3_s3BucketName = 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 :: Lens' RestoreDBClusterFromS3 Text
restoreDBClusterFromS3_s3IngestionRoleArn = 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 :: (Service -> Service)
-> RestoreDBClusterFromS3 -> Request RestoreDBClusterFromS3
request Service -> Service
overrides =
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy RestoreDBClusterFromS3
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse RestoreDBClusterFromS3)))
response =
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> 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'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"DBCluster")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable RestoreDBClusterFromS3 where
hashWithSalt :: Int -> RestoreDBClusterFromS3 -> Int
hashWithSalt Int
_salt RestoreDBClusterFromS3' {Maybe Bool
Maybe Int
Maybe Integer
Maybe [Text]
Maybe [Tag]
Maybe Text
Maybe ServerlessV2ScalingConfiguration
Text
s3IngestionRoleArn :: Text
s3BucketName :: Text
sourceEngineVersion :: Text
sourceEngine :: Text
masterUsername :: Text
engine :: Text
dbClusterIdentifier :: Text
vpcSecurityGroupIds :: Maybe [Text]
tags :: Maybe [Tag]
storageEncrypted :: Maybe Bool
serverlessV2ScalingConfiguration :: Maybe ServerlessV2ScalingConfiguration
s3Prefix :: Maybe Text
preferredMaintenanceWindow :: Maybe Text
preferredBackupWindow :: Maybe Text
port :: Maybe Int
optionGroupName :: Maybe Text
networkType :: Maybe Text
masterUserSecretKmsKeyId :: Maybe Text
masterUserPassword :: Maybe Text
manageMasterUserPassword :: Maybe Bool
kmsKeyId :: Maybe Text
engineVersion :: Maybe Text
enableIAMDatabaseAuthentication :: Maybe Bool
enableCloudwatchLogsExports :: Maybe [Text]
domainIAMRoleName :: Maybe Text
domain :: Maybe Text
deletionProtection :: Maybe Bool
databaseName :: Maybe Text
dbSubnetGroupName :: Maybe Text
dbClusterParameterGroupName :: Maybe Text
copyTagsToSnapshot :: Maybe Bool
characterSetName :: Maybe Text
backupRetentionPeriod :: Maybe Int
backtrackWindow :: Maybe Integer
availabilityZones :: Maybe [Text]
$sel:s3IngestionRoleArn:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:s3BucketName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:sourceEngineVersion:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:sourceEngine:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:masterUsername:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:engine:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:dbClusterIdentifier:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:vpcSecurityGroupIds:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
$sel:tags:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Tag]
$sel:storageEncrypted:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:serverlessV2ScalingConfiguration:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe ServerlessV2ScalingConfiguration
$sel:s3Prefix:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:preferredMaintenanceWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:preferredBackupWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:port:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Int
$sel:optionGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:networkType:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:masterUserSecretKmsKeyId:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:masterUserPassword:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:manageMasterUserPassword:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:kmsKeyId:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:engineVersion:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:enableIAMDatabaseAuthentication:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:enableCloudwatchLogsExports:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
$sel:domainIAMRoleName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:domain:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:deletionProtection:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:databaseName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:dbSubnetGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:dbClusterParameterGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:copyTagsToSnapshot:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:characterSetName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:backupRetentionPeriod:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Int
$sel:backtrackWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Integer
$sel:availabilityZones:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
availabilityZones
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
backtrackWindow
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
backupRetentionPeriod
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
characterSetName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
copyTagsToSnapshot
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
dbClusterParameterGroupName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
dbSubnetGroupName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
databaseName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
deletionProtection
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
domain
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
domainIAMRoleName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
enableCloudwatchLogsExports
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
enableIAMDatabaseAuthentication
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
engineVersion
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
kmsKeyId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
manageMasterUserPassword
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
masterUserPassword
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
masterUserSecretKmsKeyId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
networkType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
optionGroupName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
port
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
preferredBackupWindow
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
preferredMaintenanceWindow
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
s3Prefix
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ServerlessV2ScalingConfiguration
serverlessV2ScalingConfiguration
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
storageEncrypted
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Tag]
tags
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
vpcSecurityGroupIds
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
dbClusterIdentifier
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
engine
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
masterUsername
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
sourceEngine
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
sourceEngineVersion
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
s3BucketName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
s3IngestionRoleArn
instance Prelude.NFData RestoreDBClusterFromS3 where
rnf :: RestoreDBClusterFromS3 -> ()
rnf RestoreDBClusterFromS3' {Maybe Bool
Maybe Int
Maybe Integer
Maybe [Text]
Maybe [Tag]
Maybe Text
Maybe ServerlessV2ScalingConfiguration
Text
s3IngestionRoleArn :: Text
s3BucketName :: Text
sourceEngineVersion :: Text
sourceEngine :: Text
masterUsername :: Text
engine :: Text
dbClusterIdentifier :: Text
vpcSecurityGroupIds :: Maybe [Text]
tags :: Maybe [Tag]
storageEncrypted :: Maybe Bool
serverlessV2ScalingConfiguration :: Maybe ServerlessV2ScalingConfiguration
s3Prefix :: Maybe Text
preferredMaintenanceWindow :: Maybe Text
preferredBackupWindow :: Maybe Text
port :: Maybe Int
optionGroupName :: Maybe Text
networkType :: Maybe Text
masterUserSecretKmsKeyId :: Maybe Text
masterUserPassword :: Maybe Text
manageMasterUserPassword :: Maybe Bool
kmsKeyId :: Maybe Text
engineVersion :: Maybe Text
enableIAMDatabaseAuthentication :: Maybe Bool
enableCloudwatchLogsExports :: Maybe [Text]
domainIAMRoleName :: Maybe Text
domain :: Maybe Text
deletionProtection :: Maybe Bool
databaseName :: Maybe Text
dbSubnetGroupName :: Maybe Text
dbClusterParameterGroupName :: Maybe Text
copyTagsToSnapshot :: Maybe Bool
characterSetName :: Maybe Text
backupRetentionPeriod :: Maybe Int
backtrackWindow :: Maybe Integer
availabilityZones :: Maybe [Text]
$sel:s3IngestionRoleArn:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:s3BucketName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:sourceEngineVersion:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:sourceEngine:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:masterUsername:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:engine:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:dbClusterIdentifier:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:vpcSecurityGroupIds:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
$sel:tags:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Tag]
$sel:storageEncrypted:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:serverlessV2ScalingConfiguration:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe ServerlessV2ScalingConfiguration
$sel:s3Prefix:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:preferredMaintenanceWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:preferredBackupWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:port:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Int
$sel:optionGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:networkType:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:masterUserSecretKmsKeyId:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:masterUserPassword:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:manageMasterUserPassword:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:kmsKeyId:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:engineVersion:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:enableIAMDatabaseAuthentication:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:enableCloudwatchLogsExports:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
$sel:domainIAMRoleName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:domain:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:deletionProtection:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:databaseName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:dbSubnetGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:dbClusterParameterGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:copyTagsToSnapshot:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:characterSetName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:backupRetentionPeriod:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Int
$sel:backtrackWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Integer
$sel:availabilityZones:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
availabilityZones
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
backtrackWindow
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
backupRetentionPeriod
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
characterSetName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
copyTagsToSnapshot
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
dbClusterParameterGroupName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
dbSubnetGroupName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
databaseName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
deletionProtection
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
domain
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
domainIAMRoleName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
enableCloudwatchLogsExports
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
enableIAMDatabaseAuthentication
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
engineVersion
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
kmsKeyId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
manageMasterUserPassword
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
masterUserPassword
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
masterUserSecretKmsKeyId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
networkType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
optionGroupName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
port
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
preferredBackupWindow
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
preferredMaintenanceWindow
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
s3Prefix
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe ServerlessV2ScalingConfiguration
serverlessV2ScalingConfiguration
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Bool
storageEncrypted
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Tag]
tags
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe [Text]
vpcSecurityGroupIds
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Text
dbClusterIdentifier
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Text
engine
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Text
masterUsername
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Text
sourceEngine
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Text
sourceEngineVersion
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Text
s3BucketName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Text
s3IngestionRoleArn
instance Data.ToHeaders RestoreDBClusterFromS3 where
toHeaders :: RestoreDBClusterFromS3 -> ResponseHeaders
toHeaders = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
instance Data.ToPath RestoreDBClusterFromS3 where
toPath :: RestoreDBClusterFromS3 -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Data.ToQuery RestoreDBClusterFromS3 where
toQuery :: RestoreDBClusterFromS3 -> QueryString
toQuery RestoreDBClusterFromS3' {Maybe Bool
Maybe Int
Maybe Integer
Maybe [Text]
Maybe [Tag]
Maybe Text
Maybe ServerlessV2ScalingConfiguration
Text
s3IngestionRoleArn :: Text
s3BucketName :: Text
sourceEngineVersion :: Text
sourceEngine :: Text
masterUsername :: Text
engine :: Text
dbClusterIdentifier :: Text
vpcSecurityGroupIds :: Maybe [Text]
tags :: Maybe [Tag]
storageEncrypted :: Maybe Bool
serverlessV2ScalingConfiguration :: Maybe ServerlessV2ScalingConfiguration
s3Prefix :: Maybe Text
preferredMaintenanceWindow :: Maybe Text
preferredBackupWindow :: Maybe Text
port :: Maybe Int
optionGroupName :: Maybe Text
networkType :: Maybe Text
masterUserSecretKmsKeyId :: Maybe Text
masterUserPassword :: Maybe Text
manageMasterUserPassword :: Maybe Bool
kmsKeyId :: Maybe Text
engineVersion :: Maybe Text
enableIAMDatabaseAuthentication :: Maybe Bool
enableCloudwatchLogsExports :: Maybe [Text]
domainIAMRoleName :: Maybe Text
domain :: Maybe Text
deletionProtection :: Maybe Bool
databaseName :: Maybe Text
dbSubnetGroupName :: Maybe Text
dbClusterParameterGroupName :: Maybe Text
copyTagsToSnapshot :: Maybe Bool
characterSetName :: Maybe Text
backupRetentionPeriod :: Maybe Int
backtrackWindow :: Maybe Integer
availabilityZones :: Maybe [Text]
$sel:s3IngestionRoleArn:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:s3BucketName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:sourceEngineVersion:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:sourceEngine:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:masterUsername:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:engine:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:dbClusterIdentifier:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Text
$sel:vpcSecurityGroupIds:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
$sel:tags:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Tag]
$sel:storageEncrypted:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:serverlessV2ScalingConfiguration:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe ServerlessV2ScalingConfiguration
$sel:s3Prefix:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:preferredMaintenanceWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:preferredBackupWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:port:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Int
$sel:optionGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:networkType:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:masterUserSecretKmsKeyId:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:masterUserPassword:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:manageMasterUserPassword:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:kmsKeyId:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:engineVersion:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:enableIAMDatabaseAuthentication:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:enableCloudwatchLogsExports:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
$sel:domainIAMRoleName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:domain:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:deletionProtection:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:databaseName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:dbSubnetGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:dbClusterParameterGroupName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:copyTagsToSnapshot:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Bool
$sel:characterSetName:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Text
$sel:backupRetentionPeriod:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Int
$sel:backtrackWindow:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe Integer
$sel:availabilityZones:RestoreDBClusterFromS3' :: RestoreDBClusterFromS3 -> Maybe [Text]
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"RestoreDBClusterFromS3" :: Prelude.ByteString),
ByteString
"Version"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"2014-10-31" :: Prelude.ByteString),
ByteString
"AvailabilityZones"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a. ToQuery a => a -> QueryString
Data.toQuery
( forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"AvailabilityZone"
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
availabilityZones
),
ByteString
"BacktrackWindow" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Integer
backtrackWindow,
ByteString
"BackupRetentionPeriod"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Int
backupRetentionPeriod,
ByteString
"CharacterSetName" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
characterSetName,
ByteString
"CopyTagsToSnapshot" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
copyTagsToSnapshot,
ByteString
"DBClusterParameterGroupName"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
dbClusterParameterGroupName,
ByteString
"DBSubnetGroupName" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
dbSubnetGroupName,
ByteString
"DatabaseName" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
databaseName,
ByteString
"DeletionProtection" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
deletionProtection,
ByteString
"Domain" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
domain,
ByteString
"DomainIAMRoleName" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
domainIAMRoleName,
ByteString
"EnableCloudwatchLogsExports"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a. ToQuery a => a -> QueryString
Data.toQuery
( forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"member"
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
enableCloudwatchLogsExports
),
ByteString
"EnableIAMDatabaseAuthentication"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
enableIAMDatabaseAuthentication,
ByteString
"EngineVersion" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
engineVersion,
ByteString
"KmsKeyId" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
kmsKeyId,
ByteString
"ManageMasterUserPassword"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
manageMasterUserPassword,
ByteString
"MasterUserPassword" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
masterUserPassword,
ByteString
"MasterUserSecretKmsKeyId"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
masterUserSecretKmsKeyId,
ByteString
"NetworkType" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
networkType,
ByteString
"OptionGroupName" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
optionGroupName,
ByteString
"Port" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Int
port,
ByteString
"PreferredBackupWindow"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
preferredBackupWindow,
ByteString
"PreferredMaintenanceWindow"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
preferredMaintenanceWindow,
ByteString
"S3Prefix" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
s3Prefix,
ByteString
"ServerlessV2ScalingConfiguration"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe ServerlessV2ScalingConfiguration
serverlessV2ScalingConfiguration,
ByteString
"StorageEncrypted" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
storageEncrypted,
ByteString
"Tags"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a. ToQuery a => a -> QueryString
Data.toQuery
(forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"Tag" forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags),
ByteString
"VpcSecurityGroupIds"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: forall a. ToQuery a => a -> QueryString
Data.toQuery
( forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList ByteString
"VpcSecurityGroupId"
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
vpcSecurityGroupIds
),
ByteString
"DBClusterIdentifier" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
dbClusterIdentifier,
ByteString
"Engine" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
engine,
ByteString
"MasterUsername" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
masterUsername,
ByteString
"SourceEngine" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
sourceEngine,
ByteString
"SourceEngineVersion" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
sourceEngineVersion,
ByteString
"S3BucketName" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
s3BucketName,
ByteString
"S3IngestionRoleArn" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
s3IngestionRoleArn
]
data RestoreDBClusterFromS3Response = RestoreDBClusterFromS3Response'
{ RestoreDBClusterFromS3Response -> Maybe DBCluster
dbCluster :: Prelude.Maybe DBCluster,
RestoreDBClusterFromS3Response -> Int
httpStatus :: Prelude.Int
}
deriving (RestoreDBClusterFromS3Response
-> RestoreDBClusterFromS3Response -> Bool
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]
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
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.
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'
{ $sel:dbCluster:RestoreDBClusterFromS3Response' :: Maybe DBCluster
dbCluster =
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:RestoreDBClusterFromS3Response' :: Int
httpStatus = Int
pHttpStatus_
}
restoreDBClusterFromS3Response_dbCluster :: Lens.Lens' RestoreDBClusterFromS3Response (Prelude.Maybe DBCluster)
restoreDBClusterFromS3Response_dbCluster :: Lens' RestoreDBClusterFromS3Response (Maybe DBCluster)
restoreDBClusterFromS3Response_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 :: Lens' RestoreDBClusterFromS3Response Int
restoreDBClusterFromS3Response_httpStatus = 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
where
rnf :: RestoreDBClusterFromS3Response -> ()
rnf RestoreDBClusterFromS3Response' {Int
Maybe DBCluster
httpStatus :: Int
dbCluster :: Maybe DBCluster
$sel:httpStatus:RestoreDBClusterFromS3Response' :: RestoreDBClusterFromS3Response -> Int
$sel:dbCluster:RestoreDBClusterFromS3Response' :: RestoreDBClusterFromS3Response -> Maybe DBCluster
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe DBCluster
dbCluster
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus