@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSCloudWatchRUM
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSCloudWatchRUM
instead.
With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about your web application performance from actual user sessions in real time. The data collected includes page load times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and also see breakdowns by the browsers and devices that your customers use.
<p>You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error messages, stack traces, and user sessions. You can also use RUM to understand the range of end-user impact including the number of users, geolocations, and browsers used.</p>
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateAppMonitorResult |
createAppMonitor(CreateAppMonitorRequest createAppMonitorRequest)
Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that
data to RUM.
|
DeleteAppMonitorResult |
deleteAppMonitor(DeleteAppMonitorRequest deleteAppMonitorRequest)
Deletes an existing app monitor.
|
GetAppMonitorResult |
getAppMonitor(GetAppMonitorRequest getAppMonitorRequest)
Retrieves the complete configuration information for one app monitor.
|
GetAppMonitorDataResult |
getAppMonitorData(GetAppMonitorDataRequest getAppMonitorDataRequest)
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.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ListAppMonitorsResult |
listAppMonitors(ListAppMonitorsRequest listAppMonitorsRequest)
Returns a list of the Amazon CloudWatch RUM app monitors in the account.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Displays the tags associated with a CloudWatch RUM resource.
|
PutRumEventsResult |
putRumEvents(PutRumEventsRequest putRumEventsRequest)
Sends telemetry events about your application performance and user behavior to CloudWatch RUM.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Assigns one or more tags (key-value pairs) to the specified CloudWatch RUM resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from the specified resource.
|
UpdateAppMonitorResult |
updateAppMonitor(UpdateAppMonitorRequest updateAppMonitorRequest)
Updates the configuration of an existing app monitor.
|
static final String ENDPOINT_PREFIX
CreateAppMonitorResult createAppMonitor(CreateAppMonitorRequest createAppMonitorRequest)
Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that data to RUM. The data includes performance and reliability information such as page load time, client-side errors, and user behavior.
You use this operation only to create a new app monitor. To update an existing app monitor, use UpdateAppMonitor instead.
After you create an app monitor, sign in to the CloudWatch RUM console to get the JavaScript code snippet to add to your web application. For more information, see How do I find a code snippet that I've already generated?
createAppMonitorRequest
- ConflictException
- This operation attempted to create a resource that already exists.ServiceQuotaExceededException
- This request exceeds a service quota.InternalServerException
- Internal service exception.ValidationException
- One of the arguments for the request is not valid.ThrottlingException
- The request was throttled because of quota limits.AccessDeniedException
- You don't have sufficient permissions to perform this action.DeleteAppMonitorResult deleteAppMonitor(DeleteAppMonitorRequest deleteAppMonitorRequest)
Deletes an existing app monitor. This immediately stops the collection of data.
deleteAppMonitorRequest
- ConflictException
- This operation attempted to create a resource that already exists.ResourceNotFoundException
- Resource not found.InternalServerException
- Internal service exception.ValidationException
- One of the arguments for the request is not valid.ThrottlingException
- The request was throttled because of quota limits.AccessDeniedException
- You don't have sufficient permissions to perform this action.GetAppMonitorResult getAppMonitor(GetAppMonitorRequest getAppMonitorRequest)
Retrieves the complete configuration information for one app monitor.
getAppMonitorRequest
- ResourceNotFoundException
- Resource not found.InternalServerException
- Internal service exception.ValidationException
- One of the arguments for the request is not valid.ThrottlingException
- The request was throttled because of quota limits.AccessDeniedException
- You don't have sufficient permissions to perform this action.GetAppMonitorDataResult getAppMonitorData(GetAppMonitorDataRequest getAppMonitorDataRequest)
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.
getAppMonitorDataRequest
- ResourceNotFoundException
- Resource not found.InternalServerException
- Internal service exception.ValidationException
- One of the arguments for the request is not valid.ThrottlingException
- The request was throttled because of quota limits.AccessDeniedException
- You don't have sufficient permissions to perform this action.ListAppMonitorsResult listAppMonitors(ListAppMonitorsRequest listAppMonitorsRequest)
Returns a list of the Amazon CloudWatch RUM app monitors in the account.
listAppMonitorsRequest
- InternalServerException
- Internal service exception.ValidationException
- One of the arguments for the request is not valid.ThrottlingException
- The request was throttled because of quota limits.AccessDeniedException
- You don't have sufficient permissions to perform this action.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Displays the tags associated with a CloudWatch RUM resource.
listTagsForResourceRequest
- ResourceNotFoundException
- Resource not found.InternalServerException
- Internal service exception.ValidationException
- One of the arguments for the request is not valid.PutRumEventsResult putRumEvents(PutRumEventsRequest putRumEventsRequest)
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 PutRumEvents
operations to send this
data to RUM.
Each PutRumEvents
operation can send a batch of events from one user session.
putRumEventsRequest
- ResourceNotFoundException
- Resource not found.InternalServerException
- Internal service exception.ValidationException
- One of the arguments for the request is not valid.ThrottlingException
- The request was throttled because of quota limits.AccessDeniedException
- You don't have sufficient permissions to perform this action.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Assigns one or more tags (key-value pairs) to the specified CloudWatch RUM resource. Currently, the only resources that can be tagged app monitors.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can use the TagResource
action with a resource that already has tags. If you specify a new tag
key for the resource, this tag is appended to the list of tags associated with the alarm. If you specify a tag
key that is already associated with the resource, the new tag value that you specify replaces the previous value
for that tag.
You can associate as many as 50 tags with a resource.
For more information, see Tagging Amazon Web Services resources.
tagResourceRequest
- ResourceNotFoundException
- Resource not found.InternalServerException
- Internal service exception.ValidationException
- One of the arguments for the request is not valid.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from the specified resource.
untagResourceRequest
- ResourceNotFoundException
- Resource not found.InternalServerException
- Internal service exception.ValidationException
- One of the arguments for the request is not valid.UpdateAppMonitorResult updateAppMonitor(UpdateAppMonitorRequest updateAppMonitorRequest)
Updates the configuration of an existing app monitor. When you use this operation, only the parts of the app monitor configuration that you specify in this operation are changed. For any parameters that you omit, the existing values are kept.
You can't use this operation to change the tags of an existing app monitor. To change the tags of an existing app monitor, use TagResource.
To create a new app monitor, use CreateAppMonitor.
After you update an app monitor, sign in to the CloudWatch RUM console to get the updated JavaScript code snippet to add to your web application. For more information, see How do I find a code snippet that I've already generated?
updateAppMonitorRequest
- ConflictException
- This operation attempted to create a resource that already exists.ResourceNotFoundException
- Resource not found.InternalServerException
- Internal service exception.ValidationException
- One of the arguments for the request is not valid.ThrottlingException
- The request was throttled because of quota limits.AccessDeniedException
- You don't have sufficient permissions to perform this action.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.