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 |
Updates the cluster with the configuration that is specified in the request body.
Synopsis
- data UpdateClusterConfiguration = UpdateClusterConfiguration' {}
- newUpdateClusterConfiguration :: Text -> Text -> ConfigurationInfo -> UpdateClusterConfiguration
- updateClusterConfiguration_clusterArn :: Lens' UpdateClusterConfiguration Text
- updateClusterConfiguration_currentVersion :: Lens' UpdateClusterConfiguration Text
- updateClusterConfiguration_configurationInfo :: Lens' UpdateClusterConfiguration ConfigurationInfo
- data UpdateClusterConfigurationResponse = UpdateClusterConfigurationResponse' {}
- newUpdateClusterConfigurationResponse :: Int -> UpdateClusterConfigurationResponse
- updateClusterConfigurationResponse_clusterArn :: Lens' UpdateClusterConfigurationResponse (Maybe Text)
- updateClusterConfigurationResponse_clusterOperationArn :: Lens' UpdateClusterConfigurationResponse (Maybe Text)
- updateClusterConfigurationResponse_httpStatus :: Lens' UpdateClusterConfigurationResponse Int
Creating a Request
data UpdateClusterConfiguration Source #
See: newUpdateClusterConfiguration
smart constructor.
UpdateClusterConfiguration' | |
|
Instances
newUpdateClusterConfiguration Source #
Create a value of UpdateClusterConfiguration
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:UpdateClusterConfiguration'
, updateClusterConfiguration_clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.
$sel:currentVersion:UpdateClusterConfiguration'
, updateClusterConfiguration_currentVersion
- The version of the cluster that needs to be updated.
$sel:configurationInfo:UpdateClusterConfiguration'
, updateClusterConfiguration_configurationInfo
- Represents the configuration that you want MSK to use for the brokers in
a cluster.
Request Lenses
updateClusterConfiguration_clusterArn :: Lens' UpdateClusterConfiguration Text Source #
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
updateClusterConfiguration_currentVersion :: Lens' UpdateClusterConfiguration Text Source #
The version of the cluster that needs to be updated.
updateClusterConfiguration_configurationInfo :: Lens' UpdateClusterConfiguration ConfigurationInfo Source #
Represents the configuration that you want MSK to use for the brokers in a cluster.
Destructuring the Response
data UpdateClusterConfigurationResponse Source #
See: newUpdateClusterConfigurationResponse
smart constructor.
UpdateClusterConfigurationResponse' | |
|
Instances
newUpdateClusterConfigurationResponse Source #
Create a value of UpdateClusterConfigurationResponse
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:UpdateClusterConfiguration'
, updateClusterConfigurationResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:clusterOperationArn:UpdateClusterConfigurationResponse'
, updateClusterConfigurationResponse_clusterOperationArn
- The Amazon Resource Name (ARN) of the cluster operation.
$sel:httpStatus:UpdateClusterConfigurationResponse'
, updateClusterConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateClusterConfigurationResponse_clusterArn :: Lens' UpdateClusterConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
updateClusterConfigurationResponse_clusterOperationArn :: Lens' UpdateClusterConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster operation.
updateClusterConfigurationResponse_httpStatus :: Lens' UpdateClusterConfigurationResponse Int Source #
The response's http status code.