@aws-sdk/client-internetmonitor 3.556.0 → 3.559.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 +16 -0
- package/dist-cjs/index.js +149 -0
- package/dist-es/InternetMonitor.js +4 -0
- package/dist-es/commands/GetInternetEventCommand.js +24 -0
- package/dist-es/commands/ListInternetEventsCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/pagination/ListInternetEventsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +93 -0
- package/dist-types/InternetMonitor.d.ts +15 -0
- package/dist-types/InternetMonitorClient.d.ts +4 -2
- package/dist-types/commands/GetHealthEventCommand.d.ts +1 -1
- package/dist-types/commands/GetInternetEventCommand.d.ts +91 -0
- package/dist-types/commands/ListHealthEventsCommand.d.ts +1 -1
- package/dist-types/commands/ListInternetEventsCommand.d.ts +103 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +245 -10
- package/dist-types/pagination/ListInternetEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/InternetMonitor.d.ts +35 -0
- package/dist-types/ts3.4/InternetMonitorClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetInternetEventCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListInternetEventsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +55 -0
- package/dist-types/ts3.4/pagination/ListInternetEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -241,6 +241,14 @@ GetHealthEvent
|
|
|
241
241
|
|
|
242
242
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/internetmonitor/command/GetHealthEventCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-internetmonitor/Interface/GetHealthEventCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-internetmonitor/Interface/GetHealthEventCommandOutput/)
|
|
243
243
|
|
|
244
|
+
</details>
|
|
245
|
+
<details>
|
|
246
|
+
<summary>
|
|
247
|
+
GetInternetEvent
|
|
248
|
+
</summary>
|
|
249
|
+
|
|
250
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/internetmonitor/command/GetInternetEventCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-internetmonitor/Interface/GetInternetEventCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-internetmonitor/Interface/GetInternetEventCommandOutput/)
|
|
251
|
+
|
|
244
252
|
</details>
|
|
245
253
|
<details>
|
|
246
254
|
<summary>
|
|
@@ -273,6 +281,14 @@ ListHealthEvents
|
|
|
273
281
|
|
|
274
282
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/internetmonitor/command/ListHealthEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-internetmonitor/Interface/ListHealthEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-internetmonitor/Interface/ListHealthEventsCommandOutput/)
|
|
275
283
|
|
|
284
|
+
</details>
|
|
285
|
+
<details>
|
|
286
|
+
<summary>
|
|
287
|
+
ListInternetEvents
|
|
288
|
+
</summary>
|
|
289
|
+
|
|
290
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/internetmonitor/command/ListInternetEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-internetmonitor/Interface/ListInternetEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-internetmonitor/Interface/ListInternetEventsCommandOutput/)
|
|
291
|
+
|
|
276
292
|
</details>
|
|
277
293
|
<details>
|
|
278
294
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __export(src_exports, {
|
|
|
27
27
|
CreateMonitorCommand: () => CreateMonitorCommand,
|
|
28
28
|
DeleteMonitorCommand: () => DeleteMonitorCommand,
|
|
29
29
|
GetHealthEventCommand: () => GetHealthEventCommand,
|
|
30
|
+
GetInternetEventCommand: () => GetInternetEventCommand,
|
|
30
31
|
GetMonitorCommand: () => GetMonitorCommand,
|
|
31
32
|
GetQueryResultsCommand: () => GetQueryResultsCommand,
|
|
32
33
|
GetQueryStatusCommand: () => GetQueryStatusCommand,
|
|
@@ -34,11 +35,14 @@ __export(src_exports, {
|
|
|
34
35
|
HealthEventStatus: () => HealthEventStatus,
|
|
35
36
|
InternalServerErrorException: () => InternalServerErrorException,
|
|
36
37
|
InternalServerException: () => InternalServerException,
|
|
38
|
+
InternetEventStatus: () => InternetEventStatus,
|
|
39
|
+
InternetEventType: () => InternetEventType,
|
|
37
40
|
InternetMonitor: () => InternetMonitor,
|
|
38
41
|
InternetMonitorClient: () => InternetMonitorClient,
|
|
39
42
|
InternetMonitorServiceException: () => InternetMonitorServiceException,
|
|
40
43
|
LimitExceededException: () => LimitExceededException,
|
|
41
44
|
ListHealthEventsCommand: () => ListHealthEventsCommand,
|
|
45
|
+
ListInternetEventsCommand: () => ListInternetEventsCommand,
|
|
42
46
|
ListMonitorsCommand: () => ListMonitorsCommand,
|
|
43
47
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
44
48
|
LocalHealthEventsConfigStatus: () => LocalHealthEventsConfigStatus,
|
|
@@ -62,6 +66,7 @@ __export(src_exports, {
|
|
|
62
66
|
__Client: () => import_smithy_client.Client,
|
|
63
67
|
paginateGetQueryResults: () => paginateGetQueryResults,
|
|
64
68
|
paginateListHealthEvents: () => paginateListHealthEvents,
|
|
69
|
+
paginateListInternetEvents: () => paginateListInternetEvents,
|
|
65
70
|
paginateListMonitors: () => paginateListMonitors
|
|
66
71
|
});
|
|
67
72
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -394,6 +399,14 @@ var HealthEventImpactType = {
|
|
|
394
399
|
LOCAL_PERFORMANCE: "LOCAL_PERFORMANCE",
|
|
395
400
|
PERFORMANCE: "PERFORMANCE"
|
|
396
401
|
};
|
|
402
|
+
var InternetEventStatus = {
|
|
403
|
+
ACTIVE: "ACTIVE",
|
|
404
|
+
RESOLVED: "RESOLVED"
|
|
405
|
+
};
|
|
406
|
+
var InternetEventType = {
|
|
407
|
+
AVAILABILITY: "AVAILABILITY",
|
|
408
|
+
PERFORMANCE: "PERFORMANCE"
|
|
409
|
+
};
|
|
397
410
|
var MonitorProcessingStatusCode = {
|
|
398
411
|
COLLECTING_DATA: "COLLECTING_DATA",
|
|
399
412
|
FAULT_ACCESS_CLOUDWATCH: "FAULT_ACCESS_CLOUDWATCH",
|
|
@@ -532,6 +545,15 @@ var se_GetHealthEventCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
532
545
|
b.m("GET").h(headers).q(query).b(body);
|
|
533
546
|
return b.build();
|
|
534
547
|
}, "se_GetHealthEventCommand");
|
|
548
|
+
var se_GetInternetEventCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
549
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
550
|
+
const headers = {};
|
|
551
|
+
b.bp("/v20210603/InternetEvents/{EventId}");
|
|
552
|
+
b.p("EventId", () => input.EventId, "{EventId}", false);
|
|
553
|
+
let body;
|
|
554
|
+
b.m("GET").h(headers).b(body);
|
|
555
|
+
return b.build();
|
|
556
|
+
}, "se_GetInternetEventCommand");
|
|
535
557
|
var se_GetMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
536
558
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
537
559
|
const headers = {};
|
|
@@ -585,6 +607,22 @@ var se_ListHealthEventsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
585
607
|
b.m("GET").h(headers).q(query).b(body);
|
|
586
608
|
return b.build();
|
|
587
609
|
}, "se_ListHealthEventsCommand");
|
|
610
|
+
var se_ListInternetEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
611
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
612
|
+
const headers = {};
|
|
613
|
+
b.bp("/v20210603/InternetEvents");
|
|
614
|
+
const query = (0, import_smithy_client.map)({
|
|
615
|
+
[_NT]: [, input[_NT]],
|
|
616
|
+
[_IEMR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
617
|
+
[_ST]: [() => input.StartTime !== void 0, () => (input[_ST].toISOString().split(".")[0] + "Z").toString()],
|
|
618
|
+
[_ET]: [() => input.EndTime !== void 0, () => (input[_ET].toISOString().split(".")[0] + "Z").toString()],
|
|
619
|
+
[_ES]: [, input[_ES]],
|
|
620
|
+
[_ETv]: [, input[_ETv]]
|
|
621
|
+
});
|
|
622
|
+
let body;
|
|
623
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
624
|
+
return b.build();
|
|
625
|
+
}, "se_ListInternetEventsCommand");
|
|
588
626
|
var se_ListMonitorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
589
627
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
590
628
|
const headers = {};
|
|
@@ -741,6 +779,26 @@ var de_GetHealthEventCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
741
779
|
Object.assign(contents, doc);
|
|
742
780
|
return contents;
|
|
743
781
|
}, "de_GetHealthEventCommand");
|
|
782
|
+
var de_GetInternetEventCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
783
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
784
|
+
return de_CommandError(output, context);
|
|
785
|
+
}
|
|
786
|
+
const contents = (0, import_smithy_client.map)({
|
|
787
|
+
$metadata: deserializeMetadata(output)
|
|
788
|
+
});
|
|
789
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
790
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
791
|
+
ClientLocation: (_) => de_ClientLocation(_, context),
|
|
792
|
+
EndedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
793
|
+
EventArn: import_smithy_client.expectString,
|
|
794
|
+
EventId: import_smithy_client.expectString,
|
|
795
|
+
EventStatus: import_smithy_client.expectString,
|
|
796
|
+
EventType: import_smithy_client.expectString,
|
|
797
|
+
StartedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
798
|
+
});
|
|
799
|
+
Object.assign(contents, doc);
|
|
800
|
+
return contents;
|
|
801
|
+
}, "de_GetInternetEventCommand");
|
|
744
802
|
var de_GetMonitorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
745
803
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
746
804
|
return de_CommandError(output, context);
|
|
@@ -812,6 +870,21 @@ var de_ListHealthEventsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
812
870
|
Object.assign(contents, doc);
|
|
813
871
|
return contents;
|
|
814
872
|
}, "de_ListHealthEventsCommand");
|
|
873
|
+
var de_ListInternetEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
874
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
875
|
+
return de_CommandError(output, context);
|
|
876
|
+
}
|
|
877
|
+
const contents = (0, import_smithy_client.map)({
|
|
878
|
+
$metadata: deserializeMetadata(output)
|
|
879
|
+
});
|
|
880
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
881
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
882
|
+
InternetEvents: (_) => de_InternetEventsList(_, context),
|
|
883
|
+
NextToken: import_smithy_client.expectString
|
|
884
|
+
});
|
|
885
|
+
Object.assign(contents, doc);
|
|
886
|
+
return contents;
|
|
887
|
+
}, "de_ListInternetEventsCommand");
|
|
815
888
|
var de_ListMonitorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
816
889
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
817
890
|
return de_CommandError(output, context);
|
|
@@ -1115,6 +1188,18 @@ var de_AvailabilityMeasurement = /* @__PURE__ */ __name((output, context) => {
|
|
|
1115
1188
|
PercentOfTotalTrafficImpacted: import_smithy_client.limitedParseDouble
|
|
1116
1189
|
});
|
|
1117
1190
|
}, "de_AvailabilityMeasurement");
|
|
1191
|
+
var de_ClientLocation = /* @__PURE__ */ __name((output, context) => {
|
|
1192
|
+
return (0, import_smithy_client.take)(output, {
|
|
1193
|
+
ASName: import_smithy_client.expectString,
|
|
1194
|
+
ASNumber: import_smithy_client.expectLong,
|
|
1195
|
+
City: import_smithy_client.expectString,
|
|
1196
|
+
Country: import_smithy_client.expectString,
|
|
1197
|
+
Latitude: import_smithy_client.limitedParseDouble,
|
|
1198
|
+
Longitude: import_smithy_client.limitedParseDouble,
|
|
1199
|
+
Metro: import_smithy_client.expectString,
|
|
1200
|
+
Subdivision: import_smithy_client.expectString
|
|
1201
|
+
});
|
|
1202
|
+
}, "de_ClientLocation");
|
|
1118
1203
|
var de_HealthEvent = /* @__PURE__ */ __name((output, context) => {
|
|
1119
1204
|
return (0, import_smithy_client.take)(output, {
|
|
1120
1205
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -1169,6 +1254,23 @@ var de_ImpactedLocationsList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1169
1254
|
});
|
|
1170
1255
|
return retVal;
|
|
1171
1256
|
}, "de_ImpactedLocationsList");
|
|
1257
|
+
var de_InternetEventsList = /* @__PURE__ */ __name((output, context) => {
|
|
1258
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1259
|
+
return de_InternetEventSummary(entry, context);
|
|
1260
|
+
});
|
|
1261
|
+
return retVal;
|
|
1262
|
+
}, "de_InternetEventsList");
|
|
1263
|
+
var de_InternetEventSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1264
|
+
return (0, import_smithy_client.take)(output, {
|
|
1265
|
+
ClientLocation: (_) => de_ClientLocation(_, context),
|
|
1266
|
+
EndedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1267
|
+
EventArn: import_smithy_client.expectString,
|
|
1268
|
+
EventId: import_smithy_client.expectString,
|
|
1269
|
+
EventStatus: import_smithy_client.expectString,
|
|
1270
|
+
EventType: import_smithy_client.expectString,
|
|
1271
|
+
StartedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1272
|
+
});
|
|
1273
|
+
}, "de_InternetEventSummary");
|
|
1172
1274
|
var de_InternetHealth = /* @__PURE__ */ __name((output, context) => {
|
|
1173
1275
|
return (0, import_smithy_client.take)(output, {
|
|
1174
1276
|
Availability: (_) => de_AvailabilityMeasurement(_, context),
|
|
@@ -1205,6 +1307,8 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1205
1307
|
}), "deserializeMetadata");
|
|
1206
1308
|
var _ES = "EventStatus";
|
|
1207
1309
|
var _ET = "EndTime";
|
|
1310
|
+
var _ETv = "EventType";
|
|
1311
|
+
var _IEMR = "InternetEventMaxResults";
|
|
1208
1312
|
var _ILA = "IncludeLinkedAccounts";
|
|
1209
1313
|
var _LAI = "LinkedAccountId";
|
|
1210
1314
|
var _MR = "MaxResults";
|
|
@@ -1261,6 +1365,23 @@ var _GetHealthEventCommand = class _GetHealthEventCommand extends import_smithy_
|
|
|
1261
1365
|
__name(_GetHealthEventCommand, "GetHealthEventCommand");
|
|
1262
1366
|
var GetHealthEventCommand = _GetHealthEventCommand;
|
|
1263
1367
|
|
|
1368
|
+
// src/commands/GetInternetEventCommand.ts
|
|
1369
|
+
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
var _GetInternetEventCommand = class _GetInternetEventCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1374
|
+
...commonParams
|
|
1375
|
+
}).m(function(Command, cs, config, o) {
|
|
1376
|
+
return [
|
|
1377
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1378
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1379
|
+
];
|
|
1380
|
+
}).s("InternetMonitor20210603", "GetInternetEvent", {}).n("InternetMonitorClient", "GetInternetEventCommand").f(void 0, void 0).ser(se_GetInternetEventCommand).de(de_GetInternetEventCommand).build() {
|
|
1381
|
+
};
|
|
1382
|
+
__name(_GetInternetEventCommand, "GetInternetEventCommand");
|
|
1383
|
+
var GetInternetEventCommand = _GetInternetEventCommand;
|
|
1384
|
+
|
|
1264
1385
|
// src/commands/GetMonitorCommand.ts
|
|
1265
1386
|
|
|
1266
1387
|
|
|
@@ -1329,6 +1450,23 @@ var _ListHealthEventsCommand = class _ListHealthEventsCommand extends import_smi
|
|
|
1329
1450
|
__name(_ListHealthEventsCommand, "ListHealthEventsCommand");
|
|
1330
1451
|
var ListHealthEventsCommand = _ListHealthEventsCommand;
|
|
1331
1452
|
|
|
1453
|
+
// src/commands/ListInternetEventsCommand.ts
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
var _ListInternetEventsCommand = class _ListInternetEventsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1459
|
+
...commonParams
|
|
1460
|
+
}).m(function(Command, cs, config, o) {
|
|
1461
|
+
return [
|
|
1462
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1463
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1464
|
+
];
|
|
1465
|
+
}).s("InternetMonitor20210603", "ListInternetEvents", {}).n("InternetMonitorClient", "ListInternetEventsCommand").f(void 0, void 0).ser(se_ListInternetEventsCommand).de(de_ListInternetEventsCommand).build() {
|
|
1466
|
+
};
|
|
1467
|
+
__name(_ListInternetEventsCommand, "ListInternetEventsCommand");
|
|
1468
|
+
var ListInternetEventsCommand = _ListInternetEventsCommand;
|
|
1469
|
+
|
|
1332
1470
|
// src/commands/ListMonitorsCommand.ts
|
|
1333
1471
|
|
|
1334
1472
|
|
|
@@ -1453,10 +1591,12 @@ var commands = {
|
|
|
1453
1591
|
CreateMonitorCommand,
|
|
1454
1592
|
DeleteMonitorCommand,
|
|
1455
1593
|
GetHealthEventCommand,
|
|
1594
|
+
GetInternetEventCommand,
|
|
1456
1595
|
GetMonitorCommand,
|
|
1457
1596
|
GetQueryResultsCommand,
|
|
1458
1597
|
GetQueryStatusCommand,
|
|
1459
1598
|
ListHealthEventsCommand,
|
|
1599
|
+
ListInternetEventsCommand,
|
|
1460
1600
|
ListMonitorsCommand,
|
|
1461
1601
|
ListTagsForResourceCommand,
|
|
1462
1602
|
StartQueryCommand,
|
|
@@ -1479,6 +1619,10 @@ var paginateGetQueryResults = (0, import_core.createPaginator)(InternetMonitorCl
|
|
|
1479
1619
|
|
|
1480
1620
|
var paginateListHealthEvents = (0, import_core.createPaginator)(InternetMonitorClient, ListHealthEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1481
1621
|
|
|
1622
|
+
// src/pagination/ListInternetEventsPaginator.ts
|
|
1623
|
+
|
|
1624
|
+
var paginateListInternetEvents = (0, import_core.createPaginator)(InternetMonitorClient, ListInternetEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1625
|
+
|
|
1482
1626
|
// src/pagination/ListMonitorsPaginator.ts
|
|
1483
1627
|
|
|
1484
1628
|
var paginateListMonitors = (0, import_core.createPaginator)(InternetMonitorClient, ListMonitorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1493,10 +1637,12 @@ var paginateListMonitors = (0, import_core.createPaginator)(InternetMonitorClien
|
|
|
1493
1637
|
CreateMonitorCommand,
|
|
1494
1638
|
DeleteMonitorCommand,
|
|
1495
1639
|
GetHealthEventCommand,
|
|
1640
|
+
GetInternetEventCommand,
|
|
1496
1641
|
GetMonitorCommand,
|
|
1497
1642
|
GetQueryResultsCommand,
|
|
1498
1643
|
GetQueryStatusCommand,
|
|
1499
1644
|
ListHealthEventsCommand,
|
|
1645
|
+
ListInternetEventsCommand,
|
|
1500
1646
|
ListMonitorsCommand,
|
|
1501
1647
|
ListTagsForResourceCommand,
|
|
1502
1648
|
StartQueryCommand,
|
|
@@ -1506,6 +1652,7 @@ var paginateListMonitors = (0, import_core.createPaginator)(InternetMonitorClien
|
|
|
1506
1652
|
UpdateMonitorCommand,
|
|
1507
1653
|
paginateGetQueryResults,
|
|
1508
1654
|
paginateListHealthEvents,
|
|
1655
|
+
paginateListInternetEvents,
|
|
1509
1656
|
paginateListMonitors,
|
|
1510
1657
|
AccessDeniedException,
|
|
1511
1658
|
BadRequestException,
|
|
@@ -1521,6 +1668,8 @@ var paginateListMonitors = (0, import_core.createPaginator)(InternetMonitorClien
|
|
|
1521
1668
|
TriangulationEventType,
|
|
1522
1669
|
HealthEventStatus,
|
|
1523
1670
|
HealthEventImpactType,
|
|
1671
|
+
InternetEventStatus,
|
|
1672
|
+
InternetEventType,
|
|
1524
1673
|
MonitorProcessingStatusCode,
|
|
1525
1674
|
QueryStatus,
|
|
1526
1675
|
InternalServerErrorException,
|
|
@@ -2,10 +2,12 @@ import { createAggregatedClient } from "@smithy/smithy-client";
|
|
|
2
2
|
import { CreateMonitorCommand, } from "./commands/CreateMonitorCommand";
|
|
3
3
|
import { DeleteMonitorCommand, } from "./commands/DeleteMonitorCommand";
|
|
4
4
|
import { GetHealthEventCommand, } from "./commands/GetHealthEventCommand";
|
|
5
|
+
import { GetInternetEventCommand, } from "./commands/GetInternetEventCommand";
|
|
5
6
|
import { GetMonitorCommand } from "./commands/GetMonitorCommand";
|
|
6
7
|
import { GetQueryResultsCommand, } from "./commands/GetQueryResultsCommand";
|
|
7
8
|
import { GetQueryStatusCommand, } from "./commands/GetQueryStatusCommand";
|
|
8
9
|
import { ListHealthEventsCommand, } from "./commands/ListHealthEventsCommand";
|
|
10
|
+
import { ListInternetEventsCommand, } from "./commands/ListInternetEventsCommand";
|
|
9
11
|
import { ListMonitorsCommand, } from "./commands/ListMonitorsCommand";
|
|
10
12
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
11
13
|
import { StartQueryCommand } from "./commands/StartQueryCommand";
|
|
@@ -18,10 +20,12 @@ const commands = {
|
|
|
18
20
|
CreateMonitorCommand,
|
|
19
21
|
DeleteMonitorCommand,
|
|
20
22
|
GetHealthEventCommand,
|
|
23
|
+
GetInternetEventCommand,
|
|
21
24
|
GetMonitorCommand,
|
|
22
25
|
GetQueryResultsCommand,
|
|
23
26
|
GetQueryStatusCommand,
|
|
24
27
|
ListHealthEventsCommand,
|
|
28
|
+
ListInternetEventsCommand,
|
|
25
29
|
ListMonitorsCommand,
|
|
26
30
|
ListTagsForResourceCommand,
|
|
27
31
|
StartQueryCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetInternetEventCommand, se_GetInternetEventCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetInternetEventCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InternetMonitor20210603", "GetInternetEvent", {})
|
|
19
|
+
.n("InternetMonitorClient", "GetInternetEventCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetInternetEventCommand)
|
|
22
|
+
.de(de_GetInternetEventCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListInternetEventsCommand, se_ListInternetEventsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListInternetEventsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InternetMonitor20210603", "ListInternetEvents", {})
|
|
19
|
+
.n("InternetMonitorClient", "ListInternetEventsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListInternetEventsCommand)
|
|
22
|
+
.de(de_ListInternetEventsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export * from "./CreateMonitorCommand";
|
|
2
2
|
export * from "./DeleteMonitorCommand";
|
|
3
3
|
export * from "./GetHealthEventCommand";
|
|
4
|
+
export * from "./GetInternetEventCommand";
|
|
4
5
|
export * from "./GetMonitorCommand";
|
|
5
6
|
export * from "./GetQueryResultsCommand";
|
|
6
7
|
export * from "./GetQueryStatusCommand";
|
|
7
8
|
export * from "./ListHealthEventsCommand";
|
|
9
|
+
export * from "./ListInternetEventsCommand";
|
|
8
10
|
export * from "./ListMonitorsCommand";
|
|
9
11
|
export * from "./ListTagsForResourceCommand";
|
|
10
12
|
export * from "./StartQueryCommand";
|
|
@@ -119,6 +119,14 @@ export const HealthEventImpactType = {
|
|
|
119
119
|
LOCAL_PERFORMANCE: "LOCAL_PERFORMANCE",
|
|
120
120
|
PERFORMANCE: "PERFORMANCE",
|
|
121
121
|
};
|
|
122
|
+
export const InternetEventStatus = {
|
|
123
|
+
ACTIVE: "ACTIVE",
|
|
124
|
+
RESOLVED: "RESOLVED",
|
|
125
|
+
};
|
|
126
|
+
export const InternetEventType = {
|
|
127
|
+
AVAILABILITY: "AVAILABILITY",
|
|
128
|
+
PERFORMANCE: "PERFORMANCE",
|
|
129
|
+
};
|
|
122
130
|
export const MonitorProcessingStatusCode = {
|
|
123
131
|
COLLECTING_DATA: "COLLECTING_DATA",
|
|
124
132
|
FAULT_ACCESS_CLOUDWATCH: "FAULT_ACCESS_CLOUDWATCH",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListInternetEventsCommand, } from "../commands/ListInternetEventsCommand";
|
|
3
|
+
import { InternetMonitorClient } from "../InternetMonitorClient";
|
|
4
|
+
export const paginateListInternetEvents = createPaginator(InternetMonitorClient, ListInternetEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -46,6 +46,15 @@ export const se_GetHealthEventCommand = async (input, context) => {
|
|
|
46
46
|
b.m("GET").h(headers).q(query).b(body);
|
|
47
47
|
return b.build();
|
|
48
48
|
};
|
|
49
|
+
export const se_GetInternetEventCommand = async (input, context) => {
|
|
50
|
+
const b = rb(input, context);
|
|
51
|
+
const headers = {};
|
|
52
|
+
b.bp("/v20210603/InternetEvents/{EventId}");
|
|
53
|
+
b.p("EventId", () => input.EventId, "{EventId}", false);
|
|
54
|
+
let body;
|
|
55
|
+
b.m("GET").h(headers).b(body);
|
|
56
|
+
return b.build();
|
|
57
|
+
};
|
|
49
58
|
export const se_GetMonitorCommand = async (input, context) => {
|
|
50
59
|
const b = rb(input, context);
|
|
51
60
|
const headers = {};
|
|
@@ -99,6 +108,22 @@ export const se_ListHealthEventsCommand = async (input, context) => {
|
|
|
99
108
|
b.m("GET").h(headers).q(query).b(body);
|
|
100
109
|
return b.build();
|
|
101
110
|
};
|
|
111
|
+
export const se_ListInternetEventsCommand = async (input, context) => {
|
|
112
|
+
const b = rb(input, context);
|
|
113
|
+
const headers = {};
|
|
114
|
+
b.bp("/v20210603/InternetEvents");
|
|
115
|
+
const query = map({
|
|
116
|
+
[_NT]: [, input[_NT]],
|
|
117
|
+
[_IEMR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
118
|
+
[_ST]: [() => input.StartTime !== void 0, () => (input[_ST].toISOString().split(".")[0] + "Z").toString()],
|
|
119
|
+
[_ET]: [() => input.EndTime !== void 0, () => (input[_ET].toISOString().split(".")[0] + "Z").toString()],
|
|
120
|
+
[_ES]: [, input[_ES]],
|
|
121
|
+
[_ETv]: [, input[_ETv]],
|
|
122
|
+
});
|
|
123
|
+
let body;
|
|
124
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
125
|
+
return b.build();
|
|
126
|
+
};
|
|
102
127
|
export const se_ListMonitorsCommand = async (input, context) => {
|
|
103
128
|
const b = rb(input, context);
|
|
104
129
|
const headers = {};
|
|
@@ -249,6 +274,26 @@ export const de_GetHealthEventCommand = async (output, context) => {
|
|
|
249
274
|
Object.assign(contents, doc);
|
|
250
275
|
return contents;
|
|
251
276
|
};
|
|
277
|
+
export const de_GetInternetEventCommand = async (output, context) => {
|
|
278
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
279
|
+
return de_CommandError(output, context);
|
|
280
|
+
}
|
|
281
|
+
const contents = map({
|
|
282
|
+
$metadata: deserializeMetadata(output),
|
|
283
|
+
});
|
|
284
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
285
|
+
const doc = take(data, {
|
|
286
|
+
ClientLocation: (_) => de_ClientLocation(_, context),
|
|
287
|
+
EndedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
288
|
+
EventArn: __expectString,
|
|
289
|
+
EventId: __expectString,
|
|
290
|
+
EventStatus: __expectString,
|
|
291
|
+
EventType: __expectString,
|
|
292
|
+
StartedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
293
|
+
});
|
|
294
|
+
Object.assign(contents, doc);
|
|
295
|
+
return contents;
|
|
296
|
+
};
|
|
252
297
|
export const de_GetMonitorCommand = async (output, context) => {
|
|
253
298
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
254
299
|
return de_CommandError(output, context);
|
|
@@ -320,6 +365,21 @@ export const de_ListHealthEventsCommand = async (output, context) => {
|
|
|
320
365
|
Object.assign(contents, doc);
|
|
321
366
|
return contents;
|
|
322
367
|
};
|
|
368
|
+
export const de_ListInternetEventsCommand = async (output, context) => {
|
|
369
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
370
|
+
return de_CommandError(output, context);
|
|
371
|
+
}
|
|
372
|
+
const contents = map({
|
|
373
|
+
$metadata: deserializeMetadata(output),
|
|
374
|
+
});
|
|
375
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
376
|
+
const doc = take(data, {
|
|
377
|
+
InternetEvents: (_) => de_InternetEventsList(_, context),
|
|
378
|
+
NextToken: __expectString,
|
|
379
|
+
});
|
|
380
|
+
Object.assign(contents, doc);
|
|
381
|
+
return contents;
|
|
382
|
+
};
|
|
323
383
|
export const de_ListMonitorsCommand = async (output, context) => {
|
|
324
384
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
325
385
|
return de_CommandError(output, context);
|
|
@@ -623,6 +683,18 @@ const de_AvailabilityMeasurement = (output, context) => {
|
|
|
623
683
|
PercentOfTotalTrafficImpacted: __limitedParseDouble,
|
|
624
684
|
});
|
|
625
685
|
};
|
|
686
|
+
const de_ClientLocation = (output, context) => {
|
|
687
|
+
return take(output, {
|
|
688
|
+
ASName: __expectString,
|
|
689
|
+
ASNumber: __expectLong,
|
|
690
|
+
City: __expectString,
|
|
691
|
+
Country: __expectString,
|
|
692
|
+
Latitude: __limitedParseDouble,
|
|
693
|
+
Longitude: __limitedParseDouble,
|
|
694
|
+
Metro: __expectString,
|
|
695
|
+
Subdivision: __expectString,
|
|
696
|
+
});
|
|
697
|
+
};
|
|
626
698
|
const de_HealthEvent = (output, context) => {
|
|
627
699
|
return take(output, {
|
|
628
700
|
CreatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
@@ -681,6 +753,25 @@ const de_ImpactedLocationsList = (output, context) => {
|
|
|
681
753
|
});
|
|
682
754
|
return retVal;
|
|
683
755
|
};
|
|
756
|
+
const de_InternetEventsList = (output, context) => {
|
|
757
|
+
const retVal = (output || [])
|
|
758
|
+
.filter((e) => e != null)
|
|
759
|
+
.map((entry) => {
|
|
760
|
+
return de_InternetEventSummary(entry, context);
|
|
761
|
+
});
|
|
762
|
+
return retVal;
|
|
763
|
+
};
|
|
764
|
+
const de_InternetEventSummary = (output, context) => {
|
|
765
|
+
return take(output, {
|
|
766
|
+
ClientLocation: (_) => de_ClientLocation(_, context),
|
|
767
|
+
EndedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
768
|
+
EventArn: __expectString,
|
|
769
|
+
EventId: __expectString,
|
|
770
|
+
EventStatus: __expectString,
|
|
771
|
+
EventType: __expectString,
|
|
772
|
+
StartedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
773
|
+
});
|
|
774
|
+
};
|
|
684
775
|
const de_InternetHealth = (output, context) => {
|
|
685
776
|
return take(output, {
|
|
686
777
|
Availability: (_) => de_AvailabilityMeasurement(_, context),
|
|
@@ -723,6 +814,8 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
723
814
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
724
815
|
const _ES = "EventStatus";
|
|
725
816
|
const _ET = "EndTime";
|
|
817
|
+
const _ETv = "EventType";
|
|
818
|
+
const _IEMR = "InternetEventMaxResults";
|
|
726
819
|
const _ILA = "IncludeLinkedAccounts";
|
|
727
820
|
const _LAI = "LinkedAccountId";
|
|
728
821
|
const _MR = "MaxResults";
|
|
@@ -2,10 +2,12 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
|
2
2
|
import { CreateMonitorCommandInput, CreateMonitorCommandOutput } from "./commands/CreateMonitorCommand";
|
|
3
3
|
import { DeleteMonitorCommandInput, DeleteMonitorCommandOutput } from "./commands/DeleteMonitorCommand";
|
|
4
4
|
import { GetHealthEventCommandInput, GetHealthEventCommandOutput } from "./commands/GetHealthEventCommand";
|
|
5
|
+
import { GetInternetEventCommandInput, GetInternetEventCommandOutput } from "./commands/GetInternetEventCommand";
|
|
5
6
|
import { GetMonitorCommandInput, GetMonitorCommandOutput } from "./commands/GetMonitorCommand";
|
|
6
7
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
7
8
|
import { GetQueryStatusCommandInput, GetQueryStatusCommandOutput } from "./commands/GetQueryStatusCommand";
|
|
8
9
|
import { ListHealthEventsCommandInput, ListHealthEventsCommandOutput } from "./commands/ListHealthEventsCommand";
|
|
10
|
+
import { ListInternetEventsCommandInput, ListInternetEventsCommandOutput } from "./commands/ListInternetEventsCommand";
|
|
9
11
|
import { ListMonitorsCommandInput, ListMonitorsCommandOutput } from "./commands/ListMonitorsCommand";
|
|
10
12
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
11
13
|
import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
|
|
@@ -33,6 +35,12 @@ export interface InternetMonitor {
|
|
|
33
35
|
getHealthEvent(args: GetHealthEventCommandInput, options?: __HttpHandlerOptions): Promise<GetHealthEventCommandOutput>;
|
|
34
36
|
getHealthEvent(args: GetHealthEventCommandInput, cb: (err: any, data?: GetHealthEventCommandOutput) => void): void;
|
|
35
37
|
getHealthEvent(args: GetHealthEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHealthEventCommandOutput) => void): void;
|
|
38
|
+
/**
|
|
39
|
+
* @see {@link GetInternetEventCommand}
|
|
40
|
+
*/
|
|
41
|
+
getInternetEvent(args: GetInternetEventCommandInput, options?: __HttpHandlerOptions): Promise<GetInternetEventCommandOutput>;
|
|
42
|
+
getInternetEvent(args: GetInternetEventCommandInput, cb: (err: any, data?: GetInternetEventCommandOutput) => void): void;
|
|
43
|
+
getInternetEvent(args: GetInternetEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInternetEventCommandOutput) => void): void;
|
|
36
44
|
/**
|
|
37
45
|
* @see {@link GetMonitorCommand}
|
|
38
46
|
*/
|
|
@@ -57,6 +65,13 @@ export interface InternetMonitor {
|
|
|
57
65
|
listHealthEvents(args: ListHealthEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListHealthEventsCommandOutput>;
|
|
58
66
|
listHealthEvents(args: ListHealthEventsCommandInput, cb: (err: any, data?: ListHealthEventsCommandOutput) => void): void;
|
|
59
67
|
listHealthEvents(args: ListHealthEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHealthEventsCommandOutput) => void): void;
|
|
68
|
+
/**
|
|
69
|
+
* @see {@link ListInternetEventsCommand}
|
|
70
|
+
*/
|
|
71
|
+
listInternetEvents(): Promise<ListInternetEventsCommandOutput>;
|
|
72
|
+
listInternetEvents(args: ListInternetEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListInternetEventsCommandOutput>;
|
|
73
|
+
listInternetEvents(args: ListInternetEventsCommandInput, cb: (err: any, data?: ListInternetEventsCommandOutput) => void): void;
|
|
74
|
+
listInternetEvents(args: ListInternetEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInternetEventsCommandOutput) => void): void;
|
|
60
75
|
/**
|
|
61
76
|
* @see {@link ListMonitorsCommand}
|
|
62
77
|
*/
|
|
@@ -10,10 +10,12 @@ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/
|
|
|
10
10
|
import { CreateMonitorCommandInput, CreateMonitorCommandOutput } from "./commands/CreateMonitorCommand";
|
|
11
11
|
import { DeleteMonitorCommandInput, DeleteMonitorCommandOutput } from "./commands/DeleteMonitorCommand";
|
|
12
12
|
import { GetHealthEventCommandInput, GetHealthEventCommandOutput } from "./commands/GetHealthEventCommand";
|
|
13
|
+
import { GetInternetEventCommandInput, GetInternetEventCommandOutput } from "./commands/GetInternetEventCommand";
|
|
13
14
|
import { GetMonitorCommandInput, GetMonitorCommandOutput } from "./commands/GetMonitorCommand";
|
|
14
15
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
15
16
|
import { GetQueryStatusCommandInput, GetQueryStatusCommandOutput } from "./commands/GetQueryStatusCommand";
|
|
16
17
|
import { ListHealthEventsCommandInput, ListHealthEventsCommandOutput } from "./commands/ListHealthEventsCommand";
|
|
18
|
+
import { ListInternetEventsCommandInput, ListInternetEventsCommandOutput } from "./commands/ListInternetEventsCommand";
|
|
17
19
|
import { ListMonitorsCommandInput, ListMonitorsCommandOutput } from "./commands/ListMonitorsCommand";
|
|
18
20
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
19
21
|
import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
|
|
@@ -27,11 +29,11 @@ export { __Client };
|
|
|
27
29
|
/**
|
|
28
30
|
* @public
|
|
29
31
|
*/
|
|
30
|
-
export type ServiceInputTypes = CreateMonitorCommandInput | DeleteMonitorCommandInput | GetHealthEventCommandInput | GetMonitorCommandInput | GetQueryResultsCommandInput | GetQueryStatusCommandInput | ListHealthEventsCommandInput | ListMonitorsCommandInput | ListTagsForResourceCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateMonitorCommandInput;
|
|
32
|
+
export type ServiceInputTypes = CreateMonitorCommandInput | DeleteMonitorCommandInput | GetHealthEventCommandInput | GetInternetEventCommandInput | GetMonitorCommandInput | GetQueryResultsCommandInput | GetQueryStatusCommandInput | ListHealthEventsCommandInput | ListInternetEventsCommandInput | ListMonitorsCommandInput | ListTagsForResourceCommandInput | StartQueryCommandInput | StopQueryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateMonitorCommandInput;
|
|
31
33
|
/**
|
|
32
34
|
* @public
|
|
33
35
|
*/
|
|
34
|
-
export type ServiceOutputTypes = CreateMonitorCommandOutput | DeleteMonitorCommandOutput | GetHealthEventCommandOutput | GetMonitorCommandOutput | GetQueryResultsCommandOutput | GetQueryStatusCommandOutput | ListHealthEventsCommandOutput | ListMonitorsCommandOutput | ListTagsForResourceCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateMonitorCommandOutput;
|
|
36
|
+
export type ServiceOutputTypes = CreateMonitorCommandOutput | DeleteMonitorCommandOutput | GetHealthEventCommandOutput | GetInternetEventCommandOutput | GetMonitorCommandOutput | GetQueryResultsCommandOutput | GetQueryStatusCommandOutput | ListHealthEventsCommandOutput | ListInternetEventsCommandOutput | ListMonitorsCommandOutput | ListTagsForResourceCommandOutput | StartQueryCommandOutput | StopQueryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateMonitorCommandOutput;
|
|
35
37
|
/**
|
|
36
38
|
* @public
|
|
37
39
|
*/
|
|
@@ -26,7 +26,7 @@ declare const GetHealthEventCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Gets information
|
|
29
|
+
* <p>Gets information that Amazon CloudWatch Internet Monitor has created and stored about a health event for a specified monitor. This information includes the impacted locations,
|
|
30
30
|
* and all the information related to the event, by location.</p>
|
|
31
31
|
* <p>The information returned includes the impact on performance, availability, and round-trip time, information about the network providers (ASNs),
|
|
32
32
|
* the event type, and so on.</p>
|