CloudWatchNetworkMonitor / Client / get_probe
get_probe#
- CloudWatchNetworkMonitor.Client.get_probe(**kwargs)#
Returns the details about a probe. This action requires both the
monitorName
andprobeId
parameters. RunListMonitors
to get a list of monitor names. RunGetMonitor
to get a list of probes and probe IDs.See also: AWS API Documentation
Request Syntax
response = client.get_probe( monitorName='string', probeId='string' )
- Parameters:
monitorName (string) –
[REQUIRED]
The name of the monitor associated with the probe. Run
ListMonitors
to get a list of monitor names.probeId (string) –
[REQUIRED]
The ID of the probe to get information about. Run
GetMonitor
action to get a list of probes and probe IDs for the monitor.
- Return type:
dict
- Returns:
Response Syntax
{ 'probeId': 'string', 'probeArn': 'string', 'sourceArn': 'string', 'destination': 'string', 'destinationPort': 123, 'protocol': 'TCP'|'ICMP', 'packetSize': 123, 'addressFamily': 'IPV4'|'IPV6', 'vpcId': 'string', 'state': 'PENDING'|'ACTIVE'|'INACTIVE'|'ERROR'|'DELETING'|'DELETED', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'tags': { 'string': 'string' } }
Response Structure
(dict) –
probeId (string) –
The ID of the probe for which details are returned.
probeArn (string) –
The ARN of the probe.
sourceArn (string) –
The ARN of the probe.
destination (string) –
The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.
destinationPort (integer) –
The port associated with the
destination
. This is required only if theprotocol
isTCP
and must be a number between1
and65536
.protocol (string) –
The protocol used for the network traffic between the
source
anddestination
. This must be eitherTCP
orICMP
.packetSize (integer) –
The size of the packets sent between the source and destination. This must be a number between
56
and8500
.addressFamily (string) –
Indicates whether the IP address is
IPV4
orIPV6
.vpcId (string) –
The ID of the source VPC or subnet.
state (string) –
The state of the probe.
createdAt (datetime) –
The time and date that the probe was created.
modifiedAt (datetime) –
The time and date that the probe was last modified.
tags (dict) –
The list of key-value pairs assigned to the probe.
(string) –
(string) –
Exceptions
CloudWatchNetworkMonitor.Client.exceptions.AccessDeniedException
CloudWatchNetworkMonitor.Client.exceptions.ResourceNotFoundException
CloudWatchNetworkMonitor.Client.exceptions.ThrottlingException
CloudWatchNetworkMonitor.Client.exceptions.ValidationException
CloudWatchNetworkMonitor.Client.exceptions.InternalServerException