cdk-lambda-subminute 2.0.333 → 2.0.335

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.
Files changed (28) hide show
  1. package/.jsii +16 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +64 -18
  5. package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +24 -3
  6. package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +151 -20
  7. package/node_modules/aws-sdk/apis/metadata.json +3 -0
  8. package/node_modules/aws-sdk/apis/networkmonitor-2023-08-01.examples.json +5 -0
  9. package/node_modules/aws-sdk/apis/networkmonitor-2023-08-01.min.json +617 -0
  10. package/node_modules/aws-sdk/apis/networkmonitor-2023-08-01.paginators.json +10 -0
  11. package/node_modules/aws-sdk/apis/networkmonitor-2023-08-01.waiters2.json +5 -0
  12. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +121 -121
  13. package/node_modules/aws-sdk/clients/all.d.ts +1 -0
  14. package/node_modules/aws-sdk/clients/all.js +2 -1
  15. package/node_modules/aws-sdk/clients/glue.d.ts +84 -2
  16. package/node_modules/aws-sdk/clients/lakeformation.d.ts +42 -1
  17. package/node_modules/aws-sdk/clients/mediaconnect.d.ts +101 -0
  18. package/node_modules/aws-sdk/clients/networkmonitor.d.ts +696 -0
  19. package/node_modules/aws-sdk/clients/networkmonitor.js +19 -0
  20. package/node_modules/aws-sdk/clients/omics.d.ts +3 -3
  21. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  22. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +51 -7
  23. package/node_modules/aws-sdk/dist/aws-sdk.js +6 -3
  24. package/node_modules/aws-sdk/dist/aws-sdk.min.js +38 -38
  25. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
  26. package/node_modules/aws-sdk/lib/core.js +1 -1
  27. package/node_modules/aws-sdk/package.json +1 -1
  28. package/package.json +2 -2
