PutRumEventsRequest
¶
Source code in docs_src/capo_rum/types/put_rum_events_request.py
alias
instance-attribute
¶
alias: NotRequired[Alias]
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.
app_monitor_details
instance-attribute
¶
app_monitor_details: AppMonitorDetails
A structure that contains information about the app monitor that collected this telemetry information.
rum_events
instance-attribute
¶
rum_events: RumEventList
An array of structures that contain the telemetry event data.
session_metadata
instance-attribute
¶
session_metadata: NotRequired[JsonValue]
A JSON serialization of attributes that apply to every event in this batch, such as the browser, device, and operating system of the end user. CloudWatch RUM merges these attributes into each event in the batch, so you send them once for the batch instead of once for each event. If an attribute appears both here and in an individual event's metadata, CloudWatch RUM uses the value in the event's metadata.
user_details
instance-attribute
¶
user_details: UserDetails
A structure that contains information about the user session that this batch of events was collected from.