v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1420133140.0 KB

Removes the specified metrics from being sent to an extended metrics destination.

If some metric definition IDs specified in a BatchDeleteRumMetricDefinitions operations are not valid, those metric definitions fail and return errors, but all valid metric definition IDs in the same operation are still deleted.

The maximum number of metric definitions that you can specify in one BatchDeleteRumMetricDefinitions operation is 200.

delete/rummetrics/{AppMonitorName}/metrics#destination&metricDefinitionIds

Path parameters

AppMonitorNamestring required

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

Query parameters

destination'CloudWatch' | 'Evidently' required

Defines the destination where you want to stop sending the specified metrics. 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 is to be the destination 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 was receiving the metrics that are being deleted.</p>
metricDefinitionIdsMetricDefinitionId[] required

An array of structures which define the metrics that you want to stop sending.

Response

Success

MetricDefinitionIdsMetricDefinitionId[]

The IDs of the metric definitions that were deleted.