{-# 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.ElastiCache.ModifyReplicationGroup
(
ModifyReplicationGroup (..),
newModifyReplicationGroup,
modifyReplicationGroup_automaticFailoverEnabled,
modifyReplicationGroup_engineVersion,
modifyReplicationGroup_cacheNodeType,
modifyReplicationGroup_snapshottingClusterId,
modifyReplicationGroup_securityGroupIds,
modifyReplicationGroup_autoMinorVersionUpgrade,
modifyReplicationGroup_cacheParameterGroupName,
modifyReplicationGroup_replicationGroupDescription,
modifyReplicationGroup_snapshotWindow,
modifyReplicationGroup_logDeliveryConfigurations,
modifyReplicationGroup_authToken,
modifyReplicationGroup_primaryClusterId,
modifyReplicationGroup_preferredMaintenanceWindow,
modifyReplicationGroup_multiAZEnabled,
modifyReplicationGroup_userGroupIdsToAdd,
modifyReplicationGroup_nodeGroupId,
modifyReplicationGroup_snapshotRetentionLimit,
modifyReplicationGroup_userGroupIdsToRemove,
modifyReplicationGroup_notificationTopicStatus,
modifyReplicationGroup_applyImmediately,
modifyReplicationGroup_removeUserGroups,
modifyReplicationGroup_authTokenUpdateStrategy,
modifyReplicationGroup_notificationTopicArn,
modifyReplicationGroup_cacheSecurityGroupNames,
modifyReplicationGroup_replicationGroupId,
ModifyReplicationGroupResponse (..),
newModifyReplicationGroupResponse,
modifyReplicationGroupResponse_replicationGroup,
modifyReplicationGroupResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.ElastiCache.Types
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data ModifyReplicationGroup = ModifyReplicationGroup'
{
ModifyReplicationGroup -> Maybe Bool
automaticFailoverEnabled :: Prelude.Maybe Prelude.Bool,
ModifyReplicationGroup -> Maybe Text
engineVersion :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe Text
cacheNodeType :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe Text
snapshottingClusterId :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe [Text]
securityGroupIds :: Prelude.Maybe [Prelude.Text],
ModifyReplicationGroup -> Maybe Bool
autoMinorVersionUpgrade :: Prelude.Maybe Prelude.Bool,
ModifyReplicationGroup -> Maybe Text
cacheParameterGroupName :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe Text
replicationGroupDescription :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe Text
snapshotWindow :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe [LogDeliveryConfigurationRequest]
logDeliveryConfigurations :: Prelude.Maybe [LogDeliveryConfigurationRequest],
ModifyReplicationGroup -> Maybe Text
authToken :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe Text
primaryClusterId :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe Text
preferredMaintenanceWindow :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe Bool
multiAZEnabled :: Prelude.Maybe Prelude.Bool,
ModifyReplicationGroup -> Maybe [Text]
userGroupIdsToAdd :: Prelude.Maybe [Prelude.Text],
ModifyReplicationGroup -> Maybe Text
nodeGroupId :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe Int
snapshotRetentionLimit :: Prelude.Maybe Prelude.Int,
ModifyReplicationGroup -> Maybe [Text]
userGroupIdsToRemove :: Prelude.Maybe [Prelude.Text],
ModifyReplicationGroup -> Maybe Text
notificationTopicStatus :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe Bool
applyImmediately :: Prelude.Maybe Prelude.Bool,
ModifyReplicationGroup -> Maybe Bool
removeUserGroups :: Prelude.Maybe Prelude.Bool,
ModifyReplicationGroup -> Maybe AuthTokenUpdateStrategyType
authTokenUpdateStrategy :: Prelude.Maybe AuthTokenUpdateStrategyType,
ModifyReplicationGroup -> Maybe Text
notificationTopicArn :: Prelude.Maybe Prelude.Text,
ModifyReplicationGroup -> Maybe [Text]
cacheSecurityGroupNames :: Prelude.Maybe [Prelude.Text],
ModifyReplicationGroup -> Text
replicationGroupId :: Prelude.Text
}
deriving (ModifyReplicationGroup -> ModifyReplicationGroup -> Bool
(ModifyReplicationGroup -> ModifyReplicationGroup -> Bool)
-> (ModifyReplicationGroup -> ModifyReplicationGroup -> Bool)
-> Eq ModifyReplicationGroup
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModifyReplicationGroup -> ModifyReplicationGroup -> Bool
$c/= :: ModifyReplicationGroup -> ModifyReplicationGroup -> Bool
== :: ModifyReplicationGroup -> ModifyReplicationGroup -> Bool
$c== :: ModifyReplicationGroup -> ModifyReplicationGroup -> Bool
Prelude.Eq, ReadPrec [ModifyReplicationGroup]
ReadPrec ModifyReplicationGroup
Int -> ReadS ModifyReplicationGroup
ReadS [ModifyReplicationGroup]
(Int -> ReadS ModifyReplicationGroup)
-> ReadS [ModifyReplicationGroup]
-> ReadPrec ModifyReplicationGroup
-> ReadPrec [ModifyReplicationGroup]
-> Read ModifyReplicationGroup
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ModifyReplicationGroup]
$creadListPrec :: ReadPrec [ModifyReplicationGroup]
readPrec :: ReadPrec ModifyReplicationGroup
$creadPrec :: ReadPrec ModifyReplicationGroup
readList :: ReadS [ModifyReplicationGroup]
$creadList :: ReadS [ModifyReplicationGroup]
readsPrec :: Int -> ReadS ModifyReplicationGroup
$creadsPrec :: Int -> ReadS ModifyReplicationGroup
Prelude.Read, Int -> ModifyReplicationGroup -> ShowS
[ModifyReplicationGroup] -> ShowS
ModifyReplicationGroup -> String
(Int -> ModifyReplicationGroup -> ShowS)
-> (ModifyReplicationGroup -> String)
-> ([ModifyReplicationGroup] -> ShowS)
-> Show ModifyReplicationGroup
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModifyReplicationGroup] -> ShowS
$cshowList :: [ModifyReplicationGroup] -> ShowS
show :: ModifyReplicationGroup -> String
$cshow :: ModifyReplicationGroup -> String
showsPrec :: Int -> ModifyReplicationGroup -> ShowS
$cshowsPrec :: Int -> ModifyReplicationGroup -> ShowS
Prelude.Show, (forall x. ModifyReplicationGroup -> Rep ModifyReplicationGroup x)
-> (forall x.
Rep ModifyReplicationGroup x -> ModifyReplicationGroup)
-> Generic ModifyReplicationGroup
forall x. Rep ModifyReplicationGroup x -> ModifyReplicationGroup
forall x. ModifyReplicationGroup -> Rep ModifyReplicationGroup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ModifyReplicationGroup x -> ModifyReplicationGroup
$cfrom :: forall x. ModifyReplicationGroup -> Rep ModifyReplicationGroup x
Prelude.Generic)
newModifyReplicationGroup ::
Prelude.Text ->
ModifyReplicationGroup
newModifyReplicationGroup :: Text -> ModifyReplicationGroup
newModifyReplicationGroup Text
pReplicationGroupId_ =
ModifyReplicationGroup' :: Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [LogDeliveryConfigurationRequest]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe [Text]
-> Maybe Text
-> Maybe Int
-> Maybe [Text]
-> Maybe Text
-> Maybe Bool
-> Maybe Bool
-> Maybe AuthTokenUpdateStrategyType
-> Maybe Text
-> Maybe [Text]
-> Text
-> ModifyReplicationGroup
ModifyReplicationGroup'
{ $sel:automaticFailoverEnabled:ModifyReplicationGroup' :: Maybe Bool
automaticFailoverEnabled =
Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:engineVersion:ModifyReplicationGroup' :: Maybe Text
engineVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:cacheNodeType:ModifyReplicationGroup' :: Maybe Text
cacheNodeType = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:snapshottingClusterId:ModifyReplicationGroup' :: Maybe Text
snapshottingClusterId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:securityGroupIds:ModifyReplicationGroup' :: Maybe [Text]
securityGroupIds = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:autoMinorVersionUpgrade:ModifyReplicationGroup' :: Maybe Bool
autoMinorVersionUpgrade = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:cacheParameterGroupName:ModifyReplicationGroup' :: Maybe Text
cacheParameterGroupName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:replicationGroupDescription:ModifyReplicationGroup' :: Maybe Text
replicationGroupDescription = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:snapshotWindow:ModifyReplicationGroup' :: Maybe Text
snapshotWindow = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:logDeliveryConfigurations:ModifyReplicationGroup' :: Maybe [LogDeliveryConfigurationRequest]
logDeliveryConfigurations = Maybe [LogDeliveryConfigurationRequest]
forall a. Maybe a
Prelude.Nothing,
$sel:authToken:ModifyReplicationGroup' :: Maybe Text
authToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:primaryClusterId:ModifyReplicationGroup' :: Maybe Text
primaryClusterId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:preferredMaintenanceWindow:ModifyReplicationGroup' :: Maybe Text
preferredMaintenanceWindow = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:multiAZEnabled:ModifyReplicationGroup' :: Maybe Bool
multiAZEnabled = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:userGroupIdsToAdd:ModifyReplicationGroup' :: Maybe [Text]
userGroupIdsToAdd = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:nodeGroupId:ModifyReplicationGroup' :: Maybe Text
nodeGroupId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:snapshotRetentionLimit:ModifyReplicationGroup' :: Maybe Int
snapshotRetentionLimit = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:userGroupIdsToRemove:ModifyReplicationGroup' :: Maybe [Text]
userGroupIdsToRemove = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:notificationTopicStatus:ModifyReplicationGroup' :: Maybe Text
notificationTopicStatus = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:applyImmediately:ModifyReplicationGroup' :: Maybe Bool
applyImmediately = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:removeUserGroups:ModifyReplicationGroup' :: Maybe Bool
removeUserGroups = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:authTokenUpdateStrategy:ModifyReplicationGroup' :: Maybe AuthTokenUpdateStrategyType
authTokenUpdateStrategy = Maybe AuthTokenUpdateStrategyType
forall a. Maybe a
Prelude.Nothing,
$sel:notificationTopicArn:ModifyReplicationGroup' :: Maybe Text
notificationTopicArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:cacheSecurityGroupNames:ModifyReplicationGroup' :: Maybe [Text]
cacheSecurityGroupNames = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:replicationGroupId:ModifyReplicationGroup' :: Text
replicationGroupId = Text
pReplicationGroupId_
}
modifyReplicationGroup_automaticFailoverEnabled :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Bool)
modifyReplicationGroup_automaticFailoverEnabled :: (Maybe Bool -> f (Maybe Bool))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_automaticFailoverEnabled = (ModifyReplicationGroup -> Maybe Bool)
-> (ModifyReplicationGroup -> Maybe Bool -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Bool
automaticFailoverEnabled :: Maybe Bool
$sel:automaticFailoverEnabled:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Bool
automaticFailoverEnabled} -> Maybe Bool
automaticFailoverEnabled) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Bool
a -> ModifyReplicationGroup
s {$sel:automaticFailoverEnabled:ModifyReplicationGroup' :: Maybe Bool
automaticFailoverEnabled = Maybe Bool
a} :: ModifyReplicationGroup)
modifyReplicationGroup_engineVersion :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_engineVersion :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_engineVersion = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
engineVersion :: Maybe Text
$sel:engineVersion:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
engineVersion} -> Maybe Text
engineVersion) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:engineVersion:ModifyReplicationGroup' :: Maybe Text
engineVersion = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_cacheNodeType :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_cacheNodeType :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_cacheNodeType = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
cacheNodeType :: Maybe Text
$sel:cacheNodeType:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
cacheNodeType} -> Maybe Text
cacheNodeType) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:cacheNodeType:ModifyReplicationGroup' :: Maybe Text
cacheNodeType = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_snapshottingClusterId :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_snapshottingClusterId :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_snapshottingClusterId = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
snapshottingClusterId :: Maybe Text
$sel:snapshottingClusterId:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
snapshottingClusterId} -> Maybe Text
snapshottingClusterId) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:snapshottingClusterId:ModifyReplicationGroup' :: Maybe Text
snapshottingClusterId = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_securityGroupIds :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe [Prelude.Text])
modifyReplicationGroup_securityGroupIds :: (Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_securityGroupIds = (ModifyReplicationGroup -> Maybe [Text])
-> (ModifyReplicationGroup
-> Maybe [Text] -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe [Text]
securityGroupIds :: Maybe [Text]
$sel:securityGroupIds:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe [Text]
securityGroupIds} -> Maybe [Text]
securityGroupIds) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe [Text]
a -> ModifyReplicationGroup
s {$sel:securityGroupIds:ModifyReplicationGroup' :: Maybe [Text]
securityGroupIds = Maybe [Text]
a} :: ModifyReplicationGroup) ((Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup -> f ModifyReplicationGroup)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup
-> f ModifyReplicationGroup
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
modifyReplicationGroup_autoMinorVersionUpgrade :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Bool)
modifyReplicationGroup_autoMinorVersionUpgrade :: (Maybe Bool -> f (Maybe Bool))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_autoMinorVersionUpgrade = (ModifyReplicationGroup -> Maybe Bool)
-> (ModifyReplicationGroup -> Maybe Bool -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Bool
autoMinorVersionUpgrade :: Maybe Bool
$sel:autoMinorVersionUpgrade:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Bool
autoMinorVersionUpgrade} -> Maybe Bool
autoMinorVersionUpgrade) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Bool
a -> ModifyReplicationGroup
s {$sel:autoMinorVersionUpgrade:ModifyReplicationGroup' :: Maybe Bool
autoMinorVersionUpgrade = Maybe Bool
a} :: ModifyReplicationGroup)
modifyReplicationGroup_cacheParameterGroupName :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_cacheParameterGroupName :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_cacheParameterGroupName = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
cacheParameterGroupName :: Maybe Text
$sel:cacheParameterGroupName:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
cacheParameterGroupName} -> Maybe Text
cacheParameterGroupName) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:cacheParameterGroupName:ModifyReplicationGroup' :: Maybe Text
cacheParameterGroupName = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_replicationGroupDescription :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_replicationGroupDescription :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_replicationGroupDescription = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
replicationGroupDescription :: Maybe Text
$sel:replicationGroupDescription:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
replicationGroupDescription} -> Maybe Text
replicationGroupDescription) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:replicationGroupDescription:ModifyReplicationGroup' :: Maybe Text
replicationGroupDescription = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_snapshotWindow :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_snapshotWindow :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_snapshotWindow = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
snapshotWindow :: Maybe Text
$sel:snapshotWindow:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
snapshotWindow} -> Maybe Text
snapshotWindow) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:snapshotWindow:ModifyReplicationGroup' :: Maybe Text
snapshotWindow = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_logDeliveryConfigurations :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe [LogDeliveryConfigurationRequest])
modifyReplicationGroup_logDeliveryConfigurations :: (Maybe [LogDeliveryConfigurationRequest]
-> f (Maybe [LogDeliveryConfigurationRequest]))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_logDeliveryConfigurations = (ModifyReplicationGroup -> Maybe [LogDeliveryConfigurationRequest])
-> (ModifyReplicationGroup
-> Maybe [LogDeliveryConfigurationRequest]
-> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe [LogDeliveryConfigurationRequest])
(Maybe [LogDeliveryConfigurationRequest])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe [LogDeliveryConfigurationRequest]
logDeliveryConfigurations :: Maybe [LogDeliveryConfigurationRequest]
$sel:logDeliveryConfigurations:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe [LogDeliveryConfigurationRequest]
logDeliveryConfigurations} -> Maybe [LogDeliveryConfigurationRequest]
logDeliveryConfigurations) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe [LogDeliveryConfigurationRequest]
a -> ModifyReplicationGroup
s {$sel:logDeliveryConfigurations:ModifyReplicationGroup' :: Maybe [LogDeliveryConfigurationRequest]
logDeliveryConfigurations = Maybe [LogDeliveryConfigurationRequest]
a} :: ModifyReplicationGroup) ((Maybe [LogDeliveryConfigurationRequest]
-> f (Maybe [LogDeliveryConfigurationRequest]))
-> ModifyReplicationGroup -> f ModifyReplicationGroup)
-> ((Maybe [LogDeliveryConfigurationRequest]
-> f (Maybe [LogDeliveryConfigurationRequest]))
-> Maybe [LogDeliveryConfigurationRequest]
-> f (Maybe [LogDeliveryConfigurationRequest]))
-> (Maybe [LogDeliveryConfigurationRequest]
-> f (Maybe [LogDeliveryConfigurationRequest]))
-> ModifyReplicationGroup
-> f ModifyReplicationGroup
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[LogDeliveryConfigurationRequest]
[LogDeliveryConfigurationRequest]
[LogDeliveryConfigurationRequest]
[LogDeliveryConfigurationRequest]
-> Iso
(Maybe [LogDeliveryConfigurationRequest])
(Maybe [LogDeliveryConfigurationRequest])
(Maybe [LogDeliveryConfigurationRequest])
(Maybe [LogDeliveryConfigurationRequest])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
[LogDeliveryConfigurationRequest]
[LogDeliveryConfigurationRequest]
[LogDeliveryConfigurationRequest]
[LogDeliveryConfigurationRequest]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
modifyReplicationGroup_authToken :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_authToken :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_authToken = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
authToken :: Maybe Text
$sel:authToken:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
authToken} -> Maybe Text
authToken) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:authToken:ModifyReplicationGroup' :: Maybe Text
authToken = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_primaryClusterId :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_primaryClusterId :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_primaryClusterId = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
primaryClusterId :: Maybe Text
$sel:primaryClusterId:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
primaryClusterId} -> Maybe Text
primaryClusterId) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:primaryClusterId:ModifyReplicationGroup' :: Maybe Text
primaryClusterId = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_preferredMaintenanceWindow :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_preferredMaintenanceWindow :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_preferredMaintenanceWindow = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
preferredMaintenanceWindow :: Maybe Text
$sel:preferredMaintenanceWindow:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
preferredMaintenanceWindow} -> Maybe Text
preferredMaintenanceWindow) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:preferredMaintenanceWindow:ModifyReplicationGroup' :: Maybe Text
preferredMaintenanceWindow = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_multiAZEnabled :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Bool)
modifyReplicationGroup_multiAZEnabled :: (Maybe Bool -> f (Maybe Bool))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_multiAZEnabled = (ModifyReplicationGroup -> Maybe Bool)
-> (ModifyReplicationGroup -> Maybe Bool -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Bool
multiAZEnabled :: Maybe Bool
$sel:multiAZEnabled:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Bool
multiAZEnabled} -> Maybe Bool
multiAZEnabled) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Bool
a -> ModifyReplicationGroup
s {$sel:multiAZEnabled:ModifyReplicationGroup' :: Maybe Bool
multiAZEnabled = Maybe Bool
a} :: ModifyReplicationGroup)
modifyReplicationGroup_userGroupIdsToAdd :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe [Prelude.Text])
modifyReplicationGroup_userGroupIdsToAdd :: (Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_userGroupIdsToAdd = (ModifyReplicationGroup -> Maybe [Text])
-> (ModifyReplicationGroup
-> Maybe [Text] -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe [Text]
userGroupIdsToAdd :: Maybe [Text]
$sel:userGroupIdsToAdd:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe [Text]
userGroupIdsToAdd} -> Maybe [Text]
userGroupIdsToAdd) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe [Text]
a -> ModifyReplicationGroup
s {$sel:userGroupIdsToAdd:ModifyReplicationGroup' :: Maybe [Text]
userGroupIdsToAdd = Maybe [Text]
a} :: ModifyReplicationGroup) ((Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup -> f ModifyReplicationGroup)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup
-> f ModifyReplicationGroup
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
modifyReplicationGroup_nodeGroupId :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_nodeGroupId :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_nodeGroupId = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
nodeGroupId :: Maybe Text
$sel:nodeGroupId:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
nodeGroupId} -> Maybe Text
nodeGroupId) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:nodeGroupId:ModifyReplicationGroup' :: Maybe Text
nodeGroupId = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_snapshotRetentionLimit :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Int)
modifyReplicationGroup_snapshotRetentionLimit :: (Maybe Int -> f (Maybe Int))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_snapshotRetentionLimit = (ModifyReplicationGroup -> Maybe Int)
-> (ModifyReplicationGroup -> Maybe Int -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Int
snapshotRetentionLimit :: Maybe Int
$sel:snapshotRetentionLimit:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Int
snapshotRetentionLimit} -> Maybe Int
snapshotRetentionLimit) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Int
a -> ModifyReplicationGroup
s {$sel:snapshotRetentionLimit:ModifyReplicationGroup' :: Maybe Int
snapshotRetentionLimit = Maybe Int
a} :: ModifyReplicationGroup)
modifyReplicationGroup_userGroupIdsToRemove :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe [Prelude.Text])
modifyReplicationGroup_userGroupIdsToRemove :: (Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_userGroupIdsToRemove = (ModifyReplicationGroup -> Maybe [Text])
-> (ModifyReplicationGroup
-> Maybe [Text] -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe [Text]
userGroupIdsToRemove :: Maybe [Text]
$sel:userGroupIdsToRemove:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe [Text]
userGroupIdsToRemove} -> Maybe [Text]
userGroupIdsToRemove) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe [Text]
a -> ModifyReplicationGroup
s {$sel:userGroupIdsToRemove:ModifyReplicationGroup' :: Maybe [Text]
userGroupIdsToRemove = Maybe [Text]
a} :: ModifyReplicationGroup) ((Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup -> f ModifyReplicationGroup)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup
-> f ModifyReplicationGroup
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
modifyReplicationGroup_notificationTopicStatus :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_notificationTopicStatus :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_notificationTopicStatus = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
notificationTopicStatus :: Maybe Text
$sel:notificationTopicStatus:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
notificationTopicStatus} -> Maybe Text
notificationTopicStatus) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:notificationTopicStatus:ModifyReplicationGroup' :: Maybe Text
notificationTopicStatus = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_applyImmediately :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Bool)
modifyReplicationGroup_applyImmediately :: (Maybe Bool -> f (Maybe Bool))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_applyImmediately = (ModifyReplicationGroup -> Maybe Bool)
-> (ModifyReplicationGroup -> Maybe Bool -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Bool
applyImmediately :: Maybe Bool
$sel:applyImmediately:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Bool
applyImmediately} -> Maybe Bool
applyImmediately) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Bool
a -> ModifyReplicationGroup
s {$sel:applyImmediately:ModifyReplicationGroup' :: Maybe Bool
applyImmediately = Maybe Bool
a} :: ModifyReplicationGroup)
modifyReplicationGroup_removeUserGroups :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Bool)
modifyReplicationGroup_removeUserGroups :: (Maybe Bool -> f (Maybe Bool))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_removeUserGroups = (ModifyReplicationGroup -> Maybe Bool)
-> (ModifyReplicationGroup -> Maybe Bool -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Bool
removeUserGroups :: Maybe Bool
$sel:removeUserGroups:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Bool
removeUserGroups} -> Maybe Bool
removeUserGroups) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Bool
a -> ModifyReplicationGroup
s {$sel:removeUserGroups:ModifyReplicationGroup' :: Maybe Bool
removeUserGroups = Maybe Bool
a} :: ModifyReplicationGroup)
modifyReplicationGroup_authTokenUpdateStrategy :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe AuthTokenUpdateStrategyType)
modifyReplicationGroup_authTokenUpdateStrategy :: (Maybe AuthTokenUpdateStrategyType
-> f (Maybe AuthTokenUpdateStrategyType))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_authTokenUpdateStrategy = (ModifyReplicationGroup -> Maybe AuthTokenUpdateStrategyType)
-> (ModifyReplicationGroup
-> Maybe AuthTokenUpdateStrategyType -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe AuthTokenUpdateStrategyType)
(Maybe AuthTokenUpdateStrategyType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe AuthTokenUpdateStrategyType
authTokenUpdateStrategy :: Maybe AuthTokenUpdateStrategyType
$sel:authTokenUpdateStrategy:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe AuthTokenUpdateStrategyType
authTokenUpdateStrategy} -> Maybe AuthTokenUpdateStrategyType
authTokenUpdateStrategy) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe AuthTokenUpdateStrategyType
a -> ModifyReplicationGroup
s {$sel:authTokenUpdateStrategy:ModifyReplicationGroup' :: Maybe AuthTokenUpdateStrategyType
authTokenUpdateStrategy = Maybe AuthTokenUpdateStrategyType
a} :: ModifyReplicationGroup)
modifyReplicationGroup_notificationTopicArn :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe Prelude.Text)
modifyReplicationGroup_notificationTopicArn :: (Maybe Text -> f (Maybe Text))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_notificationTopicArn = (ModifyReplicationGroup -> Maybe Text)
-> (ModifyReplicationGroup -> Maybe Text -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe Text
notificationTopicArn :: Maybe Text
$sel:notificationTopicArn:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
notificationTopicArn} -> Maybe Text
notificationTopicArn) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe Text
a -> ModifyReplicationGroup
s {$sel:notificationTopicArn:ModifyReplicationGroup' :: Maybe Text
notificationTopicArn = Maybe Text
a} :: ModifyReplicationGroup)
modifyReplicationGroup_cacheSecurityGroupNames :: Lens.Lens' ModifyReplicationGroup (Prelude.Maybe [Prelude.Text])
modifyReplicationGroup_cacheSecurityGroupNames :: (Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_cacheSecurityGroupNames = (ModifyReplicationGroup -> Maybe [Text])
-> (ModifyReplicationGroup
-> Maybe [Text] -> ModifyReplicationGroup)
-> Lens
ModifyReplicationGroup
ModifyReplicationGroup
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Maybe [Text]
cacheSecurityGroupNames :: Maybe [Text]
$sel:cacheSecurityGroupNames:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe [Text]
cacheSecurityGroupNames} -> Maybe [Text]
cacheSecurityGroupNames) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Maybe [Text]
a -> ModifyReplicationGroup
s {$sel:cacheSecurityGroupNames:ModifyReplicationGroup' :: Maybe [Text]
cacheSecurityGroupNames = Maybe [Text]
a} :: ModifyReplicationGroup) ((Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup -> f ModifyReplicationGroup)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ModifyReplicationGroup
-> f ModifyReplicationGroup
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
modifyReplicationGroup_replicationGroupId :: Lens.Lens' ModifyReplicationGroup Prelude.Text
modifyReplicationGroup_replicationGroupId :: (Text -> f Text)
-> ModifyReplicationGroup -> f ModifyReplicationGroup
modifyReplicationGroup_replicationGroupId = (ModifyReplicationGroup -> Text)
-> (ModifyReplicationGroup -> Text -> ModifyReplicationGroup)
-> Lens ModifyReplicationGroup ModifyReplicationGroup Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroup' {Text
replicationGroupId :: Text
$sel:replicationGroupId:ModifyReplicationGroup' :: ModifyReplicationGroup -> Text
replicationGroupId} -> Text
replicationGroupId) (\s :: ModifyReplicationGroup
s@ModifyReplicationGroup' {} Text
a -> ModifyReplicationGroup
s {$sel:replicationGroupId:ModifyReplicationGroup' :: Text
replicationGroupId = Text
a} :: ModifyReplicationGroup)
instance Core.AWSRequest ModifyReplicationGroup where
type
AWSResponse ModifyReplicationGroup =
ModifyReplicationGroupResponse
request :: ModifyReplicationGroup -> Request ModifyReplicationGroup
request = Service -> ModifyReplicationGroup -> Request ModifyReplicationGroup
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy ModifyReplicationGroup
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ModifyReplicationGroup)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse ModifyReplicationGroup))
-> Logger
-> Service
-> Proxy ModifyReplicationGroup
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ModifyReplicationGroup)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
Text
"ModifyReplicationGroupResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe ReplicationGroup -> Int -> ModifyReplicationGroupResponse
ModifyReplicationGroupResponse'
(Maybe ReplicationGroup -> Int -> ModifyReplicationGroupResponse)
-> Either String (Maybe ReplicationGroup)
-> Either String (Int -> ModifyReplicationGroupResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe ReplicationGroup)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"ReplicationGroup")
Either String (Int -> ModifyReplicationGroupResponse)
-> Either String Int
-> Either String ModifyReplicationGroupResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable ModifyReplicationGroup
instance Prelude.NFData ModifyReplicationGroup
instance Core.ToHeaders ModifyReplicationGroup where
toHeaders :: ModifyReplicationGroup -> ResponseHeaders
toHeaders = ResponseHeaders -> ModifyReplicationGroup -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath ModifyReplicationGroup where
toPath :: ModifyReplicationGroup -> ByteString
toPath = ByteString -> ModifyReplicationGroup -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ModifyReplicationGroup where
toQuery :: ModifyReplicationGroup -> QueryString
toQuery ModifyReplicationGroup' {Maybe Bool
Maybe Int
Maybe [Text]
Maybe [LogDeliveryConfigurationRequest]
Maybe Text
Maybe AuthTokenUpdateStrategyType
Text
replicationGroupId :: Text
cacheSecurityGroupNames :: Maybe [Text]
notificationTopicArn :: Maybe Text
authTokenUpdateStrategy :: Maybe AuthTokenUpdateStrategyType
removeUserGroups :: Maybe Bool
applyImmediately :: Maybe Bool
notificationTopicStatus :: Maybe Text
userGroupIdsToRemove :: Maybe [Text]
snapshotRetentionLimit :: Maybe Int
nodeGroupId :: Maybe Text
userGroupIdsToAdd :: Maybe [Text]
multiAZEnabled :: Maybe Bool
preferredMaintenanceWindow :: Maybe Text
primaryClusterId :: Maybe Text
authToken :: Maybe Text
logDeliveryConfigurations :: Maybe [LogDeliveryConfigurationRequest]
snapshotWindow :: Maybe Text
replicationGroupDescription :: Maybe Text
cacheParameterGroupName :: Maybe Text
autoMinorVersionUpgrade :: Maybe Bool
securityGroupIds :: Maybe [Text]
snapshottingClusterId :: Maybe Text
cacheNodeType :: Maybe Text
engineVersion :: Maybe Text
automaticFailoverEnabled :: Maybe Bool
$sel:replicationGroupId:ModifyReplicationGroup' :: ModifyReplicationGroup -> Text
$sel:cacheSecurityGroupNames:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe [Text]
$sel:notificationTopicArn:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:authTokenUpdateStrategy:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe AuthTokenUpdateStrategyType
$sel:removeUserGroups:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Bool
$sel:applyImmediately:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Bool
$sel:notificationTopicStatus:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:userGroupIdsToRemove:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe [Text]
$sel:snapshotRetentionLimit:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Int
$sel:nodeGroupId:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:userGroupIdsToAdd:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe [Text]
$sel:multiAZEnabled:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Bool
$sel:preferredMaintenanceWindow:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:primaryClusterId:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:authToken:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:logDeliveryConfigurations:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe [LogDeliveryConfigurationRequest]
$sel:snapshotWindow:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:replicationGroupDescription:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:cacheParameterGroupName:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:autoMinorVersionUpgrade:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Bool
$sel:securityGroupIds:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe [Text]
$sel:snapshottingClusterId:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:cacheNodeType:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:engineVersion:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Text
$sel:automaticFailoverEnabled:ModifyReplicationGroup' :: ModifyReplicationGroup -> Maybe Bool
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"ModifyReplicationGroup" :: Prelude.ByteString),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2015-02-02" :: Prelude.ByteString),
ByteString
"AutomaticFailoverEnabled"
ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
automaticFailoverEnabled,
ByteString
"EngineVersion" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
engineVersion,
ByteString
"CacheNodeType" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
cacheNodeType,
ByteString
"SnapshottingClusterId"
ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
snapshottingClusterId,
ByteString
"SecurityGroupIds"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
( ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"SecurityGroupId"
([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
securityGroupIds
),
ByteString
"AutoMinorVersionUpgrade"
ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
autoMinorVersionUpgrade,
ByteString
"CacheParameterGroupName"
ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
cacheParameterGroupName,
ByteString
"ReplicationGroupDescription"
ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
replicationGroupDescription,
ByteString
"SnapshotWindow" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
snapshotWindow,
ByteString
"LogDeliveryConfigurations"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
( ByteString -> [LogDeliveryConfigurationRequest] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"LogDeliveryConfigurationRequest"
([LogDeliveryConfigurationRequest] -> QueryString)
-> Maybe [LogDeliveryConfigurationRequest] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [LogDeliveryConfigurationRequest]
logDeliveryConfigurations
),
ByteString
"AuthToken" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
authToken,
ByteString
"PrimaryClusterId" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
primaryClusterId,
ByteString
"PreferredMaintenanceWindow"
ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
preferredMaintenanceWindow,
ByteString
"MultiAZEnabled" ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
multiAZEnabled,
ByteString
"UserGroupIdsToAdd"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
( ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member"
([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
userGroupIdsToAdd
),
ByteString
"NodeGroupId" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nodeGroupId,
ByteString
"SnapshotRetentionLimit"
ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
snapshotRetentionLimit,
ByteString
"UserGroupIdsToRemove"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
( ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member"
([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
userGroupIdsToRemove
),
ByteString
"NotificationTopicStatus"
ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
notificationTopicStatus,
ByteString
"ApplyImmediately" ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
applyImmediately,
ByteString
"RemoveUserGroups" ByteString -> Maybe Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Bool
removeUserGroups,
ByteString
"AuthTokenUpdateStrategy"
ByteString -> Maybe AuthTokenUpdateStrategyType -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe AuthTokenUpdateStrategyType
authTokenUpdateStrategy,
ByteString
"NotificationTopicArn" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
notificationTopicArn,
ByteString
"CacheSecurityGroupNames"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
( ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"CacheSecurityGroupName"
([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
cacheSecurityGroupNames
),
ByteString
"ReplicationGroupId" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
replicationGroupId
]
data ModifyReplicationGroupResponse = ModifyReplicationGroupResponse'
{ ModifyReplicationGroupResponse -> Maybe ReplicationGroup
replicationGroup :: Prelude.Maybe ReplicationGroup,
ModifyReplicationGroupResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ModifyReplicationGroupResponse
-> ModifyReplicationGroupResponse -> Bool
(ModifyReplicationGroupResponse
-> ModifyReplicationGroupResponse -> Bool)
-> (ModifyReplicationGroupResponse
-> ModifyReplicationGroupResponse -> Bool)
-> Eq ModifyReplicationGroupResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModifyReplicationGroupResponse
-> ModifyReplicationGroupResponse -> Bool
$c/= :: ModifyReplicationGroupResponse
-> ModifyReplicationGroupResponse -> Bool
== :: ModifyReplicationGroupResponse
-> ModifyReplicationGroupResponse -> Bool
$c== :: ModifyReplicationGroupResponse
-> ModifyReplicationGroupResponse -> Bool
Prelude.Eq, ReadPrec [ModifyReplicationGroupResponse]
ReadPrec ModifyReplicationGroupResponse
Int -> ReadS ModifyReplicationGroupResponse
ReadS [ModifyReplicationGroupResponse]
(Int -> ReadS ModifyReplicationGroupResponse)
-> ReadS [ModifyReplicationGroupResponse]
-> ReadPrec ModifyReplicationGroupResponse
-> ReadPrec [ModifyReplicationGroupResponse]
-> Read ModifyReplicationGroupResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ModifyReplicationGroupResponse]
$creadListPrec :: ReadPrec [ModifyReplicationGroupResponse]
readPrec :: ReadPrec ModifyReplicationGroupResponse
$creadPrec :: ReadPrec ModifyReplicationGroupResponse
readList :: ReadS [ModifyReplicationGroupResponse]
$creadList :: ReadS [ModifyReplicationGroupResponse]
readsPrec :: Int -> ReadS ModifyReplicationGroupResponse
$creadsPrec :: Int -> ReadS ModifyReplicationGroupResponse
Prelude.Read, Int -> ModifyReplicationGroupResponse -> ShowS
[ModifyReplicationGroupResponse] -> ShowS
ModifyReplicationGroupResponse -> String
(Int -> ModifyReplicationGroupResponse -> ShowS)
-> (ModifyReplicationGroupResponse -> String)
-> ([ModifyReplicationGroupResponse] -> ShowS)
-> Show ModifyReplicationGroupResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModifyReplicationGroupResponse] -> ShowS
$cshowList :: [ModifyReplicationGroupResponse] -> ShowS
show :: ModifyReplicationGroupResponse -> String
$cshow :: ModifyReplicationGroupResponse -> String
showsPrec :: Int -> ModifyReplicationGroupResponse -> ShowS
$cshowsPrec :: Int -> ModifyReplicationGroupResponse -> ShowS
Prelude.Show, (forall x.
ModifyReplicationGroupResponse
-> Rep ModifyReplicationGroupResponse x)
-> (forall x.
Rep ModifyReplicationGroupResponse x
-> ModifyReplicationGroupResponse)
-> Generic ModifyReplicationGroupResponse
forall x.
Rep ModifyReplicationGroupResponse x
-> ModifyReplicationGroupResponse
forall x.
ModifyReplicationGroupResponse
-> Rep ModifyReplicationGroupResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ModifyReplicationGroupResponse x
-> ModifyReplicationGroupResponse
$cfrom :: forall x.
ModifyReplicationGroupResponse
-> Rep ModifyReplicationGroupResponse x
Prelude.Generic)
newModifyReplicationGroupResponse ::
Prelude.Int ->
ModifyReplicationGroupResponse
newModifyReplicationGroupResponse :: Int -> ModifyReplicationGroupResponse
newModifyReplicationGroupResponse Int
pHttpStatus_ =
ModifyReplicationGroupResponse' :: Maybe ReplicationGroup -> Int -> ModifyReplicationGroupResponse
ModifyReplicationGroupResponse'
{ $sel:replicationGroup:ModifyReplicationGroupResponse' :: Maybe ReplicationGroup
replicationGroup =
Maybe ReplicationGroup
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ModifyReplicationGroupResponse' :: Int
httpStatus = Int
pHttpStatus_
}
modifyReplicationGroupResponse_replicationGroup :: Lens.Lens' ModifyReplicationGroupResponse (Prelude.Maybe ReplicationGroup)
modifyReplicationGroupResponse_replicationGroup :: (Maybe ReplicationGroup -> f (Maybe ReplicationGroup))
-> ModifyReplicationGroupResponse
-> f ModifyReplicationGroupResponse
modifyReplicationGroupResponse_replicationGroup = (ModifyReplicationGroupResponse -> Maybe ReplicationGroup)
-> (ModifyReplicationGroupResponse
-> Maybe ReplicationGroup -> ModifyReplicationGroupResponse)
-> Lens
ModifyReplicationGroupResponse
ModifyReplicationGroupResponse
(Maybe ReplicationGroup)
(Maybe ReplicationGroup)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroupResponse' {Maybe ReplicationGroup
replicationGroup :: Maybe ReplicationGroup
$sel:replicationGroup:ModifyReplicationGroupResponse' :: ModifyReplicationGroupResponse -> Maybe ReplicationGroup
replicationGroup} -> Maybe ReplicationGroup
replicationGroup) (\s :: ModifyReplicationGroupResponse
s@ModifyReplicationGroupResponse' {} Maybe ReplicationGroup
a -> ModifyReplicationGroupResponse
s {$sel:replicationGroup:ModifyReplicationGroupResponse' :: Maybe ReplicationGroup
replicationGroup = Maybe ReplicationGroup
a} :: ModifyReplicationGroupResponse)
modifyReplicationGroupResponse_httpStatus :: Lens.Lens' ModifyReplicationGroupResponse Prelude.Int
modifyReplicationGroupResponse_httpStatus :: (Int -> f Int)
-> ModifyReplicationGroupResponse
-> f ModifyReplicationGroupResponse
modifyReplicationGroupResponse_httpStatus = (ModifyReplicationGroupResponse -> Int)
-> (ModifyReplicationGroupResponse
-> Int -> ModifyReplicationGroupResponse)
-> Lens
ModifyReplicationGroupResponse
ModifyReplicationGroupResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyReplicationGroupResponse' {Int
httpStatus :: Int
$sel:httpStatus:ModifyReplicationGroupResponse' :: ModifyReplicationGroupResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ModifyReplicationGroupResponse
s@ModifyReplicationGroupResponse' {} Int
a -> ModifyReplicationGroupResponse
s {$sel:httpStatus:ModifyReplicationGroupResponse' :: Int
httpStatus = Int
a} :: ModifyReplicationGroupResponse)
instance
Prelude.NFData
ModifyReplicationGroupResponse