amazonka-elasticache-1.4.5: 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

Reboots some, or all, of the cache nodes within a provisioned cache cluster. This operation applies any modified cache parameter groups to the cache cluster. The reboot operation 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 #

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 cache 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 cache cluster, specify all of the cache node IDs.

data RebootCacheCluster #

Represents the input of a RebootCacheCluster operation.

See: rebootCacheCluster smart constructor.

Instances

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

Methods

rnf :: RebootCacheCluster -> () #

AWSRequest RebootCacheCluster # 
ToQuery RebootCacheCluster # 
ToPath RebootCacheCluster # 
ToHeaders RebootCacheCluster # 
type Rep RebootCacheCluster # 
type Rep RebootCacheCluster = D1 (MetaData "RebootCacheCluster" "Network.AWS.ElastiCache.RebootCacheCluster" "amazonka-elasticache-1.4.5-Ai9oTU2RTbj2M0sGqfSNp8" 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 # 

Request Lenses

rccCacheClusterId :: Lens' RebootCacheCluster Text #

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

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

Response Lenses

rccrsResponseStatus :: Lens' RebootCacheClusterResponse Int #

  • - | The response status code.