SDK for PHP 3.x

Client: Aws\NetworkMonitor\NetworkMonitorClient
Service ID: networkmonitor
Version: 2023-08-01

This page describes the parameters and results for the operations of the Amazon CloudWatch Network Monitor (2023-08-01), and shows how to use the Aws\NetworkMonitor\NetworkMonitorClient object to call the described operations. This documentation is specific to the 2023-08-01 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

CreateMonitor ( array $params = [] )
Creates a monitor between a source subnet and destination IP address.
CreateProbe ( array $params = [] )
Create a probe within a monitor.
DeleteMonitor ( array $params = [] )
Deletes a specified monitor.
DeleteProbe ( array $params = [] )
Deletes the specified probe.
GetMonitor ( array $params = [] )
Returns details about a specific monitor.
GetProbe ( array $params = [] )
Returns the details about a probe.
ListMonitors ( array $params = [] )
Returns a list of all of your monitors.
ListTagsForResource ( array $params = [] )
Lists the tags assigned to this resource.
TagResource ( array $params = [] )
Adds key-value pairs to a monitor or probe.
UntagResource ( array $params = [] )
Removes a key-value pair from a monitor or probe.
UpdateMonitor ( array $params = [] )
Updates the aggregationPeriod for a monitor.
UpdateProbe ( array $params = [] )
Updates a monitor probe.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

ListMonitors

Operations

CreateMonitor

