/AWS1/CL_RUM=>UPDATERUMMETRICDEFINITION()
¶
About UpdateRumMetricDefinition¶
Modifies one existing metric definition for CloudWatch RUM extended metrics. For more information about extended metrics, see BatchCreateRumMetricsDefinitions.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_APPMONITORNAME
TYPE /AWS1/RUMAPPMONITORNAME
/AWS1/RUMAPPMONITORNAME
¶
The name of the CloudWatch RUM app monitor that sends these metrics.
IV_DESTINATION
TYPE /AWS1/RUMMETRICDESTINATION
/AWS1/RUMMETRICDESTINATION
¶
The destination to send the metrics to. Valid values are
CloudWatch
andEvidently
. If you specifyEvidently
, 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.
IO_METRICDEFINITION
TYPE REF TO /AWS1/CL_RUMMETRICDEFNREQUEST
/AWS1/CL_RUMMETRICDEFNREQUEST
¶
A structure that contains the new definition that you want to use for this metric.
IV_METRICDEFINITIONID
TYPE /AWS1/RUMMETRICDEFINITIONID
/AWS1/RUMMETRICDEFINITIONID
¶
The ID of the metric definition to update.
Optional arguments:¶
IV_DESTINATIONARN
TYPE /AWS1/RUMDESTINATIONARN
/AWS1/RUMDESTINATIONARN
¶
This parameter is required if
Destination
isEvidently
. IfDestination
isCloudWatch
, do not use this parameter.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 PutRumMetricsDestination.