Module Values.PutRumEventsRequestSource

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.

Sourcetype nonrec t = {
  1. id : PutRumEventsRequestIdString.t;
    (*

    The ID of the app monitor that is sending this data.

    *)
  2. batchId : PutRumEventsRequestBatchIdString.t;
    (*

    A unique identifier for this batch of RUM event data.

    *)
  3. appMonitorDetails : AppMonitorDetails.t;
    (*

    A structure that contains information about the app monitor that collected this telemetry information.

    *)
  4. userDetails : UserDetails.t;
    (*

    A structure that contains information about the user session that this batch of events was collected from.

    *)
  5. rumEvents : RumEventList.t;
    (*

    An array of structures that contain the telemetry event data.

    *)
  6. alias : Alias.t option;
    (*

    If the app monitor uses a resource-based policy that requires PutRumEvents requests to specify a certain alias, specify that alias here. This alias will be compared to the rum:alias context key in the resource-based policy. For more information, see Using resource-based policies with CloudWatch RUM.

    *)
}
Sourceval context_ : string
Sourceval make : ?alias:??? -> id:PutRumEventsRequestIdString.t -> batchId:PutRumEventsRequestBatchIdString.t -> appMonitorDetails:AppMonitorDetails.t -> userDetails:UserDetails.t -> rumEvents:RumEventList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of RumEventIdString.t | `Timestamp of Timestamp.t ]) list ] list | `String of PutRumEventsRequestIdString.t | `Structure of (string * [> `String of String_.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