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 Apache Kafka version for the cluster.
Synopsis
- data UpdateClusterKafkaVersion = UpdateClusterKafkaVersion' {}
- newUpdateClusterKafkaVersion :: Text -> Text -> Text -> UpdateClusterKafkaVersion
- updateClusterKafkaVersion_configurationInfo :: Lens' UpdateClusterKafkaVersion (Maybe ConfigurationInfo)
- updateClusterKafkaVersion_clusterArn :: Lens' UpdateClusterKafkaVersion Text
- updateClusterKafkaVersion_targetKafkaVersion :: Lens' UpdateClusterKafkaVersion Text
- updateClusterKafkaVersion_currentVersion :: Lens' UpdateClusterKafkaVersion Text
- data UpdateClusterKafkaVersionResponse = UpdateClusterKafkaVersionResponse' {}
- newUpdateClusterKafkaVersionResponse :: Int -> UpdateClusterKafkaVersionResponse
- updateClusterKafkaVersionResponse_clusterArn :: Lens' UpdateClusterKafkaVersionResponse (Maybe Text)
- updateClusterKafkaVersionResponse_clusterOperationArn :: Lens' UpdateClusterKafkaVersionResponse (Maybe Text)
- updateClusterKafkaVersionResponse_httpStatus :: Lens' UpdateClusterKafkaVersionResponse Int
Creating a Request
data UpdateClusterKafkaVersion Source #
See: newUpdateClusterKafkaVersion
smart constructor.
UpdateClusterKafkaVersion' | |
|
Instances
newUpdateClusterKafkaVersion Source #
:: Text | |
-> Text | |
-> Text | |
-> UpdateClusterKafkaVersion |
Create a value of UpdateClusterKafkaVersion
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:configurationInfo:UpdateClusterKafkaVersion'
, updateClusterKafkaVersion_configurationInfo
- The custom configuration that should be applied on the new version of
cluster.
$sel:clusterArn:UpdateClusterKafkaVersion'
, updateClusterKafkaVersion_clusterArn
- The Amazon Resource Name (ARN) of the cluster to be updated.
$sel:targetKafkaVersion:UpdateClusterKafkaVersion'
, updateClusterKafkaVersion_targetKafkaVersion
- Target Kafka version.
$sel:currentVersion:UpdateClusterKafkaVersion'
, updateClusterKafkaVersion_currentVersion
- Current cluster version.
Request Lenses
updateClusterKafkaVersion_configurationInfo :: Lens' UpdateClusterKafkaVersion (Maybe ConfigurationInfo) Source #
The custom configuration that should be applied on the new version of cluster.
updateClusterKafkaVersion_clusterArn :: Lens' UpdateClusterKafkaVersion Text Source #
The Amazon Resource Name (ARN) of the cluster to be updated.
updateClusterKafkaVersion_targetKafkaVersion :: Lens' UpdateClusterKafkaVersion Text Source #
Target Kafka version.
updateClusterKafkaVersion_currentVersion :: Lens' UpdateClusterKafkaVersion Text Source #
Current cluster version.
Destructuring the Response
data UpdateClusterKafkaVersionResponse Source #
See: newUpdateClusterKafkaVersionResponse
smart constructor.
UpdateClusterKafkaVersionResponse' | |
|
Instances
newUpdateClusterKafkaVersionResponse Source #
Create a value of UpdateClusterKafkaVersionResponse
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:UpdateClusterKafkaVersion'
, updateClusterKafkaVersionResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:clusterOperationArn:UpdateClusterKafkaVersionResponse'
, updateClusterKafkaVersionResponse_clusterOperationArn
- The Amazon Resource Name (ARN) of the cluster operation.
$sel:httpStatus:UpdateClusterKafkaVersionResponse'
, updateClusterKafkaVersionResponse_httpStatus
- The response's http status code.
Response Lenses
updateClusterKafkaVersionResponse_clusterArn :: Lens' UpdateClusterKafkaVersionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
updateClusterKafkaVersionResponse_clusterOperationArn :: Lens' UpdateClusterKafkaVersionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster operation.
updateClusterKafkaVersionResponse_httpStatus :: Lens' UpdateClusterKafkaVersionResponse Int Source #
The response's http status code.