@aws-sdk/client-internetmonitor 3.927.0 → 3.929.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 +905 -953
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/InternetMonitorClient.js +2 -0
- package/dist-es/commands/CreateMonitorCommand.js +3 -9
- package/dist-es/commands/DeleteMonitorCommand.js +3 -9
- package/dist-es/commands/GetHealthEventCommand.js +3 -9
- package/dist-es/commands/GetInternetEventCommand.js +3 -9
- package/dist-es/commands/GetMonitorCommand.js +3 -9
- package/dist-es/commands/GetQueryResultsCommand.js +3 -9
- package/dist-es/commands/GetQueryStatusCommand.js +3 -9
- package/dist-es/commands/ListHealthEventsCommand.js +3 -9
- package/dist-es/commands/ListInternetEventsCommand.js +3 -9
- package/dist-es/commands/ListMonitorsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/StartQueryCommand.js +3 -9
- package/dist-es/commands/StopQueryCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateMonitorCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +854 -0
- package/dist-types/InternetMonitorClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +92 -0
- package/dist-types/ts3.4/InternetMonitorClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +97 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -818
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -146
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -197
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class InternetMonitorClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,14 +110,14 @@ class InternetMonitorClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class InternetMonitorServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let InternetMonitorServiceException$1 = class InternetMonitorServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, InternetMonitorServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
|
-
class AccessDeniedException extends InternetMonitorServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends InternetMonitorServiceException$1 {
|
|
122
121
|
name = "AccessDeniedException";
|
|
123
122
|
$fault = "client";
|
|
124
123
|
constructor(opts) {
|
|
@@ -129,8 +128,8 @@ class AccessDeniedException extends InternetMonitorServiceException {
|
|
|
129
128
|
});
|
|
130
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
130
|
}
|
|
132
|
-
}
|
|
133
|
-
class BadRequestException extends InternetMonitorServiceException {
|
|
131
|
+
};
|
|
132
|
+
let BadRequestException$1 = class BadRequestException extends InternetMonitorServiceException$1 {
|
|
134
133
|
name = "BadRequestException";
|
|
135
134
|
$fault = "client";
|
|
136
135
|
constructor(opts) {
|
|
@@ -141,8 +140,8 @@ class BadRequestException extends InternetMonitorServiceException {
|
|
|
141
140
|
});
|
|
142
141
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
143
142
|
}
|
|
144
|
-
}
|
|
145
|
-
class ConflictException extends InternetMonitorServiceException {
|
|
143
|
+
};
|
|
144
|
+
let ConflictException$1 = class ConflictException extends InternetMonitorServiceException$1 {
|
|
146
145
|
name = "ConflictException";
|
|
147
146
|
$fault = "client";
|
|
148
147
|
constructor(opts) {
|
|
@@ -153,7 +152,7 @@ class ConflictException extends InternetMonitorServiceException {
|
|
|
153
152
|
});
|
|
154
153
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
155
154
|
}
|
|
156
|
-
}
|
|
155
|
+
};
|
|
157
156
|
const LocalHealthEventsConfigStatus = {
|
|
158
157
|
DISABLED: "DISABLED",
|
|
159
158
|
ENABLED: "ENABLED",
|
|
@@ -168,7 +167,7 @@ const MonitorConfigState = {
|
|
|
168
167
|
INACTIVE: "INACTIVE",
|
|
169
168
|
PENDING: "PENDING",
|
|
170
169
|
};
|
|
171
|
-
class InternalServerException extends InternetMonitorServiceException {
|
|
170
|
+
let InternalServerException$1 = class InternalServerException extends InternetMonitorServiceException$1 {
|
|
172
171
|
name = "InternalServerException";
|
|
173
172
|
$fault = "server";
|
|
174
173
|
$retryable = {};
|
|
@@ -180,8 +179,8 @@ class InternalServerException extends InternetMonitorServiceException {
|
|
|
180
179
|
});
|
|
181
180
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
182
181
|
}
|
|
183
|
-
}
|
|
184
|
-
class LimitExceededException extends InternetMonitorServiceException {
|
|
182
|
+
};
|
|
183
|
+
let LimitExceededException$1 = class LimitExceededException extends InternetMonitorServiceException$1 {
|
|
185
184
|
name = "LimitExceededException";
|
|
186
185
|
$fault = "client";
|
|
187
186
|
constructor(opts) {
|
|
@@ -192,8 +191,8 @@ class LimitExceededException extends InternetMonitorServiceException {
|
|
|
192
191
|
});
|
|
193
192
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
194
193
|
}
|
|
195
|
-
}
|
|
196
|
-
class ThrottlingException extends InternetMonitorServiceException {
|
|
194
|
+
};
|
|
195
|
+
let ThrottlingException$1 = class ThrottlingException extends InternetMonitorServiceException$1 {
|
|
197
196
|
name = "ThrottlingException";
|
|
198
197
|
$fault = "client";
|
|
199
198
|
$retryable = {
|
|
@@ -207,8 +206,8 @@ class ThrottlingException extends InternetMonitorServiceException {
|
|
|
207
206
|
});
|
|
208
207
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
209
208
|
}
|
|
210
|
-
}
|
|
211
|
-
class ValidationException extends InternetMonitorServiceException {
|
|
209
|
+
};
|
|
210
|
+
let ValidationException$1 = class ValidationException extends InternetMonitorServiceException$1 {
|
|
212
211
|
name = "ValidationException";
|
|
213
212
|
$fault = "client";
|
|
214
213
|
constructor(opts) {
|
|
@@ -219,7 +218,7 @@ class ValidationException extends InternetMonitorServiceException {
|
|
|
219
218
|
});
|
|
220
219
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
221
220
|
}
|
|
222
|
-
}
|
|
221
|
+
};
|
|
223
222
|
const Operator = {
|
|
224
223
|
EQUALS: "EQUALS",
|
|
225
224
|
NOT_EQUALS: "NOT_EQUALS",
|
|
@@ -261,7 +260,7 @@ const QueryStatus = {
|
|
|
261
260
|
RUNNING: "RUNNING",
|
|
262
261
|
SUCCEEDED: "SUCCEEDED",
|
|
263
262
|
};
|
|
264
|
-
class InternalServerErrorException extends InternetMonitorServiceException {
|
|
263
|
+
let InternalServerErrorException$1 = class InternalServerErrorException extends InternetMonitorServiceException$1 {
|
|
265
264
|
name = "InternalServerErrorException";
|
|
266
265
|
$fault = "server";
|
|
267
266
|
$retryable = {};
|
|
@@ -273,8 +272,8 @@ class InternalServerErrorException extends InternetMonitorServiceException {
|
|
|
273
272
|
});
|
|
274
273
|
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
275
274
|
}
|
|
276
|
-
}
|
|
277
|
-
class NotFoundException extends InternetMonitorServiceException {
|
|
275
|
+
};
|
|
276
|
+
let NotFoundException$1 = class NotFoundException extends InternetMonitorServiceException$1 {
|
|
278
277
|
name = "NotFoundException";
|
|
279
278
|
$fault = "client";
|
|
280
279
|
constructor(opts) {
|
|
@@ -285,8 +284,8 @@ class NotFoundException extends InternetMonitorServiceException {
|
|
|
285
284
|
});
|
|
286
285
|
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
287
286
|
}
|
|
288
|
-
}
|
|
289
|
-
class TooManyRequestsException extends InternetMonitorServiceException {
|
|
287
|
+
};
|
|
288
|
+
let TooManyRequestsException$1 = class TooManyRequestsException extends InternetMonitorServiceException$1 {
|
|
290
289
|
name = "TooManyRequestsException";
|
|
291
290
|
$fault = "client";
|
|
292
291
|
$retryable = {
|
|
@@ -300,7 +299,7 @@ class TooManyRequestsException extends InternetMonitorServiceException {
|
|
|
300
299
|
});
|
|
301
300
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
302
301
|
}
|
|
303
|
-
}
|
|
302
|
+
};
|
|
304
303
|
const QueryType = {
|
|
305
304
|
MEASUREMENTS: "MEASUREMENTS",
|
|
306
305
|
OVERALL_TRAFFIC_SUGGESTIONS: "OVERALL_TRAFFIC_SUGGESTIONS",
|
|
@@ -309,7 +308,7 @@ const QueryType = {
|
|
|
309
308
|
TOP_LOCATIONS: "TOP_LOCATIONS",
|
|
310
309
|
TOP_LOCATION_DETAILS: "TOP_LOCATION_DETAILS",
|
|
311
310
|
};
|
|
312
|
-
class ResourceNotFoundException extends InternetMonitorServiceException {
|
|
311
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends InternetMonitorServiceException$1 {
|
|
313
312
|
name = "ResourceNotFoundException";
|
|
314
313
|
$fault = "client";
|
|
315
314
|
constructor(opts) {
|
|
@@ -320,834 +319,862 @@ class ResourceNotFoundException extends InternetMonitorServiceException {
|
|
|
320
319
|
});
|
|
321
320
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
322
321
|
}
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
const se_CreateMonitorCommand = async (input, context) => {
|
|
326
|
-
const b = core.requestBuilder(input, context);
|
|
327
|
-
const headers = {
|
|
328
|
-
"content-type": "application/json",
|
|
329
|
-
};
|
|
330
|
-
b.bp("/v20210603/Monitors");
|
|
331
|
-
let body;
|
|
332
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
333
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
334
|
-
HealthEventsConfig: (_) => se_HealthEventsConfig(_),
|
|
335
|
-
InternetMeasurementsLogDelivery: (_) => smithyClient._json(_),
|
|
336
|
-
MaxCityNetworksToMonitor: [],
|
|
337
|
-
MonitorName: [],
|
|
338
|
-
Resources: (_) => smithyClient._json(_),
|
|
339
|
-
Tags: (_) => smithyClient._json(_),
|
|
340
|
-
TrafficPercentageToMonitor: [],
|
|
341
|
-
}));
|
|
342
|
-
b.m("POST").h(headers).b(body);
|
|
343
|
-
return b.build();
|
|
344
|
-
};
|
|
345
|
-
const se_DeleteMonitorCommand = async (input, context) => {
|
|
346
|
-
const b = core.requestBuilder(input, context);
|
|
347
|
-
const headers = {};
|
|
348
|
-
b.bp("/v20210603/Monitors/{MonitorName}");
|
|
349
|
-
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
350
|
-
let body;
|
|
351
|
-
b.m("DELETE").h(headers).b(body);
|
|
352
|
-
return b.build();
|
|
353
|
-
};
|
|
354
|
-
const se_GetHealthEventCommand = async (input, context) => {
|
|
355
|
-
const b = core.requestBuilder(input, context);
|
|
356
|
-
const headers = {};
|
|
357
|
-
b.bp("/v20210603/Monitors/{MonitorName}/HealthEvents/{EventId}");
|
|
358
|
-
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
359
|
-
b.p("EventId", () => input.EventId, "{EventId}", false);
|
|
360
|
-
const query = smithyClient.map({
|
|
361
|
-
[_LAI]: [, input[_LAI]],
|
|
362
|
-
});
|
|
363
|
-
let body;
|
|
364
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
365
|
-
return b.build();
|
|
366
|
-
};
|
|
367
|
-
const se_GetInternetEventCommand = async (input, context) => {
|
|
368
|
-
const b = core.requestBuilder(input, context);
|
|
369
|
-
const headers = {};
|
|
370
|
-
b.bp("/v20210603/InternetEvents/{EventId}");
|
|
371
|
-
b.p("EventId", () => input.EventId, "{EventId}", false);
|
|
372
|
-
let body;
|
|
373
|
-
b.m("GET").h(headers).b(body);
|
|
374
|
-
return b.build();
|
|
375
|
-
};
|
|
376
|
-
const se_GetMonitorCommand = async (input, context) => {
|
|
377
|
-
const b = core.requestBuilder(input, context);
|
|
378
|
-
const headers = {};
|
|
379
|
-
b.bp("/v20210603/Monitors/{MonitorName}");
|
|
380
|
-
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
381
|
-
const query = smithyClient.map({
|
|
382
|
-
[_LAI]: [, input[_LAI]],
|
|
383
|
-
});
|
|
384
|
-
let body;
|
|
385
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
386
|
-
return b.build();
|
|
387
|
-
};
|
|
388
|
-
const se_GetQueryResultsCommand = async (input, context) => {
|
|
389
|
-
const b = core.requestBuilder(input, context);
|
|
390
|
-
const headers = {};
|
|
391
|
-
b.bp("/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Results");
|
|
392
|
-
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
393
|
-
b.p("QueryId", () => input.QueryId, "{QueryId}", false);
|
|
394
|
-
const query = smithyClient.map({
|
|
395
|
-
[_NT]: [, input[_NT]],
|
|
396
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
397
|
-
});
|
|
398
|
-
let body;
|
|
399
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
400
|
-
return b.build();
|
|
401
|
-
};
|
|
402
|
-
const se_GetQueryStatusCommand = async (input, context) => {
|
|
403
|
-
const b = core.requestBuilder(input, context);
|
|
404
|
-
const headers = {};
|
|
405
|
-
b.bp("/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Status");
|
|
406
|
-
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
407
|
-
b.p("QueryId", () => input.QueryId, "{QueryId}", false);
|
|
408
|
-
let body;
|
|
409
|
-
b.m("GET").h(headers).b(body);
|
|
410
|
-
return b.build();
|
|
411
|
-
};
|
|
412
|
-
const se_ListHealthEventsCommand = async (input, context) => {
|
|
413
|
-
const b = core.requestBuilder(input, context);
|
|
414
|
-
const headers = {};
|
|
415
|
-
b.bp("/v20210603/Monitors/{MonitorName}/HealthEvents");
|
|
416
|
-
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
417
|
-
const query = smithyClient.map({
|
|
418
|
-
[_ST]: [() => input.StartTime !== void 0, () => smithyClient.serializeDateTime(input[_ST]).toString()],
|
|
419
|
-
[_ET]: [() => input.EndTime !== void 0, () => smithyClient.serializeDateTime(input[_ET]).toString()],
|
|
420
|
-
[_NT]: [, input[_NT]],
|
|
421
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
422
|
-
[_ES]: [, input[_ES]],
|
|
423
|
-
[_LAI]: [, input[_LAI]],
|
|
424
|
-
});
|
|
425
|
-
let body;
|
|
426
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
427
|
-
return b.build();
|
|
428
|
-
};
|
|
429
|
-
const se_ListInternetEventsCommand = async (input, context) => {
|
|
430
|
-
const b = core.requestBuilder(input, context);
|
|
431
|
-
const headers = {};
|
|
432
|
-
b.bp("/v20210603/InternetEvents");
|
|
433
|
-
const query = smithyClient.map({
|
|
434
|
-
[_NT]: [, input[_NT]],
|
|
435
|
-
[_IEMR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
436
|
-
[_ST]: [() => input.StartTime !== void 0, () => smithyClient.serializeDateTime(input[_ST]).toString()],
|
|
437
|
-
[_ET]: [() => input.EndTime !== void 0, () => smithyClient.serializeDateTime(input[_ET]).toString()],
|
|
438
|
-
[_ES]: [, input[_ES]],
|
|
439
|
-
[_ETv]: [, input[_ETv]],
|
|
440
|
-
});
|
|
441
|
-
let body;
|
|
442
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
443
|
-
return b.build();
|
|
444
|
-
};
|
|
445
|
-
const se_ListMonitorsCommand = async (input, context) => {
|
|
446
|
-
const b = core.requestBuilder(input, context);
|
|
447
|
-
const headers = {};
|
|
448
|
-
b.bp("/v20210603/Monitors");
|
|
449
|
-
const query = smithyClient.map({
|
|
450
|
-
[_NT]: [, input[_NT]],
|
|
451
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
452
|
-
[_MS]: [, input[_MS]],
|
|
453
|
-
[_ILA]: [() => input.IncludeLinkedAccounts !== void 0, () => input[_ILA].toString()],
|
|
454
|
-
});
|
|
455
|
-
let body;
|
|
456
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
457
|
-
return b.build();
|
|
458
|
-
};
|
|
459
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
460
|
-
const b = core.requestBuilder(input, context);
|
|
461
|
-
const headers = {};
|
|
462
|
-
b.bp("/tags/{ResourceArn}");
|
|
463
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
464
|
-
let body;
|
|
465
|
-
b.m("GET").h(headers).b(body);
|
|
466
|
-
return b.build();
|
|
467
|
-
};
|
|
468
|
-
const se_StartQueryCommand = async (input, context) => {
|
|
469
|
-
const b = core.requestBuilder(input, context);
|
|
470
|
-
const headers = {
|
|
471
|
-
"content-type": "application/json",
|
|
472
|
-
};
|
|
473
|
-
b.bp("/v20210603/Monitors/{MonitorName}/Queries");
|
|
474
|
-
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
475
|
-
let body;
|
|
476
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
477
|
-
EndTime: (_) => smithyClient.serializeDateTime(_),
|
|
478
|
-
FilterParameters: (_) => smithyClient._json(_),
|
|
479
|
-
LinkedAccountId: [],
|
|
480
|
-
QueryType: [],
|
|
481
|
-
StartTime: (_) => smithyClient.serializeDateTime(_),
|
|
482
|
-
}));
|
|
483
|
-
b.m("POST").h(headers).b(body);
|
|
484
|
-
return b.build();
|
|
485
|
-
};
|
|
486
|
-
const se_StopQueryCommand = async (input, context) => {
|
|
487
|
-
const b = core.requestBuilder(input, context);
|
|
488
|
-
const headers = {};
|
|
489
|
-
b.bp("/v20210603/Monitors/{MonitorName}/Queries/{QueryId}");
|
|
490
|
-
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
491
|
-
b.p("QueryId", () => input.QueryId, "{QueryId}", false);
|
|
492
|
-
let body;
|
|
493
|
-
b.m("DELETE").h(headers).b(body);
|
|
494
|
-
return b.build();
|
|
495
|
-
};
|
|
496
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
497
|
-
const b = core.requestBuilder(input, context);
|
|
498
|
-
const headers = {
|
|
499
|
-
"content-type": "application/json",
|
|
500
|
-
};
|
|
501
|
-
b.bp("/tags/{ResourceArn}");
|
|
502
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
503
|
-
let body;
|
|
504
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
505
|
-
Tags: (_) => smithyClient._json(_),
|
|
506
|
-
}));
|
|
507
|
-
b.m("POST").h(headers).b(body);
|
|
508
|
-
return b.build();
|
|
509
|
-
};
|
|
510
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
511
|
-
const b = core.requestBuilder(input, context);
|
|
512
|
-
const headers = {};
|
|
513
|
-
b.bp("/tags/{ResourceArn}");
|
|
514
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
515
|
-
const query = smithyClient.map({
|
|
516
|
-
[_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
517
|
-
});
|
|
518
|
-
let body;
|
|
519
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
520
|
-
return b.build();
|
|
521
|
-
};
|
|
522
|
-
const se_UpdateMonitorCommand = async (input, context) => {
|
|
523
|
-
const b = core.requestBuilder(input, context);
|
|
524
|
-
const headers = {
|
|
525
|
-
"content-type": "application/json",
|
|
526
|
-
};
|
|
527
|
-
b.bp("/v20210603/Monitors/{MonitorName}");
|
|
528
|
-
b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
|
|
529
|
-
let body;
|
|
530
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
531
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
532
|
-
HealthEventsConfig: (_) => se_HealthEventsConfig(_),
|
|
533
|
-
InternetMeasurementsLogDelivery: (_) => smithyClient._json(_),
|
|
534
|
-
MaxCityNetworksToMonitor: [],
|
|
535
|
-
ResourcesToAdd: (_) => smithyClient._json(_),
|
|
536
|
-
ResourcesToRemove: (_) => smithyClient._json(_),
|
|
537
|
-
Status: [],
|
|
538
|
-
TrafficPercentageToMonitor: [],
|
|
539
|
-
}));
|
|
540
|
-
b.m("PATCH").h(headers).b(body);
|
|
541
|
-
return b.build();
|
|
542
|
-
};
|
|
543
|
-
const de_CreateMonitorCommand = async (output, context) => {
|
|
544
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
545
|
-
return de_CommandError(output, context);
|
|
546
|
-
}
|
|
547
|
-
const contents = smithyClient.map({
|
|
548
|
-
$metadata: deserializeMetadata(output),
|
|
549
|
-
});
|
|
550
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
551
|
-
const doc = smithyClient.take(data, {
|
|
552
|
-
Arn: smithyClient.expectString,
|
|
553
|
-
Status: smithyClient.expectString,
|
|
554
|
-
});
|
|
555
|
-
Object.assign(contents, doc);
|
|
556
|
-
return contents;
|
|
557
|
-
};
|
|
558
|
-
const de_DeleteMonitorCommand = async (output, context) => {
|
|
559
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
560
|
-
return de_CommandError(output, context);
|
|
561
|
-
}
|
|
562
|
-
const contents = smithyClient.map({
|
|
563
|
-
$metadata: deserializeMetadata(output),
|
|
564
|
-
});
|
|
565
|
-
await smithyClient.collectBody(output.body, context);
|
|
566
|
-
return contents;
|
|
567
|
-
};
|
|
568
|
-
const de_GetHealthEventCommand = async (output, context) => {
|
|
569
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
570
|
-
return de_CommandError(output, context);
|
|
571
|
-
}
|
|
572
|
-
const contents = smithyClient.map({
|
|
573
|
-
$metadata: deserializeMetadata(output),
|
|
574
|
-
});
|
|
575
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
576
|
-
const doc = smithyClient.take(data, {
|
|
577
|
-
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
578
|
-
EndedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
579
|
-
EventArn: smithyClient.expectString,
|
|
580
|
-
EventId: smithyClient.expectString,
|
|
581
|
-
HealthScoreThreshold: smithyClient.limitedParseDouble,
|
|
582
|
-
ImpactType: smithyClient.expectString,
|
|
583
|
-
ImpactedLocations: (_) => de_ImpactedLocationsList(_),
|
|
584
|
-
LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
585
|
-
PercentOfTotalTrafficImpacted: smithyClient.limitedParseDouble,
|
|
586
|
-
StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
587
|
-
Status: smithyClient.expectString,
|
|
588
|
-
});
|
|
589
|
-
Object.assign(contents, doc);
|
|
590
|
-
return contents;
|
|
591
|
-
};
|
|
592
|
-
const de_GetInternetEventCommand = async (output, context) => {
|
|
593
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
594
|
-
return de_CommandError(output, context);
|
|
595
|
-
}
|
|
596
|
-
const contents = smithyClient.map({
|
|
597
|
-
$metadata: deserializeMetadata(output),
|
|
598
|
-
});
|
|
599
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
600
|
-
const doc = smithyClient.take(data, {
|
|
601
|
-
ClientLocation: (_) => de_ClientLocation(_),
|
|
602
|
-
EndedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
603
|
-
EventArn: smithyClient.expectString,
|
|
604
|
-
EventId: smithyClient.expectString,
|
|
605
|
-
EventStatus: smithyClient.expectString,
|
|
606
|
-
EventType: smithyClient.expectString,
|
|
607
|
-
StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
608
|
-
});
|
|
609
|
-
Object.assign(contents, doc);
|
|
610
|
-
return contents;
|
|
611
|
-
};
|
|
612
|
-
const de_GetMonitorCommand = async (output, context) => {
|
|
613
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
614
|
-
return de_CommandError(output, context);
|
|
615
|
-
}
|
|
616
|
-
const contents = smithyClient.map({
|
|
617
|
-
$metadata: deserializeMetadata(output),
|
|
618
|
-
});
|
|
619
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
620
|
-
const doc = smithyClient.take(data, {
|
|
621
|
-
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
622
|
-
HealthEventsConfig: (_) => de_HealthEventsConfig(_),
|
|
623
|
-
InternetMeasurementsLogDelivery: smithyClient._json,
|
|
624
|
-
MaxCityNetworksToMonitor: smithyClient.expectInt32,
|
|
625
|
-
ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
626
|
-
MonitorArn: smithyClient.expectString,
|
|
627
|
-
MonitorName: smithyClient.expectString,
|
|
628
|
-
ProcessingStatus: smithyClient.expectString,
|
|
629
|
-
ProcessingStatusInfo: smithyClient.expectString,
|
|
630
|
-
Resources: smithyClient._json,
|
|
631
|
-
Status: smithyClient.expectString,
|
|
632
|
-
Tags: smithyClient._json,
|
|
633
|
-
TrafficPercentageToMonitor: smithyClient.expectInt32,
|
|
634
|
-
});
|
|
635
|
-
Object.assign(contents, doc);
|
|
636
|
-
return contents;
|
|
637
|
-
};
|
|
638
|
-
const de_GetQueryResultsCommand = async (output, context) => {
|
|
639
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
640
|
-
return de_CommandError(output, context);
|
|
641
|
-
}
|
|
642
|
-
const contents = smithyClient.map({
|
|
643
|
-
$metadata: deserializeMetadata(output),
|
|
644
|
-
});
|
|
645
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
646
|
-
const doc = smithyClient.take(data, {
|
|
647
|
-
Data: smithyClient._json,
|
|
648
|
-
Fields: smithyClient._json,
|
|
649
|
-
NextToken: smithyClient.expectString,
|
|
650
|
-
});
|
|
651
|
-
Object.assign(contents, doc);
|
|
652
|
-
return contents;
|
|
653
|
-
};
|
|
654
|
-
const de_GetQueryStatusCommand = async (output, context) => {
|
|
655
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
656
|
-
return de_CommandError(output, context);
|
|
657
|
-
}
|
|
658
|
-
const contents = smithyClient.map({
|
|
659
|
-
$metadata: deserializeMetadata(output),
|
|
660
|
-
});
|
|
661
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
662
|
-
const doc = smithyClient.take(data, {
|
|
663
|
-
Status: smithyClient.expectString,
|
|
664
|
-
});
|
|
665
|
-
Object.assign(contents, doc);
|
|
666
|
-
return contents;
|
|
667
|
-
};
|
|
668
|
-
const de_ListHealthEventsCommand = async (output, context) => {
|
|
669
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
670
|
-
return de_CommandError(output, context);
|
|
671
|
-
}
|
|
672
|
-
const contents = smithyClient.map({
|
|
673
|
-
$metadata: deserializeMetadata(output),
|
|
674
|
-
});
|
|
675
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
676
|
-
const doc = smithyClient.take(data, {
|
|
677
|
-
HealthEvents: (_) => de_HealthEventList(_),
|
|
678
|
-
NextToken: smithyClient.expectString,
|
|
679
|
-
});
|
|
680
|
-
Object.assign(contents, doc);
|
|
681
|
-
return contents;
|
|
682
|
-
};
|
|
683
|
-
const de_ListInternetEventsCommand = async (output, context) => {
|
|
684
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
685
|
-
return de_CommandError(output, context);
|
|
686
|
-
}
|
|
687
|
-
const contents = smithyClient.map({
|
|
688
|
-
$metadata: deserializeMetadata(output),
|
|
689
|
-
});
|
|
690
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
691
|
-
const doc = smithyClient.take(data, {
|
|
692
|
-
InternetEvents: (_) => de_InternetEventsList(_),
|
|
693
|
-
NextToken: smithyClient.expectString,
|
|
694
|
-
});
|
|
695
|
-
Object.assign(contents, doc);
|
|
696
|
-
return contents;
|
|
697
|
-
};
|
|
698
|
-
const de_ListMonitorsCommand = async (output, context) => {
|
|
699
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
700
|
-
return de_CommandError(output, context);
|
|
701
|
-
}
|
|
702
|
-
const contents = smithyClient.map({
|
|
703
|
-
$metadata: deserializeMetadata(output),
|
|
704
|
-
});
|
|
705
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
706
|
-
const doc = smithyClient.take(data, {
|
|
707
|
-
Monitors: smithyClient._json,
|
|
708
|
-
NextToken: smithyClient.expectString,
|
|
709
|
-
});
|
|
710
|
-
Object.assign(contents, doc);
|
|
711
|
-
return contents;
|
|
712
|
-
};
|
|
713
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
714
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
715
|
-
return de_CommandError(output, context);
|
|
716
|
-
}
|
|
717
|
-
const contents = smithyClient.map({
|
|
718
|
-
$metadata: deserializeMetadata(output),
|
|
719
|
-
});
|
|
720
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
721
|
-
const doc = smithyClient.take(data, {
|
|
722
|
-
Tags: smithyClient._json,
|
|
723
|
-
});
|
|
724
|
-
Object.assign(contents, doc);
|
|
725
|
-
return contents;
|
|
726
|
-
};
|
|
727
|
-
const de_StartQueryCommand = async (output, context) => {
|
|
728
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
729
|
-
return de_CommandError(output, context);
|
|
730
|
-
}
|
|
731
|
-
const contents = smithyClient.map({
|
|
732
|
-
$metadata: deserializeMetadata(output),
|
|
733
|
-
});
|
|
734
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
735
|
-
const doc = smithyClient.take(data, {
|
|
736
|
-
QueryId: smithyClient.expectString,
|
|
737
|
-
});
|
|
738
|
-
Object.assign(contents, doc);
|
|
739
|
-
return contents;
|
|
740
|
-
};
|
|
741
|
-
const de_StopQueryCommand = async (output, context) => {
|
|
742
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
743
|
-
return de_CommandError(output, context);
|
|
744
|
-
}
|
|
745
|
-
const contents = smithyClient.map({
|
|
746
|
-
$metadata: deserializeMetadata(output),
|
|
747
|
-
});
|
|
748
|
-
await smithyClient.collectBody(output.body, context);
|
|
749
|
-
return contents;
|
|
750
|
-
};
|
|
751
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
752
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
753
|
-
return de_CommandError(output, context);
|
|
754
|
-
}
|
|
755
|
-
const contents = smithyClient.map({
|
|
756
|
-
$metadata: deserializeMetadata(output),
|
|
757
|
-
});
|
|
758
|
-
await smithyClient.collectBody(output.body, context);
|
|
759
|
-
return contents;
|
|
760
|
-
};
|
|
761
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
762
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
763
|
-
return de_CommandError(output, context);
|
|
764
|
-
}
|
|
765
|
-
const contents = smithyClient.map({
|
|
766
|
-
$metadata: deserializeMetadata(output),
|
|
767
|
-
});
|
|
768
|
-
await smithyClient.collectBody(output.body, context);
|
|
769
|
-
return contents;
|
|
770
|
-
};
|
|
771
|
-
const de_UpdateMonitorCommand = async (output, context) => {
|
|
772
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
773
|
-
return de_CommandError(output, context);
|
|
774
|
-
}
|
|
775
|
-
const contents = smithyClient.map({
|
|
776
|
-
$metadata: deserializeMetadata(output),
|
|
777
|
-
});
|
|
778
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
779
|
-
const doc = smithyClient.take(data, {
|
|
780
|
-
MonitorArn: smithyClient.expectString,
|
|
781
|
-
Status: smithyClient.expectString,
|
|
782
|
-
});
|
|
783
|
-
Object.assign(contents, doc);
|
|
784
|
-
return contents;
|
|
785
|
-
};
|
|
786
|
-
const de_CommandError = async (output, context) => {
|
|
787
|
-
const parsedOutput = {
|
|
788
|
-
...output,
|
|
789
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
790
|
-
};
|
|
791
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
792
|
-
switch (errorCode) {
|
|
793
|
-
case "AccessDeniedException":
|
|
794
|
-
case "com.amazonaws.internetmonitor#AccessDeniedException":
|
|
795
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
796
|
-
case "ConflictException":
|
|
797
|
-
case "com.amazonaws.internetmonitor#ConflictException":
|
|
798
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
799
|
-
case "InternalServerException":
|
|
800
|
-
case "com.amazonaws.internetmonitor#InternalServerException":
|
|
801
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
802
|
-
case "LimitExceededException":
|
|
803
|
-
case "com.amazonaws.internetmonitor#LimitExceededException":
|
|
804
|
-
throw await de_LimitExceededExceptionRes(parsedOutput);
|
|
805
|
-
case "ThrottlingException":
|
|
806
|
-
case "com.amazonaws.internetmonitor#ThrottlingException":
|
|
807
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
808
|
-
case "ValidationException":
|
|
809
|
-
case "com.amazonaws.internetmonitor#ValidationException":
|
|
810
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
811
|
-
case "BadRequestException":
|
|
812
|
-
case "com.amazonaws.internetmonitor#BadRequestException":
|
|
813
|
-
throw await de_BadRequestExceptionRes(parsedOutput);
|
|
814
|
-
case "InternalServerErrorException":
|
|
815
|
-
case "com.amazonaws.internetmonitor#InternalServerErrorException":
|
|
816
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput);
|
|
817
|
-
case "NotFoundException":
|
|
818
|
-
case "com.amazonaws.internetmonitor#NotFoundException":
|
|
819
|
-
throw await de_NotFoundExceptionRes(parsedOutput);
|
|
820
|
-
case "TooManyRequestsException":
|
|
821
|
-
case "com.amazonaws.internetmonitor#TooManyRequestsException":
|
|
822
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput);
|
|
823
|
-
case "ResourceNotFoundException":
|
|
824
|
-
case "com.amazonaws.internetmonitor#ResourceNotFoundException":
|
|
825
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
826
|
-
default:
|
|
827
|
-
const parsedBody = parsedOutput.body;
|
|
828
|
-
return throwDefaultError({
|
|
829
|
-
output,
|
|
830
|
-
parsedBody,
|
|
831
|
-
errorCode,
|
|
832
|
-
});
|
|
833
|
-
}
|
|
834
|
-
};
|
|
835
|
-
const throwDefaultError = smithyClient.withBaseException(InternetMonitorServiceException);
|
|
836
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
837
|
-
const contents = smithyClient.map({});
|
|
838
|
-
const data = parsedOutput.body;
|
|
839
|
-
const doc = smithyClient.take(data, {
|
|
840
|
-
message: smithyClient.expectString,
|
|
841
|
-
});
|
|
842
|
-
Object.assign(contents, doc);
|
|
843
|
-
const exception = new AccessDeniedException({
|
|
844
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
845
|
-
...contents,
|
|
846
|
-
});
|
|
847
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
848
|
-
};
|
|
849
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
850
|
-
const contents = smithyClient.map({});
|
|
851
|
-
const data = parsedOutput.body;
|
|
852
|
-
const doc = smithyClient.take(data, {
|
|
853
|
-
message: smithyClient.expectString,
|
|
854
|
-
});
|
|
855
|
-
Object.assign(contents, doc);
|
|
856
|
-
const exception = new BadRequestException({
|
|
857
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
858
|
-
...contents,
|
|
859
|
-
});
|
|
860
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
861
|
-
};
|
|
862
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
863
|
-
const contents = smithyClient.map({});
|
|
864
|
-
const data = parsedOutput.body;
|
|
865
|
-
const doc = smithyClient.take(data, {
|
|
866
|
-
message: smithyClient.expectString,
|
|
867
|
-
});
|
|
868
|
-
Object.assign(contents, doc);
|
|
869
|
-
const exception = new ConflictException({
|
|
870
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
871
|
-
...contents,
|
|
872
|
-
});
|
|
873
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
874
|
-
};
|
|
875
|
-
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
876
|
-
const contents = smithyClient.map({});
|
|
877
|
-
const data = parsedOutput.body;
|
|
878
|
-
const doc = smithyClient.take(data, {
|
|
879
|
-
message: smithyClient.expectString,
|
|
880
|
-
});
|
|
881
|
-
Object.assign(contents, doc);
|
|
882
|
-
const exception = new InternalServerErrorException({
|
|
883
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
884
|
-
...contents,
|
|
885
|
-
});
|
|
886
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
887
|
-
};
|
|
888
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
889
|
-
const contents = smithyClient.map({});
|
|
890
|
-
const data = parsedOutput.body;
|
|
891
|
-
const doc = smithyClient.take(data, {
|
|
892
|
-
message: smithyClient.expectString,
|
|
893
|
-
});
|
|
894
|
-
Object.assign(contents, doc);
|
|
895
|
-
const exception = new InternalServerException({
|
|
896
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
897
|
-
...contents,
|
|
898
|
-
});
|
|
899
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
900
|
-
};
|
|
901
|
-
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
902
|
-
const contents = smithyClient.map({});
|
|
903
|
-
const data = parsedOutput.body;
|
|
904
|
-
const doc = smithyClient.take(data, {
|
|
905
|
-
message: smithyClient.expectString,
|
|
906
|
-
});
|
|
907
|
-
Object.assign(contents, doc);
|
|
908
|
-
const exception = new LimitExceededException({
|
|
909
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
910
|
-
...contents,
|
|
911
|
-
});
|
|
912
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
913
|
-
};
|
|
914
|
-
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
915
|
-
const contents = smithyClient.map({});
|
|
916
|
-
const data = parsedOutput.body;
|
|
917
|
-
const doc = smithyClient.take(data, {
|
|
918
|
-
message: smithyClient.expectString,
|
|
919
|
-
});
|
|
920
|
-
Object.assign(contents, doc);
|
|
921
|
-
const exception = new NotFoundException({
|
|
922
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
923
|
-
...contents,
|
|
924
|
-
});
|
|
925
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
926
322
|
};
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
const
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
const
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
const
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
const
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
const
|
|
988
|
-
return smithyClient.take(input, {
|
|
989
|
-
HealthScoreThreshold: smithyClient.serializeFloat,
|
|
990
|
-
MinTrafficImpact: smithyClient.serializeFloat,
|
|
991
|
-
Status: [],
|
|
992
|
-
});
|
|
993
|
-
};
|
|
994
|
-
const de_AvailabilityMeasurement = (output, context) => {
|
|
995
|
-
return smithyClient.take(output, {
|
|
996
|
-
ExperienceScore: smithyClient.limitedParseDouble,
|
|
997
|
-
PercentOfClientLocationImpacted: smithyClient.limitedParseDouble,
|
|
998
|
-
PercentOfTotalTrafficImpacted: smithyClient.limitedParseDouble,
|
|
999
|
-
});
|
|
1000
|
-
};
|
|
1001
|
-
const de_ClientLocation = (output, context) => {
|
|
1002
|
-
return smithyClient.take(output, {
|
|
1003
|
-
ASName: smithyClient.expectString,
|
|
1004
|
-
ASNumber: smithyClient.expectLong,
|
|
1005
|
-
City: smithyClient.expectString,
|
|
1006
|
-
Country: smithyClient.expectString,
|
|
1007
|
-
Latitude: smithyClient.limitedParseDouble,
|
|
1008
|
-
Longitude: smithyClient.limitedParseDouble,
|
|
1009
|
-
Metro: smithyClient.expectString,
|
|
1010
|
-
Subdivision: smithyClient.expectString,
|
|
1011
|
-
});
|
|
1012
|
-
};
|
|
1013
|
-
const de_HealthEvent = (output, context) => {
|
|
1014
|
-
return smithyClient.take(output, {
|
|
1015
|
-
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1016
|
-
EndedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1017
|
-
EventArn: smithyClient.expectString,
|
|
1018
|
-
EventId: smithyClient.expectString,
|
|
1019
|
-
HealthScoreThreshold: smithyClient.limitedParseDouble,
|
|
1020
|
-
ImpactType: smithyClient.expectString,
|
|
1021
|
-
ImpactedLocations: (_) => de_ImpactedLocationsList(_),
|
|
1022
|
-
LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1023
|
-
PercentOfTotalTrafficImpacted: smithyClient.limitedParseDouble,
|
|
1024
|
-
StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1025
|
-
Status: smithyClient.expectString,
|
|
1026
|
-
});
|
|
1027
|
-
};
|
|
1028
|
-
const de_HealthEventList = (output, context) => {
|
|
1029
|
-
const retVal = (output || [])
|
|
1030
|
-
.filter((e) => e != null)
|
|
1031
|
-
.map((entry) => {
|
|
1032
|
-
return de_HealthEvent(entry);
|
|
1033
|
-
});
|
|
1034
|
-
return retVal;
|
|
1035
|
-
};
|
|
1036
|
-
const de_HealthEventsConfig = (output, context) => {
|
|
1037
|
-
return smithyClient.take(output, {
|
|
1038
|
-
AvailabilityLocalHealthEventsConfig: (_) => de_LocalHealthEventsConfig(_),
|
|
1039
|
-
AvailabilityScoreThreshold: smithyClient.limitedParseDouble,
|
|
1040
|
-
PerformanceLocalHealthEventsConfig: (_) => de_LocalHealthEventsConfig(_),
|
|
1041
|
-
PerformanceScoreThreshold: smithyClient.limitedParseDouble,
|
|
1042
|
-
});
|
|
1043
|
-
};
|
|
1044
|
-
const de_ImpactedLocation = (output, context) => {
|
|
1045
|
-
return smithyClient.take(output, {
|
|
1046
|
-
ASName: smithyClient.expectString,
|
|
1047
|
-
ASNumber: smithyClient.expectLong,
|
|
1048
|
-
CausedBy: smithyClient._json,
|
|
1049
|
-
City: smithyClient.expectString,
|
|
1050
|
-
Country: smithyClient.expectString,
|
|
1051
|
-
CountryCode: smithyClient.expectString,
|
|
1052
|
-
InternetHealth: (_) => de_InternetHealth(_),
|
|
1053
|
-
Ipv4Prefixes: smithyClient._json,
|
|
1054
|
-
Latitude: smithyClient.limitedParseDouble,
|
|
1055
|
-
Longitude: smithyClient.limitedParseDouble,
|
|
1056
|
-
Metro: smithyClient.expectString,
|
|
1057
|
-
ServiceLocation: smithyClient.expectString,
|
|
1058
|
-
Status: smithyClient.expectString,
|
|
1059
|
-
Subdivision: smithyClient.expectString,
|
|
1060
|
-
SubdivisionCode: smithyClient.expectString,
|
|
1061
|
-
});
|
|
1062
|
-
};
|
|
1063
|
-
const de_ImpactedLocationsList = (output, context) => {
|
|
1064
|
-
const retVal = (output || [])
|
|
1065
|
-
.filter((e) => e != null)
|
|
1066
|
-
.map((entry) => {
|
|
1067
|
-
return de_ImpactedLocation(entry);
|
|
1068
|
-
});
|
|
1069
|
-
return retVal;
|
|
1070
|
-
};
|
|
1071
|
-
const de_InternetEventsList = (output, context) => {
|
|
1072
|
-
const retVal = (output || [])
|
|
1073
|
-
.filter((e) => e != null)
|
|
1074
|
-
.map((entry) => {
|
|
1075
|
-
return de_InternetEventSummary(entry);
|
|
1076
|
-
});
|
|
1077
|
-
return retVal;
|
|
1078
|
-
};
|
|
1079
|
-
const de_InternetEventSummary = (output, context) => {
|
|
1080
|
-
return smithyClient.take(output, {
|
|
1081
|
-
ClientLocation: (_) => de_ClientLocation(_),
|
|
1082
|
-
EndedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1083
|
-
EventArn: smithyClient.expectString,
|
|
1084
|
-
EventId: smithyClient.expectString,
|
|
1085
|
-
EventStatus: smithyClient.expectString,
|
|
1086
|
-
EventType: smithyClient.expectString,
|
|
1087
|
-
StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1088
|
-
});
|
|
1089
|
-
};
|
|
1090
|
-
const de_InternetHealth = (output, context) => {
|
|
1091
|
-
return smithyClient.take(output, {
|
|
1092
|
-
Availability: (_) => de_AvailabilityMeasurement(_),
|
|
1093
|
-
Performance: (_) => de_PerformanceMeasurement(_),
|
|
1094
|
-
});
|
|
1095
|
-
};
|
|
1096
|
-
const de_LocalHealthEventsConfig = (output, context) => {
|
|
1097
|
-
return smithyClient.take(output, {
|
|
1098
|
-
HealthScoreThreshold: smithyClient.limitedParseDouble,
|
|
1099
|
-
MinTrafficImpact: smithyClient.limitedParseDouble,
|
|
1100
|
-
Status: smithyClient.expectString,
|
|
1101
|
-
});
|
|
1102
|
-
};
|
|
1103
|
-
const de_PerformanceMeasurement = (output, context) => {
|
|
1104
|
-
return smithyClient.take(output, {
|
|
1105
|
-
ExperienceScore: smithyClient.limitedParseDouble,
|
|
1106
|
-
PercentOfClientLocationImpacted: smithyClient.limitedParseDouble,
|
|
1107
|
-
PercentOfTotalTrafficImpacted: smithyClient.limitedParseDouble,
|
|
1108
|
-
RoundTripTime: (_) => de_RoundTripTime(_),
|
|
1109
|
-
});
|
|
1110
|
-
};
|
|
1111
|
-
const de_RoundTripTime = (output, context) => {
|
|
1112
|
-
return smithyClient.take(output, {
|
|
1113
|
-
P50: smithyClient.limitedParseDouble,
|
|
1114
|
-
P90: smithyClient.limitedParseDouble,
|
|
1115
|
-
P95: smithyClient.limitedParseDouble,
|
|
1116
|
-
});
|
|
1117
|
-
};
|
|
1118
|
-
const deserializeMetadata = (output) => ({
|
|
1119
|
-
httpStatusCode: output.statusCode,
|
|
1120
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1121
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1122
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1123
|
-
});
|
|
1124
|
-
const _ES = "EventStatus";
|
|
1125
|
-
const _ET = "EndTime";
|
|
1126
|
-
const _ETv = "EventType";
|
|
323
|
+
|
|
324
|
+
const _A = "Arn";
|
|
325
|
+
const _ADE = "AccessDeniedException";
|
|
326
|
+
const _ALHEC = "AvailabilityLocalHealthEventsConfig";
|
|
327
|
+
const _AM = "AvailabilityMeasurement";
|
|
328
|
+
const _AP = "AsPath";
|
|
329
|
+
const _ASN = "ASName";
|
|
330
|
+
const _ASNu = "ASNumber";
|
|
331
|
+
const _AST = "AvailabilityScoreThreshold";
|
|
332
|
+
const _Av = "Availability";
|
|
333
|
+
const _BN = "BucketName";
|
|
334
|
+
const _BP = "BucketPrefix";
|
|
335
|
+
const _BRE = "BadRequestException";
|
|
336
|
+
const _C = "Country";
|
|
337
|
+
const _CA = "CreatedAt";
|
|
338
|
+
const _CB = "CausedBy";
|
|
339
|
+
const _CC = "CountryCode";
|
|
340
|
+
const _CE = "ConflictException";
|
|
341
|
+
const _CL = "ClientLocation";
|
|
342
|
+
const _CM = "CreateMonitor";
|
|
343
|
+
const _CMI = "CreateMonitorInput";
|
|
344
|
+
const _CMO = "CreateMonitorOutput";
|
|
345
|
+
const _CT = "ClientToken";
|
|
346
|
+
const _Ci = "City";
|
|
347
|
+
const _D = "Data";
|
|
348
|
+
const _DM = "DeleteMonitor";
|
|
349
|
+
const _DMI = "DeleteMonitorInput";
|
|
350
|
+
const _DMO = "DeleteMonitorOutput";
|
|
351
|
+
const _EA = "EventArn";
|
|
352
|
+
const _EAn = "EndedAt";
|
|
353
|
+
const _EI = "EventId";
|
|
354
|
+
const _ES = "ExperienceScore";
|
|
355
|
+
const _ESv = "EventStatus";
|
|
356
|
+
const _ET = "EventType";
|
|
357
|
+
const _ETn = "EndTime";
|
|
358
|
+
const _F = "Field";
|
|
359
|
+
const _FP = "FilterParameter";
|
|
360
|
+
const _FPi = "FilterParameters";
|
|
361
|
+
const _Fi = "Fields";
|
|
362
|
+
const _GHE = "GetHealthEvent";
|
|
363
|
+
const _GHEI = "GetHealthEventInput";
|
|
364
|
+
const _GHEO = "GetHealthEventOutput";
|
|
365
|
+
const _GIE = "GetInternetEvent";
|
|
366
|
+
const _GIEI = "GetInternetEventInput";
|
|
367
|
+
const _GIEO = "GetInternetEventOutput";
|
|
368
|
+
const _GM = "GetMonitor";
|
|
369
|
+
const _GMI = "GetMonitorInput";
|
|
370
|
+
const _GMO = "GetMonitorOutput";
|
|
371
|
+
const _GQR = "GetQueryResults";
|
|
372
|
+
const _GQRI = "GetQueryResultsInput";
|
|
373
|
+
const _GQRO = "GetQueryResultsOutput";
|
|
374
|
+
const _GQS = "GetQueryStatus";
|
|
375
|
+
const _GQSI = "GetQueryStatusInput";
|
|
376
|
+
const _GQSO = "GetQueryStatusOutput";
|
|
377
|
+
const _HE = "HealthEvent";
|
|
378
|
+
const _HEC = "HealthEventsConfig";
|
|
379
|
+
const _HEL = "HealthEventList";
|
|
380
|
+
const _HEe = "HealthEvents";
|
|
381
|
+
const _HST = "HealthScoreThreshold";
|
|
382
|
+
const _IE = "InternetEvents";
|
|
383
|
+
const _IEL = "InternetEventsList";
|
|
1127
384
|
const _IEMR = "InternetEventMaxResults";
|
|
385
|
+
const _IES = "InternetEventSummary";
|
|
386
|
+
const _IH = "InternetHealth";
|
|
387
|
+
const _IL = "ImpactedLocations";
|
|
1128
388
|
const _ILA = "IncludeLinkedAccounts";
|
|
389
|
+
const _ILL = "ImpactedLocationsList";
|
|
390
|
+
const _ILm = "ImpactedLocation";
|
|
391
|
+
const _IMLD = "InternetMeasurementsLogDelivery";
|
|
392
|
+
const _IP = "Ipv4Prefixes";
|
|
393
|
+
const _ISE = "InternalServerException";
|
|
394
|
+
const _ISEE = "InternalServerErrorException";
|
|
395
|
+
const _IT = "ImpactType";
|
|
396
|
+
const _L = "Latitude";
|
|
1129
397
|
const _LAI = "LinkedAccountId";
|
|
398
|
+
const _LDS = "LogDeliveryStatus";
|
|
399
|
+
const _LEE = "LimitExceededException";
|
|
400
|
+
const _LHE = "ListHealthEvents";
|
|
401
|
+
const _LHEC = "LocalHealthEventsConfig";
|
|
402
|
+
const _LHEI = "ListHealthEventsInput";
|
|
403
|
+
const _LHEO = "ListHealthEventsOutput";
|
|
404
|
+
const _LIE = "ListInternetEvents";
|
|
405
|
+
const _LIEI = "ListInternetEventsInput";
|
|
406
|
+
const _LIEO = "ListInternetEventsOutput";
|
|
407
|
+
const _LM = "ListMonitors";
|
|
408
|
+
const _LMI = "ListMonitorsInput";
|
|
409
|
+
const _LMO = "ListMonitorsOutput";
|
|
410
|
+
const _LTFR = "ListTagsForResource";
|
|
411
|
+
const _LTFRI = "ListTagsForResourceInput";
|
|
412
|
+
const _LTFRO = "ListTagsForResourceOutput";
|
|
413
|
+
const _LUA = "LastUpdatedAt";
|
|
414
|
+
const _Lo = "Longitude";
|
|
415
|
+
const _M = "Metro";
|
|
416
|
+
const _MA = "MonitorArn";
|
|
417
|
+
const _MAo = "ModifiedAt";
|
|
418
|
+
const _MCNTM = "MaxCityNetworksToMonitor";
|
|
419
|
+
const _ML = "MonitorList";
|
|
420
|
+
const _MN = "MonitorName";
|
|
1130
421
|
const _MR = "MaxResults";
|
|
1131
422
|
const _MS = "MonitorStatus";
|
|
423
|
+
const _MTI = "MinTrafficImpact";
|
|
424
|
+
const _Mo = "Monitors";
|
|
425
|
+
const _Mon = "Monitor";
|
|
426
|
+
const _N = "Network";
|
|
427
|
+
const _NET = "NetworkEventType";
|
|
428
|
+
const _NFE = "NotFoundException";
|
|
429
|
+
const _NI = "NetworkImpairment";
|
|
430
|
+
const _NL = "NetworkList";
|
|
1132
431
|
const _NT = "NextToken";
|
|
432
|
+
const _Na = "Name";
|
|
433
|
+
const _Ne = "Networks";
|
|
434
|
+
const _O = "Operator";
|
|
435
|
+
const _P = "Performance";
|
|
436
|
+
const _PLHEC = "PerformanceLocalHealthEventsConfig";
|
|
437
|
+
const _PM = "PerformanceMeasurement";
|
|
438
|
+
const _POCLI = "PercentOfClientLocationImpacted";
|
|
439
|
+
const _POTTI = "PercentOfTotalTrafficImpacted";
|
|
440
|
+
const _PS = "ProcessingStatus";
|
|
441
|
+
const _PSI = "ProcessingStatusInfo";
|
|
442
|
+
const _PST = "PerformanceScoreThreshold";
|
|
443
|
+
const _P_ = "P50";
|
|
444
|
+
const _P__ = "P90";
|
|
445
|
+
const _P___ = "P95";
|
|
446
|
+
const _QD = "QueryData";
|
|
447
|
+
const _QF = "QueryField";
|
|
448
|
+
const _QFu = "QueryFields";
|
|
449
|
+
const _QI = "QueryId";
|
|
450
|
+
const _QT = "QueryType";
|
|
451
|
+
const _R = "Resources";
|
|
452
|
+
const _RA = "ResourceArn";
|
|
453
|
+
const _RNFE = "ResourceNotFoundException";
|
|
454
|
+
const _RTA = "ResourcesToAdd";
|
|
455
|
+
const _RTR = "ResourcesToRemove";
|
|
456
|
+
const _RTT = "RoundTripTime";
|
|
457
|
+
const _S = "Subdivision";
|
|
458
|
+
const _SA = "StartedAt";
|
|
459
|
+
const _SC = "SubdivisionCode";
|
|
460
|
+
const _SCo = "S3Config";
|
|
461
|
+
const _SL = "ServiceLocation";
|
|
462
|
+
const _SQ = "StartQuery";
|
|
463
|
+
const _SQI = "StartQueryInput";
|
|
464
|
+
const _SQIt = "StopQueryInput";
|
|
465
|
+
const _SQO = "StartQueryOutput";
|
|
466
|
+
const _SQOt = "StopQueryOutput";
|
|
467
|
+
const _SQt = "StopQuery";
|
|
1133
468
|
const _ST = "StartTime";
|
|
469
|
+
const _St = "Status";
|
|
470
|
+
const _T = "Tags";
|
|
471
|
+
const _TE = "ThrottlingException";
|
|
1134
472
|
const _TK = "TagKeys";
|
|
473
|
+
const _TMRE = "TooManyRequestsException";
|
|
474
|
+
const _TPTM = "TrafficPercentageToMonitor";
|
|
475
|
+
const _TR = "TagResource";
|
|
476
|
+
const _TRI = "TagResourceInput";
|
|
477
|
+
const _TRO = "TagResourceOutput";
|
|
478
|
+
const _Ty = "Type";
|
|
479
|
+
const _UM = "UpdateMonitor";
|
|
480
|
+
const _UMI = "UpdateMonitorInput";
|
|
481
|
+
const _UMO = "UpdateMonitorOutput";
|
|
482
|
+
const _UR = "UntagResource";
|
|
483
|
+
const _URI = "UntagResourceInput";
|
|
484
|
+
const _URO = "UntagResourceOutput";
|
|
485
|
+
const _V = "Values";
|
|
486
|
+
const _VE = "ValidationException";
|
|
487
|
+
const _c = "client";
|
|
488
|
+
const _e = "error";
|
|
489
|
+
const _h = "http";
|
|
490
|
+
const _hE = "httpError";
|
|
491
|
+
const _hQ = "httpQuery";
|
|
492
|
+
const _m = "message";
|
|
493
|
+
const _s = "server";
|
|
494
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.internetmonitor";
|
|
1135
495
|
const _tK = "tagKeys";
|
|
496
|
+
const n0 = "com.amazonaws.internetmonitor";
|
|
497
|
+
var AccessDeniedException = [
|
|
498
|
+
-3,
|
|
499
|
+
n0,
|
|
500
|
+
_ADE,
|
|
501
|
+
{
|
|
502
|
+
[_e]: _c,
|
|
503
|
+
[_hE]: 403,
|
|
504
|
+
},
|
|
505
|
+
[_m],
|
|
506
|
+
[0],
|
|
507
|
+
];
|
|
508
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
509
|
+
var AvailabilityMeasurement = [3, n0, _AM, 0, [_ES, _POTTI, _POCLI], [1, 1, 1]];
|
|
510
|
+
var BadRequestException = [
|
|
511
|
+
-3,
|
|
512
|
+
n0,
|
|
513
|
+
_BRE,
|
|
514
|
+
{
|
|
515
|
+
[_e]: _c,
|
|
516
|
+
[_hE]: 400,
|
|
517
|
+
},
|
|
518
|
+
[_m],
|
|
519
|
+
[0],
|
|
520
|
+
];
|
|
521
|
+
schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
|
|
522
|
+
var ClientLocation = [
|
|
523
|
+
3,
|
|
524
|
+
n0,
|
|
525
|
+
_CL,
|
|
526
|
+
0,
|
|
527
|
+
[_ASN, _ASNu, _C, _S, _M, _Ci, _L, _Lo],
|
|
528
|
+
[0, 1, 0, 0, 0, 0, 1, 1],
|
|
529
|
+
];
|
|
530
|
+
var ConflictException = [
|
|
531
|
+
-3,
|
|
532
|
+
n0,
|
|
533
|
+
_CE,
|
|
534
|
+
{
|
|
535
|
+
[_e]: _c,
|
|
536
|
+
[_hE]: 409,
|
|
537
|
+
},
|
|
538
|
+
[_m],
|
|
539
|
+
[0],
|
|
540
|
+
];
|
|
541
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
542
|
+
var CreateMonitorInput = [
|
|
543
|
+
3,
|
|
544
|
+
n0,
|
|
545
|
+
_CMI,
|
|
546
|
+
0,
|
|
547
|
+
[_MN, _R, _CT, _T, _MCNTM, _IMLD, _TPTM, _HEC],
|
|
548
|
+
[0, 64 | 0, [0, 4], 128 | 0, 1, () => InternetMeasurementsLogDelivery, 1, () => HealthEventsConfig],
|
|
549
|
+
];
|
|
550
|
+
var CreateMonitorOutput = [3, n0, _CMO, 0, [_A, _St], [0, 0]];
|
|
551
|
+
var DeleteMonitorInput = [3, n0, _DMI, 0, [_MN], [[0, 1]]];
|
|
552
|
+
var DeleteMonitorOutput = [3, n0, _DMO, 0, [], []];
|
|
553
|
+
var FilterParameter = [3, n0, _FP, 0, [_F, _O, _V], [0, 0, 64 | 0]];
|
|
554
|
+
var GetHealthEventInput = [
|
|
555
|
+
3,
|
|
556
|
+
n0,
|
|
557
|
+
_GHEI,
|
|
558
|
+
0,
|
|
559
|
+
[_MN, _EI, _LAI],
|
|
560
|
+
[
|
|
561
|
+
[0, 1],
|
|
562
|
+
[0, 1],
|
|
563
|
+
[
|
|
564
|
+
0,
|
|
565
|
+
{
|
|
566
|
+
[_hQ]: _LAI,
|
|
567
|
+
},
|
|
568
|
+
],
|
|
569
|
+
],
|
|
570
|
+
];
|
|
571
|
+
var GetHealthEventOutput = [
|
|
572
|
+
3,
|
|
573
|
+
n0,
|
|
574
|
+
_GHEO,
|
|
575
|
+
0,
|
|
576
|
+
[_EA, _EI, _SA, _EAn, _CA, _LUA, _IL, _St, _POTTI, _IT, _HST],
|
|
577
|
+
[0, 0, 5, 5, 5, 5, () => ImpactedLocationsList, 0, 1, 0, 1],
|
|
578
|
+
];
|
|
579
|
+
var GetInternetEventInput = [3, n0, _GIEI, 0, [_EI], [[0, 1]]];
|
|
580
|
+
var GetInternetEventOutput = [
|
|
581
|
+
3,
|
|
582
|
+
n0,
|
|
583
|
+
_GIEO,
|
|
584
|
+
0,
|
|
585
|
+
[_EI, _EA, _SA, _EAn, _CL, _ET, _ESv],
|
|
586
|
+
[0, 0, 5, 5, () => ClientLocation, 0, 0],
|
|
587
|
+
];
|
|
588
|
+
var GetMonitorInput = [
|
|
589
|
+
3,
|
|
590
|
+
n0,
|
|
591
|
+
_GMI,
|
|
592
|
+
0,
|
|
593
|
+
[_MN, _LAI],
|
|
594
|
+
[
|
|
595
|
+
[0, 1],
|
|
596
|
+
[
|
|
597
|
+
0,
|
|
598
|
+
{
|
|
599
|
+
[_hQ]: _LAI,
|
|
600
|
+
},
|
|
601
|
+
],
|
|
602
|
+
],
|
|
603
|
+
];
|
|
604
|
+
var GetMonitorOutput = [
|
|
605
|
+
3,
|
|
606
|
+
n0,
|
|
607
|
+
_GMO,
|
|
608
|
+
0,
|
|
609
|
+
[_MN, _MA, _R, _St, _CA, _MAo, _PS, _PSI, _T, _MCNTM, _IMLD, _TPTM, _HEC],
|
|
610
|
+
[0, 0, 64 | 0, 0, 5, 5, 0, 0, 128 | 0, 1, () => InternetMeasurementsLogDelivery, 1, () => HealthEventsConfig],
|
|
611
|
+
];
|
|
612
|
+
var GetQueryResultsInput = [
|
|
613
|
+
3,
|
|
614
|
+
n0,
|
|
615
|
+
_GQRI,
|
|
616
|
+
0,
|
|
617
|
+
[_MN, _QI, _NT, _MR],
|
|
618
|
+
[
|
|
619
|
+
[0, 1],
|
|
620
|
+
[0, 1],
|
|
621
|
+
[
|
|
622
|
+
0,
|
|
623
|
+
{
|
|
624
|
+
[_hQ]: _NT,
|
|
625
|
+
},
|
|
626
|
+
],
|
|
627
|
+
[
|
|
628
|
+
1,
|
|
629
|
+
{
|
|
630
|
+
[_hQ]: _MR,
|
|
631
|
+
},
|
|
632
|
+
],
|
|
633
|
+
],
|
|
634
|
+
];
|
|
635
|
+
var GetQueryResultsOutput = [
|
|
636
|
+
3,
|
|
637
|
+
n0,
|
|
638
|
+
_GQRO,
|
|
639
|
+
0,
|
|
640
|
+
[_Fi, _D, _NT],
|
|
641
|
+
[() => QueryFields, [1, n0, _QD, 0, 64 | 0], 0],
|
|
642
|
+
];
|
|
643
|
+
var GetQueryStatusInput = [
|
|
644
|
+
3,
|
|
645
|
+
n0,
|
|
646
|
+
_GQSI,
|
|
647
|
+
0,
|
|
648
|
+
[_MN, _QI],
|
|
649
|
+
[
|
|
650
|
+
[0, 1],
|
|
651
|
+
[0, 1],
|
|
652
|
+
],
|
|
653
|
+
];
|
|
654
|
+
var GetQueryStatusOutput = [3, n0, _GQSO, 0, [_St], [0]];
|
|
655
|
+
var HealthEvent = [
|
|
656
|
+
3,
|
|
657
|
+
n0,
|
|
658
|
+
_HE,
|
|
659
|
+
0,
|
|
660
|
+
[_EA, _EI, _SA, _EAn, _CA, _LUA, _IL, _St, _POTTI, _IT, _HST],
|
|
661
|
+
[0, 0, 5, 5, 5, 5, () => ImpactedLocationsList, 0, 1, 0, 1],
|
|
662
|
+
];
|
|
663
|
+
var HealthEventsConfig = [
|
|
664
|
+
3,
|
|
665
|
+
n0,
|
|
666
|
+
_HEC,
|
|
667
|
+
0,
|
|
668
|
+
[_AST, _PST, _ALHEC, _PLHEC],
|
|
669
|
+
[1, 1, () => LocalHealthEventsConfig, () => LocalHealthEventsConfig],
|
|
670
|
+
];
|
|
671
|
+
var ImpactedLocation = [
|
|
672
|
+
3,
|
|
673
|
+
n0,
|
|
674
|
+
_ILm,
|
|
675
|
+
0,
|
|
676
|
+
[_ASN, _ASNu, _C, _S, _M, _Ci, _L, _Lo, _CC, _SC, _SL, _St, _CB, _IH, _IP],
|
|
677
|
+
[0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, () => NetworkImpairment, () => InternetHealth, 64 | 0],
|
|
678
|
+
];
|
|
679
|
+
var InternalServerErrorException = [
|
|
680
|
+
-3,
|
|
681
|
+
n0,
|
|
682
|
+
_ISEE,
|
|
683
|
+
{
|
|
684
|
+
[_e]: _s,
|
|
685
|
+
[_hE]: 500,
|
|
686
|
+
},
|
|
687
|
+
[_m],
|
|
688
|
+
[0],
|
|
689
|
+
];
|
|
690
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
|
|
691
|
+
var InternalServerException = [
|
|
692
|
+
-3,
|
|
693
|
+
n0,
|
|
694
|
+
_ISE,
|
|
695
|
+
{
|
|
696
|
+
[_e]: _s,
|
|
697
|
+
[_hE]: 500,
|
|
698
|
+
},
|
|
699
|
+
[_m],
|
|
700
|
+
[0],
|
|
701
|
+
];
|
|
702
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
703
|
+
var InternetEventSummary = [
|
|
704
|
+
3,
|
|
705
|
+
n0,
|
|
706
|
+
_IES,
|
|
707
|
+
0,
|
|
708
|
+
[_EI, _EA, _SA, _EAn, _CL, _ET, _ESv],
|
|
709
|
+
[0, 0, 5, 5, () => ClientLocation, 0, 0],
|
|
710
|
+
];
|
|
711
|
+
var InternetHealth = [
|
|
712
|
+
3,
|
|
713
|
+
n0,
|
|
714
|
+
_IH,
|
|
715
|
+
0,
|
|
716
|
+
[_Av, _P],
|
|
717
|
+
[() => AvailabilityMeasurement, () => PerformanceMeasurement],
|
|
718
|
+
];
|
|
719
|
+
var InternetMeasurementsLogDelivery = [3, n0, _IMLD, 0, [_SCo], [() => S3Config]];
|
|
720
|
+
var LimitExceededException = [
|
|
721
|
+
-3,
|
|
722
|
+
n0,
|
|
723
|
+
_LEE,
|
|
724
|
+
{
|
|
725
|
+
[_e]: _c,
|
|
726
|
+
[_hE]: 403,
|
|
727
|
+
},
|
|
728
|
+
[_m],
|
|
729
|
+
[0],
|
|
730
|
+
];
|
|
731
|
+
schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
|
|
732
|
+
var ListHealthEventsInput = [
|
|
733
|
+
3,
|
|
734
|
+
n0,
|
|
735
|
+
_LHEI,
|
|
736
|
+
0,
|
|
737
|
+
[_MN, _ST, _ETn, _NT, _MR, _ESv, _LAI],
|
|
738
|
+
[
|
|
739
|
+
[0, 1],
|
|
740
|
+
[
|
|
741
|
+
5,
|
|
742
|
+
{
|
|
743
|
+
[_hQ]: _ST,
|
|
744
|
+
},
|
|
745
|
+
],
|
|
746
|
+
[
|
|
747
|
+
5,
|
|
748
|
+
{
|
|
749
|
+
[_hQ]: _ETn,
|
|
750
|
+
},
|
|
751
|
+
],
|
|
752
|
+
[
|
|
753
|
+
0,
|
|
754
|
+
{
|
|
755
|
+
[_hQ]: _NT,
|
|
756
|
+
},
|
|
757
|
+
],
|
|
758
|
+
[
|
|
759
|
+
1,
|
|
760
|
+
{
|
|
761
|
+
[_hQ]: _MR,
|
|
762
|
+
},
|
|
763
|
+
],
|
|
764
|
+
[
|
|
765
|
+
0,
|
|
766
|
+
{
|
|
767
|
+
[_hQ]: _ESv,
|
|
768
|
+
},
|
|
769
|
+
],
|
|
770
|
+
[
|
|
771
|
+
0,
|
|
772
|
+
{
|
|
773
|
+
[_hQ]: _LAI,
|
|
774
|
+
},
|
|
775
|
+
],
|
|
776
|
+
],
|
|
777
|
+
];
|
|
778
|
+
var ListHealthEventsOutput = [3, n0, _LHEO, 0, [_HEe, _NT], [() => HealthEventList, 0]];
|
|
779
|
+
var ListInternetEventsInput = [
|
|
780
|
+
3,
|
|
781
|
+
n0,
|
|
782
|
+
_LIEI,
|
|
783
|
+
0,
|
|
784
|
+
[_NT, _MR, _ST, _ETn, _ESv, _ET],
|
|
785
|
+
[
|
|
786
|
+
[
|
|
787
|
+
0,
|
|
788
|
+
{
|
|
789
|
+
[_hQ]: _NT,
|
|
790
|
+
},
|
|
791
|
+
],
|
|
792
|
+
[
|
|
793
|
+
1,
|
|
794
|
+
{
|
|
795
|
+
[_hQ]: _IEMR,
|
|
796
|
+
},
|
|
797
|
+
],
|
|
798
|
+
[
|
|
799
|
+
5,
|
|
800
|
+
{
|
|
801
|
+
[_hQ]: _ST,
|
|
802
|
+
},
|
|
803
|
+
],
|
|
804
|
+
[
|
|
805
|
+
5,
|
|
806
|
+
{
|
|
807
|
+
[_hQ]: _ETn,
|
|
808
|
+
},
|
|
809
|
+
],
|
|
810
|
+
[
|
|
811
|
+
0,
|
|
812
|
+
{
|
|
813
|
+
[_hQ]: _ESv,
|
|
814
|
+
},
|
|
815
|
+
],
|
|
816
|
+
[
|
|
817
|
+
0,
|
|
818
|
+
{
|
|
819
|
+
[_hQ]: _ET,
|
|
820
|
+
},
|
|
821
|
+
],
|
|
822
|
+
],
|
|
823
|
+
];
|
|
824
|
+
var ListInternetEventsOutput = [
|
|
825
|
+
3,
|
|
826
|
+
n0,
|
|
827
|
+
_LIEO,
|
|
828
|
+
0,
|
|
829
|
+
[_IE, _NT],
|
|
830
|
+
[() => InternetEventsList, 0],
|
|
831
|
+
];
|
|
832
|
+
var ListMonitorsInput = [
|
|
833
|
+
3,
|
|
834
|
+
n0,
|
|
835
|
+
_LMI,
|
|
836
|
+
0,
|
|
837
|
+
[_NT, _MR, _MS, _ILA],
|
|
838
|
+
[
|
|
839
|
+
[
|
|
840
|
+
0,
|
|
841
|
+
{
|
|
842
|
+
[_hQ]: _NT,
|
|
843
|
+
},
|
|
844
|
+
],
|
|
845
|
+
[
|
|
846
|
+
1,
|
|
847
|
+
{
|
|
848
|
+
[_hQ]: _MR,
|
|
849
|
+
},
|
|
850
|
+
],
|
|
851
|
+
[
|
|
852
|
+
0,
|
|
853
|
+
{
|
|
854
|
+
[_hQ]: _MS,
|
|
855
|
+
},
|
|
856
|
+
],
|
|
857
|
+
[
|
|
858
|
+
2,
|
|
859
|
+
{
|
|
860
|
+
[_hQ]: _ILA,
|
|
861
|
+
},
|
|
862
|
+
],
|
|
863
|
+
],
|
|
864
|
+
];
|
|
865
|
+
var ListMonitorsOutput = [3, n0, _LMO, 0, [_Mo, _NT], [() => MonitorList, 0]];
|
|
866
|
+
var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_RA], [[0, 1]]];
|
|
867
|
+
var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_T], [128 | 0]];
|
|
868
|
+
var LocalHealthEventsConfig = [3, n0, _LHEC, 0, [_St, _HST, _MTI], [0, 1, 1]];
|
|
869
|
+
var Monitor = [3, n0, _Mon, 0, [_MN, _MA, _St, _PS], [0, 0, 0, 0]];
|
|
870
|
+
var Network = [3, n0, _N, 0, [_ASN, _ASNu], [0, 1]];
|
|
871
|
+
var NetworkImpairment = [
|
|
872
|
+
3,
|
|
873
|
+
n0,
|
|
874
|
+
_NI,
|
|
875
|
+
0,
|
|
876
|
+
[_Ne, _AP, _NET],
|
|
877
|
+
[() => NetworkList, () => NetworkList, 0],
|
|
878
|
+
];
|
|
879
|
+
var NotFoundException = [
|
|
880
|
+
-3,
|
|
881
|
+
n0,
|
|
882
|
+
_NFE,
|
|
883
|
+
{
|
|
884
|
+
[_e]: _c,
|
|
885
|
+
[_hE]: 404,
|
|
886
|
+
},
|
|
887
|
+
[_m],
|
|
888
|
+
[0],
|
|
889
|
+
];
|
|
890
|
+
schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
|
|
891
|
+
var PerformanceMeasurement = [
|
|
892
|
+
3,
|
|
893
|
+
n0,
|
|
894
|
+
_PM,
|
|
895
|
+
0,
|
|
896
|
+
[_ES, _POTTI, _POCLI, _RTT],
|
|
897
|
+
[1, 1, 1, () => RoundTripTime],
|
|
898
|
+
];
|
|
899
|
+
var QueryField = [3, n0, _QF, 0, [_Na, _Ty], [0, 0]];
|
|
900
|
+
var ResourceNotFoundException = [
|
|
901
|
+
-3,
|
|
902
|
+
n0,
|
|
903
|
+
_RNFE,
|
|
904
|
+
{
|
|
905
|
+
[_e]: _c,
|
|
906
|
+
[_hE]: 404,
|
|
907
|
+
},
|
|
908
|
+
[_m],
|
|
909
|
+
[0],
|
|
910
|
+
];
|
|
911
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
912
|
+
var RoundTripTime = [3, n0, _RTT, 0, [_P_, _P__, _P___], [1, 1, 1]];
|
|
913
|
+
var S3Config = [3, n0, _SCo, 0, [_BN, _BP, _LDS], [0, 0, 0]];
|
|
914
|
+
var StartQueryInput = [
|
|
915
|
+
3,
|
|
916
|
+
n0,
|
|
917
|
+
_SQI,
|
|
918
|
+
0,
|
|
919
|
+
[_MN, _ST, _ETn, _QT, _FPi, _LAI],
|
|
920
|
+
[[0, 1], 5, 5, 0, () => FilterParameters, 0],
|
|
921
|
+
];
|
|
922
|
+
var StartQueryOutput = [3, n0, _SQO, 0, [_QI], [0]];
|
|
923
|
+
var StopQueryInput = [
|
|
924
|
+
3,
|
|
925
|
+
n0,
|
|
926
|
+
_SQIt,
|
|
927
|
+
0,
|
|
928
|
+
[_MN, _QI],
|
|
929
|
+
[
|
|
930
|
+
[0, 1],
|
|
931
|
+
[0, 1],
|
|
932
|
+
],
|
|
933
|
+
];
|
|
934
|
+
var StopQueryOutput = [3, n0, _SQOt, 0, [], []];
|
|
935
|
+
var TagResourceInput = [3, n0, _TRI, 0, [_RA, _T], [[0, 1], 128 | 0]];
|
|
936
|
+
var TagResourceOutput = [3, n0, _TRO, 0, [], []];
|
|
937
|
+
var ThrottlingException = [
|
|
938
|
+
-3,
|
|
939
|
+
n0,
|
|
940
|
+
_TE,
|
|
941
|
+
{
|
|
942
|
+
[_e]: _c,
|
|
943
|
+
[_hE]: 429,
|
|
944
|
+
},
|
|
945
|
+
[_m],
|
|
946
|
+
[0],
|
|
947
|
+
];
|
|
948
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
949
|
+
var TooManyRequestsException = [
|
|
950
|
+
-3,
|
|
951
|
+
n0,
|
|
952
|
+
_TMRE,
|
|
953
|
+
{
|
|
954
|
+
[_e]: _c,
|
|
955
|
+
[_hE]: 429,
|
|
956
|
+
},
|
|
957
|
+
[_m],
|
|
958
|
+
[0],
|
|
959
|
+
];
|
|
960
|
+
schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
|
|
961
|
+
var UntagResourceInput = [
|
|
962
|
+
3,
|
|
963
|
+
n0,
|
|
964
|
+
_URI,
|
|
965
|
+
0,
|
|
966
|
+
[_RA, _TK],
|
|
967
|
+
[
|
|
968
|
+
[0, 1],
|
|
969
|
+
[
|
|
970
|
+
64 | 0,
|
|
971
|
+
{
|
|
972
|
+
[_hQ]: _tK,
|
|
973
|
+
},
|
|
974
|
+
],
|
|
975
|
+
],
|
|
976
|
+
];
|
|
977
|
+
var UntagResourceOutput = [3, n0, _URO, 0, [], []];
|
|
978
|
+
var UpdateMonitorInput = [
|
|
979
|
+
3,
|
|
980
|
+
n0,
|
|
981
|
+
_UMI,
|
|
982
|
+
0,
|
|
983
|
+
[_MN, _RTA, _RTR, _St, _CT, _MCNTM, _IMLD, _TPTM, _HEC],
|
|
984
|
+
[[0, 1], 64 | 0, 64 | 0, 0, [0, 4], 1, () => InternetMeasurementsLogDelivery, 1, () => HealthEventsConfig],
|
|
985
|
+
];
|
|
986
|
+
var UpdateMonitorOutput = [3, n0, _UMO, 0, [_MA, _St], [0, 0]];
|
|
987
|
+
var ValidationException = [
|
|
988
|
+
-3,
|
|
989
|
+
n0,
|
|
990
|
+
_VE,
|
|
991
|
+
{
|
|
992
|
+
[_e]: _c,
|
|
993
|
+
[_hE]: 400,
|
|
994
|
+
},
|
|
995
|
+
[_m],
|
|
996
|
+
[0],
|
|
997
|
+
];
|
|
998
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
999
|
+
var InternetMonitorServiceException = [-3, _sm, "InternetMonitorServiceException", 0, [], []];
|
|
1000
|
+
schema.TypeRegistry.for(_sm).registerError(InternetMonitorServiceException, InternetMonitorServiceException$1);
|
|
1001
|
+
var FilterParameters = [1, n0, _FPi, 0, () => FilterParameter];
|
|
1002
|
+
var HealthEventList = [1, n0, _HEL, 0, () => HealthEvent];
|
|
1003
|
+
var ImpactedLocationsList = [1, n0, _ILL, 0, () => ImpactedLocation];
|
|
1004
|
+
var InternetEventsList = [1, n0, _IEL, 0, () => InternetEventSummary];
|
|
1005
|
+
var MonitorList = [1, n0, _ML, 0, () => Monitor];
|
|
1006
|
+
var NetworkList = [1, n0, _NL, 0, () => Network];
|
|
1007
|
+
var QueryFields = [1, n0, _QFu, 0, () => QueryField];
|
|
1008
|
+
var CreateMonitor = [
|
|
1009
|
+
9,
|
|
1010
|
+
n0,
|
|
1011
|
+
_CM,
|
|
1012
|
+
{
|
|
1013
|
+
[_h]: ["POST", "/v20210603/Monitors", 200],
|
|
1014
|
+
},
|
|
1015
|
+
() => CreateMonitorInput,
|
|
1016
|
+
() => CreateMonitorOutput,
|
|
1017
|
+
];
|
|
1018
|
+
var DeleteMonitor = [
|
|
1019
|
+
9,
|
|
1020
|
+
n0,
|
|
1021
|
+
_DM,
|
|
1022
|
+
{
|
|
1023
|
+
[_h]: ["DELETE", "/v20210603/Monitors/{MonitorName}", 200],
|
|
1024
|
+
},
|
|
1025
|
+
() => DeleteMonitorInput,
|
|
1026
|
+
() => DeleteMonitorOutput,
|
|
1027
|
+
];
|
|
1028
|
+
var GetHealthEvent = [
|
|
1029
|
+
9,
|
|
1030
|
+
n0,
|
|
1031
|
+
_GHE,
|
|
1032
|
+
{
|
|
1033
|
+
[_h]: ["GET", "/v20210603/Monitors/{MonitorName}/HealthEvents/{EventId}", 200],
|
|
1034
|
+
},
|
|
1035
|
+
() => GetHealthEventInput,
|
|
1036
|
+
() => GetHealthEventOutput,
|
|
1037
|
+
];
|
|
1038
|
+
var GetInternetEvent = [
|
|
1039
|
+
9,
|
|
1040
|
+
n0,
|
|
1041
|
+
_GIE,
|
|
1042
|
+
{
|
|
1043
|
+
[_h]: ["GET", "/v20210603/InternetEvents/{EventId}", 200],
|
|
1044
|
+
},
|
|
1045
|
+
() => GetInternetEventInput,
|
|
1046
|
+
() => GetInternetEventOutput,
|
|
1047
|
+
];
|
|
1048
|
+
var GetMonitor = [
|
|
1049
|
+
9,
|
|
1050
|
+
n0,
|
|
1051
|
+
_GM,
|
|
1052
|
+
{
|
|
1053
|
+
[_h]: ["GET", "/v20210603/Monitors/{MonitorName}", 200],
|
|
1054
|
+
},
|
|
1055
|
+
() => GetMonitorInput,
|
|
1056
|
+
() => GetMonitorOutput,
|
|
1057
|
+
];
|
|
1058
|
+
var GetQueryResults = [
|
|
1059
|
+
9,
|
|
1060
|
+
n0,
|
|
1061
|
+
_GQR,
|
|
1062
|
+
{
|
|
1063
|
+
[_h]: ["GET", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Results", 200],
|
|
1064
|
+
},
|
|
1065
|
+
() => GetQueryResultsInput,
|
|
1066
|
+
() => GetQueryResultsOutput,
|
|
1067
|
+
];
|
|
1068
|
+
var GetQueryStatus = [
|
|
1069
|
+
9,
|
|
1070
|
+
n0,
|
|
1071
|
+
_GQS,
|
|
1072
|
+
{
|
|
1073
|
+
[_h]: ["GET", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Status", 200],
|
|
1074
|
+
},
|
|
1075
|
+
() => GetQueryStatusInput,
|
|
1076
|
+
() => GetQueryStatusOutput,
|
|
1077
|
+
];
|
|
1078
|
+
var ListHealthEvents = [
|
|
1079
|
+
9,
|
|
1080
|
+
n0,
|
|
1081
|
+
_LHE,
|
|
1082
|
+
{
|
|
1083
|
+
[_h]: ["GET", "/v20210603/Monitors/{MonitorName}/HealthEvents", 200],
|
|
1084
|
+
},
|
|
1085
|
+
() => ListHealthEventsInput,
|
|
1086
|
+
() => ListHealthEventsOutput,
|
|
1087
|
+
];
|
|
1088
|
+
var ListInternetEvents = [
|
|
1089
|
+
9,
|
|
1090
|
+
n0,
|
|
1091
|
+
_LIE,
|
|
1092
|
+
{
|
|
1093
|
+
[_h]: ["GET", "/v20210603/InternetEvents", 200],
|
|
1094
|
+
},
|
|
1095
|
+
() => ListInternetEventsInput,
|
|
1096
|
+
() => ListInternetEventsOutput,
|
|
1097
|
+
];
|
|
1098
|
+
var ListMonitors = [
|
|
1099
|
+
9,
|
|
1100
|
+
n0,
|
|
1101
|
+
_LM,
|
|
1102
|
+
{
|
|
1103
|
+
[_h]: ["GET", "/v20210603/Monitors", 200],
|
|
1104
|
+
},
|
|
1105
|
+
() => ListMonitorsInput,
|
|
1106
|
+
() => ListMonitorsOutput,
|
|
1107
|
+
];
|
|
1108
|
+
var ListTagsForResource = [
|
|
1109
|
+
9,
|
|
1110
|
+
n0,
|
|
1111
|
+
_LTFR,
|
|
1112
|
+
{
|
|
1113
|
+
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
1114
|
+
},
|
|
1115
|
+
() => ListTagsForResourceInput,
|
|
1116
|
+
() => ListTagsForResourceOutput,
|
|
1117
|
+
];
|
|
1118
|
+
var StartQuery = [
|
|
1119
|
+
9,
|
|
1120
|
+
n0,
|
|
1121
|
+
_SQ,
|
|
1122
|
+
{
|
|
1123
|
+
[_h]: ["POST", "/v20210603/Monitors/{MonitorName}/Queries", 200],
|
|
1124
|
+
},
|
|
1125
|
+
() => StartQueryInput,
|
|
1126
|
+
() => StartQueryOutput,
|
|
1127
|
+
];
|
|
1128
|
+
var StopQuery = [
|
|
1129
|
+
9,
|
|
1130
|
+
n0,
|
|
1131
|
+
_SQt,
|
|
1132
|
+
{
|
|
1133
|
+
[_h]: ["DELETE", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}", 200],
|
|
1134
|
+
},
|
|
1135
|
+
() => StopQueryInput,
|
|
1136
|
+
() => StopQueryOutput,
|
|
1137
|
+
];
|
|
1138
|
+
var TagResource = [
|
|
1139
|
+
9,
|
|
1140
|
+
n0,
|
|
1141
|
+
_TR,
|
|
1142
|
+
{
|
|
1143
|
+
[_h]: ["POST", "/tags/{ResourceArn}", 204],
|
|
1144
|
+
},
|
|
1145
|
+
() => TagResourceInput,
|
|
1146
|
+
() => TagResourceOutput,
|
|
1147
|
+
];
|
|
1148
|
+
var UntagResource = [
|
|
1149
|
+
9,
|
|
1150
|
+
n0,
|
|
1151
|
+
_UR,
|
|
1152
|
+
{
|
|
1153
|
+
[_h]: ["DELETE", "/tags/{ResourceArn}", 204],
|
|
1154
|
+
},
|
|
1155
|
+
() => UntagResourceInput,
|
|
1156
|
+
() => UntagResourceOutput,
|
|
1157
|
+
];
|
|
1158
|
+
var UpdateMonitor = [
|
|
1159
|
+
9,
|
|
1160
|
+
n0,
|
|
1161
|
+
_UM,
|
|
1162
|
+
{
|
|
1163
|
+
[_h]: ["PATCH", "/v20210603/Monitors/{MonitorName}", 200],
|
|
1164
|
+
},
|
|
1165
|
+
() => UpdateMonitorInput,
|
|
1166
|
+
() => UpdateMonitorOutput,
|
|
1167
|
+
];
|
|
1136
1168
|
|
|
1137
1169
|
class CreateMonitorCommand extends smithyClient.Command
|
|
1138
1170
|
.classBuilder()
|
|
1139
1171
|
.ep(commonParams)
|
|
1140
1172
|
.m(function (Command, cs, config, o) {
|
|
1141
|
-
return [
|
|
1142
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1143
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1144
|
-
];
|
|
1173
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1145
1174
|
})
|
|
1146
1175
|
.s("InternetMonitor20210603", "CreateMonitor", {})
|
|
1147
1176
|
.n("InternetMonitorClient", "CreateMonitorCommand")
|
|
1148
|
-
.
|
|
1149
|
-
.ser(se_CreateMonitorCommand)
|
|
1150
|
-
.de(de_CreateMonitorCommand)
|
|
1177
|
+
.sc(CreateMonitor)
|
|
1151
1178
|
.build() {
|
|
1152
1179
|
}
|
|
1153
1180
|
|
|
@@ -1155,16 +1182,11 @@ class DeleteMonitorCommand extends smithyClient.Command
|
|
|
1155
1182
|
.classBuilder()
|
|
1156
1183
|
.ep(commonParams)
|
|
1157
1184
|
.m(function (Command, cs, config, o) {
|
|
1158
|
-
return [
|
|
1159
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1160
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1161
|
-
];
|
|
1185
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1162
1186
|
})
|
|
1163
1187
|
.s("InternetMonitor20210603", "DeleteMonitor", {})
|
|
1164
1188
|
.n("InternetMonitorClient", "DeleteMonitorCommand")
|
|
1165
|
-
.
|
|
1166
|
-
.ser(se_DeleteMonitorCommand)
|
|
1167
|
-
.de(de_DeleteMonitorCommand)
|
|
1189
|
+
.sc(DeleteMonitor)
|
|
1168
1190
|
.build() {
|
|
1169
1191
|
}
|
|
1170
1192
|
|
|
@@ -1172,16 +1194,11 @@ class GetHealthEventCommand extends smithyClient.Command
|
|
|
1172
1194
|
.classBuilder()
|
|
1173
1195
|
.ep(commonParams)
|
|
1174
1196
|
.m(function (Command, cs, config, o) {
|
|
1175
|
-
return [
|
|
1176
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1177
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1178
|
-
];
|
|
1197
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1179
1198
|
})
|
|
1180
1199
|
.s("InternetMonitor20210603", "GetHealthEvent", {})
|
|
1181
1200
|
.n("InternetMonitorClient", "GetHealthEventCommand")
|
|
1182
|
-
.
|
|
1183
|
-
.ser(se_GetHealthEventCommand)
|
|
1184
|
-
.de(de_GetHealthEventCommand)
|
|
1201
|
+
.sc(GetHealthEvent)
|
|
1185
1202
|
.build() {
|
|
1186
1203
|
}
|
|
1187
1204
|
|
|
@@ -1189,16 +1206,11 @@ class GetInternetEventCommand extends smithyClient.Command
|
|
|
1189
1206
|
.classBuilder()
|
|
1190
1207
|
.ep(commonParams)
|
|
1191
1208
|
.m(function (Command, cs, config, o) {
|
|
1192
|
-
return [
|
|
1193
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1194
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1195
|
-
];
|
|
1209
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1196
1210
|
})
|
|
1197
1211
|
.s("InternetMonitor20210603", "GetInternetEvent", {})
|
|
1198
1212
|
.n("InternetMonitorClient", "GetInternetEventCommand")
|
|
1199
|
-
.
|
|
1200
|
-
.ser(se_GetInternetEventCommand)
|
|
1201
|
-
.de(de_GetInternetEventCommand)
|
|
1213
|
+
.sc(GetInternetEvent)
|
|
1202
1214
|
.build() {
|
|
1203
1215
|
}
|
|
1204
1216
|
|
|
@@ -1206,16 +1218,11 @@ class GetMonitorCommand extends smithyClient.Command
|
|
|
1206
1218
|
.classBuilder()
|
|
1207
1219
|
.ep(commonParams)
|
|
1208
1220
|
.m(function (Command, cs, config, o) {
|
|
1209
|
-
return [
|
|
1210
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1211
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1212
|
-
];
|
|
1221
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1213
1222
|
})
|
|
1214
1223
|
.s("InternetMonitor20210603", "GetMonitor", {})
|
|
1215
1224
|
.n("InternetMonitorClient", "GetMonitorCommand")
|
|
1216
|
-
.
|
|
1217
|
-
.ser(se_GetMonitorCommand)
|
|
1218
|
-
.de(de_GetMonitorCommand)
|
|
1225
|
+
.sc(GetMonitor)
|
|
1219
1226
|
.build() {
|
|
1220
1227
|
}
|
|
1221
1228
|
|
|
@@ -1223,16 +1230,11 @@ class GetQueryResultsCommand extends smithyClient.Command
|
|
|
1223
1230
|
.classBuilder()
|
|
1224
1231
|
.ep(commonParams)
|
|
1225
1232
|
.m(function (Command, cs, config, o) {
|
|
1226
|
-
return [
|
|
1227
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1228
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1229
|
-
];
|
|
1233
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1230
1234
|
})
|
|
1231
1235
|
.s("InternetMonitor20210603", "GetQueryResults", {})
|
|
1232
1236
|
.n("InternetMonitorClient", "GetQueryResultsCommand")
|
|
1233
|
-
.
|
|
1234
|
-
.ser(se_GetQueryResultsCommand)
|
|
1235
|
-
.de(de_GetQueryResultsCommand)
|
|
1237
|
+
.sc(GetQueryResults)
|
|
1236
1238
|
.build() {
|
|
1237
1239
|
}
|
|
1238
1240
|
|
|
@@ -1240,16 +1242,11 @@ class GetQueryStatusCommand extends smithyClient.Command
|
|
|
1240
1242
|
.classBuilder()
|
|
1241
1243
|
.ep(commonParams)
|
|
1242
1244
|
.m(function (Command, cs, config, o) {
|
|
1243
|
-
return [
|
|
1244
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1245
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1246
|
-
];
|
|
1245
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1247
1246
|
})
|
|
1248
1247
|
.s("InternetMonitor20210603", "GetQueryStatus", {})
|
|
1249
1248
|
.n("InternetMonitorClient", "GetQueryStatusCommand")
|
|
1250
|
-
.
|
|
1251
|
-
.ser(se_GetQueryStatusCommand)
|
|
1252
|
-
.de(de_GetQueryStatusCommand)
|
|
1249
|
+
.sc(GetQueryStatus)
|
|
1253
1250
|
.build() {
|
|
1254
1251
|
}
|
|
1255
1252
|
|
|
@@ -1257,16 +1254,11 @@ class ListHealthEventsCommand extends smithyClient.Command
|
|
|
1257
1254
|
.classBuilder()
|
|
1258
1255
|
.ep(commonParams)
|
|
1259
1256
|
.m(function (Command, cs, config, o) {
|
|
1260
|
-
return [
|
|
1261
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1262
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1263
|
-
];
|
|
1257
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1264
1258
|
})
|
|
1265
1259
|
.s("InternetMonitor20210603", "ListHealthEvents", {})
|
|
1266
1260
|
.n("InternetMonitorClient", "ListHealthEventsCommand")
|
|
1267
|
-
.
|
|
1268
|
-
.ser(se_ListHealthEventsCommand)
|
|
1269
|
-
.de(de_ListHealthEventsCommand)
|
|
1261
|
+
.sc(ListHealthEvents)
|
|
1270
1262
|
.build() {
|
|
1271
1263
|
}
|
|
1272
1264
|
|
|
@@ -1274,16 +1266,11 @@ class ListInternetEventsCommand extends smithyClient.Command
|
|
|
1274
1266
|
.classBuilder()
|
|
1275
1267
|
.ep(commonParams)
|
|
1276
1268
|
.m(function (Command, cs, config, o) {
|
|
1277
|
-
return [
|
|
1278
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1279
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1280
|
-
];
|
|
1269
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1281
1270
|
})
|
|
1282
1271
|
.s("InternetMonitor20210603", "ListInternetEvents", {})
|
|
1283
1272
|
.n("InternetMonitorClient", "ListInternetEventsCommand")
|
|
1284
|
-
.
|
|
1285
|
-
.ser(se_ListInternetEventsCommand)
|
|
1286
|
-
.de(de_ListInternetEventsCommand)
|
|
1273
|
+
.sc(ListInternetEvents)
|
|
1287
1274
|
.build() {
|
|
1288
1275
|
}
|
|
1289
1276
|
|
|
@@ -1291,16 +1278,11 @@ class ListMonitorsCommand extends smithyClient.Command
|
|
|
1291
1278
|
.classBuilder()
|
|
1292
1279
|
.ep(commonParams)
|
|
1293
1280
|
.m(function (Command, cs, config, o) {
|
|
1294
|
-
return [
|
|
1295
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1296
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1297
|
-
];
|
|
1281
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1298
1282
|
})
|
|
1299
1283
|
.s("InternetMonitor20210603", "ListMonitors", {})
|
|
1300
1284
|
.n("InternetMonitorClient", "ListMonitorsCommand")
|
|
1301
|
-
.
|
|
1302
|
-
.ser(se_ListMonitorsCommand)
|
|
1303
|
-
.de(de_ListMonitorsCommand)
|
|
1285
|
+
.sc(ListMonitors)
|
|
1304
1286
|
.build() {
|
|
1305
1287
|
}
|
|
1306
1288
|
|
|
@@ -1308,16 +1290,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1308
1290
|
.classBuilder()
|
|
1309
1291
|
.ep(commonParams)
|
|
1310
1292
|
.m(function (Command, cs, config, o) {
|
|
1311
|
-
return [
|
|
1312
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1313
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1314
|
-
];
|
|
1293
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1315
1294
|
})
|
|
1316
1295
|
.s("InternetMonitor20210603", "ListTagsForResource", {})
|
|
1317
1296
|
.n("InternetMonitorClient", "ListTagsForResourceCommand")
|
|
1318
|
-
.
|
|
1319
|
-
.ser(se_ListTagsForResourceCommand)
|
|
1320
|
-
.de(de_ListTagsForResourceCommand)
|
|
1297
|
+
.sc(ListTagsForResource)
|
|
1321
1298
|
.build() {
|
|
1322
1299
|
}
|
|
1323
1300
|
|
|
@@ -1325,16 +1302,11 @@ class StartQueryCommand extends smithyClient.Command
|
|
|
1325
1302
|
.classBuilder()
|
|
1326
1303
|
.ep(commonParams)
|
|
1327
1304
|
.m(function (Command, cs, config, o) {
|
|
1328
|
-
return [
|
|
1329
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1330
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1331
|
-
];
|
|
1305
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1332
1306
|
})
|
|
1333
1307
|
.s("InternetMonitor20210603", "StartQuery", {})
|
|
1334
1308
|
.n("InternetMonitorClient", "StartQueryCommand")
|
|
1335
|
-
.
|
|
1336
|
-
.ser(se_StartQueryCommand)
|
|
1337
|
-
.de(de_StartQueryCommand)
|
|
1309
|
+
.sc(StartQuery)
|
|
1338
1310
|
.build() {
|
|
1339
1311
|
}
|
|
1340
1312
|
|
|
@@ -1342,16 +1314,11 @@ class StopQueryCommand extends smithyClient.Command
|
|
|
1342
1314
|
.classBuilder()
|
|
1343
1315
|
.ep(commonParams)
|
|
1344
1316
|
.m(function (Command, cs, config, o) {
|
|
1345
|
-
return [
|
|
1346
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1347
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1348
|
-
];
|
|
1317
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1349
1318
|
})
|
|
1350
1319
|
.s("InternetMonitor20210603", "StopQuery", {})
|
|
1351
1320
|
.n("InternetMonitorClient", "StopQueryCommand")
|
|
1352
|
-
.
|
|
1353
|
-
.ser(se_StopQueryCommand)
|
|
1354
|
-
.de(de_StopQueryCommand)
|
|
1321
|
+
.sc(StopQuery)
|
|
1355
1322
|
.build() {
|
|
1356
1323
|
}
|
|
1357
1324
|
|
|
@@ -1359,16 +1326,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
1359
1326
|
.classBuilder()
|
|
1360
1327
|
.ep(commonParams)
|
|
1361
1328
|
.m(function (Command, cs, config, o) {
|
|
1362
|
-
return [
|
|
1363
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1364
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1365
|
-
];
|
|
1329
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1366
1330
|
})
|
|
1367
1331
|
.s("InternetMonitor20210603", "TagResource", {})
|
|
1368
1332
|
.n("InternetMonitorClient", "TagResourceCommand")
|
|
1369
|
-
.
|
|
1370
|
-
.ser(se_TagResourceCommand)
|
|
1371
|
-
.de(de_TagResourceCommand)
|
|
1333
|
+
.sc(TagResource)
|
|
1372
1334
|
.build() {
|
|
1373
1335
|
}
|
|
1374
1336
|
|
|
@@ -1376,16 +1338,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1376
1338
|
.classBuilder()
|
|
1377
1339
|
.ep(commonParams)
|
|
1378
1340
|
.m(function (Command, cs, config, o) {
|
|
1379
|
-
return [
|
|
1380
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1381
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1382
|
-
];
|
|
1341
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1383
1342
|
})
|
|
1384
1343
|
.s("InternetMonitor20210603", "UntagResource", {})
|
|
1385
1344
|
.n("InternetMonitorClient", "UntagResourceCommand")
|
|
1386
|
-
.
|
|
1387
|
-
.ser(se_UntagResourceCommand)
|
|
1388
|
-
.de(de_UntagResourceCommand)
|
|
1345
|
+
.sc(UntagResource)
|
|
1389
1346
|
.build() {
|
|
1390
1347
|
}
|
|
1391
1348
|
|
|
@@ -1393,16 +1350,11 @@ class UpdateMonitorCommand extends smithyClient.Command
|
|
|
1393
1350
|
.classBuilder()
|
|
1394
1351
|
.ep(commonParams)
|
|
1395
1352
|
.m(function (Command, cs, config, o) {
|
|
1396
|
-
return [
|
|
1397
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1398
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1399
|
-
];
|
|
1353
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1400
1354
|
})
|
|
1401
1355
|
.s("InternetMonitor20210603", "UpdateMonitor", {})
|
|
1402
1356
|
.n("InternetMonitorClient", "UpdateMonitorCommand")
|
|
1403
|
-
.
|
|
1404
|
-
.ser(se_UpdateMonitorCommand)
|
|
1405
|
-
.de(de_UpdateMonitorCommand)
|
|
1357
|
+
.sc(UpdateMonitor)
|
|
1406
1358
|
.build() {
|
|
1407
1359
|
}
|
|
1408
1360
|
|
|
@@ -1444,9 +1396,9 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1444
1396
|
enumerable: true,
|
|
1445
1397
|
get: function () { return smithyClient.Client; }
|
|
1446
1398
|
});
|
|
1447
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1448
|
-
exports.BadRequestException = BadRequestException;
|
|
1449
|
-
exports.ConflictException = ConflictException;
|
|
1399
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1400
|
+
exports.BadRequestException = BadRequestException$1;
|
|
1401
|
+
exports.ConflictException = ConflictException$1;
|
|
1450
1402
|
exports.CreateMonitorCommand = CreateMonitorCommand;
|
|
1451
1403
|
exports.DeleteMonitorCommand = DeleteMonitorCommand;
|
|
1452
1404
|
exports.GetHealthEventCommand = GetHealthEventCommand;
|
|
@@ -1456,14 +1408,14 @@ exports.GetQueryResultsCommand = GetQueryResultsCommand;
|
|
|
1456
1408
|
exports.GetQueryStatusCommand = GetQueryStatusCommand;
|
|
1457
1409
|
exports.HealthEventImpactType = HealthEventImpactType;
|
|
1458
1410
|
exports.HealthEventStatus = HealthEventStatus;
|
|
1459
|
-
exports.InternalServerErrorException = InternalServerErrorException;
|
|
1460
|
-
exports.InternalServerException = InternalServerException;
|
|
1411
|
+
exports.InternalServerErrorException = InternalServerErrorException$1;
|
|
1412
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1461
1413
|
exports.InternetEventStatus = InternetEventStatus;
|
|
1462
1414
|
exports.InternetEventType = InternetEventType;
|
|
1463
1415
|
exports.InternetMonitor = InternetMonitor;
|
|
1464
1416
|
exports.InternetMonitorClient = InternetMonitorClient;
|
|
1465
|
-
exports.InternetMonitorServiceException = InternetMonitorServiceException;
|
|
1466
|
-
exports.LimitExceededException = LimitExceededException;
|
|
1417
|
+
exports.InternetMonitorServiceException = InternetMonitorServiceException$1;
|
|
1418
|
+
exports.LimitExceededException = LimitExceededException$1;
|
|
1467
1419
|
exports.ListHealthEventsCommand = ListHealthEventsCommand;
|
|
1468
1420
|
exports.ListInternetEventsCommand = ListInternetEventsCommand;
|
|
1469
1421
|
exports.ListMonitorsCommand = ListMonitorsCommand;
|
|
@@ -1472,20 +1424,20 @@ exports.LocalHealthEventsConfigStatus = LocalHealthEventsConfigStatus;
|
|
|
1472
1424
|
exports.LogDeliveryStatus = LogDeliveryStatus;
|
|
1473
1425
|
exports.MonitorConfigState = MonitorConfigState;
|
|
1474
1426
|
exports.MonitorProcessingStatusCode = MonitorProcessingStatusCode;
|
|
1475
|
-
exports.NotFoundException = NotFoundException;
|
|
1427
|
+
exports.NotFoundException = NotFoundException$1;
|
|
1476
1428
|
exports.Operator = Operator;
|
|
1477
1429
|
exports.QueryStatus = QueryStatus;
|
|
1478
1430
|
exports.QueryType = QueryType;
|
|
1479
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1431
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1480
1432
|
exports.StartQueryCommand = StartQueryCommand;
|
|
1481
1433
|
exports.StopQueryCommand = StopQueryCommand;
|
|
1482
1434
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1483
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1484
|
-
exports.TooManyRequestsException = TooManyRequestsException;
|
|
1435
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1436
|
+
exports.TooManyRequestsException = TooManyRequestsException$1;
|
|
1485
1437
|
exports.TriangulationEventType = TriangulationEventType;
|
|
1486
1438
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1487
1439
|
exports.UpdateMonitorCommand = UpdateMonitorCommand;
|
|
1488
|
-
exports.ValidationException = ValidationException;
|
|
1440
|
+
exports.ValidationException = ValidationException$1;
|
|
1489
1441
|
exports.paginateGetQueryResults = paginateGetQueryResults;
|
|
1490
1442
|
exports.paginateListHealthEvents = paginateListHealthEvents;
|
|
1491
1443
|
exports.paginateListInternetEvents = paginateListInternetEvents;
|