@aws-sdk/client-internetmonitor 3.987.0 → 3.989.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 CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var InternetMonitorServiceException = require('./models/InternetMonitorServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,710 +113,6 @@ class InternetMonitorClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class InternetMonitorServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, InternetMonitorServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends InternetMonitorServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "AccessDeniedException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
- }
131
- }
132
- class BadRequestException extends InternetMonitorServiceException {
133
- name = "BadRequestException";
134
- $fault = "client";
135
- constructor(opts) {
136
- super({
137
- name: "BadRequestException",
138
- $fault: "client",
139
- ...opts,
140
- });
141
- Object.setPrototypeOf(this, BadRequestException.prototype);
142
- }
143
- }
144
- class ConflictException extends InternetMonitorServiceException {
145
- name = "ConflictException";
146
- $fault = "client";
147
- constructor(opts) {
148
- super({
149
- name: "ConflictException",
150
- $fault: "client",
151
- ...opts,
152
- });
153
- Object.setPrototypeOf(this, ConflictException.prototype);
154
- }
155
- }
156
- class InternalServerException extends InternetMonitorServiceException {
157
- name = "InternalServerException";
158
- $fault = "server";
159
- $retryable = {};
160
- constructor(opts) {
161
- super({
162
- name: "InternalServerException",
163
- $fault: "server",
164
- ...opts,
165
- });
166
- Object.setPrototypeOf(this, InternalServerException.prototype);
167
- }
168
- }
169
- class LimitExceededException extends InternetMonitorServiceException {
170
- name = "LimitExceededException";
171
- $fault = "client";
172
- constructor(opts) {
173
- super({
174
- name: "LimitExceededException",
175
- $fault: "client",
176
- ...opts,
177
- });
178
- Object.setPrototypeOf(this, LimitExceededException.prototype);
179
- }
180
- }
181
- class ThrottlingException extends InternetMonitorServiceException {
182
- name = "ThrottlingException";
183
- $fault = "client";
184
- $retryable = {
185
- throttling: true,
186
- };
187
- constructor(opts) {
188
- super({
189
- name: "ThrottlingException",
190
- $fault: "client",
191
- ...opts,
192
- });
193
- Object.setPrototypeOf(this, ThrottlingException.prototype);
194
- }
195
- }
196
- class ValidationException extends InternetMonitorServiceException {
197
- name = "ValidationException";
198
- $fault = "client";
199
- constructor(opts) {
200
- super({
201
- name: "ValidationException",
202
- $fault: "client",
203
- ...opts,
204
- });
205
- Object.setPrototypeOf(this, ValidationException.prototype);
206
- }
207
- }
208
- class InternalServerErrorException extends InternetMonitorServiceException {
209
- name = "InternalServerErrorException";
210
- $fault = "server";
211
- $retryable = {};
212
- constructor(opts) {
213
- super({
214
- name: "InternalServerErrorException",
215
- $fault: "server",
216
- ...opts,
217
- });
218
- Object.setPrototypeOf(this, InternalServerErrorException.prototype);
219
- }
220
- }
221
- class NotFoundException extends InternetMonitorServiceException {
222
- name = "NotFoundException";
223
- $fault = "client";
224
- constructor(opts) {
225
- super({
226
- name: "NotFoundException",
227
- $fault: "client",
228
- ...opts,
229
- });
230
- Object.setPrototypeOf(this, NotFoundException.prototype);
231
- }
232
- }
233
- class TooManyRequestsException extends InternetMonitorServiceException {
234
- name = "TooManyRequestsException";
235
- $fault = "client";
236
- $retryable = {
237
- throttling: true,
238
- };
239
- constructor(opts) {
240
- super({
241
- name: "TooManyRequestsException",
242
- $fault: "client",
243
- ...opts,
244
- });
245
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
246
- }
247
- }
248
- class ResourceNotFoundException extends InternetMonitorServiceException {
249
- name = "ResourceNotFoundException";
250
- $fault = "client";
251
- constructor(opts) {
252
- super({
253
- name: "ResourceNotFoundException",
254
- $fault: "client",
255
- ...opts,
256
- });
257
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
258
- }
259
- }
260
-
261
- const _A = "Arn";
262
- const _ADE = "AccessDeniedException";
263
- const _ALHEC = "AvailabilityLocalHealthEventsConfig";
264
- const _AM = "AvailabilityMeasurement";
265
- const _AP = "AsPath";
266
- const _ASN = "ASName";
267
- const _ASNu = "ASNumber";
268
- const _AST = "AvailabilityScoreThreshold";
269
- const _Av = "Availability";
270
- const _BN = "BucketName";
271
- const _BP = "BucketPrefix";
272
- const _BRE = "BadRequestException";
273
- const _C = "Country";
274
- const _CA = "CreatedAt";
275
- const _CB = "CausedBy";
276
- const _CC = "CountryCode";
277
- const _CE = "ConflictException";
278
- const _CL = "ClientLocation";
279
- const _CM = "CreateMonitor";
280
- const _CMI = "CreateMonitorInput";
281
- const _CMO = "CreateMonitorOutput";
282
- const _CT = "ClientToken";
283
- const _Ci = "City";
284
- const _D = "Data";
285
- const _DM = "DeleteMonitor";
286
- const _DMI = "DeleteMonitorInput";
287
- const _DMO = "DeleteMonitorOutput";
288
- const _EA = "EventArn";
289
- const _EAn = "EndedAt";
290
- const _EI = "EventId";
291
- const _ES = "ExperienceScore";
292
- const _ESv = "EventStatus";
293
- const _ET = "EventType";
294
- const _ETn = "EndTime";
295
- const _F = "Field";
296
- const _FP = "FilterParameter";
297
- const _FPi = "FilterParameters";
298
- const _Fi = "Fields";
299
- const _GHE = "GetHealthEvent";
300
- const _GHEI = "GetHealthEventInput";
301
- const _GHEO = "GetHealthEventOutput";
302
- const _GIE = "GetInternetEvent";
303
- const _GIEI = "GetInternetEventInput";
304
- const _GIEO = "GetInternetEventOutput";
305
- const _GM = "GetMonitor";
306
- const _GMI = "GetMonitorInput";
307
- const _GMO = "GetMonitorOutput";
308
- const _GQR = "GetQueryResults";
309
- const _GQRI = "GetQueryResultsInput";
310
- const _GQRO = "GetQueryResultsOutput";
311
- const _GQS = "GetQueryStatus";
312
- const _GQSI = "GetQueryStatusInput";
313
- const _GQSO = "GetQueryStatusOutput";
314
- const _HE = "HealthEvent";
315
- const _HEC = "HealthEventsConfig";
316
- const _HEL = "HealthEventList";
317
- const _HEe = "HealthEvents";
318
- const _HST = "HealthScoreThreshold";
319
- const _IE = "InternetEvents";
320
- const _IEL = "InternetEventsList";
321
- const _IEMR = "InternetEventMaxResults";
322
- const _IES = "InternetEventSummary";
323
- const _IH = "InternetHealth";
324
- const _IL = "ImpactedLocations";
325
- const _ILA = "IncludeLinkedAccounts";
326
- const _ILL = "ImpactedLocationsList";
327
- const _ILm = "ImpactedLocation";
328
- const _IMLD = "InternetMeasurementsLogDelivery";
329
- const _IP = "Ipv4Prefixes";
330
- const _ISE = "InternalServerException";
331
- const _ISEE = "InternalServerErrorException";
332
- const _IT = "ImpactType";
333
- const _L = "Latitude";
334
- const _LAI = "LinkedAccountId";
335
- const _LDS = "LogDeliveryStatus";
336
- const _LEE = "LimitExceededException";
337
- const _LHE = "ListHealthEvents";
338
- const _LHEC = "LocalHealthEventsConfig";
339
- const _LHEI = "ListHealthEventsInput";
340
- const _LHEO = "ListHealthEventsOutput";
341
- const _LIE = "ListInternetEvents";
342
- const _LIEI = "ListInternetEventsInput";
343
- const _LIEO = "ListInternetEventsOutput";
344
- const _LM = "ListMonitors";
345
- const _LMI = "ListMonitorsInput";
346
- const _LMO = "ListMonitorsOutput";
347
- const _LTFR = "ListTagsForResource";
348
- const _LTFRI = "ListTagsForResourceInput";
349
- const _LTFRO = "ListTagsForResourceOutput";
350
- const _LUA = "LastUpdatedAt";
351
- const _Lo = "Longitude";
352
- const _M = "Metro";
353
- const _MA = "MonitorArn";
354
- const _MAo = "ModifiedAt";
355
- const _MCNTM = "MaxCityNetworksToMonitor";
356
- const _ML = "MonitorList";
357
- const _MN = "MonitorName";
358
- const _MR = "MaxResults";
359
- const _MS = "MonitorStatus";
360
- const _MTI = "MinTrafficImpact";
361
- const _Mo = "Monitors";
362
- const _Mon = "Monitor";
363
- const _N = "Network";
364
- const _NET = "NetworkEventType";
365
- const _NFE = "NotFoundException";
366
- const _NI = "NetworkImpairment";
367
- const _NL = "NetworkList";
368
- const _NT = "NextToken";
369
- const _Na = "Name";
370
- const _Ne = "Networks";
371
- const _O = "Operator";
372
- const _P = "Performance";
373
- const _PLHEC = "PerformanceLocalHealthEventsConfig";
374
- const _PM = "PerformanceMeasurement";
375
- const _POCLI = "PercentOfClientLocationImpacted";
376
- const _POTTI = "PercentOfTotalTrafficImpacted";
377
- const _PS = "ProcessingStatus";
378
- const _PSI = "ProcessingStatusInfo";
379
- const _PST = "PerformanceScoreThreshold";
380
- const _P_ = "P50";
381
- const _P__ = "P90";
382
- const _P___ = "P95";
383
- const _QD = "QueryData";
384
- const _QF = "QueryField";
385
- const _QFu = "QueryFields";
386
- const _QI = "QueryId";
387
- const _QT = "QueryType";
388
- const _R = "Resources";
389
- const _RA = "ResourceArn";
390
- const _RNFE = "ResourceNotFoundException";
391
- const _RTA = "ResourcesToAdd";
392
- const _RTR = "ResourcesToRemove";
393
- const _RTT = "RoundTripTime";
394
- const _S = "Subdivision";
395
- const _SA = "StartedAt";
396
- const _SC = "SubdivisionCode";
397
- const _SCo = "S3Config";
398
- const _SL = "ServiceLocation";
399
- const _SQ = "StartQuery";
400
- const _SQI = "StartQueryInput";
401
- const _SQIt = "StopQueryInput";
402
- const _SQO = "StartQueryOutput";
403
- const _SQOt = "StopQueryOutput";
404
- const _SQt = "StopQuery";
405
- const _ST = "StartTime";
406
- const _St = "Status";
407
- const _T = "Tags";
408
- const _TE = "ThrottlingException";
409
- const _TK = "TagKeys";
410
- const _TMRE = "TooManyRequestsException";
411
- const _TPTM = "TrafficPercentageToMonitor";
412
- const _TR = "TagResource";
413
- const _TRI = "TagResourceInput";
414
- const _TRO = "TagResourceOutput";
415
- const _Ty = "Type";
416
- const _UM = "UpdateMonitor";
417
- const _UMI = "UpdateMonitorInput";
418
- const _UMO = "UpdateMonitorOutput";
419
- const _UR = "UntagResource";
420
- const _URI = "UntagResourceInput";
421
- const _URO = "UntagResourceOutput";
422
- const _V = "Values";
423
- const _VE = "ValidationException";
424
- const _c = "client";
425
- const _e = "error";
426
- const _h = "http";
427
- const _hE = "httpError";
428
- const _hQ = "httpQuery";
429
- const _m = "message";
430
- const _s = "server";
431
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.internetmonitor";
432
- const _tK = "tagKeys";
433
- const n0 = "com.amazonaws.internetmonitor";
434
- var AccessDeniedException$ = [-3, n0, _ADE,
435
- { [_e]: _c, [_hE]: 403 },
436
- [_m],
437
- [0]
438
- ];
439
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
440
- var AvailabilityMeasurement$ = [3, n0, _AM,
441
- 0,
442
- [_ES, _POTTI, _POCLI],
443
- [1, 1, 1]
444
- ];
445
- var BadRequestException$ = [-3, n0, _BRE,
446
- { [_e]: _c, [_hE]: 400 },
447
- [_m],
448
- [0]
449
- ];
450
- schema.TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
451
- var ClientLocation$ = [3, n0, _CL,
452
- 0,
453
- [_ASN, _ASNu, _C, _Ci, _L, _Lo, _S, _M],
454
- [0, 1, 0, 0, 1, 1, 0, 0], 6
455
- ];
456
- var ConflictException$ = [-3, n0, _CE,
457
- { [_e]: _c, [_hE]: 409 },
458
- [_m],
459
- [0]
460
- ];
461
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
462
- var CreateMonitorInput$ = [3, n0, _CMI,
463
- 0,
464
- [_MN, _R, _CT, _T, _MCNTM, _IMLD, _TPTM, _HEC],
465
- [0, 64 | 0, [0, 4], 128 | 0, 1, () => InternetMeasurementsLogDelivery$, 1, () => HealthEventsConfig$], 1
466
- ];
467
- var CreateMonitorOutput$ = [3, n0, _CMO,
468
- 0,
469
- [_A, _St],
470
- [0, 0], 2
471
- ];
472
- var DeleteMonitorInput$ = [3, n0, _DMI,
473
- 0,
474
- [_MN],
475
- [[0, 1]], 1
476
- ];
477
- var DeleteMonitorOutput$ = [3, n0, _DMO,
478
- 0,
479
- [],
480
- []
481
- ];
482
- var FilterParameter$ = [3, n0, _FP,
483
- 0,
484
- [_F, _O, _V],
485
- [0, 0, 64 | 0]
486
- ];
487
- var GetHealthEventInput$ = [3, n0, _GHEI,
488
- 0,
489
- [_MN, _EI, _LAI],
490
- [[0, 1], [0, 1], [0, { [_hQ]: _LAI }]], 2
491
- ];
492
- var GetHealthEventOutput$ = [3, n0, _GHEO,
493
- 0,
494
- [_EA, _EI, _SA, _LUA, _IL, _St, _IT, _EAn, _CA, _POTTI, _HST],
495
- [0, 0, 5, 5, () => ImpactedLocationsList, 0, 0, 5, 5, 1, 1], 7
496
- ];
497
- var GetInternetEventInput$ = [3, n0, _GIEI,
498
- 0,
499
- [_EI],
500
- [[0, 1]], 1
501
- ];
502
- var GetInternetEventOutput$ = [3, n0, _GIEO,
503
- 0,
504
- [_EI, _EA, _SA, _CL, _ET, _ESv, _EAn],
505
- [0, 0, 5, () => ClientLocation$, 0, 0, 5], 6
506
- ];
507
- var GetMonitorInput$ = [3, n0, _GMI,
508
- 0,
509
- [_MN, _LAI],
510
- [[0, 1], [0, { [_hQ]: _LAI }]], 1
511
- ];
512
- var GetMonitorOutput$ = [3, n0, _GMO,
513
- 0,
514
- [_MN, _MA, _R, _St, _CA, _MAo, _PS, _PSI, _T, _MCNTM, _IMLD, _TPTM, _HEC],
515
- [0, 0, 64 | 0, 0, 5, 5, 0, 0, 128 | 0, 1, () => InternetMeasurementsLogDelivery$, 1, () => HealthEventsConfig$], 6
516
- ];
517
- var GetQueryResultsInput$ = [3, n0, _GQRI,
518
- 0,
519
- [_MN, _QI, _NT, _MR],
520
- [[0, 1], [0, 1], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }]], 2
521
- ];
522
- var GetQueryResultsOutput$ = [3, n0, _GQRO,
523
- 0,
524
- [_Fi, _D, _NT],
525
- [() => QueryFields, [1, n0, _QD, 0, 64 | 0], 0], 2
526
- ];
527
- var GetQueryStatusInput$ = [3, n0, _GQSI,
528
- 0,
529
- [_MN, _QI],
530
- [[0, 1], [0, 1]], 2
531
- ];
532
- var GetQueryStatusOutput$ = [3, n0, _GQSO,
533
- 0,
534
- [_St],
535
- [0], 1
536
- ];
537
- var HealthEvent$ = [3, n0, _HE,
538
- 0,
539
- [_EA, _EI, _SA, _LUA, _IL, _St, _IT, _EAn, _CA, _POTTI, _HST],
540
- [0, 0, 5, 5, () => ImpactedLocationsList, 0, 0, 5, 5, 1, 1], 7
541
- ];
542
- var HealthEventsConfig$ = [3, n0, _HEC,
543
- 0,
544
- [_AST, _PST, _ALHEC, _PLHEC],
545
- [1, 1, () => LocalHealthEventsConfig$, () => LocalHealthEventsConfig$]
546
- ];
547
- var ImpactedLocation$ = [3, n0, _ILm,
548
- 0,
549
- [_ASN, _ASNu, _C, _St, _S, _M, _Ci, _L, _Lo, _CC, _SC, _SL, _CB, _IH, _IP],
550
- [0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, () => NetworkImpairment$, () => InternetHealth$, 64 | 0], 4
551
- ];
552
- var InternalServerErrorException$ = [-3, n0, _ISEE,
553
- { [_e]: _s, [_hE]: 500 },
554
- [_m],
555
- [0]
556
- ];
557
- schema.TypeRegistry.for(n0).registerError(InternalServerErrorException$, InternalServerErrorException);
558
- var InternalServerException$ = [-3, n0, _ISE,
559
- { [_e]: _s, [_hE]: 500 },
560
- [_m],
561
- [0]
562
- ];
563
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
564
- var InternetEventSummary$ = [3, n0, _IES,
565
- 0,
566
- [_EI, _EA, _SA, _CL, _ET, _ESv, _EAn],
567
- [0, 0, 5, () => ClientLocation$, 0, 0, 5], 6
568
- ];
569
- var InternetHealth$ = [3, n0, _IH,
570
- 0,
571
- [_Av, _P],
572
- [() => AvailabilityMeasurement$, () => PerformanceMeasurement$]
573
- ];
574
- var InternetMeasurementsLogDelivery$ = [3, n0, _IMLD,
575
- 0,
576
- [_SCo],
577
- [() => S3Config$]
578
- ];
579
- var LimitExceededException$ = [-3, n0, _LEE,
580
- { [_e]: _c, [_hE]: 403 },
581
- [_m],
582
- [0]
583
- ];
584
- schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
585
- var ListHealthEventsInput$ = [3, n0, _LHEI,
586
- 0,
587
- [_MN, _ST, _ETn, _NT, _MR, _ESv, _LAI],
588
- [[0, 1], [5, { [_hQ]: _ST }], [5, { [_hQ]: _ETn }], [0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }], [0, { [_hQ]: _ESv }], [0, { [_hQ]: _LAI }]], 1
589
- ];
590
- var ListHealthEventsOutput$ = [3, n0, _LHEO,
591
- 0,
592
- [_HEe, _NT],
593
- [() => HealthEventList, 0], 1
594
- ];
595
- var ListInternetEventsInput$ = [3, n0, _LIEI,
596
- 0,
597
- [_NT, _MR, _ST, _ETn, _ESv, _ET],
598
- [[0, { [_hQ]: _NT }], [1, { [_hQ]: _IEMR }], [5, { [_hQ]: _ST }], [5, { [_hQ]: _ETn }], [0, { [_hQ]: _ESv }], [0, { [_hQ]: _ET }]]
599
- ];
600
- var ListInternetEventsOutput$ = [3, n0, _LIEO,
601
- 0,
602
- [_IE, _NT],
603
- [() => InternetEventsList, 0], 1
604
- ];
605
- var ListMonitorsInput$ = [3, n0, _LMI,
606
- 0,
607
- [_NT, _MR, _MS, _ILA],
608
- [[0, { [_hQ]: _NT }], [1, { [_hQ]: _MR }], [0, { [_hQ]: _MS }], [2, { [_hQ]: _ILA }]]
609
- ];
610
- var ListMonitorsOutput$ = [3, n0, _LMO,
611
- 0,
612
- [_Mo, _NT],
613
- [() => MonitorList, 0], 1
614
- ];
615
- var ListTagsForResourceInput$ = [3, n0, _LTFRI,
616
- 0,
617
- [_RA],
618
- [[0, 1]], 1
619
- ];
620
- var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
621
- 0,
622
- [_T],
623
- [128 | 0]
624
- ];
625
- var LocalHealthEventsConfig$ = [3, n0, _LHEC,
626
- 0,
627
- [_St, _HST, _MTI],
628
- [0, 1, 1]
629
- ];
630
- var Monitor$ = [3, n0, _Mon,
631
- 0,
632
- [_MN, _MA, _St, _PS],
633
- [0, 0, 0, 0], 3
634
- ];
635
- var Network$ = [3, n0, _N,
636
- 0,
637
- [_ASN, _ASNu],
638
- [0, 1], 2
639
- ];
640
- var NetworkImpairment$ = [3, n0, _NI,
641
- 0,
642
- [_Ne, _AP, _NET],
643
- [() => NetworkList, () => NetworkList, 0], 3
644
- ];
645
- var NotFoundException$ = [-3, n0, _NFE,
646
- { [_e]: _c, [_hE]: 404 },
647
- [_m],
648
- [0]
649
- ];
650
- schema.TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
651
- var PerformanceMeasurement$ = [3, n0, _PM,
652
- 0,
653
- [_ES, _POTTI, _POCLI, _RTT],
654
- [1, 1, 1, () => RoundTripTime$]
655
- ];
656
- var QueryField$ = [3, n0, _QF,
657
- 0,
658
- [_Na, _Ty],
659
- [0, 0]
660
- ];
661
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
662
- { [_e]: _c, [_hE]: 404 },
663
- [_m],
664
- [0]
665
- ];
666
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
667
- var RoundTripTime$ = [3, n0, _RTT,
668
- 0,
669
- [_P_, _P__, _P___],
670
- [1, 1, 1]
671
- ];
672
- var S3Config$ = [3, n0, _SCo,
673
- 0,
674
- [_BN, _BP, _LDS],
675
- [0, 0, 0]
676
- ];
677
- var StartQueryInput$ = [3, n0, _SQI,
678
- 0,
679
- [_MN, _ST, _ETn, _QT, _FPi, _LAI],
680
- [[0, 1], 5, 5, 0, () => FilterParameters, 0], 4
681
- ];
682
- var StartQueryOutput$ = [3, n0, _SQO,
683
- 0,
684
- [_QI],
685
- [0], 1
686
- ];
687
- var StopQueryInput$ = [3, n0, _SQIt,
688
- 0,
689
- [_MN, _QI],
690
- [[0, 1], [0, 1]], 2
691
- ];
692
- var StopQueryOutput$ = [3, n0, _SQOt,
693
- 0,
694
- [],
695
- []
696
- ];
697
- var TagResourceInput$ = [3, n0, _TRI,
698
- 0,
699
- [_RA, _T],
700
- [[0, 1], 128 | 0], 2
701
- ];
702
- var TagResourceOutput$ = [3, n0, _TRO,
703
- 0,
704
- [],
705
- []
706
- ];
707
- var ThrottlingException$ = [-3, n0, _TE,
708
- { [_e]: _c, [_hE]: 429 },
709
- [_m],
710
- [0]
711
- ];
712
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
713
- var TooManyRequestsException$ = [-3, n0, _TMRE,
714
- { [_e]: _c, [_hE]: 429 },
715
- [_m],
716
- [0]
717
- ];
718
- schema.TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
719
- var UntagResourceInput$ = [3, n0, _URI,
720
- 0,
721
- [_RA, _TK],
722
- [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
723
- ];
724
- var UntagResourceOutput$ = [3, n0, _URO,
725
- 0,
726
- [],
727
- []
728
- ];
729
- var UpdateMonitorInput$ = [3, n0, _UMI,
730
- 0,
731
- [_MN, _RTA, _RTR, _St, _CT, _MCNTM, _IMLD, _TPTM, _HEC],
732
- [[0, 1], 64 | 0, 64 | 0, 0, [0, 4], 1, () => InternetMeasurementsLogDelivery$, 1, () => HealthEventsConfig$], 1
733
- ];
734
- var UpdateMonitorOutput$ = [3, n0, _UMO,
735
- 0,
736
- [_MA, _St],
737
- [0, 0], 2
738
- ];
739
- var ValidationException$ = [-3, n0, _VE,
740
- { [_e]: _c, [_hE]: 400 },
741
- [_m],
742
- [0]
743
- ];
744
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
745
- var InternetMonitorServiceException$ = [-3, _sm, "InternetMonitorServiceException", 0, [], []];
746
- schema.TypeRegistry.for(_sm).registerError(InternetMonitorServiceException$, InternetMonitorServiceException);
747
- var FilterParameters = [1, n0, _FPi,
748
- 0, () => FilterParameter$
749
- ];
750
- var HealthEventList = [1, n0, _HEL,
751
- 0, () => HealthEvent$
752
- ];
753
- var ImpactedLocationsList = [1, n0, _ILL,
754
- 0, () => ImpactedLocation$
755
- ];
756
- var InternetEventsList = [1, n0, _IEL,
757
- 0, () => InternetEventSummary$
758
- ];
759
- var MonitorList = [1, n0, _ML,
760
- 0, () => Monitor$
761
- ];
762
- var NetworkList = [1, n0, _NL,
763
- 0, () => Network$
764
- ];
765
- var QueryFields = [1, n0, _QFu,
766
- 0, () => QueryField$
767
- ];
768
- var CreateMonitor$ = [9, n0, _CM,
769
- { [_h]: ["POST", "/v20210603/Monitors", 200] }, () => CreateMonitorInput$, () => CreateMonitorOutput$
770
- ];
771
- var DeleteMonitor$ = [9, n0, _DM,
772
- { [_h]: ["DELETE", "/v20210603/Monitors/{MonitorName}", 200] }, () => DeleteMonitorInput$, () => DeleteMonitorOutput$
773
- ];
774
- var GetHealthEvent$ = [9, n0, _GHE,
775
- { [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/HealthEvents/{EventId}", 200] }, () => GetHealthEventInput$, () => GetHealthEventOutput$
776
- ];
777
- var GetInternetEvent$ = [9, n0, _GIE,
778
- { [_h]: ["GET", "/v20210603/InternetEvents/{EventId}", 200] }, () => GetInternetEventInput$, () => GetInternetEventOutput$
779
- ];
780
- var GetMonitor$ = [9, n0, _GM,
781
- { [_h]: ["GET", "/v20210603/Monitors/{MonitorName}", 200] }, () => GetMonitorInput$, () => GetMonitorOutput$
782
- ];
783
- var GetQueryResults$ = [9, n0, _GQR,
784
- { [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Results", 200] }, () => GetQueryResultsInput$, () => GetQueryResultsOutput$
785
- ];
786
- var GetQueryStatus$ = [9, n0, _GQS,
787
- { [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Status", 200] }, () => GetQueryStatusInput$, () => GetQueryStatusOutput$
788
- ];
789
- var ListHealthEvents$ = [9, n0, _LHE,
790
- { [_h]: ["GET", "/v20210603/Monitors/{MonitorName}/HealthEvents", 200] }, () => ListHealthEventsInput$, () => ListHealthEventsOutput$
791
- ];
792
- var ListInternetEvents$ = [9, n0, _LIE,
793
- { [_h]: ["GET", "/v20210603/InternetEvents", 200] }, () => ListInternetEventsInput$, () => ListInternetEventsOutput$
794
- ];
795
- var ListMonitors$ = [9, n0, _LM,
796
- { [_h]: ["GET", "/v20210603/Monitors", 200] }, () => ListMonitorsInput$, () => ListMonitorsOutput$
797
- ];
798
- var ListTagsForResource$ = [9, n0, _LTFR,
799
- { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
800
- ];
801
- var StartQuery$ = [9, n0, _SQ,
802
- { [_h]: ["POST", "/v20210603/Monitors/{MonitorName}/Queries", 200] }, () => StartQueryInput$, () => StartQueryOutput$
803
- ];
804
- var StopQuery$ = [9, n0, _SQt,
805
- { [_h]: ["DELETE", "/v20210603/Monitors/{MonitorName}/Queries/{QueryId}", 200] }, () => StopQueryInput$, () => StopQueryOutput$
806
- ];
807
- var TagResource$ = [9, n0, _TR,
808
- { [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () => TagResourceInput$, () => TagResourceOutput$
809
- ];
810
- var UntagResource$ = [9, n0, _UR,
811
- { [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => UntagResourceInput$, () => UntagResourceOutput$
812
- ];
813
- var UpdateMonitor$ = [9, n0, _UM,
814
- { [_h]: ["PATCH", "/v20210603/Monitors/{MonitorName}", 200] }, () => UpdateMonitorInput$, () => UpdateMonitorOutput$
815
- ];
816
-
817
116
  class CreateMonitorCommand extends smithyClient.Command
818
117
  .classBuilder()
819
118
  .ep(commonParams)
@@ -822,7 +121,7 @@ class CreateMonitorCommand extends smithyClient.Command
822
121
  })
823
122
  .s("InternetMonitor20210603", "CreateMonitor", {})
824
123
  .n("InternetMonitorClient", "CreateMonitorCommand")
825
- .sc(CreateMonitor$)
124
+ .sc(schemas_0.CreateMonitor$)
826
125
  .build() {
827
126
  }
828
127
 
@@ -834,7 +133,7 @@ class DeleteMonitorCommand extends smithyClient.Command
834
133
  })
835
134
  .s("InternetMonitor20210603", "DeleteMonitor", {})
836
135
  .n("InternetMonitorClient", "DeleteMonitorCommand")
837
- .sc(DeleteMonitor$)
136
+ .sc(schemas_0.DeleteMonitor$)
838
137
  .build() {
839
138
  }
840
139
 
@@ -846,7 +145,7 @@ class GetHealthEventCommand extends smithyClient.Command
846
145
  })
847
146
  .s("InternetMonitor20210603", "GetHealthEvent", {})
848
147
  .n("InternetMonitorClient", "GetHealthEventCommand")
849
- .sc(GetHealthEvent$)
148
+ .sc(schemas_0.GetHealthEvent$)
850
149
  .build() {
851
150
  }
852
151
 
@@ -858,7 +157,7 @@ class GetInternetEventCommand extends smithyClient.Command
858
157
  })
859
158
  .s("InternetMonitor20210603", "GetInternetEvent", {})
860
159
  .n("InternetMonitorClient", "GetInternetEventCommand")
861
- .sc(GetInternetEvent$)
160
+ .sc(schemas_0.GetInternetEvent$)
862
161
  .build() {
863
162
  }
864
163
 
@@ -870,7 +169,7 @@ class GetMonitorCommand extends smithyClient.Command
870
169
  })
871
170
  .s("InternetMonitor20210603", "GetMonitor", {})
872
171
  .n("InternetMonitorClient", "GetMonitorCommand")
873
- .sc(GetMonitor$)
172
+ .sc(schemas_0.GetMonitor$)
874
173
  .build() {
875
174
  }
876
175
 
@@ -882,7 +181,7 @@ class GetQueryResultsCommand extends smithyClient.Command
882
181
  })
