@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonNetworkMonitorAsyncClient extends AmazonNetworkMonitorClient implements AmazonNetworkMonitorAsync
AsyncHandler can be used to
receive notification when an asynchronous operation completes.
Amazon CloudWatch Network Monitor is an Amazon Web Services active network monitoring service that identifies if a network issues exists within the Amazon Web Services network or your own company network. Within Network Monitor you'll choose the source VPCs and subnets from the Amazon Web Services network in which you operate and then you'll choose the destination IP addresses from your on-premises network. From these sources and destinations, Network Monitor creates a monitor containing all the possible source and destination combinations, each of which is called a probe, within a single monitor. These probes then monitor network traffic to help you identify where network issues might be affecting your traffic.
For more information, see Using Amazon CloudWatch Network Monitor in the Amazon CloudWatch User Guide.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createMonitor, createProbe, deleteMonitor, deleteProbe, getCachedResponseMetadata, getMonitor, getProbe, listMonitors, listTagsForResource, tagResource, untagResource, updateMonitor, updateProbeaddRequestHandler, 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, waitcreateMonitor, createProbe, deleteMonitor, deleteProbe, getCachedResponseMetadata, getMonitor, getProbe, listMonitors, listTagsForResource, tagResource, untagResource, updateMonitor, updateProbepublic static AmazonNetworkMonitorAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateMonitorResult> createMonitorAsync(CreateMonitorRequest request)
AmazonNetworkMonitorAsyncCreates a monitor between a source subnet and destination IP address. Within a monitor you'll create one or more probes that monitor network traffic between your source Amazon Web Services VPC subnets and your destination IP addresses. Each probe then aggregates and sends metrics to Amazon CloudWatch.
createMonitorAsync in interface AmazonNetworkMonitorAsyncpublic Future<CreateMonitorResult> createMonitorAsync(CreateMonitorRequest request, AsyncHandler<CreateMonitorRequest,CreateMonitorResult> asyncHandler)
AmazonNetworkMonitorAsyncCreates a monitor between a source subnet and destination IP address. Within a monitor you'll create one or more probes that monitor network traffic between your source Amazon Web Services VPC subnets and your destination IP addresses. Each probe then aggregates and sends metrics to Amazon CloudWatch.
createMonitorAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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<CreateProbeResult> createProbeAsync(CreateProbeRequest request)
AmazonNetworkMonitorAsyncCreate a probe within a monitor. Once you create a probe, and it begins monitoring your network traffic, you'll incur billing charges for that probe.
createProbeAsync in interface AmazonNetworkMonitorAsyncpublic Future<CreateProbeResult> createProbeAsync(CreateProbeRequest request, AsyncHandler<CreateProbeRequest,CreateProbeResult> asyncHandler)
AmazonNetworkMonitorAsyncCreate a probe within a monitor. Once you create a probe, and it begins monitoring your network traffic, you'll incur billing charges for that probe.
createProbeAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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<DeleteMonitorResult> deleteMonitorAsync(DeleteMonitorRequest request)
AmazonNetworkMonitorAsyncDeletes a specified monitor.
deleteMonitorAsync in interface AmazonNetworkMonitorAsyncpublic Future<DeleteMonitorResult> deleteMonitorAsync(DeleteMonitorRequest request, AsyncHandler<DeleteMonitorRequest,DeleteMonitorResult> asyncHandler)
AmazonNetworkMonitorAsyncDeletes a specified monitor.
deleteMonitorAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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<DeleteProbeResult> deleteProbeAsync(DeleteProbeRequest request)
AmazonNetworkMonitorAsyncDeletes the specified monitor. Once a probe is deleted you'll no longer incur any billing fees for that probe.
deleteProbeAsync in interface AmazonNetworkMonitorAsyncpublic Future<DeleteProbeResult> deleteProbeAsync(DeleteProbeRequest request, AsyncHandler<DeleteProbeRequest,DeleteProbeResult> asyncHandler)
AmazonNetworkMonitorAsyncDeletes the specified monitor. Once a probe is deleted you'll no longer incur any billing fees for that probe.
deleteProbeAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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<GetMonitorResult> getMonitorAsync(GetMonitorRequest request)
AmazonNetworkMonitorAsyncReturns details about a specific monitor.
getMonitorAsync in interface AmazonNetworkMonitorAsyncpublic Future<GetMonitorResult> getMonitorAsync(GetMonitorRequest request, AsyncHandler<GetMonitorRequest,GetMonitorResult> asyncHandler)
AmazonNetworkMonitorAsyncReturns details about a specific monitor.
getMonitorAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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<GetProbeResult> getProbeAsync(GetProbeRequest request)
AmazonNetworkMonitorAsync
Returns the details about a probe. You'll need both the monitorName and probeId.
getProbeAsync in interface AmazonNetworkMonitorAsyncpublic Future<GetProbeResult> getProbeAsync(GetProbeRequest request, AsyncHandler<GetProbeRequest,GetProbeResult> asyncHandler)
AmazonNetworkMonitorAsync
Returns the details about a probe. You'll need both the monitorName and probeId.
getProbeAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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<ListMonitorsResult> listMonitorsAsync(ListMonitorsRequest request)
AmazonNetworkMonitorAsyncReturns a list of all of your monitors.
listMonitorsAsync in interface AmazonNetworkMonitorAsyncpublic Future<ListMonitorsResult> listMonitorsAsync(ListMonitorsRequest request, AsyncHandler<ListMonitorsRequest,ListMonitorsResult> asyncHandler)
AmazonNetworkMonitorAsyncReturns a list of all of your monitors.
listMonitorsAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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)
AmazonNetworkMonitorAsyncLists the tags assigned to this resource.
listTagsForResourceAsync in interface AmazonNetworkMonitorAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonNetworkMonitorAsyncLists the tags assigned to this resource.
listTagsForResourceAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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)
AmazonNetworkMonitorAsyncAdds key-value pairs to a monitor or probe.
tagResourceAsync in interface AmazonNetworkMonitorAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonNetworkMonitorAsyncAdds key-value pairs to a monitor or probe.
tagResourceAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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)
AmazonNetworkMonitorAsyncRemoves a key-value pair from a monitor or probe.
untagResourceAsync in interface AmazonNetworkMonitorAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonNetworkMonitorAsyncRemoves a key-value pair from a monitor or probe.
untagResourceAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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<UpdateMonitorResult> updateMonitorAsync(UpdateMonitorRequest request)
AmazonNetworkMonitorAsync
Updates the aggregationPeriod for a monitor. Monitors support an aggregationPeriod of
either 30 or 60 seconds.
updateMonitorAsync in interface AmazonNetworkMonitorAsyncpublic Future<UpdateMonitorResult> updateMonitorAsync(UpdateMonitorRequest request, AsyncHandler<UpdateMonitorRequest,UpdateMonitorResult> asyncHandler)
AmazonNetworkMonitorAsync
Updates the aggregationPeriod for a monitor. Monitors support an aggregationPeriod of
either 30 or 60 seconds.
updateMonitorAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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<UpdateProbeResult> updateProbeAsync(UpdateProbeRequest request)
AmazonNetworkMonitorAsync
Updates a monitor probe. This action requires both the monitorName and probeId
parameters. Run ListMonitors to get a list of monitor names. Run GetMonitor to get a
list of probes and probe IDs.
updateProbeAsync in interface AmazonNetworkMonitorAsyncpublic Future<UpdateProbeResult> updateProbeAsync(UpdateProbeRequest request, AsyncHandler<UpdateProbeRequest,UpdateProbeResult> asyncHandler)
AmazonNetworkMonitorAsync
Updates a monitor probe. This action requires both the monitorName and probeId
parameters. Run ListMonitors to get a list of monitor names. Run GetMonitor to get a
list of probes and probe IDs.
updateProbeAsync in interface AmazonNetworkMonitorAsyncasyncHandler - 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 AmazonNetworkMonitorshutdown in class AmazonNetworkMonitorClient