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 brokers.
Synopsis
- data RebootBroker = RebootBroker' {
- clusterArn :: Text
- brokerIds :: [Text]
- newRebootBroker :: Text -> RebootBroker
- rebootBroker_clusterArn :: Lens' RebootBroker Text
- rebootBroker_brokerIds :: Lens' RebootBroker [Text]
- data RebootBrokerResponse = RebootBrokerResponse' {}
- newRebootBrokerResponse :: Int -> RebootBrokerResponse
- rebootBrokerResponse_clusterArn :: Lens' RebootBrokerResponse (Maybe Text)
- rebootBrokerResponse_clusterOperationArn :: Lens' RebootBrokerResponse (Maybe Text)
- rebootBrokerResponse_httpStatus :: Lens' RebootBrokerResponse Int
Creating a Request
data RebootBroker Source #
Reboots a node.
See: newRebootBroker
smart constructor.
RebootBroker' | |
|
Instances
Create a value of RebootBroker
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:clusterArn:RebootBroker'
, rebootBroker_clusterArn
- The Amazon Resource Name (ARN) of the cluster to be updated.
$sel:brokerIds:RebootBroker'
, rebootBroker_brokerIds
- The list of broker IDs to be rebooted. The reboot-broker operation
supports rebooting one broker at a time.
Request Lenses
rebootBroker_clusterArn :: Lens' RebootBroker Text Source #
The Amazon Resource Name (ARN) of the cluster to be updated.
rebootBroker_brokerIds :: Lens' RebootBroker [Text] Source #
The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time.
Destructuring the Response
data RebootBrokerResponse Source #
See: newRebootBrokerResponse
smart constructor.
RebootBrokerResponse' | |
|
Instances
newRebootBrokerResponse Source #
Create a value of RebootBrokerResponse
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:clusterArn:RebootBroker'
, rebootBrokerResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:clusterOperationArn:RebootBrokerResponse'
, rebootBrokerResponse_clusterOperationArn
- The Amazon Resource Name (ARN) of the cluster operation.
$sel:httpStatus:RebootBrokerResponse'
, rebootBrokerResponse_httpStatus
- The response's http status code.
Response Lenses
rebootBrokerResponse_clusterArn :: Lens' RebootBrokerResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
rebootBrokerResponse_clusterOperationArn :: Lens' RebootBrokerResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster operation.
rebootBrokerResponse_httpStatus :: Lens' RebootBrokerResponse Int Source #
The response's http status code.