GetAppMonitorData
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.
Request Syntax
POST /appmonitor/Name
/data HTTP/1.1
Content-type: application/json
{
"Filters": [
{
"Name": "string
",
"Values": [ "string
" ]
}
],
"MaxResults": number
,
"NextToken": "string
",
"TimeRange": {
"After": number
,
"Before": number
}
}
URI Request Parameters
The request uses the following URI parameters.
- Name
-
The name of the app monitor that collected the data that you want to retrieve.
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
^(?!\.)[\.\-_#A-Za-z0-9]+$
Required: Yes
Request Body
The request accepts the following data in JSON format.
- Filters
-
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.
Type: Array of QueryFilter objects
Required: No
- MaxResults
-
The maximum number of results to return in one operation.
Type: Integer
Valid Range: Minimum value of 0. Maximum value of 100.
Required: No
- NextToken
-
Use the token returned by the previous operation to request the next page of results.
Type: String
Required: No
- TimeRange
-
A structure that defines the time range that you want to retrieve results from.
Type: TimeRange object
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"Events": [ "string" ],
"NextToken": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
You don't have sufficient permissions to perform this action.
HTTP Status Code: 403
- InternalServerException
-
Internal service exception.
HTTP Status Code: 500
- ResourceNotFoundException
-
Resource not found.
HTTP Status Code: 404
- ThrottlingException
-
The request was throttled because of quota limits.
HTTP Status Code: 429
- ValidationException
-
One of the arguments for the request is not valid.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: