AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to UpdateMonitoringAsync.

Namespace: Amazon.Kafka
Assembly: AWSSDK.Kafka.dll
Version: 3.x.y.z

Syntax

C#
public virtual UpdateMonitoringResponse UpdateMonitoring(
         UpdateMonitoringRequest request
)

Parameters

request
Type: Amazon.Kafka.Model.UpdateMonitoringRequest

Container for the necessary parameters to execute the UpdateMonitoring service method.

Return Value


The response from the UpdateMonitoring service method, as returned by Kafka.

Exceptions

ExceptionCondition
BadRequestException Returns information about an error.
ForbiddenException Returns information about an error.
InternalServerErrorException Returns information about an error.
ServiceUnavailableException Returns information about an error.
UnauthorizedException Returns information about an error.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also