All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.internetmonitor.AmazonInternetMonitorAsync Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon CloudWatch Internet Monitor module holds the client classes that are used for communicating with Amazon CloudWatch Internet Monitor Service

The newest version!
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.internetmonitor;

import javax.annotation.Generated;

import com.amazonaws.services.internetmonitor.model.*;

/**
 * Interface for accessing Amazon CloudWatch Internet Monitor asynchronously. Each asynchronous method will return a
 * Java Future object representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be
 * used to receive notification when an asynchronous operation completes.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.internetmonitor.AbstractAmazonInternetMonitorAsync} instead. *

*

*

* Amazon CloudWatch Internet Monitor provides visibility into how internet issues impact the performance and * availability between your applications hosted on Amazon Web Services and your end users. It can reduce the time it * takes for you to diagnose internet issues from days to minutes. Internet Monitor uses the connectivity data that * Amazon Web Services captures from its global networking footprint to calculate a baseline of performance and * availability for internet traffic. This is the same data that Amazon Web Services uses to monitor internet uptime and * availability. With those measurements as a baseline, Internet Monitor raises awareness for you when there are * significant problems for your end users in the different geographic locations where your application runs. *

*

* Internet Monitor publishes internet measurements to CloudWatch Logs and CloudWatch Metrics, to easily support using * CloudWatch tools with health information for geographies and networks specific to your application. Internet Monitor * sends health events to Amazon EventBridge so that you can set up notifications. If an issue is caused by the Amazon * Web Services network, you also automatically receive an Amazon Web Services Health Dashboard notification with the * steps that Amazon Web Services is taking to mitigate the problem. *

*

* To use Internet Monitor, you create a monitor and associate your application's resources with it - VPCs, NLBs, * CloudFront distributions, or WorkSpaces directories - so Internet Monitor can determine where your application's * internet traffic is. Internet Monitor then provides internet measurements from Amazon Web Services that are specific * to the locations and ASNs (typically, internet service providers or ISPs) that communicate with your application. *

*

* For more information, see Using Amazon * CloudWatch Internet Monitor in the Amazon CloudWatch User Guide. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonInternetMonitorAsync extends AmazonInternetMonitor { /** *

* Creates a monitor in Amazon CloudWatch Internet Monitor. A monitor is built based on information from the * application resources that you add: VPCs, Network Load Balancers (NLBs), Amazon CloudFront distributions, and * Amazon WorkSpaces directories. Internet Monitor then publishes internet measurements from Amazon Web Services * that are specific to the city-networks. That is, the locations and ASNs (typically internet service * providers or ISPs), where clients access your application. For more information, see Using * Amazon CloudWatch Internet Monitor in the Amazon CloudWatch User Guide. *

*

* When you create a monitor, you choose the percentage of traffic that you want to monitor. You can also set a * maximum limit for the number of city-networks where client traffic is monitored, that caps the total traffic that * Internet Monitor monitors. A city-network maximum is the limit of city-networks, but you only pay for the number * of city-networks that are actually monitored. You can update your monitor at any time to change the percentage of * traffic to monitor or the city-networks maximum. For more information, see Choosing a * city-network maximum value in the Amazon CloudWatch User Guide. *

* * @param createMonitorRequest * @return A Java Future containing the result of the CreateMonitor operation returned by the service. * @sample AmazonInternetMonitorAsync.CreateMonitor * @see AWS * API Documentation */ java.util.concurrent.Future createMonitorAsync(CreateMonitorRequest createMonitorRequest); /** *

* Creates a monitor in Amazon CloudWatch Internet Monitor. A monitor is built based on information from the * application resources that you add: VPCs, Network Load Balancers (NLBs), Amazon CloudFront distributions, and * Amazon WorkSpaces directories. Internet Monitor then publishes internet measurements from Amazon Web Services * that are specific to the city-networks. That is, the locations and ASNs (typically internet service * providers or ISPs), where clients access your application. For more information, see Using * Amazon CloudWatch Internet Monitor in the Amazon CloudWatch User Guide. *

*

* When you create a monitor, you choose the percentage of traffic that you want to monitor. You can also set a * maximum limit for the number of city-networks where client traffic is monitored, that caps the total traffic that * Internet Monitor monitors. A city-network maximum is the limit of city-networks, but you only pay for the number * of city-networks that are actually monitored. You can update your monitor at any time to change the percentage of * traffic to monitor or the city-networks maximum. For more information, see Choosing a * city-network maximum value in the Amazon CloudWatch User Guide. *

* * @param createMonitorRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the CreateMonitor operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.CreateMonitor * @see AWS * API Documentation */ java.util.concurrent.Future createMonitorAsync(CreateMonitorRequest createMonitorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes a monitor in Amazon CloudWatch Internet Monitor. *

* * @param deleteMonitorRequest * @return A Java Future containing the result of the DeleteMonitor operation returned by the service. * @sample AmazonInternetMonitorAsync.DeleteMonitor * @see AWS * API Documentation */ java.util.concurrent.Future deleteMonitorAsync(DeleteMonitorRequest deleteMonitorRequest); /** *

* Deletes a monitor in Amazon CloudWatch Internet Monitor. *

* * @param deleteMonitorRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the DeleteMonitor operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.DeleteMonitor * @see AWS * API Documentation */ java.util.concurrent.Future deleteMonitorAsync(DeleteMonitorRequest deleteMonitorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets information that Amazon CloudWatch Internet Monitor has created and stored about a health event for a * specified monitor. This information includes the impacted locations, and all the information related to the * event, by location. *

*

* The information returned includes the impact on performance, availability, and round-trip time, information about * the network providers (ASNs), the event type, and so on. *

*

* Information rolled up at the global traffic level is also returned, including the impact type and total traffic * impact. *

* * @param getHealthEventRequest * @return A Java Future containing the result of the GetHealthEvent operation returned by the service. * @sample AmazonInternetMonitorAsync.GetHealthEvent * @see AWS * API Documentation */ java.util.concurrent.Future getHealthEventAsync(GetHealthEventRequest getHealthEventRequest); /** *

* Gets information that Amazon CloudWatch Internet Monitor has created and stored about a health event for a * specified monitor. This information includes the impacted locations, and all the information related to the * event, by location. *

*

* The information returned includes the impact on performance, availability, and round-trip time, information about * the network providers (ASNs), the event type, and so on. *

*

* Information rolled up at the global traffic level is also returned, including the impact type and total traffic * impact. *

* * @param getHealthEventRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetHealthEvent operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.GetHealthEvent * @see AWS * API Documentation */ java.util.concurrent.Future getHealthEventAsync(GetHealthEventRequest getHealthEventRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets information that Amazon CloudWatch Internet Monitor has generated about an internet event. Internet Monitor * displays information about recent global health events, called internet events, on a global outages map that is * available to all Amazon Web Services customers. *

*

* The information returned here includes the impacted location, when the event started and (if the event is over) * ended, the type of event (PERFORMANCE or AVAILABILITY), and the status ( * ACTIVE or RESOLVED). *

* * @param getInternetEventRequest * @return A Java Future containing the result of the GetInternetEvent operation returned by the service. * @sample AmazonInternetMonitorAsync.GetInternetEvent * @see AWS API Documentation */ java.util.concurrent.Future getInternetEventAsync(GetInternetEventRequest getInternetEventRequest); /** *

* Gets information that Amazon CloudWatch Internet Monitor has generated about an internet event. Internet Monitor * displays information about recent global health events, called internet events, on a global outages map that is * available to all Amazon Web Services customers. *

*

* The information returned here includes the impacted location, when the event started and (if the event is over) * ended, the type of event (PERFORMANCE or AVAILABILITY), and the status ( * ACTIVE or RESOLVED). *

* * @param getInternetEventRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetInternetEvent operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.GetInternetEvent * @see AWS API Documentation */ java.util.concurrent.Future getInternetEventAsync(GetInternetEventRequest getInternetEventRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets information about a monitor in Amazon CloudWatch Internet Monitor based on a monitor name. The information * returned includes the Amazon Resource Name (ARN), create time, modified time, resources included in the monitor, * and status information. *

* * @param getMonitorRequest * @return A Java Future containing the result of the GetMonitor operation returned by the service. * @sample AmazonInternetMonitorAsync.GetMonitor * @see AWS API * Documentation */ java.util.concurrent.Future getMonitorAsync(GetMonitorRequest getMonitorRequest); /** *

* Gets information about a monitor in Amazon CloudWatch Internet Monitor based on a monitor name. The information * returned includes the Amazon Resource Name (ARN), create time, modified time, resources included in the monitor, * and status information. *

* * @param getMonitorRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetMonitor operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.GetMonitor * @see AWS API * Documentation */ java.util.concurrent.Future getMonitorAsync(GetMonitorRequest getMonitorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Return the data for a query with the Amazon CloudWatch Internet Monitor query interface. Specify the query that * you want to return results for by providing a QueryId and a monitor name. *

*

* For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User * Guide. *

* * @param getQueryResultsRequest * @return A Java Future containing the result of the GetQueryResults operation returned by the service. * @sample AmazonInternetMonitorAsync.GetQueryResults * @see AWS API Documentation */ java.util.concurrent.Future getQueryResultsAsync(GetQueryResultsRequest getQueryResultsRequest); /** *

* Return the data for a query with the Amazon CloudWatch Internet Monitor query interface. Specify the query that * you want to return results for by providing a QueryId and a monitor name. *

*

* For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User * Guide. *

* * @param getQueryResultsRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetQueryResults operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.GetQueryResults * @see AWS API Documentation */ java.util.concurrent.Future getQueryResultsAsync(GetQueryResultsRequest getQueryResultsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns the current status of a query for the Amazon CloudWatch Internet Monitor query interface, for a specified * query ID and monitor. When you run a query, check the status to make sure that the query has * SUCCEEDED before you review the results. *

*
    *
  • *

    * QUEUED: The query is scheduled to run. *

    *
  • *
  • *

    * RUNNING: The query is in progress but not complete. *

    *
  • *
  • *

    * SUCCEEDED: The query completed sucessfully. *

    *
  • *
  • *

    * FAILED: The query failed due to an error. *

    *
  • *
  • *

    * CANCELED: The query was canceled. *

    *
  • *
* * @param getQueryStatusRequest * @return A Java Future containing the result of the GetQueryStatus operation returned by the service. * @sample AmazonInternetMonitorAsync.GetQueryStatus * @see AWS * API Documentation */ java.util.concurrent.Future getQueryStatusAsync(GetQueryStatusRequest getQueryStatusRequest); /** *

* Returns the current status of a query for the Amazon CloudWatch Internet Monitor query interface, for a specified * query ID and monitor. When you run a query, check the status to make sure that the query has * SUCCEEDED before you review the results. *

*
    *
  • *

    * QUEUED: The query is scheduled to run. *

    *
  • *
  • *

    * RUNNING: The query is in progress but not complete. *

    *
  • *
  • *

    * SUCCEEDED: The query completed sucessfully. *

    *
  • *
  • *

    * FAILED: The query failed due to an error. *

    *
  • *
  • *

    * CANCELED: The query was canceled. *

    *
  • *
* * @param getQueryStatusRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the GetQueryStatus operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.GetQueryStatus * @see AWS * API Documentation */ java.util.concurrent.Future getQueryStatusAsync(GetQueryStatusRequest getQueryStatusRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all health events for a monitor in Amazon CloudWatch Internet Monitor. Returns information for health * events including the event start and end times, and the status. *

* *

* Health events that have start times during the time frame that is requested are not included in the list of * health events. *

*
* * @param listHealthEventsRequest * @return A Java Future containing the result of the ListHealthEvents operation returned by the service. * @sample AmazonInternetMonitorAsync.ListHealthEvents * @see AWS API Documentation */ java.util.concurrent.Future listHealthEventsAsync(ListHealthEventsRequest listHealthEventsRequest); /** *

* Lists all health events for a monitor in Amazon CloudWatch Internet Monitor. Returns information for health * events including the event start and end times, and the status. *

* *

* Health events that have start times during the time frame that is requested are not included in the list of * health events. *

*
* * @param listHealthEventsRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the ListHealthEvents operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.ListHealthEvents * @see AWS API Documentation */ java.util.concurrent.Future listHealthEventsAsync(ListHealthEventsRequest listHealthEventsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists internet events that cause performance or availability issues for client locations. Amazon CloudWatch * Internet Monitor displays information about recent global health events, called internet events, on a global * outages map that is available to all Amazon Web Services customers. *

*

* You can constrain the list of internet events returned by providing a start time and end time to define a total * time frame for events you want to list. Both start time and end time specify the time when an event started. End * time is optional. If you don't include it, the default end time is the current time. *

*

* You can also limit the events returned to a specific status (ACTIVE or RESOLVED) or * type (PERFORMANCE or AVAILABILITY). *

* * @param listInternetEventsRequest * @return A Java Future containing the result of the ListInternetEvents operation returned by the service. * @sample AmazonInternetMonitorAsync.ListInternetEvents * @see AWS API Documentation */ java.util.concurrent.Future listInternetEventsAsync(ListInternetEventsRequest listInternetEventsRequest); /** *

* Lists internet events that cause performance or availability issues for client locations. Amazon CloudWatch * Internet Monitor displays information about recent global health events, called internet events, on a global * outages map that is available to all Amazon Web Services customers. *

*

* You can constrain the list of internet events returned by providing a start time and end time to define a total * time frame for events you want to list. Both start time and end time specify the time when an event started. End * time is optional. If you don't include it, the default end time is the current time. *

*

* You can also limit the events returned to a specific status (ACTIVE or RESOLVED) or * type (PERFORMANCE or AVAILABILITY). *

* * @param listInternetEventsRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the ListInternetEvents operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.ListInternetEvents * @see AWS API Documentation */ java.util.concurrent.Future listInternetEventsAsync(ListInternetEventsRequest listInternetEventsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all of your monitors for Amazon CloudWatch Internet Monitor and their statuses, along with the Amazon * Resource Name (ARN) and name of each monitor. *

* * @param listMonitorsRequest * @return A Java Future containing the result of the ListMonitors operation returned by the service. * @sample AmazonInternetMonitorAsync.ListMonitors * @see AWS * API Documentation */ java.util.concurrent.Future listMonitorsAsync(ListMonitorsRequest listMonitorsRequest); /** *

* Lists all of your monitors for Amazon CloudWatch Internet Monitor and their statuses, along with the Amazon * Resource Name (ARN) and name of each monitor. *

* * @param listMonitorsRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the ListMonitors operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.ListMonitors * @see AWS * API Documentation */ java.util.concurrent.Future listMonitorsAsync(ListMonitorsRequest listMonitorsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the tags for a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonInternetMonitorAsync.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Lists the tags for a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor. *

* * @param listTagsForResourceRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Start a query to return data for a specific query type for the Amazon CloudWatch Internet Monitor query * interface. Specify a time period for the data that you want returned by using StartTime and * EndTime. You filter the query results to return by providing parameters that you specify with * FilterParameters. *

*

* For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User * Guide. *

* * @param startQueryRequest * @return A Java Future containing the result of the StartQuery operation returned by the service. * @sample AmazonInternetMonitorAsync.StartQuery * @see AWS API * Documentation */ java.util.concurrent.Future startQueryAsync(StartQueryRequest startQueryRequest); /** *

* Start a query to return data for a specific query type for the Amazon CloudWatch Internet Monitor query * interface. Specify a time period for the data that you want returned by using StartTime and * EndTime. You filter the query results to return by providing parameters that you specify with * FilterParameters. *

*

* For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User * Guide. *

* * @param startQueryRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the StartQuery operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.StartQuery * @see AWS API * Documentation */ java.util.concurrent.Future startQueryAsync(StartQueryRequest startQueryRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Stop a query that is progress for a specific monitor. *

* * @param stopQueryRequest * @return A Java Future containing the result of the StopQuery operation returned by the service. * @sample AmazonInternetMonitorAsync.StopQuery * @see AWS API * Documentation */ java.util.concurrent.Future stopQueryAsync(StopQueryRequest stopQueryRequest); /** *

* Stop a query that is progress for a specific monitor. *

* * @param stopQueryRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the StopQuery operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.StopQuery * @see AWS API * Documentation */ java.util.concurrent.Future stopQueryAsync(StopQueryRequest stopQueryRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Adds a tag to a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor. You can add * a maximum of 50 tags in Internet Monitor. *

*

* A minimum of one tag is required for this call. It returns an error if you use the TagResource * request with 0 tags. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonInternetMonitorAsync.TagResource * @see AWS * API Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Adds a tag to a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor. You can add * a maximum of 50 tags in Internet Monitor. *

*

* A minimum of one tag is required for this call. It returns an error if you use the TagResource * request with 0 tags. *

* * @param tagResourceRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.TagResource * @see AWS * API Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes a tag from a resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonInternetMonitorAsync.UntagResource * @see AWS * API Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Removes a tag from a resource. *

* * @param untagResourceRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.UntagResource * @see AWS * API Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates a monitor. You can update a monitor to change the percentage of traffic to monitor or the maximum number * of city-networks (locations and ASNs), to add or remove resources, or to change the status of the monitor. Note * that you can't change the name of a monitor. *

*

* The city-network maximum that you choose is the limit, but you only pay for the number of city-networks that are * actually monitored. For more information, see Choosing a * city-network maximum value in the Amazon CloudWatch User Guide. *

* * @param updateMonitorRequest * @return A Java Future containing the result of the UpdateMonitor operation returned by the service. * @sample AmazonInternetMonitorAsync.UpdateMonitor * @see AWS * API Documentation */ java.util.concurrent.Future updateMonitorAsync(UpdateMonitorRequest updateMonitorRequest); /** *

* Updates a monitor. You can update a monitor to change the percentage of traffic to monitor or the maximum number * of city-networks (locations and ASNs), to add or remove resources, or to change the status of the monitor. Note * that you can't change the name of a monitor. *

*

* The city-network maximum that you choose is the limit, but you only pay for the number of city-networks that are * actually monitored. For more information, see Choosing a * city-network maximum value in the Amazon CloudWatch User Guide. *

* * @param updateMonitorRequest * @param asyncHandler * 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. * @return A Java Future containing the result of the UpdateMonitor operation returned by the service. * @sample AmazonInternetMonitorAsyncHandler.UpdateMonitor * @see AWS * API Documentation */ java.util.concurrent.Future updateMonitorAsync(UpdateMonitorRequest updateMonitorRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy