{-# 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.Redshift.RestoreFromClusterSnapshot
(
RestoreFromClusterSnapshot (..),
newRestoreFromClusterSnapshot,
restoreFromClusterSnapshot_additionalInfo,
restoreFromClusterSnapshot_allowVersionUpgrade,
restoreFromClusterSnapshot_aquaConfigurationStatus,
restoreFromClusterSnapshot_automatedSnapshotRetentionPeriod,
restoreFromClusterSnapshot_availabilityZone,
restoreFromClusterSnapshot_availabilityZoneRelocation,
restoreFromClusterSnapshot_clusterParameterGroupName,
restoreFromClusterSnapshot_clusterSecurityGroups,
restoreFromClusterSnapshot_clusterSubnetGroupName,
restoreFromClusterSnapshot_defaultIamRoleArn,
restoreFromClusterSnapshot_elasticIp,
restoreFromClusterSnapshot_encrypted,
restoreFromClusterSnapshot_enhancedVpcRouting,
restoreFromClusterSnapshot_hsmClientCertificateIdentifier,
restoreFromClusterSnapshot_hsmConfigurationIdentifier,
restoreFromClusterSnapshot_iamRoles,
restoreFromClusterSnapshot_kmsKeyId,
restoreFromClusterSnapshot_maintenanceTrackName,
restoreFromClusterSnapshot_manualSnapshotRetentionPeriod,
restoreFromClusterSnapshot_nodeType,
restoreFromClusterSnapshot_numberOfNodes,
restoreFromClusterSnapshot_ownerAccount,
restoreFromClusterSnapshot_port,
restoreFromClusterSnapshot_preferredMaintenanceWindow,
restoreFromClusterSnapshot_publiclyAccessible,
restoreFromClusterSnapshot_reservedNodeId,
restoreFromClusterSnapshot_snapshotArn,
restoreFromClusterSnapshot_snapshotClusterIdentifier,
restoreFromClusterSnapshot_snapshotIdentifier,
restoreFromClusterSnapshot_snapshotScheduleIdentifier,
restoreFromClusterSnapshot_targetReservedNodeOfferingId,
restoreFromClusterSnapshot_vpcSecurityGroupIds,
restoreFromClusterSnapshot_clusterIdentifier,
RestoreFromClusterSnapshotResponse (..),
newRestoreFromClusterSnapshotResponse,
restoreFromClusterSnapshotResponse_cluster,
restoreFromClusterSnapshotResponse_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.Redshift.Types
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data RestoreFromClusterSnapshot = RestoreFromClusterSnapshot'
{
RestoreFromClusterSnapshot -> Maybe Text
additionalInfo :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Bool
allowVersionUpgrade :: Prelude.Maybe Prelude.Bool,
RestoreFromClusterSnapshot -> Maybe AquaConfigurationStatus
aquaConfigurationStatus :: Prelude.Maybe AquaConfigurationStatus,
RestoreFromClusterSnapshot -> Maybe Int
automatedSnapshotRetentionPeriod :: Prelude.Maybe Prelude.Int,
RestoreFromClusterSnapshot -> Maybe Text
availabilityZone :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Bool
availabilityZoneRelocation :: Prelude.Maybe Prelude.Bool,
RestoreFromClusterSnapshot -> Maybe Text
clusterParameterGroupName :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe [Text]
clusterSecurityGroups :: Prelude.Maybe [Prelude.Text],
RestoreFromClusterSnapshot -> Maybe Text
clusterSubnetGroupName :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Text
defaultIamRoleArn :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Text
elasticIp :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Bool
encrypted :: Prelude.Maybe Prelude.Bool,
RestoreFromClusterSnapshot -> Maybe Bool
enhancedVpcRouting :: Prelude.Maybe Prelude.Bool,
RestoreFromClusterSnapshot -> Maybe Text
hsmClientCertificateIdentifier :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Text
hsmConfigurationIdentifier :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe [Text]
iamRoles :: Prelude.Maybe [Prelude.Text],
RestoreFromClusterSnapshot -> Maybe Text
kmsKeyId :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Text
maintenanceTrackName :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Int
manualSnapshotRetentionPeriod :: Prelude.Maybe Prelude.Int,
RestoreFromClusterSnapshot -> Maybe Text
nodeType :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Int
numberOfNodes :: Prelude.Maybe Prelude.Int,
RestoreFromClusterSnapshot -> Maybe Text
ownerAccount :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Int
port :: Prelude.Maybe Prelude.Int,
RestoreFromClusterSnapshot -> Maybe Text
preferredMaintenanceWindow :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Bool
publiclyAccessible :: Prelude.Maybe Prelude.Bool,
RestoreFromClusterSnapshot -> Maybe Text
reservedNodeId :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Text
snapshotArn :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Text
snapshotClusterIdentifier :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Text
snapshotIdentifier :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Text
snapshotScheduleIdentifier :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe Text
targetReservedNodeOfferingId :: Prelude.Maybe Prelude.Text,
RestoreFromClusterSnapshot -> Maybe [Text]
vpcSecurityGroupIds :: Prelude.Maybe [Prelude.Text],
RestoreFromClusterSnapshot -> Text
clusterIdentifier :: Prelude.Text
}
deriving (RestoreFromClusterSnapshot -> RestoreFromClusterSnapshot -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RestoreFromClusterSnapshot -> RestoreFromClusterSnapshot -> Bool
$c/= :: RestoreFromClusterSnapshot -> RestoreFromClusterSnapshot -> Bool
== :: RestoreFromClusterSnapshot -> RestoreFromClusterSnapshot -> Bool
$c== :: RestoreFromClusterSnapshot -> RestoreFromClusterSnapshot -> Bool
Prelude.Eq, ReadPrec [RestoreFromClusterSnapshot]
ReadPrec RestoreFromClusterSnapshot
Int -> ReadS RestoreFromClusterSnapshot
ReadS [RestoreFromClusterSnapshot]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RestoreFromClusterSnapshot]
$creadListPrec :: ReadPrec [RestoreFromClusterSnapshot]
readPrec :: ReadPrec RestoreFromClusterSnapshot
$creadPrec :: ReadPrec RestoreFromClusterSnapshot
readList :: ReadS [RestoreFromClusterSnapshot]
$creadList :: ReadS [RestoreFromClusterSnapshot]
readsPrec :: Int -> ReadS RestoreFromClusterSnapshot
$creadsPrec :: Int -> ReadS RestoreFromClusterSnapshot
Prelude.Read, Int -> RestoreFromClusterSnapshot -> ShowS
[RestoreFromClusterSnapshot] -> ShowS
RestoreFromClusterSnapshot -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RestoreFromClusterSnapshot] -> ShowS
$cshowList :: [RestoreFromClusterSnapshot] -> ShowS
show :: RestoreFromClusterSnapshot -> String
$cshow :: RestoreFromClusterSnapshot -> String
showsPrec :: Int -> RestoreFromClusterSnapshot -> ShowS
$cshowsPrec :: Int -> RestoreFromClusterSnapshot -> ShowS
Prelude.Show, forall x.
Rep RestoreFromClusterSnapshot x -> RestoreFromClusterSnapshot
forall x.
RestoreFromClusterSnapshot -> Rep RestoreFromClusterSnapshot x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep RestoreFromClusterSnapshot x -> RestoreFromClusterSnapshot
$cfrom :: forall x.
RestoreFromClusterSnapshot -> Rep RestoreFromClusterSnapshot x
Prelude.Generic)
newRestoreFromClusterSnapshot ::
Prelude.Text ->
RestoreFromClusterSnapshot
newRestoreFromClusterSnapshot :: Text -> RestoreFromClusterSnapshot
newRestoreFromClusterSnapshot Text
pClusterIdentifier_ =
RestoreFromClusterSnapshot'
{ $sel:additionalInfo:RestoreFromClusterSnapshot' :: Maybe Text
additionalInfo =
forall a. Maybe a
Prelude.Nothing,
$sel:allowVersionUpgrade:RestoreFromClusterSnapshot' :: Maybe Bool
allowVersionUpgrade = forall a. Maybe a
Prelude.Nothing,
$sel:aquaConfigurationStatus:RestoreFromClusterSnapshot' :: Maybe AquaConfigurationStatus
aquaConfigurationStatus = forall a. Maybe a
Prelude.Nothing,
$sel:automatedSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: Maybe Int
automatedSnapshotRetentionPeriod =
forall a. Maybe a
Prelude.Nothing,
$sel:availabilityZone:RestoreFromClusterSnapshot' :: Maybe Text
availabilityZone = forall a. Maybe a
Prelude.Nothing,
$sel:availabilityZoneRelocation:RestoreFromClusterSnapshot' :: Maybe Bool
availabilityZoneRelocation = forall a. Maybe a
Prelude.Nothing,
$sel:clusterParameterGroupName:RestoreFromClusterSnapshot' :: Maybe Text
clusterParameterGroupName = forall a. Maybe a
Prelude.Nothing,
$sel:clusterSecurityGroups:RestoreFromClusterSnapshot' :: Maybe [Text]
clusterSecurityGroups = forall a. Maybe a
Prelude.Nothing,
$sel:clusterSubnetGroupName:RestoreFromClusterSnapshot' :: Maybe Text
clusterSubnetGroupName = forall a. Maybe a
Prelude.Nothing,
$sel:defaultIamRoleArn:RestoreFromClusterSnapshot' :: Maybe Text
defaultIamRoleArn = forall a. Maybe a
Prelude.Nothing,
$sel:elasticIp:RestoreFromClusterSnapshot' :: Maybe Text
elasticIp = forall a. Maybe a
Prelude.Nothing,
$sel:encrypted:RestoreFromClusterSnapshot' :: Maybe Bool
encrypted = forall a. Maybe a
Prelude.Nothing,
$sel:enhancedVpcRouting:RestoreFromClusterSnapshot' :: Maybe Bool
enhancedVpcRouting = forall a. Maybe a
Prelude.Nothing,
$sel:hsmClientCertificateIdentifier:RestoreFromClusterSnapshot' :: Maybe Text
hsmClientCertificateIdentifier =
forall a. Maybe a
Prelude.Nothing,
$sel:hsmConfigurationIdentifier:RestoreFromClusterSnapshot' :: Maybe Text
hsmConfigurationIdentifier = forall a. Maybe a
Prelude.Nothing,
$sel:iamRoles:RestoreFromClusterSnapshot' :: Maybe [Text]
iamRoles = forall a. Maybe a
Prelude.Nothing,
$sel:kmsKeyId:RestoreFromClusterSnapshot' :: Maybe Text
kmsKeyId = forall a. Maybe a
Prelude.Nothing,
$sel:maintenanceTrackName:RestoreFromClusterSnapshot' :: Maybe Text
maintenanceTrackName = forall a. Maybe a
Prelude.Nothing,
$sel:manualSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: Maybe Int
manualSnapshotRetentionPeriod = forall a. Maybe a
Prelude.Nothing,
$sel:nodeType:RestoreFromClusterSnapshot' :: Maybe Text
nodeType = forall a. Maybe a
Prelude.Nothing,
$sel:numberOfNodes:RestoreFromClusterSnapshot' :: Maybe Int
numberOfNodes = forall a. Maybe a
Prelude.Nothing,
$sel:ownerAccount:RestoreFromClusterSnapshot' :: Maybe Text
ownerAccount = forall a. Maybe a
Prelude.Nothing,
$sel:port:RestoreFromClusterSnapshot' :: Maybe Int
port = forall a. Maybe a
Prelude.Nothing,
$sel:preferredMaintenanceWindow:RestoreFromClusterSnapshot' :: Maybe Text
preferredMaintenanceWindow = forall a. Maybe a
Prelude.Nothing,
$sel:publiclyAccessible:RestoreFromClusterSnapshot' :: Maybe Bool
publiclyAccessible = forall a. Maybe a
Prelude.Nothing,
$sel:reservedNodeId:RestoreFromClusterSnapshot' :: Maybe Text
reservedNodeId = forall a. Maybe a
Prelude.Nothing,
$sel:snapshotArn:RestoreFromClusterSnapshot' :: Maybe Text
snapshotArn = forall a. Maybe a
Prelude.Nothing,
$sel:snapshotClusterIdentifier:RestoreFromClusterSnapshot' :: Maybe Text
snapshotClusterIdentifier = forall a. Maybe a
Prelude.Nothing,
$sel:snapshotIdentifier:RestoreFromClusterSnapshot' :: Maybe Text
snapshotIdentifier = forall a. Maybe a
Prelude.Nothing,
$sel:snapshotScheduleIdentifier:RestoreFromClusterSnapshot' :: Maybe Text
snapshotScheduleIdentifier = forall a. Maybe a
Prelude.Nothing,
$sel:targetReservedNodeOfferingId:RestoreFromClusterSnapshot' :: Maybe Text
targetReservedNodeOfferingId = forall a. Maybe a
Prelude.Nothing,
$sel:vpcSecurityGroupIds:RestoreFromClusterSnapshot' :: Maybe [Text]
vpcSecurityGroupIds = forall a. Maybe a
Prelude.Nothing,
$sel:clusterIdentifier:RestoreFromClusterSnapshot' :: Text
clusterIdentifier = Text
pClusterIdentifier_
}
restoreFromClusterSnapshot_additionalInfo :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_additionalInfo :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_additionalInfo = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
additionalInfo :: Maybe Text
$sel:additionalInfo:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
additionalInfo} -> Maybe Text
additionalInfo) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:additionalInfo:RestoreFromClusterSnapshot' :: Maybe Text
additionalInfo = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_allowVersionUpgrade :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Bool)
restoreFromClusterSnapshot_allowVersionUpgrade :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
restoreFromClusterSnapshot_allowVersionUpgrade = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Bool
allowVersionUpgrade :: Maybe Bool
$sel:allowVersionUpgrade:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
allowVersionUpgrade} -> Maybe Bool
allowVersionUpgrade) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Bool
a -> RestoreFromClusterSnapshot
s {$sel:allowVersionUpgrade:RestoreFromClusterSnapshot' :: Maybe Bool
allowVersionUpgrade = Maybe Bool
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_aquaConfigurationStatus :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe AquaConfigurationStatus)
restoreFromClusterSnapshot_aquaConfigurationStatus :: Lens' RestoreFromClusterSnapshot (Maybe AquaConfigurationStatus)
restoreFromClusterSnapshot_aquaConfigurationStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe AquaConfigurationStatus
aquaConfigurationStatus :: Maybe AquaConfigurationStatus
$sel:aquaConfigurationStatus:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe AquaConfigurationStatus
aquaConfigurationStatus} -> Maybe AquaConfigurationStatus
aquaConfigurationStatus) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe AquaConfigurationStatus
a -> RestoreFromClusterSnapshot
s {$sel:aquaConfigurationStatus:RestoreFromClusterSnapshot' :: Maybe AquaConfigurationStatus
aquaConfigurationStatus = Maybe AquaConfigurationStatus
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_automatedSnapshotRetentionPeriod :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Int)
restoreFromClusterSnapshot_automatedSnapshotRetentionPeriod :: Lens' RestoreFromClusterSnapshot (Maybe Int)
restoreFromClusterSnapshot_automatedSnapshotRetentionPeriod = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Int
automatedSnapshotRetentionPeriod :: Maybe Int
$sel:automatedSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
automatedSnapshotRetentionPeriod} -> Maybe Int
automatedSnapshotRetentionPeriod) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Int
a -> RestoreFromClusterSnapshot
s {$sel:automatedSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: Maybe Int
automatedSnapshotRetentionPeriod = Maybe Int
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_availabilityZone :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_availabilityZone :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_availabilityZone = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
availabilityZone :: Maybe Text
$sel:availabilityZone:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
availabilityZone} -> Maybe Text
availabilityZone) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:availabilityZone:RestoreFromClusterSnapshot' :: Maybe Text
availabilityZone = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_availabilityZoneRelocation :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Bool)
restoreFromClusterSnapshot_availabilityZoneRelocation :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
restoreFromClusterSnapshot_availabilityZoneRelocation = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Bool
availabilityZoneRelocation :: Maybe Bool
$sel:availabilityZoneRelocation:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
availabilityZoneRelocation} -> Maybe Bool
availabilityZoneRelocation) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Bool
a -> RestoreFromClusterSnapshot
s {$sel:availabilityZoneRelocation:RestoreFromClusterSnapshot' :: Maybe Bool
availabilityZoneRelocation = Maybe Bool
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_clusterParameterGroupName :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_clusterParameterGroupName :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_clusterParameterGroupName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
clusterParameterGroupName :: Maybe Text
$sel:clusterParameterGroupName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
clusterParameterGroupName} -> Maybe Text
clusterParameterGroupName) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:clusterParameterGroupName:RestoreFromClusterSnapshot' :: Maybe Text
clusterParameterGroupName = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_clusterSecurityGroups :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe [Prelude.Text])
restoreFromClusterSnapshot_clusterSecurityGroups :: Lens' RestoreFromClusterSnapshot (Maybe [Text])
restoreFromClusterSnapshot_clusterSecurityGroups = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe [Text]
clusterSecurityGroups :: Maybe [Text]
$sel:clusterSecurityGroups:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
clusterSecurityGroups} -> Maybe [Text]
clusterSecurityGroups) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe [Text]
a -> RestoreFromClusterSnapshot
s {$sel:clusterSecurityGroups:RestoreFromClusterSnapshot' :: Maybe [Text]
clusterSecurityGroups = Maybe [Text]
a} :: RestoreFromClusterSnapshot) 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
restoreFromClusterSnapshot_clusterSubnetGroupName :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_clusterSubnetGroupName :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_clusterSubnetGroupName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
clusterSubnetGroupName :: Maybe Text
$sel:clusterSubnetGroupName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
clusterSubnetGroupName} -> Maybe Text
clusterSubnetGroupName) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:clusterSubnetGroupName:RestoreFromClusterSnapshot' :: Maybe Text
clusterSubnetGroupName = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_defaultIamRoleArn :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_defaultIamRoleArn :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_defaultIamRoleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
defaultIamRoleArn :: Maybe Text
$sel:defaultIamRoleArn:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
defaultIamRoleArn} -> Maybe Text
defaultIamRoleArn) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:defaultIamRoleArn:RestoreFromClusterSnapshot' :: Maybe Text
defaultIamRoleArn = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_elasticIp :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_elasticIp :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_elasticIp = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
elasticIp :: Maybe Text
$sel:elasticIp:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
elasticIp} -> Maybe Text
elasticIp) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:elasticIp:RestoreFromClusterSnapshot' :: Maybe Text
elasticIp = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_encrypted :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Bool)
restoreFromClusterSnapshot_encrypted :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
restoreFromClusterSnapshot_encrypted = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Bool
encrypted :: Maybe Bool
$sel:encrypted:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
encrypted} -> Maybe Bool
encrypted) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Bool
a -> RestoreFromClusterSnapshot
s {$sel:encrypted:RestoreFromClusterSnapshot' :: Maybe Bool
encrypted = Maybe Bool
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_enhancedVpcRouting :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Bool)
restoreFromClusterSnapshot_enhancedVpcRouting :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
restoreFromClusterSnapshot_enhancedVpcRouting = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Bool
enhancedVpcRouting :: Maybe Bool
$sel:enhancedVpcRouting:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
enhancedVpcRouting} -> Maybe Bool
enhancedVpcRouting) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Bool
a -> RestoreFromClusterSnapshot
s {$sel:enhancedVpcRouting:RestoreFromClusterSnapshot' :: Maybe Bool
enhancedVpcRouting = Maybe Bool
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_hsmClientCertificateIdentifier :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_hsmClientCertificateIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_hsmClientCertificateIdentifier = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
hsmClientCertificateIdentifier :: Maybe Text
$sel:hsmClientCertificateIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
hsmClientCertificateIdentifier} -> Maybe Text
hsmClientCertificateIdentifier) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:hsmClientCertificateIdentifier:RestoreFromClusterSnapshot' :: Maybe Text
hsmClientCertificateIdentifier = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_hsmConfigurationIdentifier :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_hsmConfigurationIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_hsmConfigurationIdentifier = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
hsmConfigurationIdentifier :: Maybe Text
$sel:hsmConfigurationIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
hsmConfigurationIdentifier} -> Maybe Text
hsmConfigurationIdentifier) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:hsmConfigurationIdentifier:RestoreFromClusterSnapshot' :: Maybe Text
hsmConfigurationIdentifier = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_iamRoles :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe [Prelude.Text])
restoreFromClusterSnapshot_iamRoles :: Lens' RestoreFromClusterSnapshot (Maybe [Text])
restoreFromClusterSnapshot_iamRoles = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe [Text]
iamRoles :: Maybe [Text]
$sel:iamRoles:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
iamRoles} -> Maybe [Text]
iamRoles) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe [Text]
a -> RestoreFromClusterSnapshot
s {$sel:iamRoles:RestoreFromClusterSnapshot' :: Maybe [Text]
iamRoles = Maybe [Text]
a} :: RestoreFromClusterSnapshot) 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
restoreFromClusterSnapshot_kmsKeyId :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_kmsKeyId :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_kmsKeyId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
kmsKeyId :: Maybe Text
$sel:kmsKeyId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
kmsKeyId} -> Maybe Text
kmsKeyId) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:kmsKeyId:RestoreFromClusterSnapshot' :: Maybe Text
kmsKeyId = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_maintenanceTrackName :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_maintenanceTrackName :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_maintenanceTrackName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
maintenanceTrackName :: Maybe Text
$sel:maintenanceTrackName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
maintenanceTrackName} -> Maybe Text
maintenanceTrackName) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:maintenanceTrackName:RestoreFromClusterSnapshot' :: Maybe Text
maintenanceTrackName = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_manualSnapshotRetentionPeriod :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Int)
restoreFromClusterSnapshot_manualSnapshotRetentionPeriod :: Lens' RestoreFromClusterSnapshot (Maybe Int)
restoreFromClusterSnapshot_manualSnapshotRetentionPeriod = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Int
manualSnapshotRetentionPeriod :: Maybe Int
$sel:manualSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
manualSnapshotRetentionPeriod} -> Maybe Int
manualSnapshotRetentionPeriod) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Int
a -> RestoreFromClusterSnapshot
s {$sel:manualSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: Maybe Int
manualSnapshotRetentionPeriod = Maybe Int
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_nodeType :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_nodeType :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_nodeType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
nodeType :: Maybe Text
$sel:nodeType:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
nodeType} -> Maybe Text
nodeType) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:nodeType:RestoreFromClusterSnapshot' :: Maybe Text
nodeType = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_numberOfNodes :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Int)
restoreFromClusterSnapshot_numberOfNodes :: Lens' RestoreFromClusterSnapshot (Maybe Int)
restoreFromClusterSnapshot_numberOfNodes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Int
numberOfNodes :: Maybe Int
$sel:numberOfNodes:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
numberOfNodes} -> Maybe Int
numberOfNodes) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Int
a -> RestoreFromClusterSnapshot
s {$sel:numberOfNodes:RestoreFromClusterSnapshot' :: Maybe Int
numberOfNodes = Maybe Int
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_ownerAccount :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_ownerAccount :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_ownerAccount = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
ownerAccount :: Maybe Text
$sel:ownerAccount:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
ownerAccount} -> Maybe Text
ownerAccount) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:ownerAccount:RestoreFromClusterSnapshot' :: Maybe Text
ownerAccount = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_port :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Int)
restoreFromClusterSnapshot_port :: Lens' RestoreFromClusterSnapshot (Maybe Int)
restoreFromClusterSnapshot_port = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Int
port :: Maybe Int
$sel:port:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
port} -> Maybe Int
port) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Int
a -> RestoreFromClusterSnapshot
s {$sel:port:RestoreFromClusterSnapshot' :: Maybe Int
port = Maybe Int
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_preferredMaintenanceWindow :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_preferredMaintenanceWindow :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_preferredMaintenanceWindow = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
preferredMaintenanceWindow :: Maybe Text
$sel:preferredMaintenanceWindow:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
preferredMaintenanceWindow} -> Maybe Text
preferredMaintenanceWindow) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:preferredMaintenanceWindow:RestoreFromClusterSnapshot' :: Maybe Text
preferredMaintenanceWindow = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_publiclyAccessible :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Bool)
restoreFromClusterSnapshot_publiclyAccessible :: Lens' RestoreFromClusterSnapshot (Maybe Bool)
restoreFromClusterSnapshot_publiclyAccessible = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Bool
publiclyAccessible :: Maybe Bool
$sel:publiclyAccessible:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
publiclyAccessible} -> Maybe Bool
publiclyAccessible) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Bool
a -> RestoreFromClusterSnapshot
s {$sel:publiclyAccessible:RestoreFromClusterSnapshot' :: Maybe Bool
publiclyAccessible = Maybe Bool
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_reservedNodeId :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_reservedNodeId :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_reservedNodeId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
reservedNodeId :: Maybe Text
$sel:reservedNodeId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
reservedNodeId} -> Maybe Text
reservedNodeId) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:reservedNodeId:RestoreFromClusterSnapshot' :: Maybe Text
reservedNodeId = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_snapshotArn :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_snapshotArn :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_snapshotArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
snapshotArn :: Maybe Text
$sel:snapshotArn:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
snapshotArn} -> Maybe Text
snapshotArn) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:snapshotArn:RestoreFromClusterSnapshot' :: Maybe Text
snapshotArn = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_snapshotClusterIdentifier :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_snapshotClusterIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_snapshotClusterIdentifier = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
snapshotClusterIdentifier :: Maybe Text
$sel:snapshotClusterIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
snapshotClusterIdentifier} -> Maybe Text
snapshotClusterIdentifier) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:snapshotClusterIdentifier:RestoreFromClusterSnapshot' :: Maybe Text
snapshotClusterIdentifier = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_snapshotIdentifier :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_snapshotIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_snapshotIdentifier = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
snapshotIdentifier :: Maybe Text
$sel:snapshotIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
snapshotIdentifier} -> Maybe Text
snapshotIdentifier) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:snapshotIdentifier:RestoreFromClusterSnapshot' :: Maybe Text
snapshotIdentifier = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_snapshotScheduleIdentifier :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_snapshotScheduleIdentifier :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_snapshotScheduleIdentifier = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
snapshotScheduleIdentifier :: Maybe Text
$sel:snapshotScheduleIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
snapshotScheduleIdentifier} -> Maybe Text
snapshotScheduleIdentifier) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:snapshotScheduleIdentifier:RestoreFromClusterSnapshot' :: Maybe Text
snapshotScheduleIdentifier = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_targetReservedNodeOfferingId :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe Prelude.Text)
restoreFromClusterSnapshot_targetReservedNodeOfferingId :: Lens' RestoreFromClusterSnapshot (Maybe Text)
restoreFromClusterSnapshot_targetReservedNodeOfferingId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe Text
targetReservedNodeOfferingId :: Maybe Text
$sel:targetReservedNodeOfferingId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
targetReservedNodeOfferingId} -> Maybe Text
targetReservedNodeOfferingId) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe Text
a -> RestoreFromClusterSnapshot
s {$sel:targetReservedNodeOfferingId:RestoreFromClusterSnapshot' :: Maybe Text
targetReservedNodeOfferingId = Maybe Text
a} :: RestoreFromClusterSnapshot)
restoreFromClusterSnapshot_vpcSecurityGroupIds :: Lens.Lens' RestoreFromClusterSnapshot (Prelude.Maybe [Prelude.Text])
restoreFromClusterSnapshot_vpcSecurityGroupIds :: Lens' RestoreFromClusterSnapshot (Maybe [Text])
restoreFromClusterSnapshot_vpcSecurityGroupIds = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Maybe [Text]
vpcSecurityGroupIds :: Maybe [Text]
$sel:vpcSecurityGroupIds:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
vpcSecurityGroupIds} -> Maybe [Text]
vpcSecurityGroupIds) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Maybe [Text]
a -> RestoreFromClusterSnapshot
s {$sel:vpcSecurityGroupIds:RestoreFromClusterSnapshot' :: Maybe [Text]
vpcSecurityGroupIds = Maybe [Text]
a} :: RestoreFromClusterSnapshot) 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
restoreFromClusterSnapshot_clusterIdentifier :: Lens.Lens' RestoreFromClusterSnapshot Prelude.Text
restoreFromClusterSnapshot_clusterIdentifier :: Lens' RestoreFromClusterSnapshot Text
restoreFromClusterSnapshot_clusterIdentifier = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshot' {Text
clusterIdentifier :: Text
$sel:clusterIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Text
clusterIdentifier} -> Text
clusterIdentifier) (\s :: RestoreFromClusterSnapshot
s@RestoreFromClusterSnapshot' {} Text
a -> RestoreFromClusterSnapshot
s {$sel:clusterIdentifier:RestoreFromClusterSnapshot' :: Text
clusterIdentifier = Text
a} :: RestoreFromClusterSnapshot)
instance Core.AWSRequest RestoreFromClusterSnapshot where
type
AWSResponse RestoreFromClusterSnapshot =
RestoreFromClusterSnapshotResponse
request :: (Service -> Service)
-> RestoreFromClusterSnapshot -> Request RestoreFromClusterSnapshot
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 RestoreFromClusterSnapshot
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse RestoreFromClusterSnapshot)))
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
"RestoreFromClusterSnapshotResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe Cluster -> Int -> RestoreFromClusterSnapshotResponse
RestoreFromClusterSnapshotResponse'
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
"Cluster")
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 RestoreFromClusterSnapshot where
hashWithSalt :: Int -> RestoreFromClusterSnapshot -> Int
hashWithSalt Int
_salt RestoreFromClusterSnapshot' {Maybe Bool
Maybe Int
Maybe [Text]
Maybe Text
Maybe AquaConfigurationStatus
Text
clusterIdentifier :: Text
vpcSecurityGroupIds :: Maybe [Text]
targetReservedNodeOfferingId :: Maybe Text
snapshotScheduleIdentifier :: Maybe Text
snapshotIdentifier :: Maybe Text
snapshotClusterIdentifier :: Maybe Text
snapshotArn :: Maybe Text
reservedNodeId :: Maybe Text
publiclyAccessible :: Maybe Bool
preferredMaintenanceWindow :: Maybe Text
port :: Maybe Int
ownerAccount :: Maybe Text
numberOfNodes :: Maybe Int
nodeType :: Maybe Text
manualSnapshotRetentionPeriod :: Maybe Int
maintenanceTrackName :: Maybe Text
kmsKeyId :: Maybe Text
iamRoles :: Maybe [Text]
hsmConfigurationIdentifier :: Maybe Text
hsmClientCertificateIdentifier :: Maybe Text
enhancedVpcRouting :: Maybe Bool
encrypted :: Maybe Bool
elasticIp :: Maybe Text
defaultIamRoleArn :: Maybe Text
clusterSubnetGroupName :: Maybe Text
clusterSecurityGroups :: Maybe [Text]
clusterParameterGroupName :: Maybe Text
availabilityZoneRelocation :: Maybe Bool
availabilityZone :: Maybe Text
automatedSnapshotRetentionPeriod :: Maybe Int
aquaConfigurationStatus :: Maybe AquaConfigurationStatus
allowVersionUpgrade :: Maybe Bool
additionalInfo :: Maybe Text
$sel:clusterIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Text
$sel:vpcSecurityGroupIds:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
$sel:targetReservedNodeOfferingId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotScheduleIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotClusterIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotArn:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:reservedNodeId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:publiclyAccessible:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:preferredMaintenanceWindow:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:port:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:ownerAccount:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:numberOfNodes:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:nodeType:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:manualSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:maintenanceTrackName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:kmsKeyId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:iamRoles:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
$sel:hsmConfigurationIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:hsmClientCertificateIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:enhancedVpcRouting:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:encrypted:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:elasticIp:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:defaultIamRoleArn:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:clusterSubnetGroupName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:clusterSecurityGroups:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
$sel:clusterParameterGroupName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:availabilityZoneRelocation:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:availabilityZone:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:automatedSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:aquaConfigurationStatus:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe AquaConfigurationStatus
$sel:allowVersionUpgrade:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:additionalInfo:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
additionalInfo
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
allowVersionUpgrade
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe AquaConfigurationStatus
aquaConfigurationStatus
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
automatedSnapshotRetentionPeriod
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
availabilityZone
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
availabilityZoneRelocation
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
clusterParameterGroupName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
clusterSecurityGroups
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
clusterSubnetGroupName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
defaultIamRoleArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
elasticIp
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
encrypted
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
enhancedVpcRouting
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
hsmClientCertificateIdentifier
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
hsmConfigurationIdentifier
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
iamRoles
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
kmsKeyId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
maintenanceTrackName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
manualSnapshotRetentionPeriod
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nodeType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
numberOfNodes
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
ownerAccount
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
port
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
preferredMaintenanceWindow
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
publiclyAccessible
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
reservedNodeId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
snapshotArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
snapshotClusterIdentifier
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
snapshotIdentifier
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
snapshotScheduleIdentifier
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
targetReservedNodeOfferingId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
vpcSecurityGroupIds
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
clusterIdentifier
instance Prelude.NFData RestoreFromClusterSnapshot where
rnf :: RestoreFromClusterSnapshot -> ()
rnf RestoreFromClusterSnapshot' {Maybe Bool
Maybe Int
Maybe [Text]
Maybe Text
Maybe AquaConfigurationStatus
Text
clusterIdentifier :: Text
vpcSecurityGroupIds :: Maybe [Text]
targetReservedNodeOfferingId :: Maybe Text
snapshotScheduleIdentifier :: Maybe Text
snapshotIdentifier :: Maybe Text
snapshotClusterIdentifier :: Maybe Text
snapshotArn :: Maybe Text
reservedNodeId :: Maybe Text
publiclyAccessible :: Maybe Bool
preferredMaintenanceWindow :: Maybe Text
port :: Maybe Int
ownerAccount :: Maybe Text
numberOfNodes :: Maybe Int
nodeType :: Maybe Text
manualSnapshotRetentionPeriod :: Maybe Int
maintenanceTrackName :: Maybe Text
kmsKeyId :: Maybe Text
iamRoles :: Maybe [Text]
hsmConfigurationIdentifier :: Maybe Text
hsmClientCertificateIdentifier :: Maybe Text
enhancedVpcRouting :: Maybe Bool
encrypted :: Maybe Bool
elasticIp :: Maybe Text
defaultIamRoleArn :: Maybe Text
clusterSubnetGroupName :: Maybe Text
clusterSecurityGroups :: Maybe [Text]
clusterParameterGroupName :: Maybe Text
availabilityZoneRelocation :: Maybe Bool
availabilityZone :: Maybe Text
automatedSnapshotRetentionPeriod :: Maybe Int
aquaConfigurationStatus :: Maybe AquaConfigurationStatus
allowVersionUpgrade :: Maybe Bool
additionalInfo :: Maybe Text
$sel:clusterIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Text
$sel:vpcSecurityGroupIds:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
$sel:targetReservedNodeOfferingId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotScheduleIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotClusterIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotArn:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:reservedNodeId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:publiclyAccessible:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:preferredMaintenanceWindow:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:port:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:ownerAccount:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:numberOfNodes:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:nodeType:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:manualSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:maintenanceTrackName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:kmsKeyId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:iamRoles:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
$sel:hsmConfigurationIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:hsmClientCertificateIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:enhancedVpcRouting:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:encrypted:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:elasticIp:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:defaultIamRoleArn:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:clusterSubnetGroupName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:clusterSecurityGroups:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
$sel:clusterParameterGroupName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:availabilityZoneRelocation:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:availabilityZone:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:automatedSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:aquaConfigurationStatus:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe AquaConfigurationStatus
$sel:allowVersionUpgrade:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:additionalInfo:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
additionalInfo
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
allowVersionUpgrade
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe AquaConfigurationStatus
aquaConfigurationStatus
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
automatedSnapshotRetentionPeriod
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
availabilityZone
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
availabilityZoneRelocation
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
clusterParameterGroupName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
clusterSecurityGroups
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
clusterSubnetGroupName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
defaultIamRoleArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
elasticIp
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
encrypted
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
enhancedVpcRouting
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
hsmClientCertificateIdentifier
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
hsmConfigurationIdentifier
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
iamRoles
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 Text
maintenanceTrackName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Int
manualSnapshotRetentionPeriod
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nodeType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
numberOfNodes
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
ownerAccount
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
preferredMaintenanceWindow
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Bool
publiclyAccessible
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
reservedNodeId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
snapshotArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
snapshotClusterIdentifier
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
snapshotIdentifier
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
snapshotScheduleIdentifier
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
targetReservedNodeOfferingId
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
clusterIdentifier
instance Data.ToHeaders RestoreFromClusterSnapshot where
toHeaders :: RestoreFromClusterSnapshot -> ResponseHeaders
toHeaders = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
instance Data.ToPath RestoreFromClusterSnapshot where
toPath :: RestoreFromClusterSnapshot -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Data.ToQuery RestoreFromClusterSnapshot where
toQuery :: RestoreFromClusterSnapshot -> QueryString
toQuery RestoreFromClusterSnapshot' {Maybe Bool
Maybe Int
Maybe [Text]
Maybe Text
Maybe AquaConfigurationStatus
Text
clusterIdentifier :: Text
vpcSecurityGroupIds :: Maybe [Text]
targetReservedNodeOfferingId :: Maybe Text
snapshotScheduleIdentifier :: Maybe Text
snapshotIdentifier :: Maybe Text
snapshotClusterIdentifier :: Maybe Text
snapshotArn :: Maybe Text
reservedNodeId :: Maybe Text
publiclyAccessible :: Maybe Bool
preferredMaintenanceWindow :: Maybe Text
port :: Maybe Int
ownerAccount :: Maybe Text
numberOfNodes :: Maybe Int
nodeType :: Maybe Text
manualSnapshotRetentionPeriod :: Maybe Int
maintenanceTrackName :: Maybe Text
kmsKeyId :: Maybe Text
iamRoles :: Maybe [Text]
hsmConfigurationIdentifier :: Maybe Text
hsmClientCertificateIdentifier :: Maybe Text
enhancedVpcRouting :: Maybe Bool
encrypted :: Maybe Bool
elasticIp :: Maybe Text
defaultIamRoleArn :: Maybe Text
clusterSubnetGroupName :: Maybe Text
clusterSecurityGroups :: Maybe [Text]
clusterParameterGroupName :: Maybe Text
availabilityZoneRelocation :: Maybe Bool
availabilityZone :: Maybe Text
automatedSnapshotRetentionPeriod :: Maybe Int
aquaConfigurationStatus :: Maybe AquaConfigurationStatus
allowVersionUpgrade :: Maybe Bool
additionalInfo :: Maybe Text
$sel:clusterIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Text
$sel:vpcSecurityGroupIds:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
$sel:targetReservedNodeOfferingId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotScheduleIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotClusterIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:snapshotArn:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:reservedNodeId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:publiclyAccessible:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:preferredMaintenanceWindow:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:port:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:ownerAccount:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:numberOfNodes:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:nodeType:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:manualSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:maintenanceTrackName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:kmsKeyId:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:iamRoles:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
$sel:hsmConfigurationIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:hsmClientCertificateIdentifier:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:enhancedVpcRouting:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:encrypted:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:elasticIp:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:defaultIamRoleArn:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:clusterSubnetGroupName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:clusterSecurityGroups:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe [Text]
$sel:clusterParameterGroupName:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:availabilityZoneRelocation:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:availabilityZone:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
$sel:automatedSnapshotRetentionPeriod:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Int
$sel:aquaConfigurationStatus:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe AquaConfigurationStatus
$sel:allowVersionUpgrade:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Bool
$sel:additionalInfo:RestoreFromClusterSnapshot' :: RestoreFromClusterSnapshot -> Maybe Text
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"RestoreFromClusterSnapshot" :: Prelude.ByteString),
ByteString
"Version"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"2012-12-01" :: Prelude.ByteString),
ByteString
"AdditionalInfo" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
additionalInfo,
ByteString
"AllowVersionUpgrade" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
allowVersionUpgrade,
ByteString
"AquaConfigurationStatus"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe AquaConfigurationStatus
aquaConfigurationStatus,
ByteString
"AutomatedSnapshotRetentionPeriod"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Int
automatedSnapshotRetentionPeriod,
ByteString
"AvailabilityZone" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
availabilityZone,
ByteString
"AvailabilityZoneRelocation"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
availabilityZoneRelocation,
ByteString
"ClusterParameterGroupName"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
clusterParameterGroupName,
ByteString
"ClusterSecurityGroups"
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
"ClusterSecurityGroupName"
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
clusterSecurityGroups
),
ByteString
"ClusterSubnetGroupName"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
clusterSubnetGroupName,
ByteString
"DefaultIamRoleArn" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
defaultIamRoleArn,
ByteString
"ElasticIp" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
elasticIp,
ByteString
"Encrypted" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
encrypted,
ByteString
"EnhancedVpcRouting" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
enhancedVpcRouting,
ByteString
"HsmClientCertificateIdentifier"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
hsmClientCertificateIdentifier,
ByteString
"HsmConfigurationIdentifier"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
hsmConfigurationIdentifier,
ByteString
"IamRoles"
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
"IamRoleArn" forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
iamRoles),
ByteString
"KmsKeyId" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
kmsKeyId,
ByteString
"MaintenanceTrackName" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
maintenanceTrackName,
ByteString
"ManualSnapshotRetentionPeriod"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Int
manualSnapshotRetentionPeriod,
ByteString
"NodeType" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
nodeType,
ByteString
"NumberOfNodes" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Int
numberOfNodes,
ByteString
"OwnerAccount" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
ownerAccount,
ByteString
"Port" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Int
port,
ByteString
"PreferredMaintenanceWindow"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
preferredMaintenanceWindow,
ByteString
"PubliclyAccessible" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
publiclyAccessible,
ByteString
"ReservedNodeId" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
reservedNodeId,
ByteString
"SnapshotArn" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
snapshotArn,
ByteString
"SnapshotClusterIdentifier"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
snapshotClusterIdentifier,
ByteString
"SnapshotIdentifier" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
snapshotIdentifier,
ByteString
"SnapshotScheduleIdentifier"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
snapshotScheduleIdentifier,
ByteString
"TargetReservedNodeOfferingId"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
targetReservedNodeOfferingId,
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
"ClusterIdentifier" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
clusterIdentifier
]
data RestoreFromClusterSnapshotResponse = RestoreFromClusterSnapshotResponse'
{ RestoreFromClusterSnapshotResponse -> Maybe Cluster
cluster :: Prelude.Maybe Cluster,
RestoreFromClusterSnapshotResponse -> Int
httpStatus :: Prelude.Int
}
deriving (RestoreFromClusterSnapshotResponse
-> RestoreFromClusterSnapshotResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RestoreFromClusterSnapshotResponse
-> RestoreFromClusterSnapshotResponse -> Bool
$c/= :: RestoreFromClusterSnapshotResponse
-> RestoreFromClusterSnapshotResponse -> Bool
== :: RestoreFromClusterSnapshotResponse
-> RestoreFromClusterSnapshotResponse -> Bool
$c== :: RestoreFromClusterSnapshotResponse
-> RestoreFromClusterSnapshotResponse -> Bool
Prelude.Eq, ReadPrec [RestoreFromClusterSnapshotResponse]
ReadPrec RestoreFromClusterSnapshotResponse
Int -> ReadS RestoreFromClusterSnapshotResponse
ReadS [RestoreFromClusterSnapshotResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RestoreFromClusterSnapshotResponse]
$creadListPrec :: ReadPrec [RestoreFromClusterSnapshotResponse]
readPrec :: ReadPrec RestoreFromClusterSnapshotResponse
$creadPrec :: ReadPrec RestoreFromClusterSnapshotResponse
readList :: ReadS [RestoreFromClusterSnapshotResponse]
$creadList :: ReadS [RestoreFromClusterSnapshotResponse]
readsPrec :: Int -> ReadS RestoreFromClusterSnapshotResponse
$creadsPrec :: Int -> ReadS RestoreFromClusterSnapshotResponse
Prelude.Read, Int -> RestoreFromClusterSnapshotResponse -> ShowS
[RestoreFromClusterSnapshotResponse] -> ShowS
RestoreFromClusterSnapshotResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RestoreFromClusterSnapshotResponse] -> ShowS
$cshowList :: [RestoreFromClusterSnapshotResponse] -> ShowS
show :: RestoreFromClusterSnapshotResponse -> String
$cshow :: RestoreFromClusterSnapshotResponse -> String
showsPrec :: Int -> RestoreFromClusterSnapshotResponse -> ShowS
$cshowsPrec :: Int -> RestoreFromClusterSnapshotResponse -> ShowS
Prelude.Show, forall x.
Rep RestoreFromClusterSnapshotResponse x
-> RestoreFromClusterSnapshotResponse
forall x.
RestoreFromClusterSnapshotResponse
-> Rep RestoreFromClusterSnapshotResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep RestoreFromClusterSnapshotResponse x
-> RestoreFromClusterSnapshotResponse
$cfrom :: forall x.
RestoreFromClusterSnapshotResponse
-> Rep RestoreFromClusterSnapshotResponse x
Prelude.Generic)
newRestoreFromClusterSnapshotResponse ::
Prelude.Int ->
RestoreFromClusterSnapshotResponse
newRestoreFromClusterSnapshotResponse :: Int -> RestoreFromClusterSnapshotResponse
newRestoreFromClusterSnapshotResponse Int
pHttpStatus_ =
RestoreFromClusterSnapshotResponse'
{ $sel:cluster:RestoreFromClusterSnapshotResponse' :: Maybe Cluster
cluster =
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:RestoreFromClusterSnapshotResponse' :: Int
httpStatus = Int
pHttpStatus_
}
restoreFromClusterSnapshotResponse_cluster :: Lens.Lens' RestoreFromClusterSnapshotResponse (Prelude.Maybe Cluster)
restoreFromClusterSnapshotResponse_cluster :: Lens' RestoreFromClusterSnapshotResponse (Maybe Cluster)
restoreFromClusterSnapshotResponse_cluster = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshotResponse' {Maybe Cluster
cluster :: Maybe Cluster
$sel:cluster:RestoreFromClusterSnapshotResponse' :: RestoreFromClusterSnapshotResponse -> Maybe Cluster
cluster} -> Maybe Cluster
cluster) (\s :: RestoreFromClusterSnapshotResponse
s@RestoreFromClusterSnapshotResponse' {} Maybe Cluster
a -> RestoreFromClusterSnapshotResponse
s {$sel:cluster:RestoreFromClusterSnapshotResponse' :: Maybe Cluster
cluster = Maybe Cluster
a} :: RestoreFromClusterSnapshotResponse)
restoreFromClusterSnapshotResponse_httpStatus :: Lens.Lens' RestoreFromClusterSnapshotResponse Prelude.Int
restoreFromClusterSnapshotResponse_httpStatus :: Lens' RestoreFromClusterSnapshotResponse Int
restoreFromClusterSnapshotResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RestoreFromClusterSnapshotResponse' {Int
httpStatus :: Int
$sel:httpStatus:RestoreFromClusterSnapshotResponse' :: RestoreFromClusterSnapshotResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: RestoreFromClusterSnapshotResponse
s@RestoreFromClusterSnapshotResponse' {} Int
a -> RestoreFromClusterSnapshotResponse
s {$sel:httpStatus:RestoreFromClusterSnapshotResponse' :: Int
httpStatus = Int
a} :: RestoreFromClusterSnapshotResponse)
instance
Prelude.NFData
RestoreFromClusterSnapshotResponse
where
rnf :: RestoreFromClusterSnapshotResponse -> ()
rnf RestoreFromClusterSnapshotResponse' {Int
Maybe Cluster
httpStatus :: Int
cluster :: Maybe Cluster
$sel:httpStatus:RestoreFromClusterSnapshotResponse' :: RestoreFromClusterSnapshotResponse -> Int
$sel:cluster:RestoreFromClusterSnapshotResponse' :: RestoreFromClusterSnapshotResponse -> Maybe Cluster
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Cluster
cluster
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus