Skip to content

Put Rum Events

cloudwatchrum_put_rum_events R Documentation

Sends telemetry events about your application performance and user behavior to CloudWatch RUM

Description

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.

Each put_rum_events operation can send a batch of events from one user session.

Usage

cloudwatchrum_put_rum_events(AppMonitorDetails, BatchId, Id, RumEvents,
  UserDetails)

Arguments

AppMonitorDetails

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

BatchId

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

Id

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

RumEvents

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

UserDetails

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

Value

An empty list.

Request syntax

svc$put_rum_events(
  AppMonitorDetails = list(
    id = "string",
    name = "string",
    version = "string"
  ),
  BatchId = "string",
  Id = "string",
  RumEvents = list(
    list(
      details = "string",
      id = "string",
      metadata = "string",
      timestamp = as.POSIXct(
        "2015-01-01"
      ),
      type = "string"
    )
  ),
  UserDetails = list(
    sessionId = "string",
    userId = "string"
  )
)