@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSCloudWatchRUMAsyncClient extends AWSCloudWatchRUMClient implements AWSCloudWatchRUMAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
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>
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSCloudWatchRUMAsyncClientBuilder |
asyncBuilder() |
Future<CreateAppMonitorResult> |
createAppMonitorAsync(CreateAppMonitorRequest request)
Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that
data to RUM.
|
Future<CreateAppMonitorResult> |
createAppMonitorAsync(CreateAppMonitorRequest request,
AsyncHandler<CreateAppMonitorRequest,CreateAppMonitorResult> asyncHandler)
Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that
data to RUM.
|
Future<DeleteAppMonitorResult> |
deleteAppMonitorAsync(DeleteAppMonitorRequest request)
Deletes an existing app monitor.
|
Future<DeleteAppMonitorResult> |
deleteAppMonitorAsync(DeleteAppMonitorRequest request,
AsyncHandler<DeleteAppMonitorRequest,DeleteAppMonitorResult> asyncHandler)
Deletes an existing app monitor.
|
Future<GetAppMonitorResult> |
getAppMonitorAsync(GetAppMonitorRequest request)
Retrieves the complete configuration information for one app monitor.
|
Future<GetAppMonitorResult> |
getAppMonitorAsync(GetAppMonitorRequest request,
AsyncHandler<GetAppMonitorRequest,GetAppMonitorResult> asyncHandler)
Retrieves the complete configuration information for one app monitor.
|
Future<GetAppMonitorDataResult> |
getAppMonitorDataAsync(GetAppMonitorDataRequest request)
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.
|
Future<GetAppMonitorDataResult> |
getAppMonitorDataAsync(GetAppMonitorDataRequest request,
AsyncHandler<GetAppMonitorDataRequest,GetAppMonitorDataResult> asyncHandler)
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.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<ListAppMonitorsResult> |
listAppMonitorsAsync(ListAppMonitorsRequest request)
Returns a list of the Amazon CloudWatch RUM app monitors in the account.
|
Future<ListAppMonitorsResult> |
listAppMonitorsAsync(ListAppMonitorsRequest request,
AsyncHandler<ListAppMonitorsRequest,ListAppMonitorsResult> asyncHandler)
Returns a list of the Amazon CloudWatch RUM app monitors in the account.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request)
Displays the tags associated with a CloudWatch RUM resource.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Displays the tags associated with a CloudWatch RUM resource.
|
Future<PutRumEventsResult> |
putRumEventsAsync(PutRumEventsRequest request)
Sends telemetry events about your application performance and user behavior to CloudWatch RUM.
|
Future<PutRumEventsResult> |
putRumEventsAsync(PutRumEventsRequest request,
AsyncHandler<PutRumEventsRequest,PutRumEventsResult> asyncHandler)
Sends telemetry events about your application performance and user behavior to CloudWatch RUM.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request)
Assigns one or more tags (key-value pairs) to the specified CloudWatch RUM resource.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Assigns one or more tags (key-value pairs) to the specified CloudWatch RUM resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request)
Removes one or more tags from the specified resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes one or more tags from the specified resource.
|
Future<UpdateAppMonitorResult> |
updateAppMonitorAsync(UpdateAppMonitorRequest request)
Updates the configuration of an existing app monitor.
|
Future<UpdateAppMonitorResult> |
updateAppMonitorAsync(UpdateAppMonitorRequest request,
AsyncHandler<UpdateAppMonitorRequest,UpdateAppMonitorResult> asyncHandler)
Updates the configuration of an existing app monitor.
|
builder, createAppMonitor, deleteAppMonitor, getAppMonitor, getAppMonitorData, getCachedResponseMetadata, listAppMonitors, listTagsForResource, putRumEvents, tagResource, untagResource, updateAppMonitoraddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAppMonitor, deleteAppMonitor, getAppMonitor, getAppMonitorData, getCachedResponseMetadata, listAppMonitors, listTagsForResource, putRumEvents, tagResource, untagResource, updateAppMonitorpublic static AWSCloudWatchRUMAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateAppMonitorResult> createAppMonitorAsync(CreateAppMonitorRequest request)
AWSCloudWatchRUMAsyncCreates 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?
createAppMonitorAsync in interface AWSCloudWatchRUMAsyncpublic Future<CreateAppMonitorResult> createAppMonitorAsync(CreateAppMonitorRequest request, AsyncHandler<CreateAppMonitorRequest,CreateAppMonitorResult> asyncHandler)
AWSCloudWatchRUMAsyncCreates 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?
createAppMonitorAsync in interface AWSCloudWatchRUMAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAppMonitorResult> deleteAppMonitorAsync(DeleteAppMonitorRequest request)
AWSCloudWatchRUMAsyncDeletes an existing app monitor. This immediately stops the collection of data.
deleteAppMonitorAsync in interface AWSCloudWatchRUMAsyncpublic Future<DeleteAppMonitorResult> deleteAppMonitorAsync(DeleteAppMonitorRequest request, AsyncHandler<DeleteAppMonitorRequest,DeleteAppMonitorResult> asyncHandler)
AWSCloudWatchRUMAsyncDeletes an existing app monitor. This immediately stops the collection of data.
deleteAppMonitorAsync in interface AWSCloudWatchRUMAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAppMonitorResult> getAppMonitorAsync(GetAppMonitorRequest request)
AWSCloudWatchRUMAsyncRetrieves the complete configuration information for one app monitor.
getAppMonitorAsync in interface AWSCloudWatchRUMAsyncpublic Future<GetAppMonitorResult> getAppMonitorAsync(GetAppMonitorRequest request, AsyncHandler<GetAppMonitorRequest,GetAppMonitorResult> asyncHandler)
AWSCloudWatchRUMAsyncRetrieves the complete configuration information for one app monitor.
getAppMonitorAsync in interface AWSCloudWatchRUMAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAppMonitorDataResult> getAppMonitorDataAsync(GetAppMonitorDataRequest request)
AWSCloudWatchRUMAsyncRetrieves 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.
getAppMonitorDataAsync in interface AWSCloudWatchRUMAsyncpublic Future<GetAppMonitorDataResult> getAppMonitorDataAsync(GetAppMonitorDataRequest request, AsyncHandler<GetAppMonitorDataRequest,GetAppMonitorDataResult> asyncHandler)
AWSCloudWatchRUMAsyncRetrieves 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.
getAppMonitorDataAsync in interface AWSCloudWatchRUMAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAppMonitorsResult> listAppMonitorsAsync(ListAppMonitorsRequest request)
AWSCloudWatchRUMAsyncReturns a list of the Amazon CloudWatch RUM app monitors in the account.
listAppMonitorsAsync in interface AWSCloudWatchRUMAsyncpublic Future<ListAppMonitorsResult> listAppMonitorsAsync(ListAppMonitorsRequest request, AsyncHandler<ListAppMonitorsRequest,ListAppMonitorsResult> asyncHandler)
AWSCloudWatchRUMAsyncReturns a list of the Amazon CloudWatch RUM app monitors in the account.
listAppMonitorsAsync in interface AWSCloudWatchRUMAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSCloudWatchRUMAsyncDisplays the tags associated with a CloudWatch RUM resource.
listTagsForResourceAsync in interface AWSCloudWatchRUMAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSCloudWatchRUMAsyncDisplays the tags associated with a CloudWatch RUM resource.
listTagsForResourceAsync in interface AWSCloudWatchRUMAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutRumEventsResult> putRumEventsAsync(PutRumEventsRequest request)
AWSCloudWatchRUMAsync
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.
putRumEventsAsync in interface AWSCloudWatchRUMAsyncpublic Future<PutRumEventsResult> putRumEventsAsync(PutRumEventsRequest request, AsyncHandler<PutRumEventsRequest,PutRumEventsResult> asyncHandler)
AWSCloudWatchRUMAsync
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.
putRumEventsAsync in interface AWSCloudWatchRUMAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSCloudWatchRUMAsyncAssigns 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.
tagResourceAsync in interface AWSCloudWatchRUMAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSCloudWatchRUMAsyncAssigns 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.
tagResourceAsync in interface AWSCloudWatchRUMAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSCloudWatchRUMAsyncRemoves one or more tags from the specified resource.
untagResourceAsync in interface AWSCloudWatchRUMAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSCloudWatchRUMAsyncRemoves one or more tags from the specified resource.
untagResourceAsync in interface AWSCloudWatchRUMAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateAppMonitorResult> updateAppMonitorAsync(UpdateAppMonitorRequest request)
AWSCloudWatchRUMAsyncUpdates 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?
updateAppMonitorAsync in interface AWSCloudWatchRUMAsyncpublic Future<UpdateAppMonitorResult> updateAppMonitorAsync(UpdateAppMonitorRequest request, AsyncHandler<UpdateAppMonitorRequest,UpdateAppMonitorResult> asyncHandler)
AWSCloudWatchRUMAsyncUpdates 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?
updateAppMonitorAsync in interface AWSCloudWatchRUMAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSCloudWatchRUMshutdown in class AWSCloudWatchRUMClient