$result = $client->createMonitor([/* ... */]);
$promise = $client->createMonitorAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createMonitor([
    'aggregationPeriod' => <integer>,
    'clientToken' => '<string>',
    'monitorName' => '<string>', // REQUIRED
    'probes' => [
        [
            'destination' => '<string>', // REQUIRED
            'destinationPort' => <integer>,
            'packetSize' => <integer>,
            'probeTags' => ['<string>', ...],
            'protocol' => 'TCP|ICMP', // REQUIRED
            'sourceArn' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
aggregationPeriod
Type: long (int|float)

The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60. 60 is the default if no period is chosen.

clientToken
Type: string

Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.

monitorName
Required: Yes
Type: string

The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.

probes
Type: Array of CreateMonitorProbeInput structures

Displays a list of all of the probes created for a monitor.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs created and assigned to the monitor.

Result Syntax

[
    'aggregationPeriod' => <integer>,
    'monitorArn' => '<string>',
    'monitorName' => '<string>',
    'state' => 'PENDING|ACTIVE|INACTIVE|ERROR|DELETING',
    'tags' => ['<string>', ...],
]

Result Details

Members
aggregationPeriod
Type: long (int|float)

The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This will be either 30 or 60.

monitorArn
Required: Yes
Type: string

The ARN of the monitor.

monitorName
Required: Yes
Type: string

The name of the monitor.

state
Required: Yes
Type: string

The state of the monitor.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs assigned to the monitor.

Errors

AccessDeniedException:

You do not have sufficient access to perform this action.

ThrottlingException:

The request was denied due to request throttling

ValidationException:

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.

CreateProbe

$result = $client->createProbe([/* ... */]);
$promise = $client->createProbeAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createProbe([
    'clientToken' => '<string>',
    'monitorName' => '<string>', // REQUIRED
    'probe' => [ // REQUIRED
        'destination' => '<string>', // REQUIRED
        'destinationPort' => <integer>,
        'packetSize' => <integer>,
        'protocol' => 'TCP|ICMP', // REQUIRED
        'sourceArn' => '<string>', // REQUIRED
        'tags' => ['<string>', ...],
    ],
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Type: string

Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.

monitorName
Required: Yes
Type: string

The name of the monitor to associated with the probe.

probe
Required: Yes
Type: ProbeInput structure

Describes the details of an individual probe for a monitor.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs created and assigned to the probe.

Result Syntax

[
    'addressFamily' => 'IPV4|IPV6',
    'createdAt' => <DateTime>,
    'destination' => '<string>',
    'destinationPort' => <integer>,
    'modifiedAt' => <DateTime>,
    'packetSize' => <integer>,
    'probeArn' => '<string>',
    'probeId' => '<string>',
    'protocol' => 'TCP|ICMP',
    'sourceArn' => '<string>',
    'state' => 'PENDING|ACTIVE|INACTIVE|ERROR|DELETING|DELETED',
    'tags' => ['<string>', ...],
    'vpcId' => '<string>',
]

Result Details

Members
addressFamily
Type: string

Indicates whether the IP address is IPV4 or IPV6.

createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time and date that the probe was created.

destination
Required: Yes
Type: string

The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.

destinationPort
Type: int

The port associated with the destination. This is required only if the protocol is TCP and must be a number between 1 and 65536.

modifiedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time and date when the probe was last modified.

packetSize
Type: int

The size of the packets sent between the source and destination. This must be a number between 56 and 8500.

probeArn
Type: string

The ARN of the probe.

probeId
Type: string

The ID of the probe for which details are returned.

protocol
Required: Yes
Type: string

The protocol used for the network traffic between the source and destination. This must be either TCP or ICMP.

sourceArn
Required: Yes
Type: string

The ARN of the probe.

state
Type: string

The state of the probe.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs assigned to the probe.

vpcId
Type: string

The ID of the source VPC or subnet.

Errors

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 throttling

ValidationException:

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.

DeleteMonitor

$result = $client->deleteMonitor([/* ... */]);
$promise = $client->deleteMonitorAsync([/* ... */]);

Deletes a specified monitor.

This action requires the monitorName parameter. Run ListMonitors to get a list of monitor names.

Parameter Syntax

$result = $client->deleteMonitor([
    'monitorName' => '<string>', // REQUIRED
]);

Parameter Details

Members
monitorName
Required: Yes
Type: string

The name of the monitor to delete.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

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 throttling

ValidationException:

One of the parameters for the request is not valid.

InternalServerException:

The request processing has failed because of an unknown error, exception or failure.

DeleteProbe

$result = $client->deleteProbe([/* ... */]);
$promise = $client->deleteProbeAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteProbe([
    'monitorName' => '<string>', // REQUIRED
    'probeId' => '<string>', // REQUIRED
]);

Parameter Details

Members
monitorName
Required: Yes
Type: string

The name of the monitor to delete.

probeId
Required: Yes
Type: string

The ID of the probe to delete.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

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 throttling

ValidationException:

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.

GetMonitor

$result = $client->getMonitor([/* ... */]);
$promise = $client->getMonitorAsync([/* ... */]);

Returns details about a specific monitor.

This action requires the monitorName parameter. Run ListMonitors to get a list of monitor names.

Parameter Syntax

$result = $client->getMonitor([
    'monitorName' => '<string>', // REQUIRED
]);

Parameter Details

Members
monitorName
Required: Yes
Type: string

The name of the monitor that details are returned for.

Result Syntax

[
    'aggregationPeriod' => <integer>,
    'createdAt' => <DateTime>,
    'modifiedAt' => <DateTime>,
    'monitorArn' => '<string>',
    'monitorName' => '<string>',
    'probes' => [
        [
            'addressFamily' => 'IPV4|IPV6',
            'createdAt' => <DateTime>,
            'destination' => '<string>',
            'destinationPort' => <integer>,
            'modifiedAt' => <DateTime>,
            'packetSize' => <integer>,
            'probeArn' => '<string>',
            'probeId' => '<string>',
            'protocol' => 'TCP|ICMP',
            'sourceArn' => '<string>',
            'state' => 'PENDING|ACTIVE|INACTIVE|ERROR|DELETING|DELETED',
            'tags' => ['<string>', ...],
            'vpcId' => '<string>',
        ],
        // ...
    ],
    'state' => 'PENDING|ACTIVE|INACTIVE|ERROR|DELETING',
    'tags' => ['<string>', ...],
]

Result Details

Members
aggregationPeriod
Required: Yes
Type: long (int|float)

The aggregation period for the specified monitor.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time and date when the monitor was created.

modifiedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time and date when the monitor was last modified.

monitorArn
Required: Yes
Type: string

The ARN of the selected monitor.

monitorName
Required: Yes
Type: string

The name of the monitor.

probes
Type: Array of Probe structures

The details about each probe associated with that monitor.

state
Required: Yes
Type: string

Lists the status of the state of each monitor.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs assigned to the monitor.

Errors

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 throttling

ValidationException:

One of the parameters for the request is not valid.

InternalServerException:

The request processing has failed because of an unknown error, exception or failure.

GetProbe

$result = $client->getProbe([/* ... */]);
$promise = $client->getProbeAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->getProbe([
    'monitorName' => '<string>', // REQUIRED
    'probeId' => '<string>', // REQUIRED
]);

Parameter Details

Members
monitorName
Required: Yes
Type: string

The name of the monitor associated with the probe. Run ListMonitors to get a list of monitor names.

probeId
Required: Yes
Type: string

The ID of the probe to get information about. Run GetMonitor action to get a list of probes and probe IDs for the monitor.

Result Syntax

[
    'addressFamily' => 'IPV4|IPV6',
    'createdAt' => <DateTime>,
    'destination' => '<string>',
    'destinationPort' => <integer>,
    'modifiedAt' => <DateTime>,
    'packetSize' => <integer>,
    'probeArn' => '<string>',
    'probeId' => '<string>',
    'protocol' => 'TCP|ICMP',
    'sourceArn' => '<string>',
    'state' => 'PENDING|ACTIVE|INACTIVE|ERROR|DELETING|DELETED',
    'tags' => ['<string>', ...],
    'vpcId' => '<string>',
]

Result Details

Members
addressFamily
Type: string

Indicates whether the IP address is IPV4 or IPV6.

createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time and date that the probe was created.

destination
Required: Yes
Type: string

The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.

destinationPort
Type: int

The port associated with the destination. This is required only if the protocol is TCP and must be a number between 1 and 65536.

modifiedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time and date that the probe was last modified.

packetSize
Type: int

The size of the packets sent between the source and destination. This must be a number between 56 and 8500.

probeArn
Type: string

The ARN of the probe.

probeId
Type: string

The ID of the probe for which details are returned.

protocol
Required: Yes
Type: string

The protocol used for the network traffic between the source and destination. This must be either TCP or ICMP.

sourceArn
Required: Yes
Type: string

The ARN of the probe.

state
Type: string

The state of the probe.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs assigned to the probe.

vpcId
Type: string

The ID of the source VPC or subnet.

Errors

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 throttling

ValidationException:

One of the parameters for the request is not valid.

InternalServerException:

The request processing has failed because of an unknown error, exception or failure.

ListMonitors

$result = $client->listMonitors([/* ... */]);
$promise = $client->listMonitorsAsync([/* ... */]);

Returns a list of all of your monitors.

Parameter Syntax

$result = $client->listMonitors([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'state' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

If MaxResults is given a value larger than 100, only 100 results are returned.

nextToken
Type: string

The token for the next page of results.

state
Type: string

The list of all monitors and their states.

Result Syntax

[
    'monitors' => [
        [
            'aggregationPeriod' => <integer>,
            'monitorArn' => '<string>',
            'monitorName' => '<string>',
            'state' => 'PENDING|ACTIVE|INACTIVE|ERROR|DELETING',
            'tags' => ['<string>', ...],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
monitors
Required: Yes
Type: Array of MonitorSummary structures

Lists individual details about each of your monitors.

nextToken
Type: string

The token for the next page of results.

Errors

AccessDeniedException:

You do not have sufficient access to perform this action.

ThrottlingException:

The request was denied due to request throttling

ValidationException:

One of the parameters for the request is not valid.

InternalServerException:

The request processing has failed because of an unknown error, exception or failure.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Lists the tags assigned to this resource.

Parameter Syntax

$result = $client->listTagsForResource([
    'resourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The

Result Syntax

[
    'tags' => ['<string>', ...],
]

Result Details

Members
tags
Type: Associative array of custom strings keys (TagKey) to strings

Lists the tags assigned to the resource.

Errors

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 throttling

ValidationException:

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.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Adds key-value pairs to a monitor or probe.

Parameter Syntax

$result = $client->tagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tags' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the monitor or probe to tag.

tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs assigned to the monitor or probe.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

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 throttling

ValidationException:

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.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Removes a key-value pair from a monitor or probe.

Parameter Syntax

$result = $client->untagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the monitor or probe that the tag should be removed from.

tagKeys
Required: Yes
Type: Array of strings

The key-value pa

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

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 throttling

ValidationException:

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.

UpdateMonitor

$result = $client->updateMonitor([/* ... */]);
$promise = $client->updateMonitorAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->updateMonitor([
    'aggregationPeriod' => <integer>, // REQUIRED
    'monitorName' => '<string>', // REQUIRED
]);

Parameter Details

Members
aggregationPeriod
Required: Yes
Type: long (int|float)

The aggregation time, in seconds, to change to. This must be either 30 or 60.

monitorName
Required: Yes
Type: string

The name of the monitor to update.

Result Syntax

[
    'aggregationPeriod' => <integer>,
    'monitorArn' => '<string>',
    'monitorName' => '<string>',
    'state' => 'PENDING|ACTIVE|INACTIVE|ERROR|DELETING',
    'tags' => ['<string>', ...],
]

Result Details

Members
aggregationPeriod
Type: long (int|float)

The changed aggregation period.

monitorArn
Required: Yes
Type: string

The ARN of the monitor that was updated.

monitorName
Required: Yes
Type: string

The name of the monitor that was updated.

state
Required: Yes
Type: string

The state of the updated monitor.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs associated with the monitor.

Errors

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 throttling

ValidationException:

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.

UpdateProbe

$result = $client->updateProbe([/* ... */]);
$promise = $client->updateProbeAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->updateProbe([
    'destination' => '<string>',
    'destinationPort' => <integer>,
    'monitorName' => '<string>', // REQUIRED
    'packetSize' => <integer>,
    'probeId' => '<string>', // REQUIRED
    'protocol' => 'TCP|ICMP',
    'state' => 'PENDING|ACTIVE|INACTIVE|ERROR|DELETING|DELETED',
]);

Parameter Details

Members
destination
Type: string

The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.

destinationPort
Type: int

The updated port for the probe destination. This is required only if the protocol is TCP and must be a number between 1 and 65536.

monitorName
Required: Yes
Type: string

The name of the monitor that the probe was updated for.

packetSize
Type: int

he updated packets size for network traffic between the source and destination. This must be a number between 56 and 8500.

probeId
Required: Yes
Type: string

The ID of the probe to update.

protocol
Type: string

The updated network protocol for the destination. This can be either TCP or ICMP. If the protocol is TCP, then port is also required.

state
Type: string

The state of the probe update.

Result Syntax

[
    'addressFamily' => 'IPV4|IPV6',
    'createdAt' => <DateTime>,
    'destination' => '<string>',
    'destinationPort' => <integer>,
    'modifiedAt' => <DateTime>,
    'packetSize' => <integer>,
    'probeArn' => '<string>',
    'probeId' => '<string>',
    'protocol' => 'TCP|ICMP',
    'sourceArn' => '<string>',
    'state' => 'PENDING|ACTIVE|INACTIVE|ERROR|DELETING|DELETED',
    'tags' => ['<string>', ...],
    'vpcId' => '<string>',
]

Result Details

Members
addressFamily
Type: string

The updated IP address family. This must be either IPV4 or IPV6.

createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time and date that the probe was created.

destination
Required: Yes
Type: string

The updated destination IP address for the probe.

destinationPort
Type: int

The updated destination port. This must be a number between 1 and 65536.

modifiedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time and date that the probe was last updated.

packetSize
Type: int

The updated packet size for the probe.

probeArn
Type: string

The updated ARN of the probe.

probeId
Type: string

The updated ID of the probe.

protocol
Required: Yes
Type: string

The updated protocol for the probe.

sourceArn
Required: Yes
Type: string

The updated ARN of the source subnet.

state
Type: string

The state of the updated probe.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Update tags for a probe.

vpcId
Type: string

The updated ID of the source VPC subnet ID.

Errors

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 throttling

ValidationException:

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.

Shapes

AccessDeniedException

Description

You do not have sufficient access to perform this action.

Members
message
Type: string

ConflictException

Description

This operation attempted to create a resource that already exists.

Members
message
Type: string

CreateMonitorProbeInput

Description

Creates a monitor probe.

Members
destination
Required: Yes
Type: string

The destination IP address. This must be either IPV4 or IPV6.

destinationPort
Type: int

The port associated with the destination. This is required only if the protocol is TCP and must be a number between 1 and 65536.

packetSize
Type: int

The size of the packets sent between the source and destination. This must be a number between 56 and 8500.

probeTags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs created and assigned to the monitor.

protocol
Required: Yes
Type: string

The protocol used for the network traffic between the source and destination. This must be either TCP or ICMP.

sourceArn
Required: Yes
Type: string

The ARN of the subnet.

InternalServerException

Description

The request processing has failed because of an unknown error, exception or failure.

Members
message
Type: string

MonitorSummary

Description

Displays summary information about a monitor.

Members
aggregationPeriod
Type: long (int|float)

The time, in seconds, that metrics are collected and sent to Amazon CloudWatch. Valid values are either 30 or 60.

monitorArn
Required: Yes
Type: string

The ARN of the monitor.

monitorName
Required: Yes
Type: string

The name of the monitor.

state
Required: Yes
Type: string

The state of the monitor.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs assigned to the monitor.

Probe

Description

Describes information about a network monitor probe.

Members
addressFamily
Type: string

The IPv4 or IPv6 address for the probe.

createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time and date the probe was created.

destination
Required: Yes
Type: string

The destination for the probe. This should be either an IPV4 or IPV6.

destinationPort
Type: int

The destination port for the probe. This is required only if the protocol is TCP and must be a number between 1 and 65536.

modifiedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time and date that the probe was last modified.

packetSize
Type: int

The size of the packets traveling between the source and destination. This must be a number between 56 and

probeArn
Type: string

The ARN of the probe.

probeId
Type: string

The ID of the probe.

protocol
Required: Yes
Type: string

The network protocol for the destination. This can be either TCP or ICMP. If the protocol is TCP, then port is also required.

sourceArn
Required: Yes
Type: string

The ARN of the probe source subnet.

state
Type: string

The state of the probe.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs created and assigned to the probe.

vpcId
Type: string

The ID of the source VPC subnet.

ProbeInput

Description

Defines a probe when creating a probe or monitor.

Members
destination
Required: Yes
Type: string

The destination IP address. This must be either IPV4 or IPV6.

destinationPort
Type: int

The port associated with the destination. This is required only if the protocol is TCP and must be a number between 1 and 65536.

packetSize
Type: int

The size of the packets sent between the source and destination. This must be a number between 56 and 8500.

protocol
Required: Yes
Type: string

The protocol used for the network traffic between the source and destination. This must be either TCP or ICMP.

sourceArn
Required: Yes
Type: string

The ARN of the subnet.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs created and assigned to the monitor.

ResourceNotFoundException

Description

The specified resource does not exist.

Members
message
Type: string

ServiceQuotaExceededException

Description

This request exceeds a service quota.

Members
message
Type: string

ThrottlingException

Description

The request was denied due to request throttling

Members
message
Type: string

ValidationException

Description

One of the parameters for the request is not valid.

Members
message
Type: string