883
182
  .s("InternetMonitor20210603", "GetQueryResults", {})
884
183
  .n("InternetMonitorClient", "GetQueryResultsCommand")
885
- .sc(GetQueryResults$)
184
+ .sc(schemas_0.GetQueryResults$)
886
185
  .build() {
887
186
  }
888
187
 
@@ -894,7 +193,7 @@ class GetQueryStatusCommand extends smithyClient.Command
894
193
  })
895
194
  .s("InternetMonitor20210603", "GetQueryStatus", {})
896
195
  .n("InternetMonitorClient", "GetQueryStatusCommand")
897
- .sc(GetQueryStatus$)
196
+ .sc(schemas_0.GetQueryStatus$)
898
197
  .build() {
899
198
  }
900
199
 
@@ -906,7 +205,7 @@ class ListHealthEventsCommand extends smithyClient.Command
906
205
  })
907
206
  .s("InternetMonitor20210603", "ListHealthEvents", {})
908
207
  .n("InternetMonitorClient", "ListHealthEventsCommand")
909
- .sc(ListHealthEvents$)
208
+ .sc(schemas_0.ListHealthEvents$)
910
209
  .build() {
911
210
  }
912
211
 
@@ -918,7 +217,7 @@ class ListInternetEventsCommand extends smithyClient.Command
918
217
  })
