@aws-sdk/client-internetmonitor 3.1077.0 → 3.1079.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/index.js +24 -163
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateMonitorCommand.js +2 -14
- package/dist-es/commands/DeleteMonitorCommand.js +2 -14
- package/dist-es/commands/GetHealthEventCommand.js +2 -14
- package/dist-es/commands/GetInternetEventCommand.js +2 -14
- package/dist-es/commands/GetMonitorCommand.js +2 -14
- package/dist-es/commands/GetQueryResultsCommand.js +2 -14
- package/dist-es/commands/GetQueryStatusCommand.js +2 -14
- package/dist-es/commands/ListHealthEventsCommand.js +2 -14
- package/dist-es/commands/ListInternetEventsCommand.js +2 -14
- package/dist-es/commands/ListMonitorsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/StartQueryCommand.js +2 -14
- package/dist-es/commands/StopQueryCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateMonitorCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateMonitorCommand.d.ts +3 -8
- package/dist-types/commands/DeleteMonitorCommand.d.ts +3 -8
- package/dist-types/commands/GetHealthEventCommand.d.ts +3 -8
- package/dist-types/commands/GetInternetEventCommand.d.ts +3 -8
- package/dist-types/commands/GetMonitorCommand.d.ts +3 -8
- package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -8
- package/dist-types/commands/GetQueryStatusCommand.d.ts +3 -8
- package/dist-types/commands/ListHealthEventsCommand.d.ts +3 -8
- package/dist-types/commands/ListInternetEventsCommand.d.ts +3 -8
- package/dist-types/commands/ListMonitorsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/StartQueryCommand.d.ts +3 -8
- package/dist-types/commands/StopQueryCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateMonitorCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetHealthEventCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetInternetEventCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetMonitorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQueryStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListHealthEventsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListInternetEventsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateMonitorCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -68,7 +69,7 @@ const commonParams = {
|
|
|
68
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
var version = "3.
|
|
72
|
+
var version = "3.1078.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -986,196 +987,56 @@ class InternetMonitorClient extends Client {
|
|
|
986
987
|
}
|
|
987
988
|
}
|
|
988
989
|
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
})
|
|
995
|
-
.s("InternetMonitor20210603", "CreateMonitor", {})
|
|
996
|
-
.n("InternetMonitorClient", "CreateMonitorCommand")
|
|
997
|
-
.sc(CreateMonitor$)
|
|
998
|
-
.build() {
|
|
990
|
+
const command = makeBuilder(commonParams, "InternetMonitor20210603", "InternetMonitorClient", getEndpointPlugin);
|
|
991
|
+
const _ep0 = {};
|
|
992
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
993
|
+
|
|
994
|
+
class CreateMonitorCommand extends command(_ep0, _mw0, "CreateMonitor", CreateMonitor$) {
|
|
999
995
|
}
|
|
1000
996
|
|
|
1001
|
-
class DeleteMonitorCommand extends
|
|
1002
|
-
.classBuilder()
|
|
1003
|
-
.ep(commonParams)
|
|
1004
|
-
.m(function (Command, cs, config, o) {
|
|
1005
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1006
|
-
})
|
|
1007
|
-
.s("InternetMonitor20210603", "DeleteMonitor", {})
|
|
1008
|
-
.n("InternetMonitorClient", "DeleteMonitorCommand")
|
|
1009
|
-
.sc(DeleteMonitor$)
|
|
1010
|
-
.build() {
|
|
997
|
+
class DeleteMonitorCommand extends command(_ep0, _mw0, "DeleteMonitor", DeleteMonitor$) {
|
|
1011
998
|
}
|
|
1012
999
|
|
|
1013
|
-
class GetHealthEventCommand extends
|
|
1014
|
-
.classBuilder()
|
|
1015
|
-
.ep(commonParams)
|
|
1016
|
-
.m(function (Command, cs, config, o) {
|
|
1017
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1018
|
-
})
|
|
1019
|
-
.s("InternetMonitor20210603", "GetHealthEvent", {})
|
|
1020
|
-
.n("InternetMonitorClient", "GetHealthEventCommand")
|
|
1021
|
-
.sc(GetHealthEvent$)
|
|
1022
|
-
.build() {
|
|
1000
|
+
class GetHealthEventCommand extends command(_ep0, _mw0, "GetHealthEvent", GetHealthEvent$) {
|
|
1023
1001
|
}
|
|
1024
1002
|
|
|
1025
|
-
class GetInternetEventCommand extends
|
|
1026
|
-
.classBuilder()
|
|
1027
|
-
.ep(commonParams)
|
|
1028
|
-
.m(function (Command, cs, config, o) {
|
|
1029
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1030
|
-
})
|
|
1031
|
-
.s("InternetMonitor20210603", "GetInternetEvent", {})
|
|
1032
|
-
.n("InternetMonitorClient", "GetInternetEventCommand")
|
|
1033
|
-
.sc(GetInternetEvent$)
|
|
1034
|
-
.build() {
|
|
1003
|
+
class GetInternetEventCommand extends command(_ep0, _mw0, "GetInternetEvent", GetInternetEvent$) {
|
|
1035
1004
|
}
|
|
1036
1005
|
|
|
1037
|
-
class GetMonitorCommand extends
|
|
1038
|
-
.classBuilder()
|
|
1039
|
-
.ep(commonParams)
|
|
1040
|
-
.m(function (Command, cs, config, o) {
|
|
1041
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1042
|
-
})
|
|
1043
|
-
.s("InternetMonitor20210603", "GetMonitor", {})
|
|
1044
|
-
.n("InternetMonitorClient", "GetMonitorCommand")
|
|
1045
|
-
.sc(GetMonitor$)
|
|
1046
|
-
.build() {
|
|
1006
|
+
class GetMonitorCommand extends command(_ep0, _mw0, "GetMonitor", GetMonitor$) {
|
|
1047
1007
|
}
|
|
1048
1008
|
|
|
1049
|
-
class GetQueryResultsCommand extends
|
|
1050
|
-
.classBuilder()
|
|
1051
|
-
.ep(commonParams)
|
|
1052
|
-
.m(function (Command, cs, config, o) {
|
|
1053
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1054
|
-
})
|
|
1055
|
-
.s("InternetMonitor20210603", "GetQueryResults", {})
|
|
1056
|
-
.n("InternetMonitorClient", "GetQueryResultsCommand")
|
|
1057
|
-
.sc(GetQueryResults$)
|
|
1058
|
-
.build() {
|
|
1009
|
+
class GetQueryResultsCommand extends command(_ep0, _mw0, "GetQueryResults", GetQueryResults$) {
|
|
1059
1010
|
}
|
|
1060
1011
|
|
|
1061
|
-
class GetQueryStatusCommand extends
|
|
1062
|
-
.classBuilder()
|
|
1063
|
-
.ep(commonParams)
|
|
1064
|
-
.m(function (Command, cs, config, o) {
|
|
1065
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1066
|
-
})
|
|
1067
|
-
.s("InternetMonitor20210603", "GetQueryStatus", {})
|
|
1068
|
-
.n("InternetMonitorClient", "GetQueryStatusCommand")
|
|
1069
|
-
.sc(GetQueryStatus$)
|
|
1070
|
-
.build() {
|
|
1012
|
+
class GetQueryStatusCommand extends command(_ep0, _mw0, "GetQueryStatus", GetQueryStatus$) {
|
|
1071
1013
|
}
|
|
1072
1014
|
|
|
1073
|
-
class ListHealthEventsCommand extends
|
|
1074
|
-
.classBuilder()
|
|
1075
|
-
.ep(commonParams)
|
|
1076
|
-
.m(function (Command, cs, config, o) {
|
|
1077
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1078
|
-
})
|
|
1079
|
-
.s("InternetMonitor20210603", "ListHealthEvents", {})
|
|
1080
|
-
.n("InternetMonitorClient", "ListHealthEventsCommand")
|
|
1081
|
-
.sc(ListHealthEvents$)
|
|
1082
|
-
.build() {
|
|
1015
|
+
class ListHealthEventsCommand extends command(_ep0, _mw0, "ListHealthEvents", ListHealthEvents$) {
|
|
1083
1016
|
}
|
|
1084
1017
|
|
|
1085
|
-
class ListInternetEventsCommand extends
|
|
1086
|
-
.classBuilder()
|
|
1087
|
-
.ep(commonParams)
|
|
1088
|
-
.m(function (Command, cs, config, o) {
|
|
1089
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1090
|
-
})
|
|
1091
|
-
.s("InternetMonitor20210603", "ListInternetEvents", {})
|
|
1092
|
-
.n("InternetMonitorClient", "ListInternetEventsCommand")
|
|
1093
|
-
.sc(ListInternetEvents$)
|
|
1094
|
-
.build() {
|
|
1018
|
+
class ListInternetEventsCommand extends command(_ep0, _mw0, "ListInternetEvents", ListInternetEvents$) {
|
|
1095
1019
|
}
|
|
1096
1020
|
|
|
1097
|
-
class ListMonitorsCommand extends
|
|
1098
|
-
.classBuilder()
|
|
1099
|
-
.ep(commonParams)
|
|
1100
|
-
.m(function (Command, cs, config, o) {
|
|
1101
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1102
|
-
})
|
|
1103
|
-
.s("InternetMonitor20210603", "ListMonitors", {})
|
|
1104
|
-
.n("InternetMonitorClient", "ListMonitorsCommand")
|
|
1105
|
-
.sc(ListMonitors$)
|
|
1106
|
-
.build() {
|
|
1021
|
+
class ListMonitorsCommand extends command(_ep0, _mw0, "ListMonitors", ListMonitors$) {
|
|
1107
1022
|
}
|
|
1108
1023
|
|
|
1109
|
-
class ListTagsForResourceCommand extends
|
|
1110
|
-
.classBuilder()
|
|
1111
|
-
.ep(commonParams)
|
|
1112
|
-
.m(function (Command, cs, config, o) {
|
|
1113
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1114
|
-
})
|
|
1115
|
-
.s("InternetMonitor20210603", "ListTagsForResource", {})
|
|
1116
|
-
.n("InternetMonitorClient", "ListTagsForResourceCommand")
|
|
1117
|
-
.sc(ListTagsForResource$)
|
|
1118
|
-
.build() {
|
|
1024
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1119
1025
|
}
|
|
1120
1026
|
|
|
1121
|
-
class StartQueryCommand extends
|
|
1122
|
-
.classBuilder()
|
|
1123
|
-
.ep(commonParams)
|
|
1124
|
-
.m(function (Command, cs, config, o) {
|
|
1125
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1126
|
-
})
|
|
1127
|
-
.s("InternetMonitor20210603", "StartQuery", {})
|
|
1128
|
-
.n("InternetMonitorClient", "StartQueryCommand")
|
|
1129
|
-
.sc(StartQuery$)
|
|
1130
|
-
.build() {
|
|
1027
|
+
class StartQueryCommand extends command(_ep0, _mw0, "StartQuery", StartQuery$) {
|
|
1131
1028
|
}
|
|
1132
1029
|
|
|
1133
|
-
class StopQueryCommand extends
|
|
1134
|
-
.classBuilder()
|
|
1135
|
-
.ep(commonParams)
|
|
1136
|
-
.m(function (Command, cs, config, o) {
|
|
1137
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1138
|
-
})
|
|
1139
|
-
.s("InternetMonitor20210603", "StopQuery", {})
|
|
1140
|
-
.n("InternetMonitorClient", "StopQueryCommand")
|
|
1141
|
-
.sc(StopQuery$)
|
|
1142
|
-
.build() {
|
|
1030
|
+
class StopQueryCommand extends command(_ep0, _mw0, "StopQuery", StopQuery$) {
|
|
1143
1031
|
}
|
|
1144
1032
|
|
|
1145
|
-
class TagResourceCommand extends
|
|
1146
|
-
.classBuilder()
|
|
1147
|
-
.ep(commonParams)
|
|
1148
|
-
.m(function (Command, cs, config, o) {
|
|
1149
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1150
|
-
})
|
|
1151
|
-
.s("InternetMonitor20210603", "TagResource", {})
|
|
1152
|
-
.n("InternetMonitorClient", "TagResourceCommand")
|
|
1153
|
-
.sc(TagResource$)
|
|
1154
|
-
.build() {
|
|
1033
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1155
1034
|
}
|
|
1156
1035
|
|
|
1157
|
-
class UntagResourceCommand extends
|
|
1158
|
-
.classBuilder()
|
|
1159
|
-
.ep(commonParams)
|
|
1160
|
-
.m(function (Command, cs, config, o) {
|
|
1161
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1162
|
-
})
|
|
1163
|
-
.s("InternetMonitor20210603", "UntagResource", {})
|
|
1164
|
-
.n("InternetMonitorClient", "UntagResourceCommand")
|
|
1165
|
-
.sc(UntagResource$)
|
|
1166
|
-
.build() {
|
|
1036
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1167
1037
|
}
|
|
1168
1038
|
|
|
1169
|
-
class UpdateMonitorCommand extends
|
|
1170
|
-
.classBuilder()
|
|
1171
|
-
.ep(commonParams)
|
|
1172
|
-
.m(function (Command, cs, config, o) {
|
|
1173
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1174
|
-
})
|
|
1175
|
-
.s("InternetMonitor20210603", "UpdateMonitor", {})
|
|
1176
|
-
.n("InternetMonitorClient", "UpdateMonitorCommand")
|
|
1177
|
-
.sc(UpdateMonitor$)
|
|
1178
|
-
.build() {
|
|
1039
|
+
class UpdateMonitorCommand extends command(_ep0, _mw0, "UpdateMonitor", UpdateMonitor$) {
|
|
1179
1040
|
}
|
|
1180
1041
|
|
|
1181
1042
|
const paginateGetQueryResults = createPaginator(InternetMonitorClient, GetQueryResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "InternetMonitor20210603", "InternetMonitorClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateMonitor$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateMonitorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "CreateMonitor", {})
|
|
13
|
-
.n("InternetMonitorClient", "CreateMonitorCommand")
|
|
14
|
-
.sc(CreateMonitor$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateMonitorCommand extends command(_ep0, _mw0, "CreateMonitor", CreateMonitor$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteMonitor$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteMonitorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "DeleteMonitor", {})
|
|
13
|
-
.n("InternetMonitorClient", "DeleteMonitorCommand")
|
|
14
|
-
.sc(DeleteMonitor$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteMonitorCommand extends command(_ep0, _mw0, "DeleteMonitor", DeleteMonitor$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetHealthEvent$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetHealthEventCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "GetHealthEvent", {})
|
|
13
|
-
.n("InternetMonitorClient", "GetHealthEventCommand")
|
|
14
|
-
.sc(GetHealthEvent$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetHealthEventCommand extends command(_ep0, _mw0, "GetHealthEvent", GetHealthEvent$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetInternetEvent$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetInternetEventCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "GetInternetEvent", {})
|
|
13
|
-
.n("InternetMonitorClient", "GetInternetEventCommand")
|
|
14
|
-
.sc(GetInternetEvent$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetInternetEventCommand extends command(_ep0, _mw0, "GetInternetEvent", GetInternetEvent$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetMonitor$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetMonitorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "GetMonitor", {})
|
|
13
|
-
.n("InternetMonitorClient", "GetMonitorCommand")
|
|
14
|
-
.sc(GetMonitor$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetMonitorCommand extends command(_ep0, _mw0, "GetMonitor", GetMonitor$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetQueryResults$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetQueryResultsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "GetQueryResults", {})
|
|
13
|
-
.n("InternetMonitorClient", "GetQueryResultsCommand")
|
|
14
|
-
.sc(GetQueryResults$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetQueryResultsCommand extends command(_ep0, _mw0, "GetQueryResults", GetQueryResults$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetQueryStatus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetQueryStatusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "GetQueryStatus", {})
|
|
13
|
-
.n("InternetMonitorClient", "GetQueryStatusCommand")
|
|
14
|
-
.sc(GetQueryStatus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetQueryStatusCommand extends command(_ep0, _mw0, "GetQueryStatus", GetQueryStatus$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListHealthEvents$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListHealthEventsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "ListHealthEvents", {})
|
|
13
|
-
.n("InternetMonitorClient", "ListHealthEventsCommand")
|
|
14
|
-
.sc(ListHealthEvents$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListHealthEventsCommand extends command(_ep0, _mw0, "ListHealthEvents", ListHealthEvents$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListInternetEvents$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListInternetEventsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "ListInternetEvents", {})
|
|
13
|
-
.n("InternetMonitorClient", "ListInternetEventsCommand")
|
|
14
|
-
.sc(ListInternetEvents$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListInternetEventsCommand extends command(_ep0, _mw0, "ListInternetEvents", ListInternetEvents$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListMonitors$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListMonitorsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "ListMonitors", {})
|
|
13
|
-
.n("InternetMonitorClient", "ListMonitorsCommand")
|
|
14
|
-
.sc(ListMonitors$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListMonitorsCommand extends command(_ep0, _mw0, "ListMonitors", ListMonitors$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "ListTagsForResource", {})
|
|
13
|
-
.n("InternetMonitorClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartQuery$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartQueryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "StartQuery", {})
|
|
13
|
-
.n("InternetMonitorClient", "StartQueryCommand")
|
|
14
|
-
.sc(StartQuery$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartQueryCommand extends command(_ep0, _mw0, "StartQuery", StartQuery$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StopQuery$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StopQueryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "StopQuery", {})
|
|
13
|
-
.n("InternetMonitorClient", "StopQueryCommand")
|
|
14
|
-
.sc(StopQuery$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StopQueryCommand extends command(_ep0, _mw0, "StopQuery", StopQuery$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "TagResource", {})
|
|
13
|
-
.n("InternetMonitorClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "UntagResource", {})
|
|
13
|
-
.n("InternetMonitorClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateMonitor$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateMonitorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("InternetMonitor20210603", "UpdateMonitor", {})
|
|
13
|
-
.n("InternetMonitorClient", "UpdateMonitorCommand")
|
|
14
|
-
.sc(UpdateMonitor$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateMonitorCommand extends command(_ep0, _mw0, "UpdateMonitor", UpdateMonitor$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./InternetMonitorClient";
|
|
2
2
|
export * from "./InternetMonitor";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./InternetMonitorClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InternetMonitorClient";
|
|
4
2
|
import type { CreateMonitorInput, CreateMonitorOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateMonitorCommandInput extends CreateMonitorInput {
|
|
|
22
19
|
export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateMonitorCommand_base: {
|
|
25
|
-
new (input: CreateMonitorCommandInput): import("@smithy/core/client").CommandImpl<CreateMonitorCommandInput, CreateMonitorCommandOutput, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateMonitorCommandInput): import("@smithy/core/client").CommandImpl<CreateMonitorCommandInput, CreateMonitorCommandOutput, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateMonitorCommandInput): import("@smithy/core/client").CommandImpl<CreateMonitorCommandInput, CreateMonitorCommandOutput, import("..").InternetMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateMonitorCommandInput): import("@smithy/core/client").CommandImpl<CreateMonitorCommandInput, CreateMonitorCommandOutput, import("..").InternetMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a monitor in Amazon CloudWatch Internet Monitor. A monitor is built based on information from the application resources that you add: VPCs,
|