Skip to contents

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 put_rum_events operations to send this data to RUM.

See https://www.paws-r-sdk.com/docs/cloudwatchrum_put_rum_events/ for full documentation.

Usage

cloudwatchrum_put_rum_events(
  Id,
  BatchId,
  AppMonitorDetails,
  UserDetails,
  RumEvents,
  Alias = NULL
)

Arguments

Id

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

BatchId

[required] A unique identifier for this batch of RUM event data.

AppMonitorDetails

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

UserDetails

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

RumEvents

[required] An array of structures that contain the telemetry event data.

Alias

If the app monitor uses a resource-based policy that requires put_rum_events 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.