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 monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.
Synopsis
- data UpdateMonitoring = UpdateMonitoring' {}
- newUpdateMonitoring :: Text -> Text -> UpdateMonitoring
- updateMonitoring_enhancedMonitoring :: Lens' UpdateMonitoring (Maybe EnhancedMonitoring)
- updateMonitoring_openMonitoring :: Lens' UpdateMonitoring (Maybe OpenMonitoringInfo)
- updateMonitoring_loggingInfo :: Lens' UpdateMonitoring (Maybe LoggingInfo)
- updateMonitoring_clusterArn :: Lens' UpdateMonitoring Text
- updateMonitoring_currentVersion :: Lens' UpdateMonitoring Text
- data UpdateMonitoringResponse = UpdateMonitoringResponse' {}
- newUpdateMonitoringResponse :: Int -> UpdateMonitoringResponse
- updateMonitoringResponse_clusterArn :: Lens' UpdateMonitoringResponse (Maybe Text)
- updateMonitoringResponse_clusterOperationArn :: Lens' UpdateMonitoringResponse (Maybe Text)
- updateMonitoringResponse_httpStatus :: Lens' UpdateMonitoringResponse Int
Creating a Request
data UpdateMonitoring Source #
Request body for UpdateMonitoring.
See: newUpdateMonitoring
smart constructor.
UpdateMonitoring' | |
|
Instances
:: Text | |
-> Text | |
-> UpdateMonitoring |
Create a value of UpdateMonitoring
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:enhancedMonitoring:UpdateMonitoring'
, updateMonitoring_enhancedMonitoring
- Specifies which Apache Kafka metrics Amazon MSK gathers and sends to
Amazon CloudWatch for this cluster.
$sel:openMonitoring:UpdateMonitoring'
, updateMonitoring_openMonitoring
- The settings for open monitoring.
$sel:loggingInfo:UpdateMonitoring'
, updateMonitoring_loggingInfo
- Undocumented member.
$sel:clusterArn:UpdateMonitoring'
, updateMonitoring_clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.
$sel:currentVersion:UpdateMonitoring'
, updateMonitoring_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
updateMonitoring_enhancedMonitoring :: Lens' UpdateMonitoring (Maybe EnhancedMonitoring) Source #
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
updateMonitoring_openMonitoring :: Lens' UpdateMonitoring (Maybe OpenMonitoringInfo) Source #
The settings for open monitoring.
updateMonitoring_loggingInfo :: Lens' UpdateMonitoring (Maybe LoggingInfo) Source #
Undocumented member.
updateMonitoring_clusterArn :: Lens' UpdateMonitoring Text Source #
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
updateMonitoring_currentVersion :: Lens' UpdateMonitoring 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 UpdateMonitoringResponse Source #
See: newUpdateMonitoringResponse
smart constructor.
UpdateMonitoringResponse' | |
|
Instances
newUpdateMonitoringResponse Source #
Create a value of UpdateMonitoringResponse
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:UpdateMonitoring'
, updateMonitoringResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:clusterOperationArn:UpdateMonitoringResponse'
, updateMonitoringResponse_clusterOperationArn
- The Amazon Resource Name (ARN) of the cluster operation.
$sel:httpStatus:UpdateMonitoringResponse'
, updateMonitoringResponse_httpStatus
- The response's http status code.
Response Lenses
updateMonitoringResponse_clusterArn :: Lens' UpdateMonitoringResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
updateMonitoringResponse_clusterOperationArn :: Lens' UpdateMonitoringResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster operation.
updateMonitoringResponse_httpStatus :: Lens' UpdateMonitoringResponse Int Source #
The response's http status code.