@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonInternetMonitor extends Object implements AmazonInternetMonitor
AmazonInternetMonitor
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CreateMonitorResult |
createMonitor(CreateMonitorRequest request)
Creates a monitor in Amazon CloudWatch Internet Monitor.
|
DeleteMonitorResult |
deleteMonitor(DeleteMonitorRequest request)
Deletes a monitor in Amazon CloudWatch Internet Monitor.
|
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.
|
GetHealthEventResult |
getHealthEvent(GetHealthEventRequest request)
Gets information the Amazon CloudWatch Internet Monitor has created and stored about a health event for a
specified monitor.
|
GetMonitorResult |
getMonitor(GetMonitorRequest request)
Gets information about a monitor in Amazon CloudWatch Internet Monitor based on a monitor name.
|
ListHealthEventsResult |
listHealthEvents(ListHealthEventsRequest request)
Lists all health events for a monitor in Amazon CloudWatch Internet Monitor.
|
ListMonitorsResult |
listMonitors(ListMonitorsRequest request)
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.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for a resource.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds a tag to a resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes a tag from a resource.
|
UpdateMonitorResult |
updateMonitor(UpdateMonitorRequest request)
Updates a monitor.
|
public CreateMonitorResult createMonitor(CreateMonitorRequest request)
AmazonInternetMonitor
Creates a monitor in Amazon CloudWatch Internet Monitor. A monitor is built based on information from the application resources that you add: Amazon Virtual Private Clouds (VPCs), Amazon CloudFront distributions, and 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 set a maximum limit for the number of city-networks where client traffic is monitored. The city-network maximum that you choose is the limit, but you only pay for the number of city-networks that are actually monitored. You can change the maximum at any time by updating your monitor. For more information, see Choosing a city-network maximum value in the Amazon CloudWatch User Guide.
createMonitor
in interface AmazonInternetMonitor
public DeleteMonitorResult deleteMonitor(DeleteMonitorRequest request)
AmazonInternetMonitor
Deletes a monitor in Amazon CloudWatch Internet Monitor.
deleteMonitor
in interface AmazonInternetMonitor
public GetHealthEventResult getHealthEvent(GetHealthEventRequest request)
AmazonInternetMonitor
Gets information the Amazon CloudWatch Internet Monitor has created and stored about a health event for a specified monitor. This information includes the impacted locations, and all of the information related to the event by location.
The information returned includes the performance, availability, and round-trip time impact, information about the network providers, 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.
getHealthEvent
in interface AmazonInternetMonitor
public GetMonitorResult getMonitor(GetMonitorRequest request)
AmazonInternetMonitor
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.
getMonitor
in interface AmazonInternetMonitor
public ListHealthEventsResult listHealthEvents(ListHealthEventsRequest request)
AmazonInternetMonitor
Lists all health events for a monitor in Amazon CloudWatch Internet Monitor. Returns all information for health events including the client location information the network cause and status, event start and end time, percentage of total traffic impacted, and status.
Health events that have start times during the time frame that is requested are not included in the list of health events.
listHealthEvents
in interface AmazonInternetMonitor
public ListMonitorsResult listMonitors(ListMonitorsRequest request)
AmazonInternetMonitor
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.
listMonitors
in interface AmazonInternetMonitor
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonInternetMonitor
Lists the tags for a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor.
listTagsForResource
in interface AmazonInternetMonitor
public TagResourceResult tagResource(TagResourceRequest request)
AmazonInternetMonitor
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.
tagResource
in interface AmazonInternetMonitor
public UntagResourceResult untagResource(UntagResourceRequest request)
AmazonInternetMonitor
Removes a tag from a resource.
untagResource
in interface AmazonInternetMonitor
public UpdateMonitorResult updateMonitor(UpdateMonitorRequest request)
AmazonInternetMonitor
Updates a monitor. You can update a monitor to change the maximum number of city-networks (locations and ASNs or internet service providers), 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.
updateMonitor
in interface AmazonInternetMonitor
public void shutdown()
AmazonInternetMonitor
shutdown
in interface AmazonInternetMonitor
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonInternetMonitor
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.
getCachedResponseMetadata
in interface AmazonInternetMonitor
request
- The originally executed request.