@aws-sdk/client-networkmonitor 3.551.0 → 3.553.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,6 +14,9 @@ the destination IP addresses from your on-premises network. From these sources a
14
14
  destinations, Network Monitor creates a monitor containing all the possible source and
15
15
  destination combinations, each of which is called a probe, within a single monitor.
16
16
  These probes then monitor network traffic to help you identify where network issues might be affecting your traffic.</p>
17
+ <p>Before you begin, ensure the Amazon Web Services CLI is configured in the Amazon Web Services Account where you will create the Network Monitor resource. Network
18
+ Monitor doesn’t support creation on cross-account resources, but you can create a
19
+ Network Monitor in any subnet belonging to a VPC owned by your Account.</p>
17
20
  <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/what-is-network-monitor.html">Using Amazon CloudWatch Network Monitor</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
18
21
 
19
22
  ## Installing
@@ -96,6 +96,9 @@ export interface NetworkMonitor {
96
96
  * destinations, Network Monitor creates a monitor containing all the possible source and
97
97
  * destination combinations, each of which is called a probe, within a single monitor.
98
98
  * These probes then monitor network traffic to help you identify where network issues might be affecting your traffic.</p>
99
+ * <p>Before you begin, ensure the Amazon Web Services CLI is configured in the Amazon Web Services Account where you will create the Network Monitor resource. Network
100
+ * Monitor doesn’t support creation on cross-account resources, but you can create a
101
+ * Network Monitor in any subnet belonging to a VPC owned by your Account.</p>
99
102
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/what-is-network-monitor.html">Using Amazon CloudWatch Network Monitor</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
100
103
  * @public
101
104
  */
@@ -171,6 +171,9 @@ export interface NetworkMonitorClientResolvedConfig extends NetworkMonitorClient
171
171
  * destinations, Network Monitor creates a monitor containing all the possible source and
172
172
  * destination combinations, each of which is called a probe, within a single monitor.
173
173
  * These probes then monitor network traffic to help you identify where network issues might be affecting your traffic.</p>
174
+ * <p>Before you begin, ensure the Amazon Web Services CLI is configured in the Amazon Web Services Account where you will create the Network Monitor resource. Network
175
+ * Monitor doesn’t support creation on cross-account resources, but you can create a
176
+ * Network Monitor in any subnet belonging to a VPC owned by your Account.</p>
174
177
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/what-is-network-monitor.html">Using Amazon CloudWatch Network Monitor</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
175
178
  * @public
176
179
  */
@@ -27,6 +27,38 @@ declare const CreateMonitorCommand_base: {
27
27
  };
28
28
  /**
29
29
  * <p>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.</p>
30
+ * <p>You can also create a monitor with probes using this command. For each probe, you
31
+ * define the following:</p>
32
+ * <ul>
33
+ * <li>
34
+ * <p>
35
+ * <code>source</code>—The subnet IDs where the probes will be created.</p>
36
+ * </li>
37
+ * <li>
38
+ * <p>
39
+ * <code>destination</code>— The target destination IP address for the
40
+ * probe.</p>
41
+ * </li>
42
+ * <li>
43
+ * <p>
44
+ * <code>destinationPort</code>—Required only if the protocol is
45
+ * <code>TCP</code>.</p>
46
+ * </li>
47
+ * <li>
48
+ * <p>
49
+ * <code>protocol</code>—The communication protocol between the source and
50
+ * destination. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <code>packetSize</code>—The size of the packets. This must be a number between
55
+ * <code>56</code> and <code>8500</code>.</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>(Optional) <code>tags</code> —Key-value pairs created and assigned to the
59
+ * probe.</p>
60
+ * </li>
61
+ * </ul>
30
62
  * @example
31
63
  * Use a bare-bones client and the command you need to make an API call.
32
64
  * ```javascript
@@ -26,7 +26,11 @@ declare const CreateProbeCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>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. </p>
29
+ * <p>Create a probe within a monitor. Once you create a probe, and it begins monitoring your
30
+ * network traffic, you'll incur billing charges for that probe. This action requires the
31
+ * <code>monitorName</code> parameter. Run <code>ListMonitors</code> to get a list of
32
+ * monitor names. Note the name of the <code>monitorName</code> you want to create the
33
+ * probe for.</p>
30
34
  * @example
31
35
  * Use a bare-bones client and the command you need to make an API call.
32
36
  * ```javascript
@@ -27,6 +27,8 @@ declare const DeleteMonitorCommand_base: {
27
27
  };
28
28
  /**
29
29
  * <p>Deletes a specified monitor.</p>
30
+ * <p>This action requires the <code>monitorName</code> parameter. Run
31
+ * <code>ListMonitors</code> to get a list of monitor names. </p>
30
32
  * @example
31
33
  * Use a bare-bones client and the command you need to make an API call.
32
34
  * ```javascript
@@ -26,7 +26,12 @@ declare const DeleteProbeCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Deletes the specified monitor. Once a probe is deleted you'll no longer incur any billing fees for that probe.</p>
29
+ * <p>Deletes the specified probe. Once a probe is deleted you'll no longer incur any billing
30
+ * fees for that probe.</p>
31
+ * <p>This action requires both the <code>monitorName</code> and <code>probeId</code>
32
+ * parameters. Run <code>ListMonitors</code> to get a list of monitor names. Run
33
+ * <code>GetMonitor</code> to get a list of probes and probe IDs. You can only delete a
34
+ * single probe at a time using this action. </p>
30
35
  * @example
31
36
  * Use a bare-bones client and the command you need to make an API call.
32
37
  * ```javascript
@@ -26,7 +26,9 @@ declare const GetMonitorCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Returns details about a specific monitor.</p>
29
+ * <p>Returns details about a specific monitor. </p>
30
+ * <p>This action requires the <code>monitorName</code> parameter. Run
31
+ * <code>ListMonitors</code> to get a list of monitor names. </p>
30
32
  * @example
31
33
  * Use a bare-bones client and the command you need to make an API call.
32
34
  * ```javascript
@@ -26,7 +26,10 @@ declare const GetProbeCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Returns the details about a probe. You'll need both the <code>monitorName</code> and <code>probeId</code>. </p>
29
+ * <p>Returns the details about a probe. This action requires both the
30
+ * <code>monitorName</code> and <code>probeId</code> parameters. Run
31
+ * <code>ListMonitors</code> to get a list of monitor names. Run
32
+ * <code>GetMonitor</code> to get a list of probes and probe IDs. </p>
30
33
  * @example
31
34
  * Use a bare-bones client and the command you need to make an API call.
32
35
  * ```javascript
@@ -26,7 +26,10 @@ declare const UpdateMonitorCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Updates the <code>aggregationPeriod</code> for a monitor. Monitors support an <code>aggregationPeriod</code> of either <code>30</code> or <code>60</code> seconds.</p>
29
+ * <p>Updates the <code>aggregationPeriod</code> for a monitor. Monitors support an
30
+ * <code>aggregationPeriod</code> of either <code>30</code> or <code>60</code> seconds.
31
+ * This action requires the <code>monitorName</code> and <code>probeId</code> parameter.
32
+ * Run <code>ListMonitors</code> to get a list of monitor names. </p>
30
33
  * @example
31
34
  * Use a bare-bones client and the command you need to make an API call.
32
35
  * ```javascript
@@ -27,6 +27,38 @@ declare const UpdateProbeCommand_base: {
27
27
  };
28
28
  /**
29
29
  * <p>Updates a monitor probe. This action requires both the <code>monitorName</code> and <code>probeId</code> parameters. Run <code>ListMonitors</code> to get a list of monitor names. Run <code>GetMonitor</code> to get a list of probes and probe IDs. </p>
30
+ * <p>You can update the following para create a monitor with probes using this command. For
31
+ * each probe, you define the following:</p>
32
+ * <ul>
33
+ * <li>
34
+ * <p>
35
+ * <code>state</code>—The state of the probe.</p>
36
+ * </li>
37
+ * <li>
38
+ * <p>
39
+ * <code>destination</code>— The target destination IP address for the
40
+ * probe.</p>
41
+ * </li>
42
+ * <li>
43
+ * <p>
44
+ * <code>destinationPort</code>—Required only if the protocol is
45
+ * <code>TCP</code>.</p>
46
+ * </li>
47
+ * <li>
48
+ * <p>
49
+ * <code>protocol</code>—The communication protocol between the source and
50
+ * destination. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <code>packetSize</code>—The size of the packets. This must be a number between
55
+ * <code>56</code> and <code>8500</code>.</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>(Optional) <code>tags</code> —Key-value pairs created and assigned to the
59
+ * probe.</p>
60
+ * </li>
61
+ * </ul>
30
62
  * @example
31
63
  * Use a bare-bones client and the command you need to make an API call.
32
64
  * ```javascript
@@ -7,6 +7,9 @@
7
7
  * destinations, Network Monitor creates a monitor containing all the possible source and
8
8
  * destination combinations, each of which is called a probe, within a single monitor.
9
9
  * These probes then monitor network traffic to help you identify where network issues might be affecting your traffic.</p>
10
+ * <p>Before you begin, ensure the Amazon Web Services CLI is configured in the Amazon Web Services Account where you will create the Network Monitor resource. Network
11
+ * Monitor doesn’t support creation on cross-account resources, but you can create a
12
+ * Network Monitor in any subnet belonging to a VPC owned by your Account.</p>
10
13
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/what-is-network-monitor.html">Using Amazon CloudWatch Network Monitor</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
11
14
  *
12
15
  * @packageDocumentation
@@ -99,7 +99,9 @@ export interface CreateMonitorInput {
99
99
  */
100
100
  probes?: CreateMonitorProbeInput[];
101
101
  /**
102
- * <p>The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either <code>30</code> or <code>60</code>. </p>
102
+ * <p>The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid
103
+ * values are either <code>30</code> or <code>60</code>. <code>60</code> is the default if
104
+ * no period is chosen.</p>
103
105
  * @public
104
106
  */
105
107
  aggregationPeriod?: number;
@@ -149,7 +151,8 @@ export interface CreateMonitorOutput {
149
151
  */
150
152
  state: MonitorState | undefined;
151
153
  /**
152
- * <p>The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This must be either <code>30</code> or <code>60</code>. </p>
154
+ * <p>The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch.
155
+ * This will be either <code>30</code> or <code>60</code>. </p>
153
156
  * @public
154
157
  */
155
158
  aggregationPeriod?: number;
@@ -252,7 +255,7 @@ export interface ProbeInput {
252
255
  */
253
256
  export interface CreateProbeInput {
254
257
  /**
255
- * <p>The name of the monitor to associated with the probe. To get a list of available monitors, use <code>ListMonitors</code>.</p>
258
+ * <p>The name of the monitor to associated with the probe. </p>
256
259
  * @public
257
260
  */
258
261
  monitorName: string | undefined;
@@ -375,7 +378,7 @@ export declare class ResourceNotFoundException extends __BaseException {
375
378
  */
376
379
  export interface DeleteMonitorInput {
377
380
  /**
378
- * <p>The name of the monitor to delete. Use the <code>ListMonitors</code> action to get a list of your current monitors. </p>
381
+ * <p>The name of the monitor to delete. </p>
379
382
  * @public
380
383
  */
381
384
  monitorName: string | undefined;
@@ -390,12 +393,12 @@ export interface DeleteMonitorOutput {
390
393
  */
391
394
  export interface DeleteProbeInput {
392
395
  /**
393
- * <p>The name of the monitor to delete. For a list of the available monitors, use the <code>ListMonitors</code> action.</p>
396
+ * <p>The name of the monitor to delete. </p>
394
397
  * @public
395
398
  */
396
399
  monitorName: string | undefined;
397
400
  /**
398
- * <p>The ID of the probe to delete. Run <code>GetMonitor</code> to get a lst of all probes and probe IDs associated with the monitor.</p>
401
+ * <p>The ID of the probe to delete. </p>
399
402
  * @public
400
403
  */
401
404
  probeId: string | undefined;
@@ -416,7 +419,7 @@ export interface GetMonitorInput {
416
419
  monitorName: string | undefined;
417
420
  }
418
421
  /**
419
- * <p>Describes information about a monitor probe.</p>
422
+ * <p>Describes information about a network monitor probe.</p>
420
423
  * @public
421
424
  */
422
425
  export interface Probe {
@@ -496,12 +499,12 @@ export interface GetMonitorOutput {
496
499
  */
497
500
  monitorArn: string | undefined;
498
501
  /**
499
- * <p>The name of the monitor. To get a list of the current monitors and their names, use the <code>ListMonitors</code> action.</p>
502
+ * <p>The name of the monitor. </p>
500
503
  * @public
501
504
  */
502
505
  monitorName: string | undefined;
503
506
  /**
504
- * <p>Returns a list of the state of each monitor. </p>
507
+ * <p>Lists the status of the <code>state</code> of each monitor. </p>
505
508
  * @public
506
509
  */
507
510
  state: MonitorState | undefined;
@@ -710,7 +713,7 @@ export interface ListTagsForResourceOutput {
710
713
  */
711
714
  export interface UpdateMonitorInput {
712
715
  /**
713
- * <p>The name of the monitor to update. Run <code>ListMonitors</code> to get a list of monitor names.</p>
716
+ * <p>The name of the monitor to update. </p>
714
717
  * @public
715
718
  */
716
719
  monitorName: string | undefined;
@@ -760,7 +763,7 @@ export interface UpdateProbeInput {
760
763
  */
761
764
  monitorName: string | undefined;
762
765
  /**
763
- * <p>Run <code>GetMonitor</code> to get a list of probes and probe IDs.</p>
766
+ * <p>The ID of the probe to update.</p>
764
767
  * @public
765
768
  */
766
769
  probeId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-networkmonitor",
3
3
  "description": "AWS SDK for JavaScript Networkmonitor Client for Node.js, Browser and React Native",
4
- "version": "3.551.0",
4
+ "version": "3.553.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-networkmonitor",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.549.0",
24
- "@aws-sdk/core": "3.549.0",
25
- "@aws-sdk/credential-provider-node": "3.549.0",
23
+ "@aws-sdk/client-sts": "3.552.0",
24
+ "@aws-sdk/core": "3.552.0",
25
+ "@aws-sdk/credential-provider-node": "3.552.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",