919
218
  .s("InternetMonitor20210603", "ListInternetEvents", {})
920
219
  .n("InternetMonitorClient", "ListInternetEventsCommand")
921
- .sc(ListInternetEvents$)
220
+ .sc(schemas_0.ListInternetEvents$)
922
221
  .build() {
923
222
  }
924
223
 
@@ -930,7 +229,7 @@ class ListMonitorsCommand extends smithyClient.Command
930
229
  })
931
230
  .s("InternetMonitor20210603", "ListMonitors", {})
932
231
  .n("InternetMonitorClient", "ListMonitorsCommand")
933
- .sc(ListMonitors$)
232
+ .sc(schemas_0.ListMonitors$)
934
233
  .build() {
935
234
  }
936
235
 
@@ -942,7 +241,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
942
241
  })
943
242
  .s("InternetMonitor20210603", "ListTagsForResource", {})
944
243
  .n("InternetMonitorClient", "ListTagsForResourceCommand")
945
- .sc(ListTagsForResource$)
244
+ .sc(schemas_0.ListTagsForResource$)
946
245
  .build() {
947
246
  }
948
247
 
@@ -954,7 +253,7 @@ class StartQueryCommand extends smithyClient.Command
954
253
  })
955
254
  .s("InternetMonitor20210603", "StartQuery", {})
