@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonNetworkMonitorClient extends AmazonWebServiceClient implements AmazonNetworkMonitor
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_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonNetworkMonitorClientBuilder |
builder() |
CreateMonitorResult |
createMonitor(CreateMonitorRequest request)
Creates a monitor between a source subnet and destination IP address.
|
CreateProbeResult |
createProbe(CreateProbeRequest request)
Create a probe within a monitor.
|
DeleteMonitorResult |
deleteMonitor(DeleteMonitorRequest request)
Deletes a specified monitor.
|
DeleteProbeResult |
deleteProbe(DeleteProbeRequest request)
Deletes the specified 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.
|
GetMonitorResult |
getMonitor(GetMonitorRequest request)
Returns details about a specific monitor.
|
GetProbeResult |
getProbe(GetProbeRequest request)
Returns the details about a probe.
|
ListMonitorsResult |
listMonitors(ListMonitorsRequest request)
Returns a list of all of your monitors.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags assigned to this resource.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds key-value pairs to a monitor or probe.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes a key-value pair from a monitor or probe.
|
UpdateMonitorResult |
updateMonitor(UpdateMonitorRequest request)
Updates the
aggregationPeriod for a monitor. |
UpdateProbeResult |
updateProbe(UpdateProbeRequest request)
Updates a monitor probe.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AmazonNetworkMonitorClientBuilder builder()
public CreateMonitorResult createMonitor(CreateMonitorRequest request)
Creates 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.
createMonitor in interface AmazonNetworkMonitorcreateMonitorRequest - AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - This operation attempted to create a resource that already exists.ServiceQuotaExceededException - This request exceeds a service quota.public CreateProbeResult createProbe(CreateProbeRequest request)
Create 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.
createProbe in interface AmazonNetworkMonitorcreateProbeRequest - AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException - This request exceeds a service quota.public DeleteMonitorResult deleteMonitor(DeleteMonitorRequest request)
Deletes a specified monitor.
deleteMonitor in interface AmazonNetworkMonitordeleteMonitorRequest - AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.public DeleteProbeResult deleteProbe(DeleteProbeRequest request)
Deletes the specified monitor. Once a probe is deleted you'll no longer incur any billing fees for that probe.
deleteProbe in interface AmazonNetworkMonitordeleteProbeRequest - AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException - This request exceeds a service quota.public GetMonitorResult getMonitor(GetMonitorRequest request)
Returns details about a specific monitor.
getMonitor in interface AmazonNetworkMonitorgetMonitorRequest - AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.public GetProbeResult getProbe(GetProbeRequest request)
Returns the details about a probe. You'll need both the monitorName and probeId.
getProbe in interface AmazonNetworkMonitorgetProbeRequest - AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.public ListMonitorsResult listMonitors(ListMonitorsRequest request)
Returns a list of all of your monitors.
listMonitors in interface AmazonNetworkMonitorlistMonitorsRequest - AccessDeniedException - You do not have sufficient access to perform this action.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags assigned to this resource.
listTagsForResource in interface AmazonNetworkMonitorlistTagsForResourceRequest - AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - This operation attempted to create a resource that already exists.public TagResourceResult tagResource(TagResourceRequest request)
Adds key-value pairs to a monitor or probe.
tagResource in interface AmazonNetworkMonitortagResourceRequest - AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - This operation attempted to create a resource that already exists.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes a key-value pair from a monitor or probe.
untagResource in interface AmazonNetworkMonitoruntagResourceRequest - AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - This operation attempted to create a resource that already exists.public UpdateMonitorResult updateMonitor(UpdateMonitorRequest request)
Updates the aggregationPeriod for a monitor. Monitors support an aggregationPeriod of
either 30 or 60 seconds.
updateMonitor in interface AmazonNetworkMonitorupdateMonitorRequest - AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException - This request exceeds a service quota.public UpdateProbeResult updateProbe(UpdateProbeRequest request)
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.
updateProbe in interface AmazonNetworkMonitorupdateProbeRequest - AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The request was denied due to request throttlingValidationException - One of the parameters for the request is not valid.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException - This request exceeds a service quota.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata in interface AmazonNetworkMonitorrequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AmazonNetworkMonitorshutdown in class AmazonWebServiceClient