| 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.UpdateBrokerCount
Description
Updates the number of broker nodes in the cluster.
Synopsis
- data UpdateBrokerCount = UpdateBrokerCount' {}
- newUpdateBrokerCount :: Text -> Text -> Natural -> UpdateBrokerCount
- updateBrokerCount_clusterArn :: Lens' UpdateBrokerCount Text
- updateBrokerCount_currentVersion :: Lens' UpdateBrokerCount Text
- updateBrokerCount_targetNumberOfBrokerNodes :: Lens' UpdateBrokerCount Natural
- data UpdateBrokerCountResponse = UpdateBrokerCountResponse' {}
- newUpdateBrokerCountResponse :: Int -> UpdateBrokerCountResponse
- updateBrokerCountResponse_clusterArn :: Lens' UpdateBrokerCountResponse (Maybe Text)
- updateBrokerCountResponse_clusterOperationArn :: Lens' UpdateBrokerCountResponse (Maybe Text)
- updateBrokerCountResponse_httpStatus :: Lens' UpdateBrokerCountResponse Int
Creating a Request
data UpdateBrokerCount Source #
See: newUpdateBrokerCount smart constructor.
Constructors
| UpdateBrokerCount' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Natural | |
| -> UpdateBrokerCount |
Create a value of UpdateBrokerCount 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:
UpdateBrokerCount, updateBrokerCount_clusterArn - The Amazon Resource Name (ARN) that uniquely identifies the cluster.
UpdateBrokerCount, updateBrokerCount_currentVersion - The version of cluster to update from. A successful operation will then
generate a new version.
$sel:targetNumberOfBrokerNodes:UpdateBrokerCount', updateBrokerCount_targetNumberOfBrokerNodes - The number of broker nodes that you want the cluster to have after this
operation completes successfully.
Request Lenses
updateBrokerCount_clusterArn :: Lens' UpdateBrokerCount Text Source #
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
updateBrokerCount_currentVersion :: Lens' UpdateBrokerCount Text Source #
The version of cluster to update from. A successful operation will then generate a new version.
updateBrokerCount_targetNumberOfBrokerNodes :: Lens' UpdateBrokerCount Natural Source #
The number of broker nodes that you want the cluster to have after this operation completes successfully.
Destructuring the Response
data UpdateBrokerCountResponse Source #
See: newUpdateBrokerCountResponse smart constructor.
Constructors
| UpdateBrokerCountResponse' | |
Fields
| |
Instances
newUpdateBrokerCountResponse Source #
Create a value of UpdateBrokerCountResponse 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:
UpdateBrokerCount, updateBrokerCountResponse_clusterArn - The Amazon Resource Name (ARN) of the cluster.
$sel:clusterOperationArn:UpdateBrokerCountResponse', updateBrokerCountResponse_clusterOperationArn - The Amazon Resource Name (ARN) of the cluster operation.
$sel:httpStatus:UpdateBrokerCountResponse', updateBrokerCountResponse_httpStatus - The response's http status code.
Response Lenses
updateBrokerCountResponse_clusterArn :: Lens' UpdateBrokerCountResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
updateBrokerCountResponse_clusterOperationArn :: Lens' UpdateBrokerCountResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster operation.
updateBrokerCountResponse_httpStatus :: Lens' UpdateBrokerCountResponse Int Source #
The response's http status code.