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