CloudWatchRUM.Client.
get_app_monitor_data
(**kwargs)¶Retrieves the raw performance events that RUM has collected from your web application, so that you can do your own processing or analysis of this data.
See also: AWS API Documentation
Request Syntax
response = client.get_app_monitor_data(
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
MaxResults=123,
Name='string',
NextToken='string',
TimeRange={
'After': 123,
'Before': 123
}
)
An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.
A structure that defines a key and values that you can use to filter the results. The only performance events that are returned are those that have values matching the ones that you specify in one of your QueryFilter
structures.
For example, you could specify Browser
as the Name
and specify Chrome,Firefox
as the Values
to return events generated only from those browsers.
Specifying Invert
as the Name
works as a "not equal to" filter. For example, specify Invert
as the Name
and specify Chrome
as the value to return all events except events from user sessions with the Chrome browser.
The name of a key to search for. The filter returns only the events that match the Name
and Values
that you specify.
Valid values for Name
are Browser
| Device
| Country
| Page
| OS
| EventType
| Invert
The values of the Name
that are to be be included in the returned results.
[REQUIRED]
The name of the app monitor that collected the data that you want to retrieve.
[REQUIRED]
A structure that defines the time range that you want to retrieve results from.
The beginning of the time range to retrieve performance events from.
The end of the time range to retrieve performance events from. If you omit this, the time range extends to the time that this operation is performed.
dict
Response Syntax
{
'Events': [
'string',
],
'NextToken': 'string'
}
Response Structure
(dict) --
Events (list) --
The events that RUM collected that match your request.
NextToken (string) --
A token that you can use in a subsequent operation to retrieve the next set of results.
Exceptions
CloudWatchRUM.Client.exceptions.ResourceNotFoundException
CloudWatchRUM.Client.exceptions.InternalServerException
CloudWatchRUM.Client.exceptions.ValidationException
CloudWatchRUM.Client.exceptions.ThrottlingException
CloudWatchRUM.Client.exceptions.AccessDeniedException