Module Values.UpdateRumMetricDefinitionRequestSource

Modifies one existing metric definition for CloudWatch RUM extended metrics. For more information about extended metrics, see BatchCreateRumMetricsDefinitions.

Sourcetype nonrec t = {
  1. appMonitorName : AppMonitorName.t;
    (*

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

    *)
  2. destination : MetricDestination.t;
    (*

    The destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, 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.

    *)
  3. destinationArn : DestinationArn.t option;
    (*

    This parameter is required if Destination is Evidently. If Destination is CloudWatch, 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.

    *)
  4. metricDefinition : MetricDefinitionRequest.t;
    (*

    A structure that contains the new definition that you want to use for this metric.

    *)
  5. metricDefinitionId : MetricDefinitionId.t;
    (*

    The ID of the metric definition to update.

    *)
}
Sourceval context_ : string
Sourceval make : ?destinationArn:??? -> appMonitorName:AppMonitorName.t -> destination:MetricDestination.t -> metricDefinition:MetricDefinitionRequest.t -> metricDefinitionId:MetricDefinitionId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of AppMonitorName.t | `Structure of (string * [> `Map of ([> `String of DimensionKey.t ] * [> `String of DimensionName.t ]) list | `String of MetricName.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t