Values.UpdateAppMonitorRequestSourceUpdates 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?
type nonrec t = {name : AppMonitorName.t;The name of the app monitor to update.
*)domain : AppMonitorDomain.t option;The top-level internet domain name for which your application has administrative authority.
*)domainList : AppMonitorDomainList.t option;List the domain names for which your application has administrative authority. The UpdateAppMonitor allows either the domain or the domain list.
*)appMonitorConfiguration : AppMonitorConfiguration.t option;A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include AppMonitorConfiguration, you must set up your own authorization method. For more information, see Authorize your application to send data to Amazon Web Services.
*)cwLogEnabled : Boolean.t option;Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
*)customEvents : CustomEvents.t option;Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be DISABLED. For more information about custom events, see Send custom events.
*)deobfuscationConfiguration : DeobfuscationConfiguration.t option;A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
*)}val make :
?domain:??? ->
?domainList:??? ->
?appMonitorConfiguration:??? ->
?cwLogEnabled:??? ->
?customEvents:??? ->
?deobfuscationConfiguration:??? ->
name:AppMonitorName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `List of [> `String of AppMonitorDomain.t ] list
| `String of AppMonitorName.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Double of SessionSampleRate.t
| `Enum of string
| `List of [> `Enum of string | `String of Url.t ] list
| `String of IdentityPoolId.t
| `Structure of
(string
* [> `Enum of string | `String of DeobfuscationS3Uri.t ])
list ])
list ])
list ]