956
255
  .n("InternetMonitorClient", "StartQueryCommand")
957
- .sc(StartQuery$)
256
+ .sc(schemas_0.StartQuery$)
958
257
  .build() {
959
258
  }
960
259
 
@@ -966,7 +265,7 @@ class StopQueryCommand extends smithyClient.Command
966
265
  })
967
266
  .s("InternetMonitor20210603", "StopQuery", {})
968
267
  .n("InternetMonitorClient", "StopQueryCommand")
969
- .sc(StopQuery$)
268
+ .sc(schemas_0.StopQuery$)
970
269
  .build() {
971
270
  }
972
271
 
@@ -978,7 +277,7 @@ class TagResourceCommand extends smithyClient.Command
978
277
  })
979
278
  .s("InternetMonitor20210603", "TagResource", {})
980
279
  .n("InternetMonitorClient", "TagResourceCommand")
981
- .sc(TagResource$)
280
+ .sc(schemas_0.TagResource$)
982
281
  .build() {
983
282
  }
984
283
 
@@ -990,7 +289,7 @@ class UntagResourceCommand extends smithyClient.Command
990
289
  })
991
290
  .s("InternetMonitor20210603", "UntagResource", {})
992
291
  .n("InternetMonitorClient", "UntagResourceCommand")
993
- .sc(UntagResource$)
292
+ .sc(schemas_0.UntagResource$)
994
293
  .build() {
995
294
  }
