@aws-sdk/client-internetmonitor 3.300.0 → 3.303.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-cjs/models/models_0.js +26 -31
- package/dist-es/models/models_0.js +26 -31
- package/dist-types/commands/CreateMonitorCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMonitorCommand.d.ts +1 -1
- package/dist-types/commands/GetHealthEventCommand.d.ts +1 -1
- package/dist-types/commands/GetMonitorCommand.d.ts +1 -1
- package/dist-types/commands/ListHealthEventsCommand.d.ts +1 -1
- package/dist-types/commands/ListMonitorsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateMonitorCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +51 -26
- package/dist-types/ts3.4/models/models_0.d.ts +36 -26
- package/package.json +34 -34
|
@@ -41,13 +41,12 @@ class ConflictException extends InternetMonitorServiceException_1.InternetMonito
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
exports.ConflictException = ConflictException;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
})(MonitorConfigState = exports.MonitorConfigState || (exports.MonitorConfigState = {}));
|
|
44
|
+
exports.MonitorConfigState = {
|
|
45
|
+
ACTIVE: "ACTIVE",
|
|
46
|
+
ERROR: "ERROR",
|
|
47
|
+
INACTIVE: "INACTIVE",
|
|
48
|
+
PENDING: "PENDING",
|
|
49
|
+
};
|
|
51
50
|
class InternalServerException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
52
51
|
constructor(opts) {
|
|
53
52
|
super({
|
|
@@ -104,30 +103,26 @@ class ValidationException extends InternetMonitorServiceException_1.InternetMoni
|
|
|
104
103
|
}
|
|
105
104
|
}
|
|
106
105
|
exports.ValidationException = ValidationException;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
MonitorProcessingStatusCode["INACTIVE"] = "INACTIVE";
|
|
128
|
-
MonitorProcessingStatusCode["INSUFFICIENT_DATA"] = "INSUFFICIENT_DATA";
|
|
129
|
-
MonitorProcessingStatusCode["OK"] = "OK";
|
|
130
|
-
})(MonitorProcessingStatusCode = exports.MonitorProcessingStatusCode || (exports.MonitorProcessingStatusCode = {}));
|
|
106
|
+
exports.TriangulationEventType = {
|
|
107
|
+
AWS: "AWS",
|
|
108
|
+
INTERNET: "Internet",
|
|
109
|
+
};
|
|
110
|
+
exports.HealthEventStatus = {
|
|
111
|
+
ACTIVE: "ACTIVE",
|
|
112
|
+
RESOLVED: "RESOLVED",
|
|
113
|
+
};
|
|
114
|
+
exports.HealthEventImpactType = {
|
|
115
|
+
AVAILABILITY: "AVAILABILITY",
|
|
116
|
+
PERFORMANCE: "PERFORMANCE",
|
|
117
|
+
};
|
|
118
|
+
exports.MonitorProcessingStatusCode = {
|
|
119
|
+
COLLECTING_DATA: "COLLECTING_DATA",
|
|
120
|
+
FAULT_ACCESS_CLOUDWATCH: "FAULT_ACCESS_CLOUDWATCH",
|
|
121
|
+
FAULT_SERVICE: "FAULT_SERVICE",
|
|
122
|
+
INACTIVE: "INACTIVE",
|
|
123
|
+
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
124
|
+
OK: "OK",
|
|
125
|
+
};
|
|
131
126
|
class InternalServerErrorException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
132
127
|
constructor(opts) {
|
|
133
128
|
super({
|
|
@@ -35,13 +35,12 @@ export class ConflictException extends __BaseException {
|
|
|
35
35
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
export
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
})(MonitorConfigState || (MonitorConfigState = {}));
|
|
38
|
+
export const MonitorConfigState = {
|
|
39
|
+
ACTIVE: "ACTIVE",
|
|
40
|
+
ERROR: "ERROR",
|
|
41
|
+
INACTIVE: "INACTIVE",
|
|
42
|
+
PENDING: "PENDING",
|
|
43
|
+
};
|
|
45
44
|
export class InternalServerException extends __BaseException {
|
|
46
45
|
constructor(opts) {
|
|
47
46
|
super({
|
|
@@ -94,30 +93,26 @@ export class ValidationException extends __BaseException {
|
|
|
94
93
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
95
94
|
}
|
|
96
95
|
}
|
|
97
|
-
export
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
MonitorProcessingStatusCode["INACTIVE"] = "INACTIVE";
|
|
118
|
-
MonitorProcessingStatusCode["INSUFFICIENT_DATA"] = "INSUFFICIENT_DATA";
|
|
119
|
-
MonitorProcessingStatusCode["OK"] = "OK";
|
|
120
|
-
})(MonitorProcessingStatusCode || (MonitorProcessingStatusCode = {}));
|
|
96
|
+
export const TriangulationEventType = {
|
|
97
|
+
AWS: "AWS",
|
|
98
|
+
INTERNET: "Internet",
|
|
99
|
+
};
|
|
100
|
+
export const HealthEventStatus = {
|
|
101
|
+
ACTIVE: "ACTIVE",
|
|
102
|
+
RESOLVED: "RESOLVED",
|
|
103
|
+
};
|
|
104
|
+
export const HealthEventImpactType = {
|
|
105
|
+
AVAILABILITY: "AVAILABILITY",
|
|
106
|
+
PERFORMANCE: "PERFORMANCE",
|
|
107
|
+
};
|
|
108
|
+
export const MonitorProcessingStatusCode = {
|
|
109
|
+
COLLECTING_DATA: "COLLECTING_DATA",
|
|
110
|
+
FAULT_ACCESS_CLOUDWATCH: "FAULT_ACCESS_CLOUDWATCH",
|
|
111
|
+
FAULT_SERVICE: "FAULT_SERVICE",
|
|
112
|
+
INACTIVE: "INACTIVE",
|
|
113
|
+
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
114
|
+
OK: "OK",
|
|
115
|
+
};
|
|
121
116
|
export class InternalServerErrorException extends __BaseException {
|
|
122
117
|
constructor(opts) {
|
|
123
118
|
super({
|
|
@@ -29,13 +29,13 @@ export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __Metad
|
|
|
29
29
|
* import { InternetMonitorClient, CreateMonitorCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
30
30
|
* // const { InternetMonitorClient, CreateMonitorCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
31
31
|
* const client = new InternetMonitorClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // CreateMonitorInput
|
|
33
33
|
* MonitorName: "STRING_VALUE", // required
|
|
34
|
-
* Resources: [
|
|
34
|
+
* Resources: [ // SetOfARNs
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* ClientToken: "STRING_VALUE",
|
|
38
|
-
* Tags: {
|
|
38
|
+
* Tags: { // TagMap
|
|
39
39
|
* "<keys>": "STRING_VALUE",
|
|
40
40
|
* },
|
|
41
41
|
* MaxCityNetworksToMonitor: Number("int"), // required
|
|
@@ -26,7 +26,7 @@ export interface DeleteMonitorCommandOutput extends DeleteMonitorOutput, __Metad
|
|
|
26
26
|
* import { InternetMonitorClient, DeleteMonitorCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
27
27
|
* // const { InternetMonitorClient, DeleteMonitorCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
28
28
|
* const client = new InternetMonitorClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteMonitorInput
|
|
30
30
|
* MonitorName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteMonitorCommand(input);
|
|
@@ -30,7 +30,7 @@ export interface GetHealthEventCommandOutput extends GetHealthEventOutput, __Met
|
|
|
30
30
|
* import { InternetMonitorClient, GetHealthEventCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
31
31
|
* // const { InternetMonitorClient, GetHealthEventCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
32
32
|
* const client = new InternetMonitorClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // GetHealthEventInput
|
|
34
34
|
* MonitorName: "STRING_VALUE", // required
|
|
35
35
|
* EventId: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
@@ -27,7 +27,7 @@ export interface GetMonitorCommandOutput extends GetMonitorOutput, __MetadataBea
|
|
|
27
27
|
* import { InternetMonitorClient, GetMonitorCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
28
28
|
* // const { InternetMonitorClient, GetMonitorCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
29
29
|
* const client = new InternetMonitorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GetMonitorInput
|
|
31
31
|
* MonitorName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetMonitorCommand(input);
|
|
@@ -30,7 +30,7 @@ export interface ListHealthEventsCommandOutput extends ListHealthEventsOutput, _
|
|
|
30
30
|
* import { InternetMonitorClient, ListHealthEventsCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
31
31
|
* // const { InternetMonitorClient, ListHealthEventsCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
32
32
|
* const client = new InternetMonitorClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // ListHealthEventsInput
|
|
34
34
|
* MonitorName: "STRING_VALUE", // required
|
|
35
35
|
* StartTime: new Date("TIMESTAMP"),
|
|
36
36
|
* EndTime: new Date("TIMESTAMP"),
|
|
@@ -26,7 +26,7 @@ export interface ListMonitorsCommandOutput extends ListMonitorsOutput, __Metadat
|
|
|
26
26
|
* import { InternetMonitorClient, ListMonitorsCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
27
27
|
* // const { InternetMonitorClient, ListMonitorsCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
28
28
|
* const client = new InternetMonitorClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListMonitorsInput
|
|
30
30
|
* NextToken: "STRING_VALUE",
|
|
31
31
|
* MaxResults: Number("int"),
|
|
32
32
|
* MonitorStatus: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
26
26
|
* import { InternetMonitorClient, ListTagsForResourceCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
27
27
|
* // const { InternetMonitorClient, ListTagsForResourceCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
28
28
|
* const client = new InternetMonitorClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceInput
|
|
30
30
|
* ResourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -27,9 +27,9 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
27
27
|
* import { InternetMonitorClient, TagResourceCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
28
28
|
* // const { InternetMonitorClient, TagResourceCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
29
29
|
* const client = new InternetMonitorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // TagResourceInput
|
|
31
31
|
* ResourceArn: "STRING_VALUE", // required
|
|
32
|
-
* Tags: { // required
|
|
32
|
+
* Tags: { // TagMap // required
|
|
33
33
|
* "<keys>": "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* };
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
26
26
|
* import { InternetMonitorClient, UntagResourceCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
27
27
|
* // const { InternetMonitorClient, UntagResourceCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
28
28
|
* const client = new InternetMonitorClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceInput
|
|
30
30
|
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
-
* TagKeys: [ // required
|
|
31
|
+
* TagKeys: [ // TagKeys // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -27,9 +27,9 @@ export interface UpdateMonitorCommandOutput extends UpdateMonitorOutput, __Metad
|
|
|
27
27
|
* import { InternetMonitorClient, UpdateMonitorCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
28
28
|
* // const { InternetMonitorClient, UpdateMonitorCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
29
29
|
* const client = new InternetMonitorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UpdateMonitorInput
|
|
31
31
|
* MonitorName: "STRING_VALUE", // required
|
|
32
|
-
* ResourcesToAdd: [
|
|
32
|
+
* ResourcesToAdd: [ // SetOfARNs
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* ResourcesToRemove: [
|
|
@@ -104,13 +104,18 @@ export interface CreateMonitorInput {
|
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
* @public
|
|
107
|
+
* @enum
|
|
107
108
|
*/
|
|
108
|
-
export declare
|
|
109
|
-
ACTIVE
|
|
110
|
-
ERROR
|
|
111
|
-
INACTIVE
|
|
112
|
-
PENDING
|
|
113
|
-
}
|
|
109
|
+
export declare const MonitorConfigState: {
|
|
110
|
+
readonly ACTIVE: "ACTIVE";
|
|
111
|
+
readonly ERROR: "ERROR";
|
|
112
|
+
readonly INACTIVE: "INACTIVE";
|
|
113
|
+
readonly PENDING: "PENDING";
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export type MonitorConfigState = (typeof MonitorConfigState)[keyof typeof MonitorConfigState];
|
|
114
119
|
/**
|
|
115
120
|
* @public
|
|
116
121
|
*/
|
|
@@ -220,11 +225,16 @@ export interface Network {
|
|
|
220
225
|
}
|
|
221
226
|
/**
|
|
222
227
|
* @public
|
|
228
|
+
* @enum
|
|
223
229
|
*/
|
|
224
|
-
export declare
|
|
225
|
-
AWS
|
|
226
|
-
INTERNET
|
|
227
|
-
}
|
|
230
|
+
export declare const TriangulationEventType: {
|
|
231
|
+
readonly AWS: "AWS";
|
|
232
|
+
readonly INTERNET: "Internet";
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
export type TriangulationEventType = (typeof TriangulationEventType)[keyof typeof TriangulationEventType];
|
|
228
238
|
/**
|
|
229
239
|
* @public
|
|
230
240
|
* <p>Information about the network impairment for a specific network measured by Amazon CloudWatch Internet Monitor.</p>
|
|
@@ -330,11 +340,16 @@ export interface InternetHealth {
|
|
|
330
340
|
}
|
|
331
341
|
/**
|
|
332
342
|
* @public
|
|
343
|
+
* @enum
|
|
333
344
|
*/
|
|
334
|
-
export declare
|
|
335
|
-
ACTIVE
|
|
336
|
-
RESOLVED
|
|
337
|
-
}
|
|
345
|
+
export declare const HealthEventStatus: {
|
|
346
|
+
readonly ACTIVE: "ACTIVE";
|
|
347
|
+
readonly RESOLVED: "RESOLVED";
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* @public
|
|
351
|
+
*/
|
|
352
|
+
export type HealthEventStatus = (typeof HealthEventStatus)[keyof typeof HealthEventStatus];
|
|
338
353
|
/**
|
|
339
354
|
* @public
|
|
340
355
|
* <p>Information about a location impacted by a health event in Amazon CloudWatch Internet Monitor.</p>
|
|
@@ -410,11 +425,16 @@ export interface ImpactedLocation {
|
|
|
410
425
|
}
|
|
411
426
|
/**
|
|
412
427
|
* @public
|
|
428
|
+
* @enum
|
|
413
429
|
*/
|
|
414
|
-
export declare
|
|
415
|
-
AVAILABILITY
|
|
416
|
-
PERFORMANCE
|
|
417
|
-
}
|
|
430
|
+
export declare const HealthEventImpactType: {
|
|
431
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
432
|
+
readonly PERFORMANCE: "PERFORMANCE";
|
|
433
|
+
};
|
|
434
|
+
/**
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
export type HealthEventImpactType = (typeof HealthEventImpactType)[keyof typeof HealthEventImpactType];
|
|
418
438
|
/**
|
|
419
439
|
* @public
|
|
420
440
|
*/
|
|
@@ -471,15 +491,20 @@ export interface GetMonitorInput {
|
|
|
471
491
|
}
|
|
472
492
|
/**
|
|
473
493
|
* @public
|
|
494
|
+
* @enum
|
|
474
495
|
*/
|
|
475
|
-
export declare
|
|
476
|
-
COLLECTING_DATA
|
|
477
|
-
FAULT_ACCESS_CLOUDWATCH
|
|
478
|
-
FAULT_SERVICE
|
|
479
|
-
INACTIVE
|
|
480
|
-
INSUFFICIENT_DATA
|
|
481
|
-
OK
|
|
482
|
-
}
|
|
496
|
+
export declare const MonitorProcessingStatusCode: {
|
|
497
|
+
readonly COLLECTING_DATA: "COLLECTING_DATA";
|
|
498
|
+
readonly FAULT_ACCESS_CLOUDWATCH: "FAULT_ACCESS_CLOUDWATCH";
|
|
499
|
+
readonly FAULT_SERVICE: "FAULT_SERVICE";
|
|
500
|
+
readonly INACTIVE: "INACTIVE";
|
|
501
|
+
readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
|
|
502
|
+
readonly OK: "OK";
|
|
503
|
+
};
|
|
504
|
+
/**
|
|
505
|
+
* @public
|
|
506
|
+
*/
|
|
507
|
+
export type MonitorProcessingStatusCode = (typeof MonitorProcessingStatusCode)[keyof typeof MonitorProcessingStatusCode];
|
|
483
508
|
/**
|
|
484
509
|
* @public
|
|
485
510
|
*/
|
|
@@ -31,12 +31,14 @@ export interface CreateMonitorInput {
|
|
|
31
31
|
Tags?: Record<string, string>;
|
|
32
32
|
MaxCityNetworksToMonitor: number | undefined;
|
|
33
33
|
}
|
|
34
|
-
export declare
|
|
35
|
-
ACTIVE
|
|
36
|
-
ERROR
|
|
37
|
-
INACTIVE
|
|
38
|
-
PENDING
|
|
39
|
-
}
|
|
34
|
+
export declare const MonitorConfigState: {
|
|
35
|
+
readonly ACTIVE: "ACTIVE";
|
|
36
|
+
readonly ERROR: "ERROR";
|
|
37
|
+
readonly INACTIVE: "INACTIVE";
|
|
38
|
+
readonly PENDING: "PENDING";
|
|
39
|
+
};
|
|
40
|
+
export type MonitorConfigState =
|
|
41
|
+
(typeof MonitorConfigState)[keyof typeof MonitorConfigState];
|
|
40
42
|
export interface CreateMonitorOutput {
|
|
41
43
|
Arn: string | undefined;
|
|
42
44
|
Status: MonitorConfigState | string | undefined;
|
|
@@ -85,10 +87,12 @@ export interface Network {
|
|
|
85
87
|
ASName: string | undefined;
|
|
86
88
|
ASNumber: number | undefined;
|
|
87
89
|
}
|
|
88
|
-
export declare
|
|
89
|
-
AWS
|
|
90
|
-
INTERNET
|
|
91
|
-
}
|
|
90
|
+
export declare const TriangulationEventType: {
|
|
91
|
+
readonly AWS: "AWS";
|
|
92
|
+
readonly INTERNET: "Internet";
|
|
93
|
+
};
|
|
94
|
+
export type TriangulationEventType =
|
|
95
|
+
(typeof TriangulationEventType)[keyof typeof TriangulationEventType];
|
|
92
96
|
export interface NetworkImpairment {
|
|
93
97
|
Networks: Network[] | undefined;
|
|
94
98
|
AsPath: Network[] | undefined;
|
|
@@ -109,10 +113,12 @@ export interface InternetHealth {
|
|
|
109
113
|
Availability?: AvailabilityMeasurement;
|
|
110
114
|
Performance?: PerformanceMeasurement;
|
|
111
115
|
}
|
|
112
|
-
export declare
|
|
113
|
-
ACTIVE
|
|
114
|
-
RESOLVED
|
|
115
|
-
}
|
|
116
|
+
export declare const HealthEventStatus: {
|
|
117
|
+
readonly ACTIVE: "ACTIVE";
|
|
118
|
+
readonly RESOLVED: "RESOLVED";
|
|
119
|
+
};
|
|
120
|
+
export type HealthEventStatus =
|
|
121
|
+
(typeof HealthEventStatus)[keyof typeof HealthEventStatus];
|
|
116
122
|
export interface ImpactedLocation {
|
|
117
123
|
ASName: string | undefined;
|
|
118
124
|
ASNumber: number | undefined;
|
|
@@ -129,10 +135,12 @@ export interface ImpactedLocation {
|
|
|
129
135
|
CausedBy?: NetworkImpairment;
|
|
130
136
|
InternetHealth?: InternetHealth;
|
|
131
137
|
}
|
|
132
|
-
export declare
|
|
133
|
-
AVAILABILITY
|
|
134
|
-
PERFORMANCE
|
|
135
|
-
}
|
|
138
|
+
export declare const HealthEventImpactType: {
|
|
139
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
140
|
+
readonly PERFORMANCE: "PERFORMANCE";
|
|
141
|
+
};
|
|
142
|
+
export type HealthEventImpactType =
|
|
143
|
+
(typeof HealthEventImpactType)[keyof typeof HealthEventImpactType];
|
|
136
144
|
export interface GetHealthEventOutput {
|
|
137
145
|
EventArn: string | undefined;
|
|
138
146
|
EventId: string | undefined;
|
|
@@ -148,14 +156,16 @@ export interface GetHealthEventOutput {
|
|
|
148
156
|
export interface GetMonitorInput {
|
|
149
157
|
MonitorName: string | undefined;
|
|
150
158
|
}
|
|
151
|
-
export declare
|
|
152
|
-
COLLECTING_DATA
|
|
153
|
-
FAULT_ACCESS_CLOUDWATCH
|
|
154
|
-
FAULT_SERVICE
|
|
155
|
-
INACTIVE
|
|
156
|
-
INSUFFICIENT_DATA
|
|
157
|
-
OK
|
|
158
|
-
}
|
|
159
|
+
export declare const MonitorProcessingStatusCode: {
|
|
160
|
+
readonly COLLECTING_DATA: "COLLECTING_DATA";
|
|
161
|
+
readonly FAULT_ACCESS_CLOUDWATCH: "FAULT_ACCESS_CLOUDWATCH";
|
|
162
|
+
readonly FAULT_SERVICE: "FAULT_SERVICE";
|
|
163
|
+
readonly INACTIVE: "INACTIVE";
|
|
164
|
+
readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
|
|
165
|
+
readonly OK: "OK";
|
|
166
|
+
};
|
|
167
|
+
export type MonitorProcessingStatusCode =
|
|
168
|
+
(typeof MonitorProcessingStatusCode)[keyof typeof MonitorProcessingStatusCode];
|
|
159
169
|
export interface GetMonitorOutput {
|
|
160
170
|
MonitorName: string | undefined;
|
|
161
171
|
MonitorArn: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-internetmonitor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Internetmonitor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|