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.UpdateConnectivity
Description
Updates the cluster's connectivity configuration.
Synopsis
- data UpdateConnectivity = UpdateConnectivity' {}
- newUpdateConnectivity :: Text -> ConnectivityInfo -> Text -> UpdateConnectivity
- updateConnectivity_clusterArn :: Lens' UpdateConnectivity Text
- updateConnectivity_connectivityInfo :: Lens' UpdateConnectivity ConnectivityInfo
- updateConnectivity_currentVersion :: Lens' UpdateConnectivity Text
- data UpdateConnectivityResponse = UpdateConnectivityResponse' {}
- newUpdateConnectivityResponse :: Int -> UpdateConnectivityResponse
- updateConnectivityResponse_clusterArn :: Lens' UpdateConnectivityResponse (Maybe Text)
- updateConnectivityResponse_clusterOperationArn :: Lens' UpdateConnectivityResponse (Maybe Text)
- updateConnectivityResponse_httpStatus :: Lens' UpdateConnectivityResponse Int
Creating a Request
data UpdateConnectivity Source #
Request body for UpdateConnectivity.
See: newUpdateConnectivity
smart constructor.
Constructors
UpdateConnectivity' | |
Fields
|
Instances
newUpdateConnectivity Source #
Arguments
:: Text | |
-> ConnectivityInfo | |
-> Text | |
-> UpdateConnectivity |
Create a value of UpdateConnectivity
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:
UpdateConnectivity
, updateConnectivity_clusterArn
- The Amazon Resource Name (ARN) of the configuration.
UpdateConnectivity
, updateConnectivity_connectivityInfo
- Information about the broker access configuration.
UpdateConnectivity
, updateConnectivity_currentVersion
- The version of the MSK cluster to update. Cluster versions aren't
simple numbers. You can describe an MSK cluster to find its version.
When this update operation is successful, it generates a new cluster
version.
Request Lenses
updateConnectivity_clusterArn :: Lens' UpdateConnectivity Text Source #
The Amazon Resource Name (ARN) of the configuration.
updateConnectivity_connectivityInfo :: Lens' UpdateConnectivity ConnectivityInfo Source #
Information about the broker access configuration.
updateConnectivity_currentVersion :: Lens' UpdateConnectivity Text Source #
The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
Destructuring the Response
data UpdateConnectivityResponse Source #
See: newUpdateConnectivityResponse
smart constructor.
Constructors
UpdateConnectivityResponse' | |
Fields
|
Instances
newUpdateConnectivityResponse Source #
Create a value of UpdateConnectivityResponse
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:
UpdateConnectivity
, updateConnectivityResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:clusterOperationArn:UpdateConnectivityResponse'
, updateConnectivityResponse_clusterOperationArn
- The Amazon Resource Name (ARN) of the cluster operation.
$sel:httpStatus:UpdateConnectivityResponse'
, updateConnectivityResponse_httpStatus
- The response's http status code.
Response Lenses
updateConnectivityResponse_clusterArn :: Lens' UpdateConnectivityResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
updateConnectivityResponse_clusterOperationArn :: Lens' UpdateConnectivityResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster operation.
updateConnectivityResponse_httpStatus :: Lens' UpdateConnectivityResponse Int Source #
The response's http status code.