996
295
 
@@ -1002,7 +301,7 @@ class UpdateMonitorCommand extends smithyClient.Command
1002
301
  })
1003
302
  .s("InternetMonitor20210603", "UpdateMonitor", {})
1004
303
  .n("InternetMonitorClient", "UpdateMonitorCommand")
1005
- .sc(UpdateMonitor$)
304
+ .sc(schemas_0.UpdateMonitor$)
1006
305
  .build() {
1007
306
  }
1008
307
 
@@ -1114,126 +413,53 @@ Object.defineProperty(exports, "__Client", {
1114
413
  enumerable: true,
1115
414
  get: function () { return smithyClient.Client; }
1116
415
  });
1117
- exports.AccessDeniedException = AccessDeniedException;
1118
- exports.AccessDeniedException$ = AccessDeniedException$;
1119
- exports.AvailabilityMeasurement$ = AvailabilityMeasurement$;
1120
- exports.BadRequestException = BadRequestException;
1121
- exports.BadRequestException$ = BadRequestException$;
1122
- exports.ClientLocation$ = ClientLocation$;
1123
- exports.ConflictException = ConflictException;
1124
- exports.ConflictException$ = ConflictException$;
1125
- exports.CreateMonitor$ = CreateMonitor$;
416
+ Object.defineProperty(exports, "InternetMonitorServiceException", {
417
+ enumerable: true,
418
+ get: function () { return InternetMonitorServiceException.InternetMonitorServiceException; }
419
+ });
1126
420
  exports.CreateMonitorCommand = CreateMonitorCommand;
