Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- rebootCacheCluster :: Text -> RebootCacheCluster
- data RebootCacheCluster
- rccCacheClusterId :: Lens' RebootCacheCluster Text
- rccCacheNodeIdsToReboot :: Lens' RebootCacheCluster [Text]
- rebootCacheClusterResponse :: Int -> RebootCacheClusterResponse
- data RebootCacheClusterResponse
- rccrsCacheCluster :: Lens' RebootCacheClusterResponse (Maybe CacheCluster)
- rccrsResponseStatus :: Lens' RebootCacheClusterResponse Int
Creating a Request
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.
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:
rccrsCacheCluster
- Undocumented member.rccrsResponseStatus
- -- | The response status code.
data RebootCacheClusterResponse Source #
See: rebootCacheClusterResponse
smart constructor.
Response Lenses
rccrsCacheCluster :: Lens' RebootCacheClusterResponse (Maybe CacheCluster) Source #
Undocumented member.
rccrsResponseStatus :: Lens' RebootCacheClusterResponse Int Source #
- - | The response status code.