@@ -0,0 +1,696 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
+ interface Blob {}
8
+ declare class NetworkMonitor extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: NetworkMonitor.Types.ClientConfiguration)
13
+ config: Config & NetworkMonitor.Types.ClientConfiguration;
14
+ /**
15
+ * 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.
16
+ */
17
+ createMonitor(params: NetworkMonitor.Types.CreateMonitorInput, callback?: (err: AWSError, data: NetworkMonitor.Types.CreateMonitorOutput) => void): Request<NetworkMonitor.Types.CreateMonitorOutput, AWSError>;
18
+ /**
19
+ * 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.
20
+ */
21
+ createMonitor(callback?: (err: AWSError, data: NetworkMonitor.Types.CreateMonitorOutput) => void): Request<NetworkMonitor.Types.CreateMonitorOutput, AWSError>;
22
+ /**
23
+ * 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.
24
+ */
25
+ createProbe(params: NetworkMonitor.Types.CreateProbeInput, callback?: (err: AWSError, data: NetworkMonitor.Types.CreateProbeOutput) => void): Request<NetworkMonitor.Types.CreateProbeOutput, AWSError>;
26
+ /**
27
+ * 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.
28
+ */
29
+ createProbe(callback?: (err: AWSError, data: NetworkMonitor.Types.CreateProbeOutput) => void): Request<NetworkMonitor.Types.CreateProbeOutput, AWSError>;
30
+ /**
31
+ * Deletes a specified monitor.
32
+ */
33
+ deleteMonitor(params: NetworkMonitor.Types.DeleteMonitorInput, callback?: (err: AWSError, data: NetworkMonitor.Types.DeleteMonitorOutput) => void): Request<NetworkMonitor.Types.DeleteMonitorOutput, AWSError>;
34
+ /**
35
+ * Deletes a specified monitor.
36
+ */
37
+ deleteMonitor(callback?: (err: AWSError, data: NetworkMonitor.Types.DeleteMonitorOutput) => void): Request<NetworkMonitor.Types.DeleteMonitorOutput, AWSError>;
38
+ /**
39
+ * Deletes the specified monitor. Once a probe is deleted you'll no longer incur any billing fees for that probe.
40
+ */
41
+ deleteProbe(params: NetworkMonitor.Types.DeleteProbeInput, callback?: (err: AWSError, data: NetworkMonitor.Types.DeleteProbeOutput) => void): Request<NetworkMonitor.Types.DeleteProbeOutput, AWSError>;
42
+ /**
43
+ * Deletes the specified monitor. Once a probe is deleted you'll no longer incur any billing fees for that probe.
44
+ */
45
+ deleteProbe(callback?: (err: AWSError, data: NetworkMonitor.Types.DeleteProbeOutput) => void): Request<NetworkMonitor.Types.DeleteProbeOutput, AWSError>;
46
+ /**
47
+ * Returns details about a specific monitor.
48
+ */
49
+ getMonitor(params: NetworkMonitor.Types.GetMonitorInput, callback?: (err: AWSError, data: NetworkMonitor.Types.GetMonitorOutput) => void): Request<NetworkMonitor.Types.GetMonitorOutput, AWSError>;
50
+ /**
51
+ * Returns details about a specific monitor.
52
+ */
53
+ getMonitor(callback?: (err: AWSError, data: NetworkMonitor.Types.GetMonitorOutput) => void): Request<NetworkMonitor.Types.GetMonitorOutput, AWSError>;
54
+ /**
55
+ * Returns the details about a probe. You'll need both the monitorName and probeId.
56
+ */
57
+ getProbe(params: NetworkMonitor.Types.GetProbeInput, callback?: (err: AWSError, data: NetworkMonitor.Types.GetProbeOutput) => void): Request<NetworkMonitor.Types.GetProbeOutput, AWSError>;
58
+ /**
59
+ * Returns the details about a probe. You'll need both the monitorName and probeId.
60
+ */
61
+ getProbe(callback?: (err: AWSError, data: NetworkMonitor.Types.GetProbeOutput) => void): Request<NetworkMonitor.Types.GetProbeOutput, AWSError>;
62
+ /**
63
+ * Returns a list of all of your monitors.
64
+ */
65
+ listMonitors(params: NetworkMonitor.Types.ListMonitorsInput, callback?: (err: AWSError, data: NetworkMonitor.Types.ListMonitorsOutput) => void): Request<NetworkMonitor.Types.ListMonitorsOutput, AWSError>;
66
+ /**
67
+ * Returns a list of all of your monitors.
68
+ */
69
+ listMonitors(callback?: (err: AWSError, data: NetworkMonitor.Types.ListMonitorsOutput) => void): Request<NetworkMonitor.Types.ListMonitorsOutput, AWSError>;
70
+ /**
71
+ * Lists the tags assigned to this resource.
72
+ */
73
+ listTagsForResource(params: NetworkMonitor.Types.ListTagsForResourceInput, callback?: (err: AWSError, data: NetworkMonitor.Types.ListTagsForResourceOutput) => void): Request<NetworkMonitor.Types.ListTagsForResourceOutput, AWSError>;
74
+ /**
75
+ * Lists the tags assigned to this resource.
76
+ */
77
+ listTagsForResource(callback?: (err: AWSError, data: NetworkMonitor.Types.ListTagsForResourceOutput) => void): Request<NetworkMonitor.Types.ListTagsForResourceOutput, AWSError>;
78
+ /**
79
+ * Adds key-value pairs to a monitor or probe.
80
+ */
81
+ tagResource(params: NetworkMonitor.Types.TagResourceInput, callback?: (err: AWSError, data: NetworkMonitor.Types.TagResourceOutput) => void): Request<NetworkMonitor.Types.TagResourceOutput, AWSError>;
82
+ /**
83
+ * Adds key-value pairs to a monitor or probe.
84
+ */
85
+ tagResource(callback?: (err: AWSError, data: NetworkMonitor.Types.TagResourceOutput) => void): Request<NetworkMonitor.Types.TagResourceOutput, AWSError>;
86
+ /**
87
+ * Removes a key-value pair from a monitor or probe.
88
+ */
89
+ untagResource(params: NetworkMonitor.Types.UntagResourceInput, callback?: (err: AWSError, data: NetworkMonitor.Types.UntagResourceOutput) => void): Request<NetworkMonitor.Types.UntagResourceOutput, AWSError>;
90
+ /**
91
+ * Removes a key-value pair from a monitor or probe.
92
+ */
93
+ untagResource(callback?: (err: AWSError, data: NetworkMonitor.Types.UntagResourceOutput) => void): Request<NetworkMonitor.Types.UntagResourceOutput, AWSError>;
94
+ /**
95
+ * Updates the aggregationPeriod for a monitor. Monitors support an aggregationPeriod of either 30 or 60 seconds.
96
+ */
97
+ updateMonitor(params: NetworkMonitor.Types.UpdateMonitorInput, callback?: (err: AWSError, data: NetworkMonitor.Types.UpdateMonitorOutput) => void): Request<NetworkMonitor.Types.UpdateMonitorOutput, AWSError>;
98
+ /**
99
+ * Updates the aggregationPeriod for a monitor. Monitors support an aggregationPeriod of either 30 or 60 seconds.
100
+ */
101
+ updateMonitor(callback?: (err: AWSError, data: NetworkMonitor.Types.UpdateMonitorOutput) => void): Request<NetworkMonitor.Types.UpdateMonitorOutput, AWSError>;
102
+ /**
103
+ * 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.
104
+ */
105
+ updateProbe(params: NetworkMonitor.Types.UpdateProbeInput, callback?: (err: AWSError, data: NetworkMonitor.Types.UpdateProbeOutput) => void): Request<NetworkMonitor.Types.UpdateProbeOutput, AWSError>;
106
+ /**
107
+ * 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.
108
+ */
109
+ updateProbe(callback?: (err: AWSError, data: NetworkMonitor.Types.UpdateProbeOutput) => void): Request<NetworkMonitor.Types.UpdateProbeOutput, AWSError>;
110
+ }
111
+ declare namespace NetworkMonitor {
112
+ export type AddressFamily = "IPV4"|"IPV6"|string;
113
+ export type AggregationPeriod = number;
114
+ export type Arn = string;
115
+ export interface CreateMonitorInput {
116
+ /**
117
+ * The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 255 characters.
118
+ */
119
+ monitorName: ResourceName;
120
+ /**
121
+ * Displays a list of all of the probes created for a monitor.
122
+ */
123
+ probes?: CreateMonitorProbeInputList;
124
+ /**
125
+ * The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.
126
+ */
127
+ aggregationPeriod?: AggregationPeriod;
128
+ /**
129
+ * Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
130
+ */
131
+ clientToken?: String;
132
+ /**
133
+ * The list of key-value pairs created and assigned to the monitor.
134
+ */
135
+ tags?: TagMap;
136
+ }
137
+ export interface CreateMonitorOutput {
138
+ /**
139
+ * The ARN of the monitor.
140
+ */
141
+ monitorArn: MonitorArn;
142
+ /**
143
+ * The name of the monitor.
144
+ */
145
+ monitorName: ResourceName;
146
+ /**
147
+ * The state of the monitor.
148
+ */
149
+ state: MonitorState;
150
+ /**
151
+ * The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This will be either 30 or 60.
152
+ */
153
+ aggregationPeriod?: AggregationPeriod;
154
+ /**
155
+ * The list of key-value pairs assigned to the monitor.
156
+ */
157
+ tags?: TagMap;
158
+ }
159
+ export interface CreateMonitorProbeInput {
160
+ /**
161
+ * The ARN of the subnet.
162
+ */
163
+ sourceArn: Arn;
164
+ /**
165
+ * The destination IP address. This will be either IPV4 or IPV6.
166
+ */
167
+ destination: Destination;
168
+ /**
169
+ * The port associated with the destination. This is required only if the protocol is TCP and must be a number between 1 and 65536.
170
+ */
171
+ destinationPort?: Port;
172
+ /**
173
+ * The protocol used for the network traffic between the source and destination. This will be either TCP or ICMP.
174
+ */
175
+ protocol: Protocol;
176
+ /**
177
+ * The size of the packets sent between the source and destination. This will be a number between 56 and 8500.
178
+ */
179
+ packetSize?: PacketSize;
180
+ /**
181
+ * The list of key-value pairs created and assigned to the monitor.
182
+ */
183
+ probeTags?: TagMap;
184
+ }
185
+ export type CreateMonitorProbeInputList = CreateMonitorProbeInput[];
186
+ export interface CreateProbeInput {
187
+ /**
188
+ * The name of the monitor to associated with the probe. To get a list of available monitors, use ListMonitors.
189
+ */
190
+ monitorName: ResourceName;
191
+ /**
192
+ * Describes the details of an individual probe for a monitor.
193
+ */
194
+ probe: ProbeInput;
195
+ /**
196
+ * Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
197
+ */
198
+ clientToken?: String;
199
+ /**
200
+ * The list of key-value pairs created and assigned to the probe.
201
+ */
202
+ tags?: TagMap;
203
+ }
204
+ export interface CreateProbeOutput {
205
+ /**
206
+ * The ID of the probe for which details are returned.
207
+ */
208
+ probeId?: ProbeId;
209
+ /**
210
+ * The ARN of the probe.
211
+ */
212
+ probeArn?: Arn;
213
+ /**
214
+ * The ARN of the probe.
215
+ */
216
+ sourceArn: Arn;
217
+ /**
218
+ * The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.
219
+ */
220
+ destination: Destination;
221
+ /**
222
+ * The port associated with the destination. This is required only if the protocol is TCP and must be a number between 1 and 65536.
223
+ */
224
+ destinationPort?: Port;
225
+ /**
226
+ * The protocol used for the network traffic between the source and destination. This will be either TCP or ICMP.
227
+ */
228
+ protocol: Protocol;
229
+ /**
230
+ * The size of the packets sent between the source and destination. This will be a number between 56 and 8500.
231
+ */
232
+ packetSize?: PacketSize;
233
+ /**
234
+ * Indicates whether the IP address is IPV4 or IPV6.
235
+ */
236
+ addressFamily?: AddressFamily;
237
+ /**
238
+ * The ID of the source VPC or subnet.
239
+ */
240
+ vpcId?: VpcId;
241
+ /**
242
+ * The state of the probe.
243
+ */
244
+ state?: ProbeState;
245
+ /**
246
+ * The time and date that the probe was created.
247
+ */
248
+ createdAt?: Iso8601Timestamp;
249
+ /**
250
+ * The time and date when the probe was last modified.
251
+ */
252
+ modifiedAt?: Iso8601Timestamp;
253
+ /**
254
+ * The list of key-value pairs assigned to the probe.
255
+ */
256
+ tags?: TagMap;
257
+ }
258
+ export interface DeleteMonitorInput {
259
+ /**
260
+ * The name of the monitor to delete. Use the ListMonitors action to get a list of your current monitors.
261
+ */
262
+ monitorName: ResourceName;
263
+ }
264
+ export interface DeleteMonitorOutput {
265
+ }
266
+ export interface DeleteProbeInput {
267
+ /**
268
+ * The name of the monitor to delete. For a list of the available monitors, use the ListMonitors action.
269
+ */
270
+ monitorName: ResourceName;
271
+ /**
272
+ * The ID of the probe to delete. Run GetMonitor to get a lst of all probes and probe IDs associated with the monitor.
273
+ */
274
+ probeId: ProbeId;
275
+ }
276
+ export interface DeleteProbeOutput {
277
+ }
278
+ export type Destination = string;
279
+ export interface GetMonitorInput {
280
+ /**
281
+ * The name of the monitor that details are returned for.
282
+ */
283
+ monitorName: ResourceName;
284
+ }
285
+ export interface GetMonitorOutput {
286
+ /**
287
+ * The ARN of the selected monitor.
288
+ */
289
+ monitorArn: MonitorArn;
290
+ /**
291
+ * The name of the monitor. To get a list of the current monitors and their names, use the ListMonitors action.
292
+ */
293
+ monitorName: ResourceName;
294
+ /**
295
+ * Returns a list of the state of each monitor.
296
+ */
297
+ state: MonitorState;
298
+ /**
299
+ * The aggregation period for the specified monitor.
300
+ */
301
+ aggregationPeriod: AggregationPeriod;
302
+ /**
303
+ * The list of key-value pairs assigned to the monitor.
304
+ */
305
+ tags?: TagMap;
306
+ /**
307
+ * The details about each probe associated with that monitor.
308
+ */
309
+ probes?: ProbeList;
310
+ /**
311
+ * The time and date when the monitor was created.
312
+ */
313
+ createdAt: Iso8601Timestamp;
314
+ /**
315
+ * The time and date when the monitor was last modified.
316
+ */
317
+ modifiedAt: Iso8601Timestamp;
318
+ }
319
+ export interface GetProbeInput {
320
+ /**
321
+ * The name of the monitor associated with the probe. Run ListMonitors to get a list of monitor names.
322
+ */
323
+ monitorName: ResourceName;
324
+ /**
325
+ * The ID of the probe to get information about. Run GetMonitor action to get a list of probes and probe IDs for the monitor.
326
+ */
327
+ probeId: ProbeId;
328
+ }
329
+ export interface GetProbeOutput {
330
+ /**
331
+ * The ID of the probe for which details are returned.
332
+ */
333
+ probeId?: ProbeId;
334
+ /**
335
+ * The ARN of the probe.
336
+ */
337
+ probeArn?: Arn;
338
+ /**
339
+ * The ARN of the probe.
340
+ */
341
+ sourceArn: Arn;
342
+ /**
343
+ * The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.
344
+ */
345
+ destination: Destination;
346
+ /**
347
+ * The port associated with the destination. This is required only if the protocol is TCP and must be a number between 1 and 65536.
348
+ */
349
+ destinationPort?: Port;
350
+ /**
351
+ * The protocol used for the network traffic between the source and destination. This will be either TCP or ICMP.
352
+ */
353
+ protocol: Protocol;
354
+ /**
355
+ * The size of the packets sent between the source and destination. This will be a number between 56 and 8500.
356
+ */
357
+ packetSize?: PacketSize;
358
+ /**
359
+ * Indicates whether the IP address is IPV4 or IPV6.
360
+ */
361
+ addressFamily?: AddressFamily;
362
+ /**
363
+ * The ID of the source VPC or subnet.
364
+ */
365
+ vpcId?: VpcId;
366
+ /**
367
+ * The state of the probe.
368
+ */
369
+ state?: ProbeState;
370
+ /**
371
+ * The time and date that the probe was created.
372
+ */
373
+ createdAt?: Iso8601Timestamp;
374
+ /**
375
+ * The time and date that the probe was last modified.
376
+ */
377
+ modifiedAt?: Iso8601Timestamp;
378
+ /**
379
+ * The list of key-value pairs assigned to the probe.
380
+ */
381
+ tags?: TagMap;
382
+ }
383
+ export type Iso8601Timestamp = Date;
384
+ export interface ListMonitorsInput {
385
+ /**
386
+ * The token for the next page of results.
387
+ */
388
+ nextToken?: PaginationToken;
389
+ /**
390
+ * 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.
391
+ */
392
+ maxResults?: MaxResults;
393
+ /**
394
+ * The list of all monitors and their states.
395
+ */
396
+ state?: String;
397
+ }
398
+ export interface ListMonitorsOutput {
399
+ /**
400
+ * Lists individual details about each of your monitors.
401
+ */
402
+ monitors: MonitorList;
403
+ /**
404
+ * The token for the next page of results.
405
+ */
406
+ nextToken?: String;
407
+ }
408
+ export interface ListTagsForResourceInput {
409
+ /**
410
+ * The
411
+ */
412
+ resourceArn: Arn;
413
+ }
414
+ export interface ListTagsForResourceOutput {
415
+ /**
416
+ * Lists the tags assigned to the resource.
417
+ */
418
+ tags?: TagMap;
419
+ }
420
+ export type MaxResults = number;
421
+ export type MonitorArn = string;
422
+ export type MonitorList = MonitorSummary[];
423
+ export type MonitorState = "PENDING"|"ACTIVE"|"INACTIVE"|"ERROR"|"DELETING"|string;
424
+ export interface MonitorSummary {
425
+ /**
426
+ * The ARN of the monitor.
427
+ */
428
+ monitorArn: MonitorArn;
429
+ /**
430
+ * The name of the monitor.
431
+ */
432
+ monitorName: ResourceName;
433
+ /**
434
+ * The state of the monitor.
435
+ */
436
+ state: MonitorState;
437
+ /**
438
+ * The time, in seconds, that metrics are collected and sent to Amazon CloudWatch. Valid values are either 30 or 60.
439
+ */
440
+ aggregationPeriod?: AggregationPeriod;
441
+ /**
442
+ * The list of key-value pairs assigned to the monitor.
443
+ */
444
+ tags?: TagMap;
445
+ }
446
+ export type PacketSize = number;
447
+ export type PaginationToken = string;
448
+ export type Port = number;
449
+ export interface Probe {
450
+ /**
451
+ * The ID of the probe.
452
+ */
453
+ probeId?: ProbeId;
454
+ /**
455
+ * The ARN of the probe.
456
+ */
457
+ probeArn?: Arn;
458
+ /**
459
+ * The ARN of the probe source subnet.
460
+ */
461
+ sourceArn: Arn;
462
+ /**
463
+ * The destination for the probe. This should be either an IPV4 or IPV6.
464
+ */
465
+ destination: Destination;
466
+ /**
467
+ * The destination port for the probe. This is required only if the protocol is TCP and must be a number between 1 and 65536.
468
+ */
469
+ destinationPort?: Port;
470
+ /**
471
+ * The network protocol for the destination. This can be either TCP or ICMP. If the protocol is TCP, then port is also required.
472
+ */
473
+ protocol: Protocol;
474
+ /**
475
+ * The size of the packets traveling between the source and destination. This must be a number between 56 and
476
+ */
477
+ packetSize?: PacketSize;
478
+ /**
479
+ * The IPv4 or IPv6 address for the probe.
480
+ */
481
+ addressFamily?: AddressFamily;
482
+ /**
483
+ * The ID of the source VPC subnet.
484
+ */
485
+ vpcId?: VpcId;
486
+ /**
487
+ * The state of the probe.
488
+ */
489
+ state?: ProbeState;
490
+ /**
491
+ * The time and date the probe was created.
492
+ */
493
+ createdAt?: Iso8601Timestamp;
494
+ /**
495
+ * The time and date that the probe was last modified.
496
+ */
497
+ modifiedAt?: Iso8601Timestamp;
498
+ /**
499
+ * The list of key-value pairs created and assigned to the probe.
500
+ */
501
+ tags?: TagMap;
502
+ }
503
+ export type ProbeId = string;
504
+ export interface ProbeInput {
505
+ /**
506
+ * The ARN of the subnet.
507
+ */
508
+ sourceArn: Arn;
509
+ /**
510
+ * The destination IP address. This will be either IPV4 or IPV6.
511
+ */
512
+ destination: Destination;
513
+ /**
514
+ * The port associated with the destination. This is required only if the protocol is TCP and must be a number between 1 and 65536.
515
+ */
516
+ destinationPort?: Port;
517
+ /**
518
+ * The protocol used for the network traffic between the source and destination. This will be either TCP or ICMP.
519
+ */
520
+ protocol: Protocol;
521
+ /**
522
+ * The size of the packets sent between the source and destination. This will be a number between 56 and 8500.
523
+ */
524
+ packetSize?: PacketSize;
525
+ /**
526
+ * The list of key-value pairs created and assigned to the monitor.
527
+ */
528
+ tags?: TagMap;
529
+ }
530
+ export type ProbeList = Probe[];
531
+ export type ProbeState = "PENDING"|"ACTIVE"|"INACTIVE"|"ERROR"|"DELETING"|"DELETED"|string;
532
+ export type Protocol = "TCP"|"ICMP"|string;
533
+ export type ResourceName = string;
534
+ export type String = string;
535
+ export type TagKey = string;
536
+ export type TagKeyList = TagKey[];
537
+ export type TagMap = {[key: string]: TagValue};
538
+ export interface TagResourceInput {
539
+ /**
540
+ * The ARN of the monitor or probe to tag.
541
+ */
542
+ resourceArn: Arn;
543
+ /**
544
+ * The list of key-value pairs assigned to the monitor or probe.
545
+ */
546
+ tags: TagMap;
547
+ }
548
+ export interface TagResourceOutput {
549
+ }
550
+ export type TagValue = string;
551
+ export interface UntagResourceInput {
552
+ /**
553
+ * The ARN of the monitor or probe that the tag should be removed from.
554
+ */
555
+ resourceArn: Arn;
556
+ /**
557
+ * The key-value pa
558
+ */
559
+ tagKeys: TagKeyList;
560
+ }
561
+ export interface UntagResourceOutput {
562
+ }
563
+ export interface UpdateMonitorInput {
564
+ /**
565
+ * The name of the monitor to update. Run ListMonitors to get a list of monitor names.
566
+ */
567
+ monitorName: ResourceName;
568
+ /**
569
+ * The aggregation time, in seconds, to change to. This must be either 30 or 60.
570
+ */
571
+ aggregationPeriod: AggregationPeriod;
572
+ }
573
+ export interface UpdateMonitorOutput {
574
+ /**
575
+ * The ARN of the monitor that was updated.
576
+ */
577
+ monitorArn: MonitorArn;
578
+ /**
579
+ * The name of the monitor that was updated.
580
+ */
581
+ monitorName: ResourceName;
582
+ /**
583
+ * The state of the updated monitor.
584
+ */
585
+ state: MonitorState;
586
+ /**
587
+ * The changed aggregation period.
588
+ */
589
+ aggregationPeriod?: AggregationPeriod;
590
+ /**
591
+ * The list of key-value pairs associated with the monitor.
592
+ */
593
+ tags?: TagMap;
594
+ }
595
+ export interface UpdateProbeInput {
596
+ /**
597
+ * The name of the monitor that the probe was updated for.
598
+ */
599
+ monitorName: ResourceName;
600
+ /**
601
+ * Run GetMonitor to get a list of probes and probe IDs.
602
+ */
603
+ probeId: ProbeId;
604
+ /**
605
+ * The state of the probe update.
606
+ */
607
+ state?: ProbeState;
608
+ /**
609
+ * The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.
610
+ */
611
+ destination?: Destination;
612
+ /**
613
+ * 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.
614
+ */
615
+ destinationPort?: Port;
616
+ /**
617
+ * The updated network protocol for the destination. This can be either TCP or ICMP. If the protocol is TCP, then port is also required.
618
+ */
619
+ protocol?: Protocol;
620
+ /**
621
+ * he updated packets size for network traffic between the source and destination. This must be a number between 56 and 8500.
622
+ */
623
+ packetSize?: PacketSize;
624
+ }
625
+ export interface UpdateProbeOutput {
626
+ /**
627
+ * The updated ID of the probe.
628
+ */
629
+ probeId?: ProbeId;
630
+ /**
631
+ * The updated ARN of the probe.
632
+ */
633
+ probeArn?: Arn;
634
+ /**
635
+ * The updated ARN of the source subnet.
636
+ */
637
+ sourceArn: Arn;
638
+ /**
639
+ * The updated destination IP address for the probe.
640
+ */
641
+ destination: Destination;
642
+ /**
643
+ * The updated destination port. This will be a number between 1 and 65536.
644
+ */
645
+ destinationPort?: Port;
646
+ /**
647
+ * The updated protocol for the probe.
648
+ */
649
+ protocol: Protocol;
650
+ /**
651
+ * The updated packet size for the probe.
652
+ */
653
+ packetSize?: PacketSize;
654
+ /**
655
+ * The updated IP address family. This will be either IPV4 or IPV6.
656
+ */
657
+ addressFamily?: AddressFamily;
658
+ /**
659
+ * The updated ID of the source VPC subnet ID.
660
+ */
661
+ vpcId?: VpcId;
662
+ /**
663
+ * The state of the updated probe.
664
+ */
665
+ state?: ProbeState;
666
+ /**
667
+ * The time and date that the probe was created.
668
+ */
669
+ createdAt?: Iso8601Timestamp;
670
+ /**
671
+ * The time and date that the probe was last updated.
672
+ */
673
+ modifiedAt?: Iso8601Timestamp;
674
+ /**
675
+ * Update tags for a probe.
676
+ */
677
+ tags?: TagMap;
678
+ }
679
+ export type VpcId = string;
680
+ /**
681
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
682
+ */
683
+ export type apiVersion = "2023-08-01"|"latest"|string;
684
+ export interface ClientApiVersions {
685
+ /**
686
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
687
+ */
688
+ apiVersion?: apiVersion;
689
+ }
690
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
691
+ /**
692
+ * Contains interfaces for use with the NetworkMonitor client.
693
+ */
694
+ export import Types = NetworkMonitor;
695
+ }
696
+ export = NetworkMonitor;