amazonka-elasticache-1.6.1: 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 Source #

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 Source #

Represents the input of a RebootCacheCluster operation.

See: rebootCacheCluster smart constructor.

Instances
Eq RebootCacheCluster Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Data RebootCacheCluster Source # 
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 Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Show RebootCacheCluster Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Generic RebootCacheCluster Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Associated Types

type Rep RebootCacheCluster :: Type -> Type #

Hashable RebootCacheCluster Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

AWSRequest RebootCacheCluster Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Associated Types

type Rs RebootCacheCluster :: Type #

ToHeaders RebootCacheCluster Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

ToPath RebootCacheCluster Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

ToQuery RebootCacheCluster Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

NFData RebootCacheCluster Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Methods

rnf :: RebootCacheCluster -> () #

type Rep RebootCacheCluster Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

type Rep RebootCacheCluster = D1 (MetaData "RebootCacheCluster" "Network.AWS.ElastiCache.RebootCacheCluster" "amazonka-elasticache-1.6.1-7qPjCRJV7Sp8jKm0QWBmxX" 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 Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Request Lenses

rccCacheClusterId :: Lens' RebootCacheCluster Text Source #

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

rccCacheNodeIdsToReboot :: Lens' RebootCacheCluster [Text] Source #

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 Source #

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 Source #

See: rebootCacheClusterResponse smart constructor.

Instances
Eq RebootCacheClusterResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Data RebootCacheClusterResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Show RebootCacheClusterResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Generic RebootCacheClusterResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

Associated Types

type Rep RebootCacheClusterResponse :: Type -> Type #

NFData RebootCacheClusterResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

type Rep RebootCacheClusterResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.RebootCacheCluster

type Rep RebootCacheClusterResponse = D1 (MetaData "RebootCacheClusterResponse" "Network.AWS.ElastiCache.RebootCacheCluster" "amazonka-elasticache-1.6.1-7qPjCRJV7Sp8jKm0QWBmxX" 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