@aws-sdk/client-networkmonitor 3.529.1 → 3.535.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/dist-types/NetworkMonitor.d.ts +2 -1
- package/dist-types/NetworkMonitorClient.d.ts +1 -1
- package/dist-types/commands/CreateMonitorCommand.d.ts +2 -1
- package/dist-types/commands/CreateProbeCommand.d.ts +2 -1
- package/dist-types/commands/DeleteMonitorCommand.d.ts +2 -1
- package/dist-types/commands/DeleteProbeCommand.d.ts +2 -1
- package/dist-types/commands/GetMonitorCommand.d.ts +2 -1
- package/dist-types/commands/GetProbeCommand.d.ts +2 -1
- package/dist-types/commands/ListMonitorsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateMonitorCommand.d.ts +2 -1
- package/dist-types/commands/UpdateProbeCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +133 -133
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/NetworkMonitor.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateProbeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteProbeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetMonitorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetProbeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateMonitorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateProbeCommand.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +40 -40
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { NetworkMonitorServiceException as __BaseException } from "./NetworkMonitorServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -25,8 +25,8 @@ export declare const AddressFamily: {
|
|
|
25
25
|
*/
|
|
26
26
|
export type AddressFamily = (typeof AddressFamily)[keyof typeof AddressFamily];
|
|
27
27
|
/**
|
|
28
|
-
* @public
|
|
29
28
|
* <p>This operation attempted to create a resource that already exists.</p>
|
|
29
|
+
* @public
|
|
30
30
|
*/
|
|
31
31
|
export declare class ConflictException extends __BaseException {
|
|
32
32
|
readonly name: "ConflictException";
|
|
@@ -49,38 +49,38 @@ export declare const Protocol: {
|
|
|
49
49
|
*/
|
|
50
50
|
export type Protocol = (typeof Protocol)[keyof typeof Protocol];
|
|
51
51
|
/**
|
|
52
|
-
* @public
|
|
53
52
|
* <p>Creates a monitor probe.</p>
|
|
53
|
+
* @public
|
|
54
54
|
*/
|
|
55
55
|
export interface CreateMonitorProbeInput {
|
|
56
56
|
/**
|
|
57
|
-
* @public
|
|
58
57
|
* <p>The ARN of the subnet.</p>
|
|
58
|
+
* @public
|
|
59
59
|
*/
|
|
60
60
|
sourceArn: string | undefined;
|
|
61
61
|
/**
|
|
62
|
-
* @public
|
|
63
62
|
* <p>The destination IP address. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
63
|
+
* @public
|
|
64
64
|
*/
|
|
65
65
|
destination: string | undefined;
|
|
66
66
|
/**
|
|
67
|
-
* @public
|
|
68
67
|
* <p>The port associated with the <code>destination</code>. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
68
|
+
* @public
|
|
69
69
|
*/
|
|
70
70
|
destinationPort?: number;
|
|
71
71
|
/**
|
|
72
|
-
* @public
|
|
73
72
|
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
|
|
73
|
+
* @public
|
|
74
74
|
*/
|
|
75
75
|
protocol: Protocol | undefined;
|
|
76
76
|
/**
|
|
77
|
-
* @public
|
|
78
77
|
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
|
|
78
|
+
* @public
|
|
79
79
|
*/
|
|
80
80
|
packetSize?: number;
|
|
81
81
|
/**
|
|
82
|
-
* @public
|
|
83
82
|
* <p>The list of key-value pairs created and assigned to the monitor.</p>
|
|
83
|
+
* @public
|
|
84
84
|
*/
|
|
85
85
|
probeTags?: Record<string, string>;
|
|
86
86
|
}
|
|
@@ -89,28 +89,28 @@ export interface CreateMonitorProbeInput {
|
|
|
89
89
|
*/
|
|
90
90
|
export interface CreateMonitorInput {
|
|
91
91
|
/**
|
|
92
|
-
* @public
|
|
93
92
|
* <p>The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 255 characters.</p>
|
|
93
|
+
* @public
|
|
94
94
|
*/
|
|
95
95
|
monitorName: string | undefined;
|
|
96
96
|
/**
|
|
97
|
-
* @public
|
|
98
97
|
* <p>Displays a list of all of the probes created for a monitor.</p>
|
|
98
|
+
* @public
|
|
99
99
|
*/
|
|
100
100
|
probes?: CreateMonitorProbeInput[];
|
|
101
101
|
/**
|
|
102
|
-
* @public
|
|
103
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>
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
aggregationPeriod?: number;
|
|
106
106
|
/**
|
|
107
|
-
* @public
|
|
108
107
|
* <p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>
|
|
108
|
+
* @public
|
|
109
109
|
*/
|
|
110
110
|
clientToken?: string;
|
|
111
111
|
/**
|
|
112
|
-
* @public
|
|
113
112
|
* <p>The list of key-value pairs created and assigned to the monitor.</p>
|
|
113
|
+
* @public
|
|
114
114
|
*/
|
|
115
115
|
tags?: Record<string, string>;
|
|
116
116
|
}
|
|
@@ -134,34 +134,34 @@ export type MonitorState = (typeof MonitorState)[keyof typeof MonitorState];
|
|
|
134
134
|
*/
|
|
135
135
|
export interface CreateMonitorOutput {
|
|
136
136
|
/**
|
|
137
|
-
* @public
|
|
138
137
|
* <p>The ARN of the monitor.</p>
|
|
138
|
+
* @public
|
|
139
139
|
*/
|
|
140
140
|
monitorArn: string | undefined;
|
|
141
141
|
/**
|
|
142
|
-
* @public
|
|
143
142
|
* <p>The name of the monitor.</p>
|
|
143
|
+
* @public
|
|
144
144
|
*/
|
|
145
145
|
monitorName: string | undefined;
|
|
146
146
|
/**
|
|
147
|
-
* @public
|
|
148
147
|
* <p>The state of the monitor.</p>
|
|
148
|
+
* @public
|
|
149
149
|
*/
|
|
150
150
|
state: MonitorState | undefined;
|
|
151
151
|
/**
|
|
152
|
-
* @public
|
|
153
152
|
* <p>The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This will be either <code>30</code> or <code>60</code>. </p>
|
|
153
|
+
* @public
|
|
154
154
|
*/
|
|
155
155
|
aggregationPeriod?: number;
|
|
156
156
|
/**
|
|
157
|
-
* @public
|
|
158
157
|
* <p>The list of key-value pairs assigned to the monitor.</p>
|
|
158
|
+
* @public
|
|
159
159
|
*/
|
|
160
160
|
tags?: Record<string, string>;
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
* @public
|
|
164
163
|
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
164
|
+
* @public
|
|
165
165
|
*/
|
|
166
166
|
export declare class InternalServerException extends __BaseException {
|
|
167
167
|
readonly name: "InternalServerException";
|
|
@@ -173,8 +173,8 @@ export declare class InternalServerException extends __BaseException {
|
|
|
173
173
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
|
-
* @public
|
|
177
176
|
* <p>This request exceeds a service quota.</p>
|
|
177
|
+
* @public
|
|
178
178
|
*/
|
|
179
179
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
180
180
|
readonly name: "ServiceQuotaExceededException";
|
|
@@ -185,8 +185,8 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
185
185
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
|
-
* @public
|
|
189
188
|
* <p>The request was denied due to request throttling</p>
|
|
189
|
+
* @public
|
|
190
190
|
*/
|
|
191
191
|
export declare class ThrottlingException extends __BaseException {
|
|
192
192
|
readonly name: "ThrottlingException";
|
|
@@ -200,8 +200,8 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
200
200
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
203
|
-
* @public
|
|
204
203
|
* <p>One of the parameters for the request is not valid.</p>
|
|
204
|
+
* @public
|
|
205
205
|
*/
|
|
206
206
|
export declare class ValidationException extends __BaseException {
|
|
207
207
|
readonly name: "ValidationException";
|
|
@@ -212,38 +212,38 @@ export declare class ValidationException extends __BaseException {
|
|
|
212
212
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
|
-
* @public
|
|
216
215
|
* <p>Defines a probe when creating a probe or monitor.</p>
|
|
216
|
+
* @public
|
|
217
217
|
*/
|
|
218
218
|
export interface ProbeInput {
|
|
219
219
|
/**
|
|
220
|
-
* @public
|
|
221
220
|
* <p>The ARN of the subnet.</p>
|
|
221
|
+
* @public
|
|
222
222
|
*/
|
|
223
223
|
sourceArn: string | undefined;
|
|
224
224
|
/**
|
|
225
|
-
* @public
|
|
226
225
|
* <p>The destination IP address. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
226
|
+
* @public
|
|
227
227
|
*/
|
|
228
228
|
destination: string | undefined;
|
|
229
229
|
/**
|
|
230
|
-
* @public
|
|
231
230
|
* <p>The port associated with the <code>destination</code>. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
231
|
+
* @public
|
|
232
232
|
*/
|
|
233
233
|
destinationPort?: number;
|
|
234
234
|
/**
|
|
235
|
-
* @public
|
|
236
235
|
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
|
|
236
|
+
* @public
|
|
237
237
|
*/
|
|
238
238
|
protocol: Protocol | undefined;
|
|
239
239
|
/**
|
|
240
|
-
* @public
|
|
241
240
|
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
|
|
241
|
+
* @public
|
|
242
242
|
*/
|
|
243
243
|
packetSize?: number;
|
|
244
244
|
/**
|
|
245
|
-
* @public
|
|
246
245
|
* <p>The list of key-value pairs created and assigned to the monitor.</p>
|
|
246
|
+
* @public
|
|
247
247
|
*/
|
|
248
248
|
tags?: Record<string, string>;
|
|
249
249
|
}
|
|
@@ -252,23 +252,23 @@ export interface ProbeInput {
|
|
|
252
252
|
*/
|
|
253
253
|
export interface CreateProbeInput {
|
|
254
254
|
/**
|
|
255
|
-
* @public
|
|
256
255
|
* <p>The name of the monitor to associated with the probe. To get a list of available monitors, use <code>ListMonitors</code>.</p>
|
|
256
|
+
* @public
|
|
257
257
|
*/
|
|
258
258
|
monitorName: string | undefined;
|
|
259
259
|
/**
|
|
260
|
-
* @public
|
|
261
260
|
* <p>Describes the details of an individual probe for a monitor.</p>
|
|
261
|
+
* @public
|
|
262
262
|
*/
|
|
263
263
|
probe: ProbeInput | undefined;
|
|
264
264
|
/**
|
|
265
|
-
* @public
|
|
266
265
|
* <p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>
|
|
266
|
+
* @public
|
|
267
267
|
*/
|
|
268
268
|
clientToken?: string;
|
|
269
269
|
/**
|
|
270
|
-
* @public
|
|
271
270
|
* <p>The list of key-value pairs created and assigned to the probe.</p>
|
|
271
|
+
* @public
|
|
272
272
|
*/
|
|
273
273
|
tags?: Record<string, string>;
|
|
274
274
|
}
|
|
@@ -293,74 +293,74 @@ export type ProbeState = (typeof ProbeState)[keyof typeof ProbeState];
|
|
|
293
293
|
*/
|
|
294
294
|
export interface CreateProbeOutput {
|
|
295
295
|
/**
|
|
296
|
-
* @public
|
|
297
296
|
* <p>The ID of the probe for which details are returned.</p>
|
|
297
|
+
* @public
|
|
298
298
|
*/
|
|
299
299
|
probeId?: string;
|
|
300
300
|
/**
|
|
301
|
-
* @public
|
|
302
301
|
* <p>The ARN of the probe.</p>
|
|
302
|
+
* @public
|
|
303
303
|
*/
|
|
304
304
|
probeArn?: string;
|
|
305
305
|
/**
|
|
306
|
-
* @public
|
|
307
306
|
* <p>The ARN of the probe.</p>
|
|
307
|
+
* @public
|
|
308
308
|
*/
|
|
309
309
|
sourceArn: string | undefined;
|
|
310
310
|
/**
|
|
311
|
-
* @public
|
|
312
311
|
* <p>The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.</p>
|
|
312
|
+
* @public
|
|
313
313
|
*/
|
|
314
314
|
destination: string | undefined;
|
|
315
315
|
/**
|
|
316
|
-
* @public
|
|
317
316
|
* <p>The port associated with the <code>destination</code>. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
317
|
+
* @public
|
|
318
318
|
*/
|
|
319
319
|
destinationPort?: number;
|
|
320
320
|
/**
|
|
321
|
-
* @public
|
|
322
321
|
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
|
|
322
|
+
* @public
|
|
323
323
|
*/
|
|
324
324
|
protocol: Protocol | undefined;
|
|
325
325
|
/**
|
|
326
|
-
* @public
|
|
327
326
|
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
|
|
327
|
+
* @public
|
|
328
328
|
*/
|
|
329
329
|
packetSize?: number;
|
|
330
330
|
/**
|
|
331
|
-
* @public
|
|
332
331
|
* <p>Indicates whether the IP address is <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
332
|
+
* @public
|
|
333
333
|
*/
|
|
334
334
|
addressFamily?: AddressFamily;
|
|
335
335
|
/**
|
|
336
|
-
* @public
|
|
337
336
|
* <p>The ID of the source VPC or subnet.</p>
|
|
337
|
+
* @public
|
|
338
338
|
*/
|
|
339
339
|
vpcId?: string;
|
|
340
340
|
/**
|
|
341
|
-
* @public
|
|
342
341
|
* <p>The state of the probe.</p>
|
|
342
|
+
* @public
|
|
343
343
|
*/
|
|
344
344
|
state?: ProbeState;
|
|
345
345
|
/**
|
|
346
|
-
* @public
|
|
347
346
|
* <p>The time and date that the probe was created.</p>
|
|
347
|
+
* @public
|
|
348
348
|
*/
|
|
349
349
|
createdAt?: Date;
|
|
350
350
|
/**
|
|
351
|
-
* @public
|
|
352
351
|
* <p>The time and date when the probe was last modified. </p>
|
|
352
|
+
* @public
|
|
353
353
|
*/
|
|
354
354
|
modifiedAt?: Date;
|
|
355
355
|
/**
|
|
356
|
-
* @public
|
|
357
356
|
* <p>The list of key-value pairs assigned to the probe.</p>
|
|
357
|
+
* @public
|
|
358
358
|
*/
|
|
359
359
|
tags?: Record<string, string>;
|
|
360
360
|
}
|
|
361
361
|
/**
|
|
362
|
-
* @public
|
|
363
362
|
* <p>The specified resource does not exist.</p>
|
|
363
|
+
* @public
|
|
364
364
|
*/
|
|
365
365
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
366
366
|
readonly name: "ResourceNotFoundException";
|
|
@@ -375,8 +375,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
375
375
|
*/
|
|
376
376
|
export interface DeleteMonitorInput {
|
|
377
377
|
/**
|
|
378
|
-
* @public
|
|
379
378
|
* <p>The name of the monitor to delete. Use the <code>ListMonitors</code> action to get a list of your current monitors. </p>
|
|
379
|
+
* @public
|
|
380
380
|
*/
|
|
381
381
|
monitorName: string | undefined;
|
|
382
382
|
}
|
|
@@ -390,13 +390,13 @@ export interface DeleteMonitorOutput {
|
|
|
390
390
|
*/
|
|
391
391
|
export interface DeleteProbeInput {
|
|
392
392
|
/**
|
|
393
|
-
* @public
|
|
394
393
|
* <p>The name of the monitor to delete. For a list of the available monitors, use the <code>ListMonitors</code> action.</p>
|
|
394
|
+
* @public
|
|
395
395
|
*/
|
|
396
396
|
monitorName: string | undefined;
|
|
397
397
|
/**
|
|
398
|
-
* @public
|
|
399
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>
|
|
399
|
+
* @public
|
|
400
400
|
*/
|
|
401
401
|
probeId: string | undefined;
|
|
402
402
|
}
|
|
@@ -410,79 +410,79 @@ export interface DeleteProbeOutput {
|
|
|
410
410
|
*/
|
|
411
411
|
export interface GetMonitorInput {
|
|
412
412
|
/**
|
|
413
|
-
* @public
|
|
414
413
|
* <p>The name of the monitor that details are returned for.</p>
|
|
414
|
+
* @public
|
|
415
415
|
*/
|
|
416
416
|
monitorName: string | undefined;
|
|
417
417
|
}
|
|
418
418
|
/**
|
|
419
|
-
* @public
|
|
420
419
|
* <p>Describes information about a monitor probe.</p>
|
|
420
|
+
* @public
|
|
421
421
|
*/
|
|
422
422
|
export interface Probe {
|
|
423
423
|
/**
|
|
424
|
-
* @public
|
|
425
424
|
* <p>The ID of the probe.</p>
|
|
425
|
+
* @public
|
|
426
426
|
*/
|
|
427
427
|
probeId?: string;
|
|
428
428
|
/**
|
|
429
|
-
* @public
|
|
430
429
|
* <p>The ARN of the probe.</p>
|
|
430
|
+
* @public
|
|
431
431
|
*/
|
|
432
432
|
probeArn?: string;
|
|
433
433
|
/**
|
|
434
|
-
* @public
|
|
435
434
|
* <p>The ARN of the probe source subnet.</p>
|
|
435
|
+
* @public
|
|
436
436
|
*/
|
|
437
437
|
sourceArn: string | undefined;
|
|
438
438
|
/**
|
|
439
|
-
* @public
|
|
440
439
|
* <p>The destination for the probe. This should be either an <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
440
|
+
* @public
|
|
441
441
|
*/
|
|
442
442
|
destination: string | undefined;
|
|
443
443
|
/**
|
|
444
|
-
* @public
|
|
445
444
|
* <p>The destination port for the probe. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
445
|
+
* @public
|
|
446
446
|
*/
|
|
447
447
|
destinationPort?: number;
|
|
448
448
|
/**
|
|
449
|
-
* @public
|
|
450
449
|
* <p>The network protocol for the destination. This can be either <code>TCP</code> or <code>ICMP</code>. If the protocol is <code>TCP</code>, then <code>port</code> is also required.</p>
|
|
450
|
+
* @public
|
|
451
451
|
*/
|
|
452
452
|
protocol: Protocol | undefined;
|
|
453
453
|
/**
|
|
454
|
-
* @public
|
|
455
454
|
* <p>The size of the packets traveling between the <code>source</code> and <code>destination</code>. This must be a number between <code>56</code> and </p>
|
|
455
|
+
* @public
|
|
456
456
|
*/
|
|
457
457
|
packetSize?: number;
|
|
458
458
|
/**
|
|
459
|
-
* @public
|
|
460
459
|
* <p>The IPv4 or IPv6 address for the probe.</p>
|
|
460
|
+
* @public
|
|
461
461
|
*/
|
|
462
462
|
addressFamily?: AddressFamily;
|
|
463
463
|
/**
|
|
464
|
-
* @public
|
|
465
464
|
* <p>The ID of the source VPC subnet.</p>
|
|
465
|
+
* @public
|
|
466
466
|
*/
|
|
467
467
|
vpcId?: string;
|
|
468
468
|
/**
|
|
469
|
-
* @public
|
|
470
469
|
* <p>The state of the probe.</p>
|
|
470
|
+
* @public
|
|
471
471
|
*/
|
|
472
472
|
state?: ProbeState;
|
|
473
473
|
/**
|
|
474
|
-
* @public
|
|
475
474
|
* <p>The time and date the probe was created.</p>
|
|
475
|
+
* @public
|
|
476
476
|
*/
|
|
477
477
|
createdAt?: Date;
|
|
478
478
|
/**
|
|
479
|
-
* @public
|
|
480
479
|
* <p>The time and date that the probe was last modified.</p>
|
|
480
|
+
* @public
|
|
481
481
|
*/
|
|
482
482
|
modifiedAt?: Date;
|
|
483
483
|
/**
|
|
484
|
-
* @public
|
|
485
484
|
* <p>The list of key-value pairs created and assigned to the probe.</p>
|
|
485
|
+
* @public
|
|
486
486
|
*/
|
|
487
487
|
tags?: Record<string, string>;
|
|
488
488
|
}
|
|
@@ -491,43 +491,43 @@ export interface Probe {
|
|
|
491
491
|
*/
|
|
492
492
|
export interface GetMonitorOutput {
|
|
493
493
|
/**
|
|
494
|
-
* @public
|
|
495
494
|
* <p>The ARN of the selected monitor.</p>
|
|
495
|
+
* @public
|
|
496
496
|
*/
|
|
497
497
|
monitorArn: string | undefined;
|
|
498
498
|
/**
|
|
499
|
-
* @public
|
|
500
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>
|
|
500
|
+
* @public
|
|
501
501
|
*/
|
|
502
502
|
monitorName: string | undefined;
|
|
503
503
|
/**
|
|
504
|
-
* @public
|
|
505
504
|
* <p>Returns a list of the state of each monitor. </p>
|
|
505
|
+
* @public
|
|
506
506
|
*/
|
|
507
507
|
state: MonitorState | undefined;
|
|
508
508
|
/**
|
|
509
|
-
* @public
|
|
510
509
|
* <p>The aggregation period for the specified monitor.</p>
|
|
510
|
+
* @public
|
|
511
511
|
*/
|
|
512
512
|
aggregationPeriod: number | undefined;
|
|
513
513
|
/**
|
|
514
|
-
* @public
|
|
515
514
|
* <p>The list of key-value pairs assigned to the monitor.</p>
|
|
515
|
+
* @public
|
|
516
516
|
*/
|
|
517
517
|
tags?: Record<string, string>;
|
|
518
518
|
/**
|
|
519
|
-
* @public
|
|
520
519
|
* <p>The details about each probe associated with that monitor. </p>
|
|
520
|
+
* @public
|
|
521
521
|
*/
|
|
522
522
|
probes?: Probe[];
|
|
523
523
|
/**
|
|
524
|
-
* @public
|
|
525
524
|
* <p>The time and date when the monitor was created.</p>
|
|
525
|
+
* @public
|
|
526
526
|
*/
|
|
527
527
|
createdAt: Date | undefined;
|
|
528
528
|
/**
|
|
529
|
-
* @public
|
|
530
529
|
* <p>The time and date when the monitor was last modified.</p>
|
|
530
|
+
* @public
|
|
531
531
|
*/
|
|
532
532
|
modifiedAt: Date | undefined;
|
|
533
533
|
}
|
|
@@ -536,13 +536,13 @@ export interface GetMonitorOutput {
|
|
|
536
536
|
*/
|
|
537
537
|
export interface GetProbeInput {
|
|
538
538
|
/**
|
|
539
|
-
* @public
|
|
540
539
|
* <p>The name of the monitor associated with the probe. Run <code>ListMonitors</code> to get a list of monitor names.</p>
|
|
540
|
+
* @public
|
|
541
541
|
*/
|
|
542
542
|
monitorName: string | undefined;
|
|
543
543
|
/**
|
|
544
|
-
* @public
|
|
545
544
|
* <p>The ID of the probe to get information about. Run <code>GetMonitor</code> action to get a list of probes and probe IDs for the monitor.</p>
|
|
545
|
+
* @public
|
|
546
546
|
*/
|
|
547
547
|
probeId: string | undefined;
|
|
548
548
|
}
|
|
@@ -551,68 +551,68 @@ export interface GetProbeInput {
|
|
|
551
551
|
*/
|
|
552
552
|
export interface GetProbeOutput {
|
|
553
553
|
/**
|
|
554
|
-
* @public
|
|
555
554
|
* <p>The ID of the probe for which details are returned.</p>
|
|
555
|
+
* @public
|
|
556
556
|
*/
|
|
557
557
|
probeId?: string;
|
|
558
558
|
/**
|
|
559
|
-
* @public
|
|
560
559
|
* <p>The ARN of the probe.</p>
|
|
560
|
+
* @public
|
|
561
561
|
*/
|
|
562
562
|
probeArn?: string;
|
|
563
563
|
/**
|
|
564
|
-
* @public
|
|
565
564
|
* <p>The ARN of the probe.</p>
|
|
565
|
+
* @public
|
|
566
566
|
*/
|
|
567
567
|
sourceArn: string | undefined;
|
|
568
568
|
/**
|
|
569
|
-
* @public
|
|
570
569
|
* <p>The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.</p>
|
|
570
|
+
* @public
|
|
571
571
|
*/
|
|
572
572
|
destination: string | undefined;
|
|
573
573
|
/**
|
|
574
|
-
* @public
|
|
575
574
|
* <p>The port associated with the <code>destination</code>. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
575
|
+
* @public
|
|
576
576
|
*/
|
|
577
577
|
destinationPort?: number;
|
|
578
578
|
/**
|
|
579
|
-
* @public
|
|
580
579
|
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
|
|
580
|
+
* @public
|
|
581
581
|
*/
|
|
582
582
|
protocol: Protocol | undefined;
|
|
583
583
|
/**
|
|
584
|
-
* @public
|
|
585
584
|
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
|
|
585
|
+
* @public
|
|
586
586
|
*/
|
|
587
587
|
packetSize?: number;
|
|
588
588
|
/**
|
|
589
|
-
* @public
|
|
590
589
|
* <p>Indicates whether the IP address is <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
590
|
+
* @public
|
|
591
591
|
*/
|
|
592
592
|
addressFamily?: AddressFamily;
|
|
593
593
|
/**
|
|
594
|
-
* @public
|
|
595
594
|
* <p>The ID of the source VPC or subnet.</p>
|
|
595
|
+
* @public
|
|
596
596
|
*/
|
|
597
597
|
vpcId?: string;
|
|
598
598
|
/**
|
|
599
|
-
* @public
|
|
600
599
|
* <p>The state of the probe.</p>
|
|
600
|
+
* @public
|
|
601
601
|
*/
|
|
602
602
|
state?: ProbeState;
|
|
603
603
|
/**
|
|
604
|
-
* @public
|
|
605
604
|
* <p>The time and date that the probe was created.</p>
|
|
605
|
+
* @public
|
|
606
606
|
*/
|
|
607
607
|
createdAt?: Date;
|
|
608
608
|
/**
|
|
609
|
-
* @public
|
|
610
609
|
* <p>The time and date that the probe was last modified.</p>
|
|
610
|
+
* @public
|
|
611
611
|
*/
|
|
612
612
|
modifiedAt?: Date;
|
|
613
613
|
/**
|
|
614
|
-
* @public
|
|
615
614
|
* <p>The list of key-value pairs assigned to the probe.</p>
|
|
615
|
+
* @public
|
|
616
616
|
*/
|
|
617
617
|
tags?: Record<string, string>;
|
|
618
618
|
}
|
|
@@ -621,52 +621,52 @@ export interface GetProbeOutput {
|
|
|
621
621
|
*/
|
|
622
622
|
export interface ListMonitorsInput {
|
|
623
623
|
/**
|
|
624
|
-
* @public
|
|
625
624
|
* <p>The token for the next page of results.</p>
|
|
625
|
+
* @public
|
|
626
626
|
*/
|
|
627
627
|
nextToken?: string;
|
|
628
628
|
/**
|
|
629
|
-
* @public
|
|
630
629
|
* <p>The maximum number of results to return with a single call.
|
|
631
630
|
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
632
631
|
* <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
|
|
633
632
|
* returned.</p>
|
|
633
|
+
* @public
|
|
634
634
|
*/
|
|
635
635
|
maxResults?: number;
|
|
636
636
|
/**
|
|
637
|
-
* @public
|
|
638
637
|
* <p>The list of all monitors and their states.</p>
|
|
638
|
+
* @public
|
|
639
639
|
*/
|
|
640
640
|
state?: string;
|
|
641
641
|
}
|
|
642
642
|
/**
|
|
643
|
-
* @public
|
|
644
643
|
* <p>Displays summary information about a monitor.</p>
|
|
644
|
+
* @public
|
|
645
645
|
*/
|
|
646
646
|
export interface MonitorSummary {
|
|
647
647
|
/**
|
|
648
|
-
* @public
|
|
649
648
|
* <p>The ARN of the monitor.</p>
|
|
649
|
+
* @public
|
|
650
650
|
*/
|
|
651
651
|
monitorArn: string | undefined;
|
|
652
652
|
/**
|
|
653
|
-
* @public
|
|
654
653
|
* <p>The name of the monitor.</p>
|
|
654
|
+
* @public
|
|
655
655
|
*/
|
|
656
656
|
monitorName: string | undefined;
|
|
657
657
|
/**
|
|
658
|
-
* @public
|
|
659
658
|
* <p>The state of the monitor.</p>
|
|
659
|
+
* @public
|
|
660
660
|
*/
|
|
661
661
|
state: MonitorState | undefined;
|
|
662
662
|
/**
|
|
663
|
-
* @public
|
|
664
663
|
* <p>The time, in seconds, that metrics are collected and sent to Amazon CloudWatch. Valid values are either <code>30</code> or <code>60</code>.</p>
|
|
664
|
+
* @public
|
|
665
665
|
*/
|
|
666
666
|
aggregationPeriod?: number;
|
|
667
667
|
/**
|
|
668
|
-
* @public
|
|
669
668
|
* <p>The list of key-value pairs assigned to the monitor.</p>
|
|
669
|
+
* @public
|
|
670
670
|
*/
|
|
671
671
|
tags?: Record<string, string>;
|
|
672
672
|
}
|
|
@@ -675,13 +675,13 @@ export interface MonitorSummary {
|
|
|
675
675
|
*/
|
|
676
676
|
export interface ListMonitorsOutput {
|
|
677
677
|
/**
|
|
678
|
-
* @public
|
|
679
678
|
* <p>Lists individual details about each of your monitors.</p>
|
|
679
|
+
* @public
|
|
680
680
|
*/
|
|
681
681
|
monitors: MonitorSummary[] | undefined;
|
|
682
682
|
/**
|
|
683
|
-
* @public
|
|
684
683
|
* <p>The token for the next page of results.</p>
|
|
684
|
+
* @public
|
|
685
685
|
*/
|
|
686
686
|
nextToken?: string;
|
|
687
687
|
}
|
|
@@ -690,8 +690,8 @@ export interface ListMonitorsOutput {
|
|
|
690
690
|
*/
|
|
691
691
|
export interface ListTagsForResourceInput {
|
|
692
692
|
/**
|
|
693
|
-
* @public
|
|
694
693
|
* <p>The </p>
|
|
694
|
+
* @public
|
|
695
695
|
*/
|
|
696
696
|
resourceArn: string | undefined;
|
|
697
697
|
}
|
|
@@ -700,8 +700,8 @@ export interface ListTagsForResourceInput {
|
|
|
700
700
|
*/
|
|
701
701
|
export interface ListTagsForResourceOutput {
|
|
702
702
|
/**
|
|
703
|
-
* @public
|
|
704
703
|
* <p>Lists the tags assigned to the resource.</p>
|
|
704
|
+
* @public
|
|
705
705
|
*/
|
|
706
706
|
tags?: Record<string, string>;
|
|
707
707
|
}
|
|
@@ -710,13 +710,13 @@ export interface ListTagsForResourceOutput {
|
|
|
710
710
|
*/
|
|
711
711
|
export interface UpdateMonitorInput {
|
|
712
712
|
/**
|
|
713
|
-
* @public
|
|
714
713
|
* <p>The name of the monitor to update. Run <code>ListMonitors</code> to get a list of monitor names.</p>
|
|
714
|
+
* @public
|
|
715
715
|
*/
|
|
716
716
|
monitorName: string | undefined;
|
|
717
717
|
/**
|
|
718
|
-
* @public
|
|
719
718
|
* <p>The aggregation time, in seconds, to change to. This must be either <code>30</code> or <code>60</code>. </p>
|
|
719
|
+
* @public
|
|
720
720
|
*/
|
|
721
721
|
aggregationPeriod: number | undefined;
|
|
722
722
|
}
|
|
@@ -725,28 +725,28 @@ export interface UpdateMonitorInput {
|
|
|
725
725
|
*/
|
|
726
726
|
export interface UpdateMonitorOutput {
|
|
727
727
|
/**
|
|
728
|
-
* @public
|
|
729
728
|
* <p>The ARN of the monitor that was updated.</p>
|
|
729
|
+
* @public
|
|
730
730
|
*/
|
|
731
731
|
monitorArn: string | undefined;
|
|
732
732
|
/**
|
|
733
|
-
* @public
|
|
734
733
|
* <p>The name of the monitor that was updated.</p>
|
|
734
|
+
* @public
|
|
735
735
|
*/
|
|
736
736
|
monitorName: string | undefined;
|
|
737
737
|
/**
|
|
738
|
-
* @public
|
|
739
738
|
* <p>The state of the updated monitor.</p>
|
|
739
|
+
* @public
|
|
740
740
|
*/
|
|
741
741
|
state: MonitorState | undefined;
|
|
742
742
|
/**
|
|
743
|
-
* @public
|
|
744
743
|
* <p>The changed aggregation period.</p>
|
|
744
|
+
* @public
|
|
745
745
|
*/
|
|
746
746
|
aggregationPeriod?: number;
|
|
747
747
|
/**
|
|
748
|
-
* @public
|
|
749
748
|
* <p>The list of key-value pairs associated with the monitor.</p>
|
|
749
|
+
* @public
|
|
750
750
|
*/
|
|
751
751
|
tags?: Record<string, string>;
|
|
752
752
|
}
|
|
@@ -755,38 +755,38 @@ export interface UpdateMonitorOutput {
|
|
|
755
755
|
*/
|
|
756
756
|
export interface UpdateProbeInput {
|
|
757
757
|
/**
|
|
758
|
-
* @public
|
|
759
758
|
* <p>The name of the monitor that the probe was updated for.</p>
|
|
759
|
+
* @public
|
|
760
760
|
*/
|
|
761
761
|
monitorName: string | undefined;
|
|
762
762
|
/**
|
|
763
|
-
* @public
|
|
764
763
|
* <p>Run <code>GetMonitor</code> to get a list of probes and probe IDs.</p>
|
|
764
|
+
* @public
|
|
765
765
|
*/
|
|
766
766
|
probeId: string | undefined;
|
|
767
767
|
/**
|
|
768
|
-
* @public
|
|
769
768
|
* <p>The state of the probe update.</p>
|
|
769
|
+
* @public
|
|
770
770
|
*/
|
|
771
771
|
state?: ProbeState;
|
|
772
772
|
/**
|
|
773
|
-
* @public
|
|
774
773
|
* <p>The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.</p>
|
|
774
|
+
* @public
|
|
775
775
|
*/
|
|
776
776
|
destination?: string;
|
|
777
777
|
/**
|
|
778
|
-
* @public
|
|
779
778
|
* <p>The updated port for the probe destination. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
779
|
+
* @public
|
|
780
780
|
*/
|
|
781
781
|
destinationPort?: number;
|
|
782
782
|
/**
|
|
783
|
-
* @public
|
|
784
783
|
* <p>The updated network protocol for the destination. This can be either <code>TCP</code> or <code>ICMP</code>. If the protocol is <code>TCP</code>, then <code>port</code> is also required.</p>
|
|
784
|
+
* @public
|
|
785
785
|
*/
|
|
786
786
|
protocol?: Protocol;
|
|
787
787
|
/**
|
|
788
|
-
* @public
|
|
789
788
|
* <p>he updated packets size for network traffic between the source and destination. This must be a number between <code>56</code> and <code>8500</code>.</p>
|
|
789
|
+
* @public
|
|
790
790
|
*/
|
|
791
791
|
packetSize?: number;
|
|
792
792
|
}
|
|
@@ -795,68 +795,68 @@ export interface UpdateProbeInput {
|
|
|
795
795
|
*/
|
|
796
796
|
export interface UpdateProbeOutput {
|
|
797
797
|
/**
|
|
798
|
-
* @public
|
|
799
798
|
* <p>The updated ID of the probe.</p>
|
|
799
|
+
* @public
|
|
800
800
|
*/
|
|
801
801
|
probeId?: string;
|
|
802
802
|
/**
|
|
803
|
-
* @public
|
|
804
803
|
* <p>The updated ARN of the probe.</p>
|
|
804
|
+
* @public
|
|
805
805
|
*/
|
|
806
806
|
probeArn?: string;
|
|
807
807
|
/**
|
|
808
|
-
* @public
|
|
809
808
|
* <p>The updated ARN of the source subnet.</p>
|
|
809
|
+
* @public
|
|
810
810
|
*/
|
|
811
811
|
sourceArn: string | undefined;
|
|
812
812
|
/**
|
|
813
|
-
* @public
|
|
814
813
|
* <p>The updated destination IP address for the probe.</p>
|
|
814
|
+
* @public
|
|
815
815
|
*/
|
|
816
816
|
destination: string | undefined;
|
|
817
817
|
/**
|
|
818
|
-
* @public
|
|
819
818
|
* <p>The updated destination port. This will be a number between <code>1</code> and <code>65536</code>.</p>
|
|
819
|
+
* @public
|
|
820
820
|
*/
|
|
821
821
|
destinationPort?: number;
|
|
822
822
|
/**
|
|
823
|
-
* @public
|
|
824
823
|
* <p>The updated protocol for the probe.</p>
|
|
824
|
+
* @public
|
|
825
825
|
*/
|
|
826
826
|
protocol: Protocol | undefined;
|
|
827
827
|
/**
|
|
828
|
-
* @public
|
|
829
828
|
* <p>The updated packet size for the probe. </p>
|
|
829
|
+
* @public
|
|
830
830
|
*/
|
|
831
831
|
packetSize?: number;
|
|
832
832
|
/**
|
|
833
|
-
* @public
|
|
834
833
|
* <p>The updated IP address family. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
834
|
+
* @public
|
|
835
835
|
*/
|
|
836
836
|
addressFamily?: AddressFamily;
|
|
837
837
|
/**
|
|
838
|
-
* @public
|
|
839
838
|
* <p>The updated ID of the source VPC subnet ID.</p>
|
|
839
|
+
* @public
|
|
840
840
|
*/
|
|
841
841
|
vpcId?: string;
|
|
842
842
|
/**
|
|
843
|
-
* @public
|
|
844
843
|
* <p>The state of the updated probe.</p>
|
|
844
|
+
* @public
|
|
845
845
|
*/
|
|
846
846
|
state?: ProbeState;
|
|
847
847
|
/**
|
|
848
|
-
* @public
|
|
849
848
|
* <p>The time and date that the probe was created.</p>
|
|
849
|
+
* @public
|
|
850
850
|
*/
|
|
851
851
|
createdAt?: Date;
|
|
852
852
|
/**
|
|
853
|
-
* @public
|
|
854
853
|
* <p>The time and date that the probe was last updated.</p>
|
|
854
|
+
* @public
|
|
855
855
|
*/
|
|
856
856
|
modifiedAt?: Date;
|
|
857
857
|
/**
|
|
858
|
-
* @public
|
|
859
858
|
* <p>Update tags for a probe.</p>
|
|
859
|
+
* @public
|
|
860
860
|
*/
|
|
861
861
|
tags?: Record<string, string>;
|
|
862
862
|
}
|
|
@@ -865,13 +865,13 @@ export interface UpdateProbeOutput {
|
|
|
865
865
|
*/
|
|
866
866
|
export interface TagResourceInput {
|
|
867
867
|
/**
|
|
868
|
-
* @public
|
|
869
868
|
* <p>The ARN of the monitor or probe to tag.</p>
|
|
869
|
+
* @public
|
|
870
870
|
*/
|
|
871
871
|
resourceArn: string | undefined;
|
|
872
872
|
/**
|
|
873
|
-
* @public
|
|
874
873
|
* <p>The list of key-value pairs assigned to the monitor or probe.</p>
|
|
874
|
+
* @public
|
|
875
875
|
*/
|
|
876
876
|
tags: Record<string, string> | undefined;
|
|
877
877
|
}
|
|
@@ -885,13 +885,13 @@ export interface TagResourceOutput {
|
|
|
885
885
|
*/
|
|
886
886
|
export interface UntagResourceInput {
|
|
887
887
|
/**
|
|
888
|
-
* @public
|
|
889
888
|
* <p>The ARN of the monitor or probe that the tag should be removed from. </p>
|
|
889
|
+
* @public
|
|
890
890
|
*/
|
|
891
891
|
resourceArn: string | undefined;
|
|
892
892
|
/**
|
|
893
|
-
* @public
|
|
894
893
|
* <p>The key-value pa</p>
|
|
894
|
+
* @public
|
|
895
895
|
*/
|
|
896
896
|
tagKeys: string[] | undefined;
|
|
897
897
|
}
|