amazonka-elasticache-1.4.2: Amazon ElastiCache SDK.

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

Network.AWS.ElastiCache.RebootCacheCluster

Contents

Description

The RebootCacheCluster action reboots some, or all, of the cache nodes within a provisioned cache cluster. This API will apply any modified cache parameter groups to the cache cluster. The reboot action takes place as soon as possible, and results in a momentary outage to the cache cluster. During the reboot, the cache 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 cache cluster event is created.

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:

data RebootCacheCluster Source #

Represents the input of a RebootCacheCluster action.

See: rebootCacheCluster smart constructor.

Instances

Eq RebootCacheCluster Source # 
Data RebootCacheCluster Source # 

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 # 
Show RebootCacheCluster Source # 
Generic RebootCacheCluster Source # 
Hashable RebootCacheCluster Source # 
NFData RebootCacheCluster Source # 

Methods

rnf :: RebootCacheCluster -> () #

AWSRequest RebootCacheCluster Source # 
ToPath RebootCacheCluster Source # 
ToHeaders RebootCacheCluster Source # 
ToQuery RebootCacheCluster Source # 
type Rep RebootCacheCluster Source # 
type Rep RebootCacheCluster = D1 (MetaData "RebootCacheCluster" "Network.AWS.ElastiCache.RebootCacheCluster" "amazonka-elasticache-1.4.2-Jpl6F5jrZ35HzhDeLVi6T" False) (C1 (MetaCons "RebootCacheCluster'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rccCacheClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rccCacheNodeIdsToReboot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs RebootCacheCluster Source # 

Request Lenses

rccCacheClusterId :: Lens' RebootCacheCluster Text Source #

The cache 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 cache 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 # 
Data RebootCacheClusterResponse Source # 

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 # 
Show RebootCacheClusterResponse Source # 
Generic RebootCacheClusterResponse Source # 
NFData RebootCacheClusterResponse Source # 
type Rep RebootCacheClusterResponse Source # 
type Rep RebootCacheClusterResponse = D1 (MetaData "RebootCacheClusterResponse" "Network.AWS.ElastiCache.RebootCacheCluster" "amazonka-elasticache-1.4.2-Jpl6F5jrZ35HzhDeLVi6T" False) (C1 (MetaCons "RebootCacheClusterResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rccrsCacheCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CacheCluster))) (S1 (MetaSel (Just Symbol "_rccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses