@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSCloudWatchRUMAsync extends AbstractAWSCloudWatchRUM implements AWSCloudWatchRUMAsync
AWSCloudWatchRUMAsync. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIXbatchCreateRumMetricDefinitions, batchDeleteRumMetricDefinitions, batchGetRumMetricDefinitions, createAppMonitor, deleteAppMonitor, deleteRumMetricsDestination, getAppMonitor, getAppMonitorData, getCachedResponseMetadata, listAppMonitors, listRumMetricsDestinations, listTagsForResource, putRumEvents, putRumMetricsDestination, shutdown, tagResource, untagResource, updateAppMonitor, updateRumMetricDefinitionequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchCreateRumMetricDefinitions, batchDeleteRumMetricDefinitions, batchGetRumMetricDefinitions, createAppMonitor, deleteAppMonitor, deleteRumMetricsDestination, getAppMonitor, getAppMonitorData, getCachedResponseMetadata, listAppMonitors, listRumMetricsDestinations, listTagsForResource, putRumEvents, putRumMetricsDestination, shutdown, tagResource, untagResource, updateAppMonitor, updateRumMetricDefinitionpublic Future<BatchCreateRumMetricDefinitionsResult> batchCreateRumMetricDefinitionsAsync(BatchCreateRumMetricDefinitionsRequest request)
AWSCloudWatchRUMAsyncSpecifies the extended metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid destinations include CloudWatch and Evidently.
By default, RUM app monitors send some metrics to CloudWatch. These default metrics are listed in CloudWatch metrics that you can collect with CloudWatch RUM.
If you also send extended metrics, you can send metrics to Evidently as well as CloudWatch, and you can also
optionally send the metrics with additional dimensions. The valid dimension names for the additional dimensions
are BrowserName, CountryCode, DeviceType, FileType,
OSName, and PageId. For more information, see
Extended metrics that you can send to CloudWatch and CloudWatch Evidently.
The maximum number of metric definitions that you can specify in one BatchCreateRumMetricDefinitions
operation is 200.
<p>The maximum number of metric definitions that one destination can contain is 2000.</p> <p>Extended metrics sent are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension value counts as a custom metric. For more information, see <a href="https://aws.amazon.com/cloudwatch/pricing/">Amazon CloudWatch Pricing</a>.</p> <p>You must have already created a destination for the metrics before you send them. For more information, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html">PutRumMetricsDestination</a>.</p> <p>If some metric definitions specified in a <code>BatchCreateRumMetricDefinitions</code> operations are not valid, those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.</p>
batchCreateRumMetricDefinitionsAsync in interface AWSCloudWatchRUMAsyncpublic Future<BatchCreateRumMetricDefinitionsResult> batchCreateRumMetricDefinitionsAsync(BatchCreateRumMetricDefinitionsRequest request, AsyncHandler<BatchCreateRumMetricDefinitionsRequest,BatchCreateRumMetricDefinitionsResult> asyncHandler)
AWSCloudWatchRUMAsyncSpecifies the extended metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid destinations include CloudWatch and Evidently.
By default, RUM app monitors send some metrics to CloudWatch. These default metrics are listed in CloudWatch metrics that you can collect with CloudWatch RUM.
If you also send extended metrics, you can send metrics to Evidently as well as CloudWatch, and you can also
optionally send the metrics with additional dimensions. The valid dimension names for the additional dimensions
are BrowserName, CountryCode, DeviceType, FileType,
OSName, and PageId. For more information, see
Extended metrics that you can send to CloudWatch and CloudWatch Evidently.
The maximum number of metric definitions that you can specify in one BatchCreateRumMetricDefinitions
operation is 200.
<p>The maximum number of metric definitions that one destination can contain is 2000.</p> <p>Extended metrics sent are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension value counts as a custom metric. For more information, see <a href="https://aws.amazon.com/cloudwatch/pricing/">Amazon CloudWatch Pricing</a>.</p> <p>You must have already created a destination for the metrics before you send them. For more information, see <a href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html">PutRumMetricsDestination</a>.</p> <p>If some metric definitions specified in a <code>BatchCreateRumMetricDefinitions</code> operations are not valid, those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.</p>
batchCreateRumMetricDefinitionsAsync 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<BatchDeleteRumMetricDefinitionsResult> batchDeleteRumMetricDefinitionsAsync(BatchDeleteRumMetricDefinitionsRequest request)
AWSCloudWatchRUMAsyncRemoves the specified metrics from being sent to an extended metrics destination.
If some metric definition IDs specified in a BatchDeleteRumMetricDefinitions operations are not
valid, those metric definitions fail and return errors, but all valid metric definition IDs in the same operation
are still deleted.
The maximum number of metric definitions that you can specify in one BatchDeleteRumMetricDefinitions
operation is 200.
batchDeleteRumMetricDefinitionsAsync in interface AWSCloudWatchRUMAsyncpublic Future<BatchDeleteRumMetricDefinitionsResult> batchDeleteRumMetricDefinitionsAsync(BatchDeleteRumMetricDefinitionsRequest request, AsyncHandler<BatchDeleteRumMetricDefinitionsRequest,BatchDeleteRumMetricDefinitionsResult> asyncHandler)
AWSCloudWatchRUMAsyncRemoves the specified metrics from being sent to an extended metrics destination.
If some metric definition IDs specified in a BatchDeleteRumMetricDefinitions operations are not
valid, those metric definitions fail and return errors, but all valid metric definition IDs in the same operation
are still deleted.
The maximum number of metric definitions that you can specify in one BatchDeleteRumMetricDefinitions
operation is 200.
batchDeleteRumMetricDefinitionsAsync 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<BatchGetRumMetricDefinitionsResult> batchGetRumMetricDefinitionsAsync(BatchGetRumMetricDefinitionsRequest request)
AWSCloudWatchRUMAsyncRetrieves the list of metrics and dimensions that a RUM app monitor is sending to a single destination.
batchGetRumMetricDefinitionsAsync in interface AWSCloudWatchRUMAsyncpublic Future<BatchGetRumMetricDefinitionsResult> batchGetRumMetricDefinitionsAsync(BatchGetRumMetricDefinitionsRequest request, AsyncHandler<BatchGetRumMetricDefinitionsRequest,BatchGetRumMetricDefinitionsResult> asyncHandler)
AWSCloudWatchRUMAsyncRetrieves the list of metrics and dimensions that a RUM app monitor is sending to a single destination.
batchGetRumMetricDefinitionsAsync 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<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<DeleteRumMetricsDestinationResult> deleteRumMetricsDestinationAsync(DeleteRumMetricsDestinationRequest request)
AWSCloudWatchRUMAsyncDeletes a destination for CloudWatch RUM extended metrics, so that the specified app monitor stops sending extended metrics to that destination.
deleteRumMetricsDestinationAsync in interface AWSCloudWatchRUMAsyncpublic Future<DeleteRumMetricsDestinationResult> deleteRumMetricsDestinationAsync(DeleteRumMetricsDestinationRequest request, AsyncHandler<DeleteRumMetricsDestinationRequest,DeleteRumMetricsDestinationResult> asyncHandler)
AWSCloudWatchRUMAsyncDeletes a destination for CloudWatch RUM extended metrics, so that the specified app monitor stops sending extended metrics to that destination.
deleteRumMetricsDestinationAsync 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<ListRumMetricsDestinationsResult> listRumMetricsDestinationsAsync(ListRumMetricsDestinationsRequest request)
AWSCloudWatchRUMAsyncReturns a list of destinations that you have created to receive RUM extended metrics, for the specified app monitor.
For more information about extended metrics, see AddRumMetrics.
listRumMetricsDestinationsAsync in interface AWSCloudWatchRUMAsyncpublic Future<ListRumMetricsDestinationsResult> listRumMetricsDestinationsAsync(ListRumMetricsDestinationsRequest request, AsyncHandler<ListRumMetricsDestinationsRequest,ListRumMetricsDestinationsResult> asyncHandler)
AWSCloudWatchRUMAsyncReturns a list of destinations that you have created to receive RUM extended metrics, for the specified app monitor.
For more information about extended metrics, see AddRumMetrics.
listRumMetricsDestinationsAsync 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<PutRumMetricsDestinationResult> putRumMetricsDestinationAsync(PutRumMetricsDestinationRequest request)
AWSCloudWatchRUMAsyncCreates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment.
For more information about extended metrics, see AddRumMetrics.
putRumMetricsDestinationAsync in interface AWSCloudWatchRUMAsyncpublic Future<PutRumMetricsDestinationResult> putRumMetricsDestinationAsync(PutRumMetricsDestinationRequest request, AsyncHandler<PutRumMetricsDestinationRequest,PutRumMetricsDestinationResult> asyncHandler)
AWSCloudWatchRUMAsyncCreates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment.
For more information about extended metrics, see AddRumMetrics.
putRumMetricsDestinationAsync 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 Future<UpdateRumMetricDefinitionResult> updateRumMetricDefinitionAsync(UpdateRumMetricDefinitionRequest request)
AWSCloudWatchRUMAsyncModifies one existing metric definition for CloudWatch RUM extended metrics. For more information about extended metrics, see BatchCreateRumMetricsDefinitions.
updateRumMetricDefinitionAsync in interface AWSCloudWatchRUMAsyncpublic Future<UpdateRumMetricDefinitionResult> updateRumMetricDefinitionAsync(UpdateRumMetricDefinitionRequest request, AsyncHandler<UpdateRumMetricDefinitionRequest,UpdateRumMetricDefinitionResult> asyncHandler)
AWSCloudWatchRUMAsyncModifies one existing metric definition for CloudWatch RUM extended metrics. For more information about extended metrics, see BatchCreateRumMetricsDefinitions.
updateRumMetricDefinitionAsync 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.