1127
- exports.CreateMonitorInput$ = CreateMonitorInput$;
1128
- exports.CreateMonitorOutput$ = CreateMonitorOutput$;
1129
- exports.DeleteMonitor$ = DeleteMonitor$;
1130
421
  exports.DeleteMonitorCommand = DeleteMonitorCommand;
1131
- exports.DeleteMonitorInput$ = DeleteMonitorInput$;
1132
- exports.DeleteMonitorOutput$ = DeleteMonitorOutput$;
1133
- exports.FilterParameter$ = FilterParameter$;
1134
- exports.GetHealthEvent$ = GetHealthEvent$;
1135
422
  exports.GetHealthEventCommand = GetHealthEventCommand;
1136
- exports.GetHealthEventInput$ = GetHealthEventInput$;
1137
- exports.GetHealthEventOutput$ = GetHealthEventOutput$;
1138
- exports.GetInternetEvent$ = GetInternetEvent$;
1139
423
  exports.GetInternetEventCommand = GetInternetEventCommand;
1140
- exports.GetInternetEventInput$ = GetInternetEventInput$;
1141
- exports.GetInternetEventOutput$ = GetInternetEventOutput$;
1142
- exports.GetMonitor$ = GetMonitor$;
1143
424
  exports.GetMonitorCommand = GetMonitorCommand;
