Awso_rum_asyncSourceval batch_create_rum_metric_definitions :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.BatchCreateRumMetricDefinitionsRequest.t ->
(Awso_rum.Values.BatchCreateRumMetricDefinitionsResponse.t,
Awso_rum.Values.BatchCreateRumMetricDefinitionsResponse.error)
Result.t
Async.Deferred.tval batch_delete_rum_metric_definitions :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.BatchDeleteRumMetricDefinitionsRequest.t ->
(Awso_rum.Values.BatchDeleteRumMetricDefinitionsResponse.t,
Awso_rum.Values.BatchDeleteRumMetricDefinitionsResponse.error)
Result.t
Async.Deferred.tval batch_get_rum_metric_definitions :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.BatchGetRumMetricDefinitionsRequest.t ->
(Awso_rum.Values.BatchGetRumMetricDefinitionsResponse.t,
Awso_rum.Values.BatchGetRumMetricDefinitionsResponse.error)
Result.t
Async.Deferred.tval create_app_monitor :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.CreateAppMonitorRequest.t ->
(Awso_rum.Values.CreateAppMonitorResponse.t,
Awso_rum.Values.CreateAppMonitorResponse.error)
Result.t
Async.Deferred.tval delete_app_monitor :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.DeleteAppMonitorRequest.t ->
(Awso_rum.Values.DeleteAppMonitorResponse.t,
Awso_rum.Values.DeleteAppMonitorResponse.error)
Result.t
Async.Deferred.tval delete_resource_policy :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.DeleteResourcePolicyRequest.t ->
(Awso_rum.Values.DeleteResourcePolicyResponse.t,
Awso_rum.Values.DeleteResourcePolicyResponse.error)
Result.t
Async.Deferred.tval delete_rum_metrics_destination :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.DeleteRumMetricsDestinationRequest.t ->
(Awso_rum.Values.DeleteRumMetricsDestinationResponse.t,
Awso_rum.Values.DeleteRumMetricsDestinationResponse.error)
Result.t
Async.Deferred.tval get_app_monitor :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.GetAppMonitorRequest.t ->
(Awso_rum.Values.GetAppMonitorResponse.t,
Awso_rum.Values.GetAppMonitorResponse.error)
Result.t
Async.Deferred.tval get_app_monitor_data :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.GetAppMonitorDataRequest.t ->
(Awso_rum.Values.GetAppMonitorDataResponse.t,
Awso_rum.Values.GetAppMonitorDataResponse.error)
Result.t
Async.Deferred.tval get_resource_policy :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.GetResourcePolicyRequest.t ->
(Awso_rum.Values.GetResourcePolicyResponse.t,
Awso_rum.Values.GetResourcePolicyResponse.error)
Result.t
Async.Deferred.tval list_app_monitors :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.ListAppMonitorsRequest.t ->
(Awso_rum.Values.ListAppMonitorsResponse.t,
Awso_rum.Values.ListAppMonitorsResponse.error)
Result.t
Async.Deferred.tval list_rum_metrics_destinations :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.ListRumMetricsDestinationsRequest.t ->
(Awso_rum.Values.ListRumMetricsDestinationsResponse.t,
Awso_rum.Values.ListRumMetricsDestinationsResponse.error)
Result.t
Async.Deferred.tval list_tags_for_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.ListTagsForResourceRequest.t ->
(Awso_rum.Values.ListTagsForResourceResponse.t,
Awso_rum.Values.ListTagsForResourceResponse.error)
Result.t
Async.Deferred.tval put_resource_policy :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.PutResourcePolicyRequest.t ->
(Awso_rum.Values.PutResourcePolicyResponse.t,
Awso_rum.Values.PutResourcePolicyResponse.error)
Result.t
Async.Deferred.tval put_rum_events :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.PutRumEventsRequest.t ->
(Awso_rum.Values.PutRumEventsResponse.t,
Awso_rum.Values.PutRumEventsResponse.error)
Result.t
Async.Deferred.tval put_rum_metrics_destination :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.PutRumMetricsDestinationRequest.t ->
(Awso_rum.Values.PutRumMetricsDestinationResponse.t,
Awso_rum.Values.PutRumMetricsDestinationResponse.error)
Result.t
Async.Deferred.tval tag_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.TagResourceRequest.t ->
(Awso_rum.Values.TagResourceResponse.t,
Awso_rum.Values.TagResourceResponse.error)
Result.t
Async.Deferred.tval untag_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.UntagResourceRequest.t ->
(Awso_rum.Values.UntagResourceResponse.t,
Awso_rum.Values.UntagResourceResponse.error)
Result.t
Async.Deferred.tval update_app_monitor :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.UpdateAppMonitorRequest.t ->
(Awso_rum.Values.UpdateAppMonitorResponse.t,
Awso_rum.Values.UpdateAppMonitorResponse.error)
Result.t
Async.Deferred.tval update_rum_metric_definition :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_rum.Values.UpdateRumMetricDefinitionRequest.t ->
(Awso_rum.Values.UpdateRumMetricDefinitionResponse.t,
Awso_rum.Values.UpdateRumMetricDefinitionResponse.error)
Result.t
Async.Deferred.tinclude module type of struct include Awso_rum.Values endval structure_to_value_aux :
('a * 'b option) list ->
f:(('a * 'b) list -> 'c) ->
[> `Structure of 'c ]val structure_to_wrapped_value :
wrapper:'a ->
response:'a ->
('b * 'c option) list ->
[> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.
A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps.
Use this structure to define one extended metric or custom metric that RUM will send to CloudWatch or CloudWatch Evidently. For more information, see Custom metrics and extended metrics that you can send to CloudWatch and CloudWatch Evidently. This structure is validated differently for extended metrics and custom metrics. For extended metrics that are sent to the AWS/RUM namespace, the following validations apply: The Namespace parameter must be omitted or set to AWS/RUM. Only certain combinations of values for Name, ValueKey, and EventPattern are valid. In addition to what is displayed in the following list, the EventPattern can also include information used by the DimensionKeys field. If Name is PerformanceNavigationDuration, then ValueKeymust be event_details.duration and the EventPattern must include {"event_type":["com.amazon.rum.performance_navigation_event"]} If Name is PerformanceResourceDuration, then ValueKeymust be event_details.duration and the EventPattern must include {"event_type":["com.amazon.rum.performance_resource_event"]} If Name is NavigationSatisfiedTransaction, then ValueKeymust be null and the EventPattern must include { "event_type": ["com.amazon.rum.performance_navigation_event"], "event_details": { "duration": [{ "numeric": [">",2000] }] } } If Name is NavigationToleratedTransaction, then ValueKeymust be null and the EventPattern must include { "event_type": ["com.amazon.rum.performance_navigation_event"], "event_details": { "duration": [{ "numeric": [">=",2000,"<"8000] }] } } If Name is NavigationFrustratedTransaction, then ValueKeymust be null and the EventPattern must include { "event_type": ["com.amazon.rum.performance_navigation_event"], "event_details": { "duration": [{ "numeric": [">=",8000] }] } } If Name is WebVitalsCumulativeLayoutShift, then ValueKeymust be event_details.value and the EventPattern must include {"event_type":["com.amazon.rum.cumulative_layout_shift_event"]} If Name is WebVitalsFirstInputDelay, then ValueKeymust be event_details.value and the EventPattern must include {"event_type":["com.amazon.rum.first_input_delay_event"]} If Name is WebVitalsLargestContentfulPaint, then ValueKeymust be event_details.value and the EventPattern must include {"event_type":["com.amazon.rum.largest_contentful_paint_event"]} If Name is JsErrorCount, then ValueKeymust be null and the EventPattern must include {"event_type":["com.amazon.rum.js_error_event"]} If Name is HttpErrorCount, then ValueKeymust be null and the EventPattern must include {"event_type":["com.amazon.rum.http_event"]} If Name is SessionCount, then ValueKeymust be null and the EventPattern must include {"event_type":["com.amazon.rum.session_start_event"]} If Name is PageViewCount, then ValueKeymust be null and the EventPattern must include {"event_type":["com.amazon.rum.page_view_event"]} If Name is Http4xxCount, then ValueKeymust be null and the EventPattern must include {"event_type": ["com.amazon.rum.http_event"],"event_details":{"response":{"status":[{"numeric":[">=",400,"<",500]}]}}} } If Name is Http5xxCount, then ValueKeymust be null and the EventPattern must include {"event_type": ["com.amazon.rum.http_event"],"event_details":{"response":{"status":[{"numeric":[">=",500,"<=",599]}]}}} } For custom metrics, the following validation rules apply: The namespace can't be omitted and can't be AWS/RUM. You can use the AWS/RUM namespace only for extended metrics. All dimensions listed in the DimensionKeys field must be present in the value of EventPattern. The values that you specify for ValueKey, EventPattern, and DimensionKeys must be fields in RUM events, so all first-level keys in these fields must be one of the keys in the list later in this section. If you set a value for EventPattern, it must be a JSON object. For every non-empty event_details, there must be a non-empty event_type. If EventPattern contains an event_details field, it must also contain an event_type. For every built-in event_type that you use, you must use a value for event_details that corresponds to that event_type. For information about event details that correspond to event types, see RUM event details. In EventPattern, any JSON array must contain only one value. Valid key values for first-level keys in the ValueKey, EventPattern, and DimensionKeys fields: account_id application_Id application_version application_name batch_id event_details event_id event_interaction event_timestamp event_type event_version log_stream metadata sessionId user_details userId
A structure that contains the information for one performance event that RUM collects from a user session with your application.
A structure that displays information about one destination that CloudWatch RUM sends extended metrics to.
A structure that includes some data about app monitors and their settings.
This structure contains much of the configuration data for the app monitor.
A structure that contains information about custom events for this app monitor.
A structure that contains information about whether this app monitor stores a copy of the telemetry data that RUM collects using CloudWatch Logs.
A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
A structure that defines a key and values that you can use to filter the results. The only performance events that are returned are those that have values matching the ones that you specify in one of your QueryFilter structures. For example, you could specify Browser as the Name and specify Chrome,Firefox as the Values to return events generated only from those browsers. Specifying Invert as the Name works as a "not equal to" filter. For example, specify Invert as the Name and specify Chrome as the value to return all events except events from user sessions with the Chrome browser.
A structure that displays the definition of one extended metric that RUM sends to CloudWatch or CloudWatch Evidently. For more information, see Additional metrics that you can send to CloudWatch and CloudWatch Evidently.
module BatchDeleteRumMetricDefinitionsError =
Awso_rum.Values.BatchDeleteRumMetricDefinitionsErrorA structure that defines one error caused by a BatchCreateRumMetricsDefinitions operation.
module BatchCreateRumMetricDefinitionsError =
Awso_rum.Values.BatchCreateRumMetricDefinitionsErrorA structure that defines one error caused by a BatchCreateRumMetricsDefinitions operation.
You don't have sufficient permissions to perform this action.
This operation attempted to create a resource that already exists.
Internal service exception.
Resource not found.
This request exceeds a service quota.
The request was throttled because of quota limits.
One of the arguments for the request is not valid.
A structure that contains information about the RUM app monitor.
A structure that contains information about the user session that this batch of events was collected from.
The policy revision ID that you provided doeesn't match the latest policy revision ID.
The policy document that you specified is not formatted correctly.
The policy document is too large. The limit is 4 KB.
The resource-based policy doesn't exist on this app monitor.
A RUM app monitor collects telemetry data from your application and sends that data to RUM. The data includes performance and reliability information such as page load time, client-side errors, and user behavior.
A structure that defines the time range that you want to retrieve results from.
module BatchDeleteRumMetricDefinitionsErrors =
Awso_rum.Values.BatchDeleteRumMetricDefinitionsErrorsmodule BatchCreateRumMetricDefinitionsErrors =
Awso_rum.Values.BatchCreateRumMetricDefinitionsErrorsModifies one existing metric definition for CloudWatch RUM extended metrics. For more information about extended metrics, see BatchCreateRumMetricsDefinitions.
Modifies one existing metric definition for CloudWatch RUM extended metrics. For more information about extended metrics, see BatchCreateRumMetricsDefinitions.
Updates the configuration of an existing app monitor. When you use this operation, only the parts of the app monitor configuration that you specify in this operation are changed. For any parameters that you omit, the existing values are kept. You can't use this operation to change the tags of an existing app monitor. To change the tags of an existing app monitor, use TagResource. To create a new app monitor, use CreateAppMonitor. After you update an app monitor, sign in to the CloudWatch RUM console to get the updated JavaScript code snippet to add to your web application. For more information, see How do I find a code snippet that I've already generated?
Updates the configuration of an existing app monitor. When you use this operation, only the parts of the app monitor configuration that you specify in this operation are changed. For any parameters that you omit, the existing values are kept. You can't use this operation to change the tags of an existing app monitor. To change the tags of an existing app monitor, use TagResource. To create a new app monitor, use CreateAppMonitor. After you update an app monitor, sign in to the CloudWatch RUM console to get the updated JavaScript code snippet to add to your web application. For more information, see How do I find a code snippet that I've already generated?
Removes one or more tags from the specified resource.
Removes one or more tags from the specified resource.
Assigns one or more tags (key-value pairs) to the specified CloudWatch RUM resource. Currently, the only resources that can be tagged app monitors. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters. You can use the TagResource action with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. You can associate as many as 50 tags with a resource. For more information, see Tagging Amazon Web Services resources.
Assigns one or more tags (key-value pairs) to the specified CloudWatch RUM resource. Currently, the only resources that can be tagged app monitors. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters. You can use the TagResource action with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag. You can associate as many as 50 tags with a resource. For more information, see Tagging Amazon Web Services resources.
Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment. For more information about extended metrics, see BatchCreateRumMetricDefinitions.
Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment. For more information about extended metrics, see BatchCreateRumMetricDefinitions.
Sends telemetry events about your application performance and user behavior to CloudWatch RUM. The code snippet that RUM generates for you to add to your application includes PutRumEvents operations to send this data to RUM. Each PutRumEvents operation can send a batch of events from one user session.
Sends telemetry events about your application performance and user behavior to CloudWatch RUM. The code snippet that RUM generates for you to add to your application includes PutRumEvents operations to send this data to RUM. Each PutRumEvents operation can send a batch of events from one user session.
Use this operation to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it. Each app monitor can have one resource-based policy. The maximum size of the policy is 4 KB. To learn more about using resource policies with RUM, see Using resource-based policies with CloudWatch RUM.
Use this operation to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it. Each app monitor can have one resource-based policy. The maximum size of the policy is 4 KB. To learn more about using resource policies with RUM, see Using resource-based policies with CloudWatch RUM.
Displays the tags associated with a CloudWatch RUM resource.
Displays the tags associated with a CloudWatch RUM resource.
module ListRumMetricsDestinationsResponse =
Awso_rum.Values.ListRumMetricsDestinationsResponseReturns a list of destinations that you have created to receive RUM extended metrics, for the specified app monitor. For more information about extended metrics, see AddRumMetrics.
Returns a list of destinations that you have created to receive RUM extended metrics, for the specified app monitor. For more information about extended metrics, see AddRumMetrics.
Returns a list of the Amazon CloudWatch RUM app monitors in the account.
Returns a list of the Amazon CloudWatch RUM app monitors in the account.
Use this operation to retrieve information about a resource-based policy that is attached to an app monitor.
Use this operation to retrieve information about a resource-based policy that is attached to an app monitor.
Retrieves the complete configuration information for one app monitor.
Retrieves the complete configuration information for one app monitor.
Retrieves the raw performance events that RUM has collected from your web application, so that you can do your own processing or analysis of this data.
Retrieves the raw performance events that RUM has collected from your web application, so that you can do your own processing or analysis of this data.
module DeleteRumMetricsDestinationResponse =
Awso_rum.Values.DeleteRumMetricsDestinationResponseDeletes a destination for CloudWatch RUM extended metrics, so that the specified app monitor stops sending extended metrics to that destination.
module DeleteRumMetricsDestinationRequest =
Awso_rum.Values.DeleteRumMetricsDestinationRequestDeletes a destination for CloudWatch RUM extended metrics, so that the specified app monitor stops sending extended metrics to that destination.
Removes the association of a resource-based policy from an app monitor.
Removes the association of a resource-based policy from an app monitor.
Deletes an existing app monitor. This immediately stops the collection of data.
Deletes an existing app monitor. This immediately stops the collection of data.
Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that data to RUM. The data includes performance and reliability information such as page load time, client-side errors, and user behavior. You use this operation only to create a new app monitor. To update an existing app monitor, use UpdateAppMonitor instead. After you create an app monitor, sign in to the CloudWatch RUM console to get the JavaScript code snippet to add to your web application. For more information, see How do I find a code snippet that I've already generated?
Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that data to RUM. The data includes performance and reliability information such as page load time, client-side errors, and user behavior. You use this operation only to create a new app monitor. To update an existing app monitor, use UpdateAppMonitor instead. After you create an app monitor, sign in to the CloudWatch RUM console to get the JavaScript code snippet to add to your web application. For more information, see How do I find a code snippet that I've already generated?
module BatchGetRumMetricDefinitionsResponse =
Awso_rum.Values.BatchGetRumMetricDefinitionsResponseRetrieves the list of metrics and dimensions that a RUM app monitor is sending to a single destination.
module BatchGetRumMetricDefinitionsRequest =
Awso_rum.Values.BatchGetRumMetricDefinitionsRequestRetrieves the list of metrics and dimensions that a RUM app monitor is sending to a single destination.
module BatchDeleteRumMetricDefinitionsResponse =
Awso_rum.Values.BatchDeleteRumMetricDefinitionsResponseRemoves 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.
module BatchDeleteRumMetricDefinitionsRequest =
Awso_rum.Values.BatchDeleteRumMetricDefinitionsRequestRemoves 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.
module BatchCreateRumMetricDefinitionsResponse =
Awso_rum.Values.BatchCreateRumMetricDefinitionsResponseSpecifies the extended metrics and custom metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid destinations include CloudWatch and Evidently. By default, RUM app monitors send some metrics to CloudWatch. These default metrics are listed in CloudWatch metrics that you can collect with CloudWatch RUM. In addition to these default metrics, you can choose to send extended metrics, custom metrics, or both. Extended metrics let you send metrics with additional dimensions that aren't included in the default metrics. You can also send extended metrics to both Evidently and CloudWatch. The valid dimension names for the additional dimensions for extended metrics are BrowserName, CountryCode, DeviceType, FileType, OSName, and PageId. For more information, see Extended metrics that you can send to CloudWatch and CloudWatch Evidently. Custom metrics are metrics that you define. You can send custom metrics to CloudWatch. CloudWatch Evidently, or both. With custom metrics, you can use any metric name and namespace. To derive the metrics, you can use any custom events, built-in events, custom attributes, or default attributes. You can't send custom metrics to the AWS/RUM namespace. You must send custom metrics to a custom namespace that you define. The namespace that you use can't start with AWS/. CloudWatch RUM prepends RUM/CustomMetrics/ to the custom namespace that you define, so the final namespace for your metrics in CloudWatch is RUM/CustomMetrics/your-custom-namespace . The maximum number of metric definitions that you can specify in one BatchCreateRumMetricDefinitions operation is 200. The maximum number of metric definitions that one destination can contain is 2000. Extended metrics sent to CloudWatch and RUM custom metrics are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension value counts as a custom metric. For more information, see Amazon CloudWatch Pricing. You must have already created a destination for the metrics before you send them. For more information, see PutRumMetricsDestination. If some metric definitions specified in a BatchCreateRumMetricDefinitions operations are not valid, those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.
module BatchCreateRumMetricDefinitionsRequest =
Awso_rum.Values.BatchCreateRumMetricDefinitionsRequestSpecifies the extended metrics and custom metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid destinations include CloudWatch and Evidently. By default, RUM app monitors send some metrics to CloudWatch. These default metrics are listed in CloudWatch metrics that you can collect with CloudWatch RUM. In addition to these default metrics, you can choose to send extended metrics, custom metrics, or both. Extended metrics let you send metrics with additional dimensions that aren't included in the default metrics. You can also send extended metrics to both Evidently and CloudWatch. The valid dimension names for the additional dimensions for extended metrics are BrowserName, CountryCode, DeviceType, FileType, OSName, and PageId. For more information, see Extended metrics that you can send to CloudWatch and CloudWatch Evidently. Custom metrics are metrics that you define. You can send custom metrics to CloudWatch. CloudWatch Evidently, or both. With custom metrics, you can use any metric name and namespace. To derive the metrics, you can use any custom events, built-in events, custom attributes, or default attributes. You can't send custom metrics to the AWS/RUM namespace. You must send custom metrics to a custom namespace that you define. The namespace that you use can't start with AWS/. CloudWatch RUM prepends RUM/CustomMetrics/ to the custom namespace that you define, so the final namespace for your metrics in CloudWatch is RUM/CustomMetrics/your-custom-namespace . The maximum number of metric definitions that you can specify in one BatchCreateRumMetricDefinitions operation is 200. The maximum number of metric definitions that one destination can contain is 2000. Extended metrics sent to CloudWatch and RUM custom metrics are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension value counts as a custom metric. For more information, see Amazon CloudWatch Pricing. You must have already created a destination for the metrics before you send them. For more information, see PutRumMetricsDestination. If some metric definitions specified in a BatchCreateRumMetricDefinitions operations are not valid, those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.