amazonka-elasticache-1.6.0: Amazon ElastiCache SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElastiCache.RebootCacheCluster

Contents

Description

Reboots some, or all, of the cache nodes within a provisioned cluster. This operation applies any modified cache parameter groups to the cluster. The reboot operation takes place as soon as possible, and results in a momentary outage to the cluster. During the reboot, the cluster status is set to REBOOTING.

The reboot causes the contents of the cache (for each cache node being rebooted) to be lost.

When the reboot is complete, a cluster event is created.

Rebooting a cluster is currently supported on Memcached and Redis (cluster mode disabled) clusters. Rebooting is not supported on Redis (cluster mode enabled) clusters.

If you make changes to parameters that require a Redis (cluster mode enabled) cluster reboot for the changes to be applied, see Rebooting a Cluster for an alternate process.

Synopsis

Creating a Request

rebootCacheCluster #

Creates a value of RebootCacheCluster with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rccCacheClusterId - The cluster identifier. This parameter is stored as a lowercase string.
  • rccCacheNodeIdsToReboot - A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.

data RebootCacheCluster #

Represents the input of a RebootCacheCluster operation.

See: rebootCacheCluster smart constructor.

Instances
Eq RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Data RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RebootCacheCluster -> c RebootCacheCluster #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RebootCacheCluster #

toConstr :: RebootCacheCluster -> Constr #

dataTypeOf :: RebootCacheCluster -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RebootCacheCluster) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RebootCacheCluster) #

gmapT :: (forall b. Data b => b -> b) -> RebootCacheCluster -> RebootCacheCluster #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RebootCacheCluster -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RebootCacheCluster -> r #

gmapQ :: (forall d. Data d => d -> u) -> RebootCacheCluster -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RebootCacheCluster -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RebootCacheCluster -> m RebootCacheCluster #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RebootCacheCluster -> m RebootCacheCluster #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RebootCacheCluster -> m RebootCacheCluster #

Read RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Show RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Generic RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Associated Types

type Rep RebootCacheCluster :: * -> * #

Hashable RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

AWSRequest RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Associated Types

type Rs RebootCacheCluster :: * #

ToHeaders RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

ToPath RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

ToQuery RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

NFData RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Methods

rnf :: RebootCacheCluster -> () #

type Rep RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

type Rep RebootCacheCluster = D1 (MetaData "RebootCacheCluster" "Network.AWS.ElastiCache.RebootCacheCluster" "amazonka-elasticache-1.6.0-GyEP0dOObTvA3gyzDBbPYU" False) (C1 (MetaCons "RebootCacheCluster'" PrefixI True) (S1 (MetaSel (Just "_rccCacheClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rccCacheNodeIdsToReboot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))
type Rs RebootCacheCluster # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Request Lenses

rccCacheClusterId :: Lens' RebootCacheCluster Text #

The cluster identifier. This parameter is stored as a lowercase string.

rccCacheNodeIdsToReboot :: Lens' RebootCacheCluster [Text] #

A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.

Destructuring the Response

rebootCacheClusterResponse #

Creates a value of RebootCacheClusterResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RebootCacheClusterResponse #

See: rebootCacheClusterResponse smart constructor.

Instances
Eq RebootCacheClusterResponse # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Data RebootCacheClusterResponse # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RebootCacheClusterResponse -> c RebootCacheClusterResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RebootCacheClusterResponse #

toConstr :: RebootCacheClusterResponse -> Constr #

dataTypeOf :: RebootCacheClusterResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RebootCacheClusterResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RebootCacheClusterResponse) #

gmapT :: (forall b. Data b => b -> b) -> RebootCacheClusterResponse -> RebootCacheClusterResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RebootCacheClusterResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RebootCacheClusterResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> RebootCacheClusterResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RebootCacheClusterResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RebootCacheClusterResponse -> m RebootCacheClusterResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RebootCacheClusterResponse -> m RebootCacheClusterResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RebootCacheClusterResponse -> m RebootCacheClusterResponse #

Read RebootCacheClusterResponse # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Show RebootCacheClusterResponse # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Generic RebootCacheClusterResponse # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Associated Types

type Rep RebootCacheClusterResponse :: * -> * #

NFData RebootCacheClusterResponse # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

type Rep RebootCacheClusterResponse # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

type Rep RebootCacheClusterResponse = D1 (MetaData "RebootCacheClusterResponse" "Network.AWS.ElastiCache.RebootCacheCluster" "amazonka-elasticache-1.6.0-GyEP0dOObTvA3gyzDBbPYU" False) (C1 (MetaCons "RebootCacheClusterResponse'" PrefixI True) (S1 (MetaSel (Just "_rccrsCacheCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CacheCluster)) :*: S1 (MetaSel (Just "_rccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

rccrsResponseStatus :: Lens' RebootCacheClusterResponse Int #

  • - | The response status code.