1144
- exports.GetMonitorInput$ = GetMonitorInput$;
1145
- exports.GetMonitorOutput$ = GetMonitorOutput$;
1146
- exports.GetQueryResults$ = GetQueryResults$;
1147
425
  exports.GetQueryResultsCommand = GetQueryResultsCommand;
1148
- exports.GetQueryResultsInput$ = GetQueryResultsInput$;
1149
- exports.GetQueryResultsOutput$ = GetQueryResultsOutput$;
1150
- exports.GetQueryStatus$ = GetQueryStatus$;
1151
426
  exports.GetQueryStatusCommand = GetQueryStatusCommand;
1152
- exports.GetQueryStatusInput$ = GetQueryStatusInput$;
1153
- exports.GetQueryStatusOutput$ = GetQueryStatusOutput$;
1154
- exports.HealthEvent$ = HealthEvent$;
1155
427
  exports.HealthEventImpactType = HealthEventImpactType;
1156
428
  exports.HealthEventStatus = HealthEventStatus;
1157
- exports.HealthEventsConfig$ = HealthEventsConfig$;
1158
- exports.ImpactedLocation$ = ImpactedLocation$;
1159
- exports.InternalServerErrorException = InternalServerErrorException;
1160
- exports.InternalServerErrorException$ = InternalServerErrorException$;
1161
- exports.InternalServerException = InternalServerException;
1162
- exports.InternalServerException$ = InternalServerException$;
1163
429
  exports.InternetEventStatus = InternetEventStatus;
