| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Kafka.RebootBroker
Description
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.
Constructors
| RebootBroker' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> RebootBroker |
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:
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.
Constructors
| RebootBrokerResponse' | |
Fields
| |
Instances
newRebootBrokerResponse Source #
Arguments
| :: Int | |
| -> RebootBrokerResponse |
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:
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.