v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1420133140.0 KB

Modifies one existing metric definition for CloudWatch RUM extended metrics. For more information about extended metrics, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_BatchCreateRumMetricsDefinitions.html">BatchCreateRumMetricsDefinitions</a>.

patch/rummetrics/{AppMonitorName}/metrics

Path parameters

AppMonitorNamestring required

The name of the CloudWatch RUM app monitor that sends these metrics.

Request body

Destination'CloudWatch' | 'Evidently' required

The destination to send the metrics to. Valid values are <code>CloudWatch</code> and <code>Evidently</code>. If you specify <code>Evidently</code>, you must also specify the ARN of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write to the experiment.

DestinationArnstring
<p>This parameter is required if <code>Destination</code> is <code>Evidently</code>. If <code>Destination</code> is <code>CloudWatch</code>, do not use this parameter.</p> <p>This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html">PutRumMetricsDestination</a>.</p>
MetricDefinitionIdstring required

The ID of the metric definition to update.

Response

Success

UpdateRumMetricDefinitionResponse required