@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonNetworkMonitor extends Object implements AmazonNetworkMonitor
AmazonNetworkMonitor
. 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 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 probe.
|
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.
|
public CreateMonitorResult createMonitor(CreateMonitorRequest request)
AmazonNetworkMonitor
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.
You can also create a monitor with probes using this command. For each probe, you define the following:
source
—The subnet IDs where the probes will be created.
destination
— The target destination IP address for the probe.
destinationPort
—Required only if the protocol is TCP
.
protocol
—The communication protocol between the source and destination. This will be either
TCP
or ICMP
.
packetSize
—The size of the packets. This must be a number between 56
and
8500
.
(Optional) tags
—Key-value pairs created and assigned to the probe.
createMonitor
in interface AmazonNetworkMonitor
public CreateProbeResult createProbe(CreateProbeRequest request)
AmazonNetworkMonitor
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. This action requires the monitorName
parameter. Run
ListMonitors
to get a list of monitor names. Note the name of the monitorName
you want
to create the probe for.
createProbe
in interface AmazonNetworkMonitor
public DeleteMonitorResult deleteMonitor(DeleteMonitorRequest request)
AmazonNetworkMonitor
Deletes a specified monitor.
This action requires the monitorName
parameter. Run ListMonitors
to get a list of
monitor names.
deleteMonitor
in interface AmazonNetworkMonitor
public DeleteProbeResult deleteProbe(DeleteProbeRequest request)
AmazonNetworkMonitor
Deletes the specified probe. Once a probe is deleted you'll no longer incur any billing fees for that 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. You can only delete a single probe at a time using this action.
deleteProbe
in interface AmazonNetworkMonitor
public GetMonitorResult getMonitor(GetMonitorRequest request)
AmazonNetworkMonitor
Returns details about a specific monitor.
This action requires the monitorName
parameter. Run ListMonitors
to get a list of
monitor names.
getMonitor
in interface AmazonNetworkMonitor
public GetProbeResult getProbe(GetProbeRequest request)
AmazonNetworkMonitor
Returns the details about a 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.
getProbe
in interface AmazonNetworkMonitor
public ListMonitorsResult listMonitors(ListMonitorsRequest request)
AmazonNetworkMonitor
Returns a list of all of your monitors.
listMonitors
in interface AmazonNetworkMonitor
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonNetworkMonitor
Lists the tags assigned to this resource.
listTagsForResource
in interface AmazonNetworkMonitor
public TagResourceResult tagResource(TagResourceRequest request)
AmazonNetworkMonitor
Adds key-value pairs to a monitor or probe.
tagResource
in interface AmazonNetworkMonitor
public UntagResourceResult untagResource(UntagResourceRequest request)
AmazonNetworkMonitor
Removes a key-value pair from a monitor or probe.
untagResource
in interface AmazonNetworkMonitor
public UpdateMonitorResult updateMonitor(UpdateMonitorRequest request)
AmazonNetworkMonitor
Updates the aggregationPeriod
for a monitor. Monitors support an aggregationPeriod
of
either 30
or 60
seconds. This action requires the monitorName
and
probeId
parameter. Run ListMonitors
to get a list of monitor names.
updateMonitor
in interface AmazonNetworkMonitor
public UpdateProbeResult updateProbe(UpdateProbeRequest request)
AmazonNetworkMonitor
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.
You can update the following para create a monitor with probes using this command. For each probe, you define the following:
state
—The state of the probe.
destination
— The target destination IP address for the probe.
destinationPort
—Required only if the protocol is TCP
.
protocol
—The communication protocol between the source and destination. This will be either
TCP
or ICMP
.
packetSize
—The size of the packets. This must be a number between 56
and
8500
.
(Optional) tags
—Key-value pairs created and assigned to the probe.
updateProbe
in interface AmazonNetworkMonitor
public void shutdown()
AmazonNetworkMonitor
shutdown
in interface AmazonNetworkMonitor
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonNetworkMonitor
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 AmazonNetworkMonitor
request
- The originally executed request.