1164
- exports.InternetEventSummary$ = InternetEventSummary$;
1165
430
  exports.InternetEventType = InternetEventType;
1166
- exports.InternetHealth$ = InternetHealth$;
1167
- exports.InternetMeasurementsLogDelivery$ = InternetMeasurementsLogDelivery$;
1168
431
  exports.InternetMonitor = InternetMonitor;
1169
432
  exports.InternetMonitorClient = InternetMonitorClient;
1170
- exports.InternetMonitorServiceException = InternetMonitorServiceException;
1171
- exports.InternetMonitorServiceException$ = InternetMonitorServiceException$;
1172
- exports.LimitExceededException = LimitExceededException;
1173
- exports.LimitExceededException$ = LimitExceededException$;
1174
- exports.ListHealthEvents$ = ListHealthEvents$;
1175
433
  exports.ListHealthEventsCommand = ListHealthEventsCommand;
1176
- exports.ListHealthEventsInput$ = ListHealthEventsInput$;
1177
- exports.ListHealthEventsOutput$ = ListHealthEventsOutput$;
1178
- exports.ListInternetEvents$ = ListInternetEvents$;
1179
434
  exports.ListInternetEventsCommand = ListInternetEventsCommand;
1180
- exports.ListInternetEventsInput$ = ListInternetEventsInput$;
1181
- exports.ListInternetEventsOutput$ = ListInternetEventsOutput$;
1182
- exports.ListMonitors$ = ListMonitors$;
1183
435
  exports.ListMonitorsCommand = ListMonitorsCommand;
1184
- exports.ListMonitorsInput$ = ListMonitorsInput$;
1185
- exports.ListMonitorsOutput$ = ListMonitorsOutput$;
1186
- exports.ListTagsForResource$ = ListTagsForResource$;
1187
436
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1188
- exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
1189
- exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
1190
- exports.LocalHealthEventsConfig$ = LocalHealthEventsConfig$;
1191
437
  exports.LocalHealthEventsConfigStatus = LocalHealthEventsConfigStatus;
1192
438
  exports.LogDeliveryStatus = LogDeliveryStatus;
1193
- exports.Monitor$ = Monitor$;
1194
439
  exports.MonitorConfigState = MonitorConfigState;
1195
440
  exports.MonitorProcessingStatusCode = MonitorProcessingStatusCode;
1196
- exports.Network$ = Network$;
1197
- exports.NetworkImpairment$ = NetworkImpairment$;
1198
- exports.NotFoundException = NotFoundException;
1199
- exports.NotFoundException$ = NotFoundException$;
1200
441
  exports.Operator = Operator;
1201
- exports.PerformanceMeasurement$ = PerformanceMeasurement$;
1202
- exports.QueryField$ = QueryField$;
1203
442
  exports.QueryStatus = QueryStatus;
1204
443
  exports.QueryType = QueryType;
1205
- exports.ResourceNotFoundException = ResourceNotFoundException;
1206
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1207
- exports.RoundTripTime$ = RoundTripTime$;
1208
- exports.S3Config$ = S3Config$;
1209
- exports.StartQuery$ = StartQuery$;
1210
444
  exports.StartQueryCommand = StartQueryCommand;
1211
- exports.StartQueryInput$ = StartQueryInput$;
1212
- exports.StartQueryOutput$ = StartQueryOutput$;
1213
- exports.StopQuery$ = StopQuery$;
1214
445
  exports.StopQueryCommand = StopQueryCommand;
1215
- exports.StopQueryInput$ = StopQueryInput$;
1216
- exports.StopQueryOutput$ = StopQueryOutput$;
1217
- exports.TagResource$ = TagResource$;
1218
446
  exports.TagResourceCommand = TagResourceCommand;
1219
- exports.TagResourceInput$ = TagResourceInput$;
1220
- exports.TagResourceOutput$ = TagResourceOutput$;
1221
- exports.ThrottlingException = ThrottlingException;
1222
- exports.ThrottlingException$ = ThrottlingException$;
1223
- exports.TooManyRequestsException = TooManyRequestsException;
1224
- exports.TooManyRequestsException$ = TooManyRequestsException$;
1225
447
  exports.TriangulationEventType = TriangulationEventType;
1226
- exports.UntagResource$ = UntagResource$;
1227
448
  exports.UntagResourceCommand = UntagResourceCommand;
1228
- exports.UntagResourceInput$ = UntagResourceInput$;
1229
- exports.UntagResourceOutput$ = UntagResourceOutput$;
1230
- exports.UpdateMonitor$ = UpdateMonitor$;
1231
449
  exports.UpdateMonitorCommand = UpdateMonitorCommand;
1232
- exports.UpdateMonitorInput$ = UpdateMonitorInput$;
1233
- exports.UpdateMonitorOutput$ = UpdateMonitorOutput$;
1234
- exports.ValidationException = ValidationException;
1235
- exports.ValidationException$ = ValidationException$;
1236
450
  exports.paginateGetQueryResults = paginateGetQueryResults;
1237
451
  exports.paginateListHealthEvents = paginateListHealthEvents;
1238
452
  exports.paginateListInternetEvents = paginateListInternetEvents;
1239
453
  exports.paginateListMonitors = paginateListMonitors;
454
+ Object.keys(schemas_0).forEach(function (k) {
455
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
456
+ enumerable: true,
457
+ get: function () { return schemas_0[k]; }
458
+ });
459
+ });
460
+ Object.keys(errors).forEach(function (k) {
461
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
462
+ enumerable: true,
463
+ get: function () { return errors[k]; }
464
+ });
465
+ });