@aws-sdk/client-internetmonitor 3.1074.0 → 3.1076.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 +979 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/InternetMonitorServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -141
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -634
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
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");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
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
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultInternetMonitorHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "internetmonitor",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultInternetMonitorHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,844 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
85
|
+
],
|
|
86
|
+
results: [
|
|
87
|
+
[a],
|
|
88
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
89
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
90
|
+
[g, i],
|
|
91
|
+
["https://internetmonitor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
92
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
93
|
+
["https://internetmonitor-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
94
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
95
|
+
["https://internetmonitor.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
96
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
97
|
+
["https://internetmonitor.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
98
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
const root = 2;
|
|
102
|
+
const r = 100_000_000;
|
|
103
|
+
const nodes = new Int32Array([
|
|
104
|
+
-1, 1, -1,
|
|
105
|
+
0, 12, 3,
|
|
106
|
+
1, 4, r + 11,
|
|
107
|
+
2, 5, r + 11,
|
|
108
|
+
3, 8, 6,
|
|
109
|
+
4, 7, r + 10,
|
|
110
|
+
5, r + 8, r + 9,
|
|
111
|
+
4, 10, 9,
|
|
112
|
+
6, r + 6, r + 7,
|
|
113
|
+
5, 11, r + 5,
|
|
114
|
+
6, r + 4, r + 5,
|
|
115
|
+
3, r + 1, 13,
|
|
116
|
+
4, r + 2, r + 3,
|
|
117
|
+
]);
|
|
118
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
119
|
+
|
|
120
|
+
const cache = new EndpointCache({
|
|
121
|
+
size: 50,
|
|
122
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
123
|
+
});
|
|
124
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
125
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
126
|
+
endpointParams: endpointParams,
|
|
127
|
+
logger: context.logger,
|
|
128
|
+
}));
|
|
129
|
+
};
|
|
130
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
131
|
+
|
|
132
|
+
class InternetMonitorServiceException extends ServiceException {
|
|
133
|
+
constructor(options) {
|
|
134
|
+
super(options);
|
|
135
|
+
Object.setPrototypeOf(this, InternetMonitorServiceException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class AccessDeniedException extends InternetMonitorServiceException {
|
|
140
|
+
name = "AccessDeniedException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "AccessDeniedException",
|
|
145
|
+
$fault: "client",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
class BadRequestException extends InternetMonitorServiceException {
|
|
152
|
+
name = "BadRequestException";
|
|
153
|
+
$fault = "client";
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "BadRequestException",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
class ConflictException extends InternetMonitorServiceException {
|
|
164
|
+
name = "ConflictException";
|
|
165
|
+
$fault = "client";
|
|
166
|
+
constructor(opts) {
|
|
167
|
+
super({
|
|
168
|
+
name: "ConflictException",
|
|
169
|
+
$fault: "client",
|
|
170
|
+
...opts,
|
|
171
|
+
});
|
|
172
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
class InternalServerException extends InternetMonitorServiceException {
|
|
176
|
+
name = "InternalServerException";
|
|
177
|
+
$fault = "server";
|
|
178
|
+
$retryable = {};
|
|
179
|
+
constructor(opts) {
|
|
180
|
+
super({
|
|
181
|
+
name: "InternalServerException",
|
|
182
|
+
$fault: "server",
|
|
183
|
+
...opts,
|
|
184
|
+
});
|
|
185
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
class LimitExceededException extends InternetMonitorServiceException {
|
|
189
|
+
name = "LimitExceededException";
|
|
190
|
+
$fault = "client";
|
|
191
|
+
constructor(opts) {
|
|
192
|
+
super({
|
|
193
|
+
name: "LimitExceededException",
|
|
194
|
+
$fault: "client",
|
|
195
|
+
...opts,
|
|
196
|
+
});
|
|
197
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
class ThrottlingException extends InternetMonitorServiceException {
|
|
201
|
+
name = "ThrottlingException";
|
|
202
|
+
$fault = "client";
|
|
203
|
+
$retryable = {
|
|
204
|
+
throttling: true,
|
|
205
|
+
};
|
|
206
|
+
constructor(opts) {
|
|
207
|
+
super({
|
|
208
|
+
name: "ThrottlingException",
|
|
209
|
+
$fault: "client",
|
|
210
|
+
...opts,
|
|
211
|
+
});
|
|
212
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
class ValidationException extends InternetMonitorServiceException {
|
|
216
|
+
name = "ValidationException";
|
|
217
|
+
$fault = "client";
|
|
218
|
+
constructor(opts) {
|
|
219
|
+
super({
|
|
220
|
+
name: "ValidationException",
|
|
221
|
+
$fault: "client",
|
|
222
|
+
...opts,
|
|
223
|
+
});
|
|
224
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
class InternalServerErrorException extends InternetMonitorServiceException {
|
|
228
|
+
name = "InternalServerErrorException";
|
|
229
|
+
$fault = "server";
|
|
230
|
+
$retryable = {};
|
|
231
|
+
constructor(opts) {
|
|
232
|
+
super({
|
|
233
|
+
name: "InternalServerErrorException",
|
|
234
|
+
$fault: "server",
|
|
235
|
+
...opts,
|
|
236
|
+
});
|
|
237
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
class NotFoundException extends InternetMonitorServiceException {
|
|
241
|
+
name = "NotFoundException";
|
|
242
|
+
$fault = "client";
|
|
243
|
+
constructor(opts) {
|
|
244
|
+
super({
|
|
245
|
+
name: "NotFoundException",
|
|
246
|
+
$fault: "client",
|
|
247
|
+
...opts,
|
|
248
|
+
});
|
|
249
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
class TooManyRequestsException extends InternetMonitorServiceException {
|
|
253
|
+
name = "TooManyRequestsException";
|
|
254
|
+
$fault = "client";
|
|
255
|
+
$retryable = {
|
|
256
|
+
throttling: true,
|
|
257
|
+
};
|
|
258
|
+
constructor(opts) {
|
|
259
|
+
super({
|
|
260
|
+
name: "TooManyRequestsException",
|
|
261
|
+
$fault: "client",
|
|
262
|
+
...opts,
|
|
263
|
+
});
|
|
264
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
class ResourceNotFoundException extends InternetMonitorServiceException {
|
|
268
|
+
name = "ResourceNotFoundException";
|
|
269
|
+
$fault = "client";
|
|
270
|
+
constructor(opts) {
|
|
271
|
+
super({
|
|
272
|
+
name: "ResourceNotFoundException",
|
|
273
|
+
$fault: "client",
|
|
274
|
+
...opts,
|
|
275
|
+
});
|
|
276
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
const _A = "Arn";
|
|
281
|
+
const _ADE = "AccessDeniedException";
|
|
282
|
+
const _ALHEC = "AvailabilityLocalHealthEventsConfig";
|
|
283
|
+
const _AM = "AvailabilityMeasurement";
|
|
284
|
+
const _AP = "AsPath";
|
|
285
|
+
const _ASN = "ASName";
|
|
286
|
+
const _ASNu = "ASNumber";
|
|
287
|
+
const _AST = "AvailabilityScoreThreshold";
|
|
288
|
+
const _Av = "Availability";
|
|
289
|
+
const _BN = "BucketName";
|
|
290
|
+
const _BP = "BucketPrefix";
|
|
291
|
+
const _BRE = "BadRequestException";
|
|
292
|
+
const _C = "Country";
|
|
293
|
+
const _CA = "CreatedAt";
|
|
294
|
+
const _CB = "CausedBy";
|
|
295
|
+
const _CC = "CountryCode";
|
|
296
|
+
const _CE = "ConflictException";
|
|
297
|
+
const _CL = "ClientLocation";
|
|
298
|
+
const _CM = "CreateMonitor";
|
|
299
|
+
const _CMI = "CreateMonitorInput";
|
|
300
|
+
const _CMO = "CreateMonitorOutput";
|
|
301
|
+
const _CT = "ClientToken";
|
|
302
|
+
const _Ci = "City";
|
|
303
|
+
const _D = "Data";
|
|
304
|
+
const _DM = "DeleteMonitor";
|
|
305
|
+
const _DMI = "DeleteMonitorInput";
|
|
306
|
+
const _DMO = "DeleteMonitorOutput";
|
|
307
|
+
const _EA = "EventArn";
|
|
308
|
+
const _EAn = "EndedAt";
|
|
309
|
+
const _EI = "EventId";
|
|
310
|
+
const _ES = "ExperienceScore";
|
|
311
|
+
const _ESv = "EventStatus";
|
|
312
|
+
const _ET = "EventType";
|
|
313
|
+
const _ETn = "EndTime";
|
|
314
|
+
const _F = "Field";
|
|
315
|
+
const _FP = "FilterParameter";
|
|
316
|
+
const _FPi = "FilterParameters";
|
|
317
|
+
const _Fi = "Fields";
|
|
318
|
+
const _GHE = "GetHealthEvent";
|
|
319
|
+
const _GHEI = "GetHealthEventInput";
|
|
320
|
+
const _GHEO = "GetHealthEventOutput";
|
|
321
|
+
const _GIE = "GetInternetEvent";
|
|
322
|
+
const _GIEI = "GetInternetEventInput";
|
|
323
|
+
const _GIEO = "GetInternetEventOutput";
|
|
324
|
+
const _GM = "GetMonitor";
|
|
325
|
+
const _GMI = "GetMonitorInput";
|
|
326
|
+
const _GMO = "GetMonitorOutput";
|
|
327
|
+
const _GQR = "GetQueryResults";
|
|
328
|
+
const _GQRI = "GetQueryResultsInput";
|
|
329
|
+
const _GQRO = "GetQueryResultsOutput";
|
|
330
|
+
const _GQS = "GetQueryStatus";
|
|
331
|
+
const _GQSI = "GetQueryStatusInput";
|
|
332
|
+
const _GQSO = "GetQueryStatusOutput";
|
|
333
|
+
const _HE = "HealthEvent";
|
|
334
|
+
const _HEC = "HealthEventsConfig";
|
|
335
|
+
const _HEL = "HealthEventList";
|
|
336
|
+
const _HEe = "HealthEvents";
|
|
337
|
+
const _HST = "HealthScoreThreshold";
|
|
338
|
+
const _IE = "InternetEvents";
|
|
339
|
+
const _IEL = "InternetEventsList";
|
|
340
|
+
const _IEMR = "InternetEventMaxResults";
|
|
341
|
+
const _IES = "InternetEventSummary";
|
|
342
|
+
const _IH = "InternetHealth";
|
|
343
|
+
const _IL = "ImpactedLocations";
|
|
344
|
+
const _ILA = "IncludeLinkedAccounts";
|
|
345
|
+
const _ILL = "ImpactedLocationsList";
|
|
346
|
+
const _ILm = "ImpactedLocation";
|
|
347
|
+
const _IMLD = "InternetMeasurementsLogDelivery";
|
|
348
|
+
const _IP = "Ipv4Prefixes";
|
|
349
|
+
const _ISE = "InternalServerException";
|
|
350
|
+
const _ISEE = "InternalServerErrorException";
|
|
351
|
+
const _IT = "ImpactType";
|
|
352
|
+
const _L = "Latitude";
|
|
353
|
+
const _LAI = "LinkedAccountId";
|
|
354
|
+
const _LDS = "LogDeliveryStatus";
|
|
355
|
+
const _LEE = "LimitExceededException";
|
|
356
|
+
const _LHE = "ListHealthEvents";
|
|
357
|
+
const _LHEC = "LocalHealthEventsConfig";
|
|
358
|
+
const _LHEI = "ListHealthEventsInput";
|
|
359
|
+
const _LHEO = "ListHealthEventsOutput";
|
|
360
|
+
const _LIE = "ListInternetEvents";
|
|
361
|
+
const _LIEI = "ListInternetEventsInput";
|
|
362
|
+
const _LIEO = "ListInternetEventsOutput";
|
|
363
|
+
const _LM = "ListMonitors";
|
|
364
|
+
const _LMI = "ListMonitorsInput";
|
|
365
|
+
const _LMO = "ListMonitorsOutput";
|
|
366
|
+
const _LTFR = "ListTagsForResource";
|
|
367
|
+
const _LTFRI = "ListTagsForResourceInput";
|
|
368
|
+
const _LTFRO = "ListTagsForResourceOutput";
|
|
369
|
+
const _LUA = "LastUpdatedAt";
|
|
370
|
+
const _Lo = "Longitude";
|
|
371
|
+
const _M = "Metro";
|
|
372
|
+
const _MA = "MonitorArn";
|
|
373
|
+
const _MAo = "ModifiedAt";
|
|
374
|
+
const _MCNTM = "MaxCityNetworksToMonitor";
|
|
375
|
+
const _ML = "MonitorList";
|
|
376
|
+
const _MN = "MonitorName";
|
|
377
|
+
const _MR = "MaxResults";
|
|
378
|
+
const _MS = "MonitorStatus";
|
|
379
|
+
const _MTI = "MinTrafficImpact";
|
|
380
|
+
const _Mo = "Monitors";
|
|
381
|
+
const _Mon = "Monitor";
|
|
382
|
+
const _N = "Network";
|
|
383
|
+
const _NET = "NetworkEventType";
|
|
384
|
+
const _NFE = "NotFoundException";
|
|
385
|
+
const _NI = "NetworkImpairment";
|
|
386
|
+
const _NL = "NetworkList";
|
|
387
|
+
const _NT = "NextToken";
|
|
388
|
+
const _Na = "Name";
|
|
389
|
+
const _Ne = "Networks";
|
|
390
|
+
const _O = "Operator";
|
|
391
|
+
const _P = "Performance";
|
|
392
|
+
const _PLHEC = "PerformanceLocalHealthEventsConfig";
|
|
393
|
+
const _PM = "PerformanceMeasurement";
|
|
394
|
+
const _POCLI = "PercentOfClientLocationImpacted";
|
|
395
|
+
const _POTTI = "PercentOfTotalTrafficImpacted";
|
|
396
|
+
const _PS = "ProcessingStatus";
|
|
397
|
+
const _PSI = "ProcessingStatusInfo";
|
|
398
|
+
const _PST = "PerformanceScoreThreshold";
|
|
399
|
+
const _P_ = "P50";
|
|
400
|
+
const _P__ = "P90";
|
|
401
|
+
const _P___ = "P95";
|
|
402
|
+
const _QD = "QueryData";
|
|
403
|
+
const _QF = "QueryField";
|
|
404
|
+
const _QFu = "QueryFields";
|
|
405
|
+
const _QI = "QueryId";
|
|
406
|
+
const _QT = "QueryType";
|
|
407
|
+
const _R = "Resources";
|
|
408
|
+
const _RA = "ResourceArn";
|
|
409
|
+
const _RNFE = "ResourceNotFoundException";
|
|
410
|
+
const _RTA = "ResourcesToAdd";
|
|
411
|
+
const _RTR = "ResourcesToRemove";
|
|
412
|
+
const _RTT = "RoundTripTime";
|
|
413
|
+
const _S = "Subdivision";
|
|
414
|
+
const _SA = "StartedAt";
|
|
415
|
+
const _SC = "SubdivisionCode";
|
|
416
|
+
const _SCo = "S3Config";
|
|
417
|
+
const _SL = "ServiceLocation";
|
|
418
|
+
const _SQ = "StartQuery";
|
|
419
|
+
const _SQI = "StartQueryInput";
|
|
420
|
+
const _SQIt = "StopQueryInput";
|
|
421
|
+
const _SQO = "StartQueryOutput";
|
|
422
|
+
const _SQOt = "StopQueryOutput";
|
|
423
|
+
const _SQt = "StopQuery";
|
|
424
|
+
const _ST = "StartTime";
|
|
425
|
+
const _St = "Status";
|
|
426
|
+
const _T = "Tags";
|
|
427
|
+
const _TE = "ThrottlingException";
|
|
428
|
+
const _TK = "TagKeys";
|
|
429
|
+
const _TMRE = "TooManyRequestsException";
|
|
430
|
+
const _TPTM = "TrafficPercentageToMonitor";
|
|
431
|
+
const _TR = "TagResource";
|
|
432
|
+
const _TRI = "TagResourceInput";
|
|
433
|
+
const _TRO = "TagResourceOutput";
|
|
434
|
+
const _Ty = "Type";
|
|
435
|
+
const _UM = "UpdateMonitor";
|
|
436
|
+
const _UMI = "UpdateMonitorInput";
|
|
437
|
+
const _UMO = "UpdateMonitorOutput";
|
|
438
|
+
const _UR = "UntagResource";
|
|
439
|
+
const _URI = "UntagResourceInput";
|
|
440
|
+
const _URO = "UntagResourceOutput";
|
|
441
|
+
const _V = "Values";
|
|
442
|
+
const _VE = "ValidationException";
|
|
443
|
+
const _c = "client";
|
|
444
|
+
const _e = "error";
|
|
445
|
+
const _h = "http";
|
|
446
|
+
const _hE = "httpError";
|
|
447
|
+
const _hQ = "httpQuery";
|
|
448
|
+
const _m = "message";
|
|
449
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.internetmonitor";
|
|
450
|
+
const _se = "server";
|
|
451
|
+
const _tK = "tagKeys";
|
|
452
|
+
const n0 = "com.amazonaws.internetmonitor";
|
|
453
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
454
|
+
var InternetMonitorServiceException$ = [-3, _s, "InternetMonitorServiceException", 0, [], []];
|
|
455
|
+
_s_registry.registerError(InternetMonitorServiceException$, InternetMonitorServiceException);
|
|
456
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
457
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
458
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
459
|
+
[_m],
|
|
460
|
+
[0]
|
|
461
|
+
];
|
|
462
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
463
|
+
var BadRequestException$ = [-3, n0, _BRE,
|
|
464
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
465
|
+
[_m],
|
|
466
|
+
[0]
|
|
467
|
+
];
|
|
468
|
+
n0_registry.registerError(BadRequestException$, BadRequestException);
|
|
469
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
470
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
471
|
+
[_m],
|
|
472
|
+
[0]
|
|
473
|
+
];
|
|
474
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
475
|
+
var InternalServerErrorException$ = [-3, n0, _ISEE,
|
|
476
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
477
|
+
[_m],
|
|
478
|
+
[0]
|
|
479
|
+
];
|
|
480
|
+
n0_registry.registerError(InternalServerErrorException$, InternalServerErrorException);
|
|
481
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
482
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
483
|
+
[_m],
|
|
484
|
+
[0]
|
|
485
|
+
];
|
|
486
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
487
|
+
var LimitExceededException$ = [-3, n0, _LEE,
|
|
488
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
489
|
+
[_m],
|
|
490
|
+
[0]
|
|
491
|
+
];
|
|
492
|
+
n0_registry.registerError(LimitExceededException$, LimitExceededException);
|
|
493
|
+
var NotFoundException$ = [-3, n0, _NFE,
|
|
494
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
495
|
+
[_m],
|
|
496
|
+
[0]
|
|
497
|
+
];
|
|
498
|
+
n0_registry.registerError(NotFoundException$, NotFoundException);
|
|
499
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
500
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
501
|
+
[_m],
|
|
502
|
+
[0]
|
|
503
|
+
];
|
|
504
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
505
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
506
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
507
|
+
[_m],
|
|
508
|
+
[0]
|
|
509
|
+
];
|
|
510
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
511
|
+
var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
512
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
513
|
+
[_m],
|
|
514
|
+
[0]
|
|
515
|
+
];
|
|
516
|
+
n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
517
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
518
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
519
|
+
[_m],
|
|
520
|
+
[0]
|
|
521
|
+
];
|
|
522
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
523
|
+
const errorTypeRegistries = [
|
|
524
|
+
_s_registry,
|
|
525
|
+
n0_registry,
|
|
526
|
+
];
|
|
527
|
+
var AvailabilityMeasurement$ = [3, n0, _AM,
|
|
528
|
+
0,
|
|
529
|
+
[_ES, _POTTI, _POCLI],
|
|
530
|
+
[1, 1, 1]
|
|
531
|
+
];
|
|
532
|
+
var ClientLocation$ = [3, n0, _CL,
|
|
533
|
+
0,
|
|
534
|
+
[_ASN, _ASNu, _C, _Ci, _L, _Lo, _S, _M],
|
|
535
|
+
[0, 1, 0, 0, 1, 1, 0, 0], 6
|
|
536
|
+
];
|
|
537
|
+
var CreateMonitorInput$ = [3, n0, _CMI,
|
|
538
|
+
0,
|
|
539
|
+
[_MN, _R, _CT, _T, _MCNTM, _IMLD, _TPTM, _HEC],
|
|
540
|
+
[0, 64 | 0, [0, 4], 128 | 0, 1, () => InternetMeasurementsLogDelivery$, 1, () => HealthEventsConfig$], 1
|
|
541
|
+
];
|
|
542
|
+
var CreateMonitorOutput$ = [3, n0, _CMO,
|
|
543
|
+
0,
|
|
544
|
+
[_A, _St],
|
|
545
|
+
[0, 0], 2
|
|
546
|
+
];
|
|
547
|
+
var DeleteMonitorInput$ = [3, n0, _DMI,
|
|
548
|
+
0,
|
|
549
|
+
[_MN],
|
|
550
|
+
[[0, 1]], 1
|
|
551
|
+
];
|
|
552
|
+
var DeleteMonitorOutput$ = [3, n0, _DMO,
|
|
553
|
+
0,
|
|
554
|
+
[],
|
|
555
|
+
[]
|
|
556
|
+
];
|
|
557
|
+
var FilterParameter$ = [3, n0, _FP,
|
|
558
|
+
0,
|
|
559
|
+
[_F, _O, _V],
|
|
560
|
+
[0, 0, 64 | 0]
|
|
561
|
+
];
|
|
562
|
+
var GetHealthEventInput$ = [3, n0, _GHEI,
|
|
563
|
+
0,
|
|
564
|
+
[_MN, _EI, _LAI],
|
|
565
|
+
[[0, 1], [0, 1], [0, { [_hQ]: _LAI }]], 2
|
|
566
|
+
];
|
|
567
|
+
var GetHealthEventOutput$ = [3, n0, _GHEO,
|
|
568
|
+
0,
|
|
569
|
+
[_EA, _EI, _SA, _LUA, _IL, _St, _IT, _EAn, _CA, _POTTI, _HST],
|
|
570
|
+
[0, 0, 5, 5, () => ImpactedLocationsList, 0, 0, 5, 5, 1, 1], 7
|
|
571
|
+
];
|
|
572
|
+
var GetInternetEventInput$ = [3, n0, _GIEI,
|
|
573
|
+
0,
|
|
574
|
+
[_EI],
|
|
575
|
+
[[0, 1]], 1
|
|
576
|
+
];
|
|
577
|
+
var GetInternetEventOutput$ = [3, n0, _GIEO,
|
|
578
|
+
0,
|
|
579
|
+
[_EI, _EA, _SA, _CL, _ET, _ESv, _EAn],
|
|
580
|
+
[0, 0, 5, () => ClientLocation$, 0, 0, 5], 6
|
|
581
|
+
];
|
|
582
|
+
var GetMonitorInput$ = [3, n0, _GMI,
|
|
583
|
+
0,
|
|
584
|
+
[_MN, _LAI],
|
|
585
|
+
[[0, 1], [0, { [_hQ]: _LAI }]], 1
|
|
586
|
+
];
|
|
587
|
+
var GetMonitorOutput$ = [3, n0, _GMO,
|
|
588
|
+
0,
|
|
589
|
+
[_MN, _MA, _R, _St, _CA, _MAo, _PS, _PSI, _T, _MCNTM, _IMLD, _TPTM, _HEC],
|
|
590
|
+
[0, 0, 64 | 0, 0, 5, 5, 0, 0, 128 | 0, 1, () => InternetMeasurementsLogDelivery$, 1, () => HealthEventsConfig$], 6
|
|
591
|
+
];
|
|
592
|
+
var GetQueryResultsInput$ = [3, n0, _GQRI,
|
|
593
|
+
0,
|
|
594
|
+
[_MN, _QI, _NT, _MR],
|
|
595
|
+
[[0, 1], [0, 1], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]], 2
|
|
596
|
+
];
|
|
597
|
+
var GetQueryResultsOutput$ = [3, n0, _GQRO,
|
|
598
|
+
0,
|
|
599
|
+
[_Fi, _D, _NT],
|
|
600
|
+
[() => QueryFields, [1, n0, _QD, 0, 64 | 0], 0], 2
|
|
601
|
+
];
|
|
602
|
+
var GetQueryStatusInput$ = [3, n0, _GQSI,
|
|
603
|
+
0,
|
|
604
|
+
[_MN, _QI],
|
|
605
|
+
[[0, 1], [0, 1]], 2
|
|
606
|
+
];
|
|
607
|
+
var GetQueryStatusOutput$ = [3, n0, _GQSO,
|
|
608
|
+
0,
|
|
609
|
+
[_St],
|
|
610
|
+
[0], 1
|
|
611
|
+
];
|
|
612
|
+
var HealthEvent$ = [3, n0, _HE,
|
|
613
|
+
0,
|
|
614
|
+
[_EA, _EI, _SA, _LUA, _IL, _St, _IT, _EAn, _CA, _POTTI, _HST],
|
|
615
|
+
[0, 0, 5, 5, () => ImpactedLocationsList, 0, 0, 5, 5, 1, 1], 7
|
|
616
|
+
];
|
|
617
|
+
var HealthEventsConfig$ = [3, n0, _HEC,
|
|
618
|
+
0,
|
|
619
|
+
[_AST, _PST, _ALHEC, _PLHEC],
|
|
620
|
+
[1, 1, () => LocalHealthEventsConfig$, () => LocalHealthEventsConfig$]
|
|
621
|
+
];
|
|
622
|
+
var ImpactedLocation$ = [3, n0, _ILm,
|
|
623
|
+
0,
|
|
624
|
+
[_ASN, _ASNu, _C, _St, _S, _M, _Ci, _L, _Lo, _CC, _SC, _SL, _CB, _IH, _IP],
|
|
625
|
+
[0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, () => NetworkImpairment$, () => InternetHealth$, 64 | 0], 4
|
|
626
|
+
];
|
|
627
|
+
var InternetEventSummary$ = [3, n0, _IES,
|
|
628
|
+
0,
|
|
629
|
+
[_EI, _EA, _SA, _CL, _ET, _ESv, _EAn],
|
|
630
|
+
[0, 0, 5, () => ClientLocation$, 0, 0, 5], 6
|
|
631
|
+
];
|
|
632
|
+
var InternetHealth$ = [3, n0, _IH,
|
|
633
|
+
0,
|
|
634
|
+
[_Av, _P],
|
|
635
|
+
[() => AvailabilityMeasurement$, () => PerformanceMeasurement$]
|
|
636
|
+
];
|
|
637
|
+
var InternetMeasurementsLogDelivery$ = [3, n0, _IMLD,
|
|
638
|
+
0,
|
|
639
|
+
[_SCo],
|
|
640
|
+
[() => S3Config$]
|
|
641
|
+
];
|
|
642
|
+
var ListHealthEventsInput$ = [3, n0, _LHEI,
|
|
643
|
+
0,
|
|
644
|
+
[_MN, _ST, _ETn, _NT, _MR, _ESv, _LAI],
|
|
645
|
+
[[0, 1], [5, { [_hQ]: _ST }], [5, { [_hQ]: _ETn }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }], [0, { [_hQ]: _ESv }], [0, { [_hQ]: _LAI }]], 1
|
|
646
|
+
];
|
|
647
|
+
var ListHealthEventsOutput$ = [3, n0, _LHEO,
|
|
648
|
+
0,
|
|
649
|
+
[_HEe, _NT],
|
|
650
|
+
[() => HealthEventList, 0], 1
|
|
651
|
+
];
|
|
652
|
+
var ListInternetEventsInput$ = [3, n0, _LIEI,
|
|
653
|
+
0,
|
|
654
|
+
[_NT, _MR, _ST, _ETn, _ESv, _ET],
|
|
655
|
+
[[0, { [_hQ]: _NT }], [1, { [_hQ]: _IEMR }], [5, { [_hQ]: _ST }], [5, { [_hQ]: _ETn }], [0, { [_hQ]: _ESv }], [0, { [_hQ]: _ET }]]
|
|
656
|
+
];
|
|
657
|
+
var ListInternetEventsOutput$ = [3, n0, _LIEO,
|
|
658
|
+
0,
|
|
659
|
+
[_IE, _NT],
|
|
660
|
+
[() => InternetEventsList, 0], 1
|
|
661
|
+
];
|
|
662
|
+
var ListMonitorsInput$ = [3, n0, _LMI,
|
|
663
|
+
0,
|
|
664
|
+
[_NT, _MR, _MS, _ILA],
|
|
665
|
+
[[0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }], [0, { [_hQ]: _MS }], [2, { [_hQ]: _ILA }]]
|
|
666
|
+
];
|
|
667
|
+
var ListMonitorsOutput$ = [3, n0, _LMO,
|
|
668
|
+
0,
|
|
669
|
+
[_Mo, _NT],
|
|
670
|
+
[() => MonitorList, 0], 1
|
|
671
|
+
];
|
|
672
|
+
var ListTagsForResourceInput$ = [3, n0, _LTFRI,
|
|
673
|
+
0,
|
|
674
|
+
[_RA],
|
|
675
|
+
[[0, 1]], 1
|
|
676
|
+
];
|
|
677
|
+
var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
678
|
+
0,
|
|
679
|
+
[_T],
|
|
680
|
+
[128 | 0]
|
|
681
|
+
];
|
|
682
|
+
var LocalHealthEventsConfig$ = [3, n0, _LHEC,
|
|
683
|
+
0,
|
|
684
|
+
[_St, _HST, _MTI],
|
|
685
|
+
[0, 1, 1]
|
|
686
|
+
];
|
|
687
|
+
var Monitor$ = [3, n0, _Mon,
|
|
688
|
+
0,
|
|
689
|
+
[_MN, _MA, _St, _PS],
|
|
690
|
+
[0, 0, 0, 0], 3
|
|
691
|
+
];
|
|
692
|
+
var Network$ = [3, n0, _N,
|
|
693
|
+
0,
|
|
694
|
+
[_ASN, _ASNu],
|
|
695
|
+
[0, 1], 2
|
|
696
|
+
];
|
|
697
|
+
var NetworkImpairment$ = [3, n0, _NI,
|
|
698
|
+
0,
|
|
699
|
+
[_Ne, _AP, _NET],
|
|
700
|
+
[() => NetworkList, () => NetworkList, 0], 3
|
|
701
|
+
];
|
|
702
|
+
var PerformanceMeasurement$ = [3, n0, _PM,
|
|
703
|
+
0,
|
|
704
|
+
[_ES, _POTTI, _POCLI, _RTT],
|
|
705
|
+
[1, 1, 1, () => RoundTripTime$]
|
|
706
|
+
];
|
|
707
|
+
var QueryField$ = [3, n0, _QF,
|
|
708
|
+
0,
|
|
709
|
+
[_Na, _Ty],
|
|
710
|
+
[0, 0]
|
|
711
|
+
];
|
|
712
|
+
var RoundTripTime$ = [3, n0, _RTT,
|
|
713
|
+
0,
|
|
714
|
+
[_P_, _P__, _P___],
|
|
715
|
+
[1, 1, 1]
|
|
716
|
+
];
|
|
717
|
+
var S3Config$ = [3, n0, _SCo,
|
|
718
|
+
0,
|
|
719
|
+
[_BN, _BP, _LDS],
|
|
720
|
+
[0, 0, 0]
|
|
721
|
+
];
|
|
722
|
+
var StartQueryInput$ = [3, n0, _SQI,
|
|
723
|
+
0,
|
|
724
|
+
[_MN, _ST, _ETn, _QT, _FPi, _LAI],
|
|
725
|
+
[[0, 1], 5, 5, 0, () => FilterParameters, 0], 4
|
|
726
|
+
];
|
|
727
|
+
var StartQueryOutput$ = [3, n0, _SQO,
|
|
728
|
+
0,
|
|
729
|
+
[_QI],
|
|
730
|
+
[0], 1
|
|
731
|
+
];
|
|
732
|
+
var StopQueryInput$ = [3, n0, _SQIt,
|
|
733
|
+
0,
|
|
734
|
+
[_MN, _QI],
|
|
735
|
+
[[0, 1], [0, 1]], 2
|
|
736
|
+
];
|
|
737
|
+
var StopQueryOutput$ = [3, n0, _SQOt,
|
|
738
|
+
0,
|
|
739
|
+
[],
|
|
740
|
+
[]
|
|
741
|
+
];
|
|
742
|
+
var TagResourceInput$ = [3, n0, _TRI,
|
|
743
|
+
0,
|
|
744
|
+
[_RA, _T],
|
|
745
|
+
[[0, 1], 128 | 0], 2
|
|
746
|
+
];
|
|
747
|
+
var TagResourceOutput$ = [3, n0, _TRO,
|
|
748
|
+
0,
|
|
749
|
+
[],
|
|
750
|
+
[]
|
|
751
|
+
];
|
|
752
|
+
var UntagResourceInput$ = [3, n0, _URI,
|
|
753
|
+
0,
|
|
754
|
+
[_RA, _TK],
|
|
755
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
756
|
+
];
|
|
757
|
+
var UntagResourceOutput$ = [3, n0, _URO,
|
|
758
|
+
0,
|
|
759
|
+
[],
|
|
760
|
+
[]
|
|
761
|
+
];
|
|
762
|
+
var UpdateMonitorInput$ = [3, n0, _UMI,
|
|
763
|
+
0,
|
|
764
|
+
[_MN, _RTA, _RTR, _St, _CT, _MCNTM, _IMLD, _TPTM, _HEC],
|
|
765
|
+
[[0, 1], 64 | 0, 64 | 0, 0, [0, 4], 1, () => InternetMeasurementsLogDelivery$, 1, () => HealthEventsConfig$], 1
|
|
766
|
+
];
|
|
767
|
+
var UpdateMonitorOutput$ = [3, n0, _UMO,
|
|
768
|
+
0,
|
|
769
|
+
[_MA, _St],
|
|
770
|
+
[0, 0], 2
|
|
771
|
+
];
|
|
772
|
+
var FilterParameters = [1, n0, _FPi,
|
|
773
|
+
0, () => FilterParameter$
|
|
774
|
+
];
|
|
775
|
+
var HealthEventList = [1, n0, _HEL,
|
|
776
|
+
0, () => HealthEvent$
|
|
777
|
+
];
|
|
778
|
+
var ImpactedLocationsList = [1, n0, _ILL,
|
|
779
|
+
0, () => ImpactedLocation$
|
|
780
|
+
];
|
|
781
|
+
var InternetEventsList = [1, n0, _IEL,
|
|
782
|
+
0, () => InternetEventSummary$
|
|
783
|
+
];
|
|
784
|
+
var MonitorList = [1, n0, _ML,
|
|
785
|
+
0, () => Monitor$
|
|
786
|
+
];
|
|
787
|
+
var NetworkList = [1, n0, _NL,
|
|
788
|
+
0, () => Network$
|
|
789
|
+
];
|
|
790
|
+
var QueryFields = [1, n0, _QFu,
|
|
791
|
+
0, () => QueryField$
|
|
792
|
+
];
|
|
793
|
+
var CreateMonitor$ = [9, n0, _CM,
|
|
794
|
+
{ [_h]: ["POST", "/v20210603/Monitors", 200] }, () => CreateMonitorInput$, () => CreateMonitorOutput$
|
|
795
|
+
];
|
|
796
|
+
var DeleteMonitor$ = [9, n0, _DM,
|
|
797
|
+
{ [_h]: ["DELETE", "/v20210603/Monitors/{MonitorName}", 200] }, () => DeleteMonitorInput$, () => DeleteMonitorOutput$
|
|
798
|
+
];
|
|
799
|
+
var GetHealthEvent$ = [9, n0, _GHE,
|
|
800
|
+
{ [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/HealthEvents/{EventId}", 200] }, () => GetHealthEventInput$, () => GetHealthEventOutput$
|
|
801
|
+
];
|
|
802
|
+
var GetInternetEvent$ = [9, n0, _GIE,
|
|
803
|
+
{ [_h]: ["GET", "/v20210603/InternetEvents/{EventId}", 200] }, () => GetInternetEventInput$, () => GetInternetEventOutput$
|
|
804
|
+
];
|
|
805
|
+
var GetMonitor$ = [9, n0, _GM,
|
|
806
|
+
{ [_h]: ["GET", "/v20210603/Monitors/{MonitorName}", 200] }, () => GetMonitorInput$, () => GetMonitorOutput$
|
|
807
|
+
];
|
|
808
|
+
var GetQueryResults$ = [9, n0, _GQR,
|
|
809
|
+
{ [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Results", 200] }, () => GetQueryResultsInput$, () => GetQueryResultsOutput$
|
|
810
|
+
];
|
|
811
|
+
var GetQueryStatus$ = [9, n0, _GQS,
|
|
812
|
+
{ [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Status", 200] }, () => GetQueryStatusInput$, () => GetQueryStatusOutput$
|
|
813
|
+
];
|
|
814
|
+
var ListHealthEvents$ = [9, n0, _LHE,
|
|
815
|
+
{ [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/HealthEvents", 200] }, () => ListHealthEventsInput$, () => ListHealthEventsOutput$
|
|
816
|
+
];
|
|
817
|
+
var ListInternetEvents$ = [9, n0, _LIE,
|
|
818
|
+
{ [_h]: ["GET", "/v20210603/InternetEvents", 200] }, () => ListInternetEventsInput$, () => ListInternetEventsOutput$
|
|
819
|
+
];
|
|
820
|
+
var ListMonitors$ = [9, n0, _LM,
|
|
821
|
+
{ [_h]: ["GET", "/v20210603/Monitors", 200] }, () => ListMonitorsInput$, () => ListMonitorsOutput$
|
|
822
|
+
];
|
|
823
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
824
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
|
|
825
|
+
];
|
|
826
|
+
var StartQuery$ = [9, n0, _SQ,
|
|
827
|
+
{ [_h]: ["POST", "/v20210603/Monitors/{MonitorName}/Queries", 200] }, () => StartQueryInput$, () => StartQueryOutput$
|
|
828
|
+
];
|
|
829
|
+
var StopQuery$ = [9, n0, _SQt,
|
|
830
|
+
{ [_h]: ["DELETE", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}", 200] }, () => StopQueryInput$, () => StopQueryOutput$
|
|
831
|
+
];
|
|
832
|
+
var TagResource$ = [9, n0, _TR,
|
|
833
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () => TagResourceInput$, () => TagResourceOutput$
|
|
834
|
+
];
|
|
835
|
+
var UntagResource$ = [9, n0, _UR,
|
|
836
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => UntagResourceInput$, () => UntagResourceOutput$
|
|
837
|
+
];
|
|
838
|
+
var UpdateMonitor$ = [9, n0, _UM,
|
|
839
|
+
{ [_h]: ["PATCH", "/v20210603/Monitors/{MonitorName}", 200] }, () => UpdateMonitorInput$, () => UpdateMonitorOutput$
|
|
840
|
+
];
|
|
841
|
+
|
|
842
|
+
const getRuntimeConfig$1 = (config) => {
|
|
843
|
+
return {
|
|
844
|
+
apiVersion: "2021-06-03",
|
|
845
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
846
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
847
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
848
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
849
|
+
extensions: config?.extensions ?? [],
|
|
850
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultInternetMonitorHttpAuthSchemeProvider,
|
|
851
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
852
|
+
{
|
|
853
|
+
schemeId: "aws.auth#sigv4",
|
|
854
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
855
|
+
signer: new AwsSdkSigV4Signer(),
|
|
856
|
+
},
|
|
857
|
+
],
|
|
858
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
859
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
860
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
861
|
+
defaultNamespace: "com.amazonaws.internetmonitor",
|
|
862
|
+
errorTypeRegistries,
|
|
863
|
+
version: "2021-06-03",
|
|
864
|
+
serviceTarget: "InternetMonitor20210603",
|
|
865
|
+
},
|
|
866
|
+
serviceId: config?.serviceId ?? "InternetMonitor",
|
|
867
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
868
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
869
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
const getRuntimeConfig = (config) => {
|
|
874
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
875
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
876
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
877
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
878
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
879
|
+
const loaderConfig = {
|
|
880
|
+
profile: config?.profile,
|
|
881
|
+
logger: clientSharedValues.logger,
|
|
882
|
+
};
|
|
883
|
+
return {
|
|
884
|
+
...clientSharedValues,
|
|
885
|
+
...config,
|
|
886
|
+
runtime: "node",
|
|
887
|
+
defaultsMode,
|
|
888
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
889
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
890
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
891
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
892
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
893
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
894
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
895
|
+
retryMode: config?.retryMode ??
|
|
896
|
+
loadConfig({
|
|
897
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
898
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
899
|
+
}, config),
|
|
900
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
901
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
902
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
903
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
904
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
|
|
34
908
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
909
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
910
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -403,36 +1277,126 @@ const QueryType = {
|
|
|
403
1277
|
TOP_LOCATION_DETAILS: "TOP_LOCATION_DETAILS",
|
|
404
1278
|
};
|
|
405
1279
|
|
|
1280
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1281
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1282
|
+
exports.AvailabilityMeasurement$ = AvailabilityMeasurement$;
|
|
1283
|
+
exports.BadRequestException = BadRequestException;
|
|
1284
|
+
exports.BadRequestException$ = BadRequestException$;
|
|
1285
|
+
exports.ClientLocation$ = ClientLocation$;
|
|
1286
|
+
exports.ConflictException = ConflictException;
|
|
1287
|
+
exports.ConflictException$ = ConflictException$;
|
|
1288
|
+
exports.CreateMonitor$ = CreateMonitor$;
|
|
406
1289
|
exports.CreateMonitorCommand = CreateMonitorCommand;
|
|
1290
|
+
exports.CreateMonitorInput$ = CreateMonitorInput$;
|
|
1291
|
+
exports.CreateMonitorOutput$ = CreateMonitorOutput$;
|
|
1292
|
+
exports.DeleteMonitor$ = DeleteMonitor$;
|
|
407
1293
|
exports.DeleteMonitorCommand = DeleteMonitorCommand;
|
|
1294
|
+
exports.DeleteMonitorInput$ = DeleteMonitorInput$;
|
|
1295
|
+
exports.DeleteMonitorOutput$ = DeleteMonitorOutput$;
|
|
1296
|
+
exports.FilterParameter$ = FilterParameter$;
|
|
1297
|
+
exports.GetHealthEvent$ = GetHealthEvent$;
|
|
408
1298
|
exports.GetHealthEventCommand = GetHealthEventCommand;
|
|
1299
|
+
exports.GetHealthEventInput$ = GetHealthEventInput$;
|
|
1300
|
+
exports.GetHealthEventOutput$ = GetHealthEventOutput$;
|
|
1301
|
+
exports.GetInternetEvent$ = GetInternetEvent$;
|
|
409
1302
|
exports.GetInternetEventCommand = GetInternetEventCommand;
|
|
1303
|
+
exports.GetInternetEventInput$ = GetInternetEventInput$;
|
|
1304
|
+
exports.GetInternetEventOutput$ = GetInternetEventOutput$;
|
|
1305
|
+
exports.GetMonitor$ = GetMonitor$;
|
|
410
1306
|
exports.GetMonitorCommand = GetMonitorCommand;
|
|
1307
|
+
exports.GetMonitorInput$ = GetMonitorInput$;
|
|
1308
|
+
exports.GetMonitorOutput$ = GetMonitorOutput$;
|
|
1309
|
+
exports.GetQueryResults$ = GetQueryResults$;
|
|
411
1310
|
exports.GetQueryResultsCommand = GetQueryResultsCommand;
|
|
1311
|
+
exports.GetQueryResultsInput$ = GetQueryResultsInput$;
|
|
1312
|
+
exports.GetQueryResultsOutput$ = GetQueryResultsOutput$;
|
|
1313
|
+
exports.GetQueryStatus$ = GetQueryStatus$;
|
|
412
1314
|
exports.GetQueryStatusCommand = GetQueryStatusCommand;
|
|
1315
|
+
exports.GetQueryStatusInput$ = GetQueryStatusInput$;
|
|
1316
|
+
exports.GetQueryStatusOutput$ = GetQueryStatusOutput$;
|
|
1317
|
+
exports.HealthEvent$ = HealthEvent$;
|
|
413
1318
|
exports.HealthEventImpactType = HealthEventImpactType;
|
|
414
1319
|
exports.HealthEventStatus = HealthEventStatus;
|
|
1320
|
+
exports.HealthEventsConfig$ = HealthEventsConfig$;
|
|
1321
|
+
exports.ImpactedLocation$ = ImpactedLocation$;
|
|
1322
|
+
exports.InternalServerErrorException = InternalServerErrorException;
|
|
1323
|
+
exports.InternalServerErrorException$ = InternalServerErrorException$;
|
|
1324
|
+
exports.InternalServerException = InternalServerException;
|
|
1325
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
415
1326
|
exports.InternetEventStatus = InternetEventStatus;
|
|
1327
|
+
exports.InternetEventSummary$ = InternetEventSummary$;
|
|
416
1328
|
exports.InternetEventType = InternetEventType;
|
|
1329
|
+
exports.InternetHealth$ = InternetHealth$;
|
|
1330
|
+
exports.InternetMeasurementsLogDelivery$ = InternetMeasurementsLogDelivery$;
|
|
417
1331
|
exports.InternetMonitor = InternetMonitor;
|
|
418
1332
|
exports.InternetMonitorClient = InternetMonitorClient;
|
|
1333
|
+
exports.InternetMonitorServiceException = InternetMonitorServiceException;
|
|
1334
|
+
exports.InternetMonitorServiceException$ = InternetMonitorServiceException$;
|
|
1335
|
+
exports.LimitExceededException = LimitExceededException;
|
|
1336
|
+
exports.LimitExceededException$ = LimitExceededException$;
|
|
1337
|
+
exports.ListHealthEvents$ = ListHealthEvents$;
|
|
419
1338
|
exports.ListHealthEventsCommand = ListHealthEventsCommand;
|
|
1339
|
+
exports.ListHealthEventsInput$ = ListHealthEventsInput$;
|
|
1340
|
+
exports.ListHealthEventsOutput$ = ListHealthEventsOutput$;
|
|
1341
|
+
exports.ListInternetEvents$ = ListInternetEvents$;
|
|
420
1342
|
exports.ListInternetEventsCommand = ListInternetEventsCommand;
|
|
1343
|
+
exports.ListInternetEventsInput$ = ListInternetEventsInput$;
|
|
1344
|
+
exports.ListInternetEventsOutput$ = ListInternetEventsOutput$;
|
|
1345
|
+
exports.ListMonitors$ = ListMonitors$;
|
|
421
1346
|
exports.ListMonitorsCommand = ListMonitorsCommand;
|
|
1347
|
+
exports.ListMonitorsInput$ = ListMonitorsInput$;
|
|
1348
|
+
exports.ListMonitorsOutput$ = ListMonitorsOutput$;
|
|
1349
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
422
1350
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1351
|
+
exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
|
|
1352
|
+
exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
|
|
1353
|
+
exports.LocalHealthEventsConfig$ = LocalHealthEventsConfig$;
|
|
423
1354
|
exports.LocalHealthEventsConfigStatus = LocalHealthEventsConfigStatus;
|
|
424
1355
|
exports.LogDeliveryStatus = LogDeliveryStatus;
|
|
1356
|
+
exports.Monitor$ = Monitor$;
|
|
425
1357
|
exports.MonitorConfigState = MonitorConfigState;
|
|
426
1358
|
exports.MonitorProcessingStatusCode = MonitorProcessingStatusCode;
|
|
1359
|
+
exports.Network$ = Network$;
|
|
1360
|
+
exports.NetworkImpairment$ = NetworkImpairment$;
|
|
1361
|
+
exports.NotFoundException = NotFoundException;
|
|
1362
|
+
exports.NotFoundException$ = NotFoundException$;
|
|
427
1363
|
exports.Operator = Operator;
|
|
1364
|
+
exports.PerformanceMeasurement$ = PerformanceMeasurement$;
|
|
1365
|
+
exports.QueryField$ = QueryField$;
|
|
428
1366
|
exports.QueryStatus = QueryStatus;
|
|
429
1367
|
exports.QueryType = QueryType;
|
|
1368
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1369
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1370
|
+
exports.RoundTripTime$ = RoundTripTime$;
|
|
1371
|
+
exports.S3Config$ = S3Config$;
|
|
1372
|
+
exports.StartQuery$ = StartQuery$;
|
|
430
1373
|
exports.StartQueryCommand = StartQueryCommand;
|
|
1374
|
+
exports.StartQueryInput$ = StartQueryInput$;
|
|
1375
|
+
exports.StartQueryOutput$ = StartQueryOutput$;
|
|
1376
|
+
exports.StopQuery$ = StopQuery$;
|
|
431
1377
|
exports.StopQueryCommand = StopQueryCommand;
|
|
1378
|
+
exports.StopQueryInput$ = StopQueryInput$;
|
|
1379
|
+
exports.StopQueryOutput$ = StopQueryOutput$;
|
|
1380
|
+
exports.TagResource$ = TagResource$;
|
|
432
1381
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1382
|
+
exports.TagResourceInput$ = TagResourceInput$;
|
|
1383
|
+
exports.TagResourceOutput$ = TagResourceOutput$;
|
|
1384
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1385
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1386
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
1387
|
+
exports.TooManyRequestsException$ = TooManyRequestsException$;
|
|
433
1388
|
exports.TriangulationEventType = TriangulationEventType;
|
|
1389
|
+
exports.UntagResource$ = UntagResource$;
|
|
434
1390
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1391
|
+
exports.UntagResourceInput$ = UntagResourceInput$;
|
|
1392
|
+
exports.UntagResourceOutput$ = UntagResourceOutput$;
|
|
1393
|
+
exports.UpdateMonitor$ = UpdateMonitor$;
|
|
435
1394
|
exports.UpdateMonitorCommand = UpdateMonitorCommand;
|
|
1395
|
+
exports.UpdateMonitorInput$ = UpdateMonitorInput$;
|
|
1396
|
+
exports.UpdateMonitorOutput$ = UpdateMonitorOutput$;
|
|
1397
|
+
exports.ValidationException = ValidationException;
|
|
1398
|
+
exports.ValidationException$ = ValidationException$;
|
|
1399
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
436
1400
|
exports.paginateGetQueryResults = paginateGetQueryResults;
|
|
437
1401
|
exports.paginateListHealthEvents = paginateListHealthEvents;
|
|
438
1402
|
exports.paginateListInternetEvents = paginateListInternetEvents;
|