Copyright | (c) 2013-2021 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 |
Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the node status is set to REBOOTING.
RebootNode
restarts the DAX engine process and does not remove the
contents of the cache.
Synopsis
- data RebootNode = RebootNode' {
- clusterName :: Text
- nodeId :: Text
- newRebootNode :: Text -> Text -> RebootNode
- rebootNode_clusterName :: Lens' RebootNode Text
- rebootNode_nodeId :: Lens' RebootNode Text
- data RebootNodeResponse = RebootNodeResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newRebootNodeResponse :: Int -> RebootNodeResponse
- rebootNodeResponse_cluster :: Lens' RebootNodeResponse (Maybe Cluster)
- rebootNodeResponse_httpStatus :: Lens' RebootNodeResponse Int
Creating a Request
data RebootNode Source #
See: newRebootNode
smart constructor.
RebootNode' | |
|
Instances
Create a value of RebootNode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clusterName:RebootNode'
, rebootNode_clusterName
- The name of the DAX cluster containing the node to be rebooted.
$sel:nodeId:RebootNode'
, rebootNode_nodeId
- The system-assigned ID of the node to be rebooted.
Request Lenses
rebootNode_clusterName :: Lens' RebootNode Text Source #
The name of the DAX cluster containing the node to be rebooted.
rebootNode_nodeId :: Lens' RebootNode Text Source #
The system-assigned ID of the node to be rebooted.
Destructuring the Response
data RebootNodeResponse Source #
See: newRebootNodeResponse
smart constructor.
RebootNodeResponse' | |
|
Instances
newRebootNodeResponse Source #
Create a value of RebootNodeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cluster:RebootNodeResponse'
, rebootNodeResponse_cluster
- A description of the DAX cluster after a node has been rebooted.
$sel:httpStatus:RebootNodeResponse'
, rebootNodeResponse_httpStatus
- The response's http status code.
Response Lenses
rebootNodeResponse_cluster :: Lens' RebootNodeResponse (Maybe Cluster) Source #
A description of the DAX cluster after a node has been rebooted.
rebootNodeResponse_httpStatus :: Lens' RebootNodeResponse Int Source #
The response's http status code.