@aws-sdk/client-iot-events-data 3.986.0 → 3.988.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 IoTEventsDataServiceException = require('./models/IoTEventsDataServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,653 +113,6 @@ class IoTEventsDataClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class IoTEventsDataServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, IoTEventsDataServiceException.prototype);
117
- }
118
- }
119
-
120
- class InternalFailureException extends IoTEventsDataServiceException {
121
- name = "InternalFailureException";
122
- $fault = "server";
123
- constructor(opts) {
124
- super({
125
- name: "InternalFailureException",
126
- $fault: "server",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, InternalFailureException.prototype);
130
- }
131
- }
132
- class InvalidRequestException extends IoTEventsDataServiceException {
133
- name = "InvalidRequestException";
134
- $fault = "client";
135
- constructor(opts) {
136
- super({
137
- name: "InvalidRequestException",
138
- $fault: "client",
139
- ...opts,
140
- });
141
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
142
- }
143
- }
144
- class ServiceUnavailableException extends IoTEventsDataServiceException {
145
- name = "ServiceUnavailableException";
146
- $fault = "server";
147
- constructor(opts) {
148
- super({
149
- name: "ServiceUnavailableException",
150
- $fault: "server",
151
- ...opts,
152
- });
153
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
154
- }
155
- }
156
- class ThrottlingException extends IoTEventsDataServiceException {
157
- name = "ThrottlingException";
158
- $fault = "client";
159
- constructor(opts) {
160
- super({
161
- name: "ThrottlingException",
162
- $fault: "client",
163
- ...opts,
164
- });
165
- Object.setPrototypeOf(this, ThrottlingException.prototype);
166
- }
167
- }
168
- class ResourceNotFoundException extends IoTEventsDataServiceException {
169
- name = "ResourceNotFoundException";
170
- $fault = "client";
171
- constructor(opts) {
172
- super({
173
- name: "ResourceNotFoundException",
174
- $fault: "client",
175
- ...opts,
176
- });
177
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
178
- }
179
- }
180
-
181
- const _A = "Alarm";
182
- const _AAAR = "AcknowledgeAlarmActionRequest";
183
- const _AAARc = "AcknowledgeAlarmActionRequests";
184
- const _AAC = "AcknowledgeActionConfiguration";
185
- const _AS = "AlarmState";
186
- const _ASl = "AlarmSummary";
187
- const _ASla = "AlarmSummaries";
188
- const _BAA = "BatchAcknowledgeAlarm";
189
- const _BAAEE = "BatchAlarmActionErrorEntry";
190
- const _BAAEEa = "BatchAlarmActionErrorEntries";
191
- const _BAAR = "BatchAcknowledgeAlarmRequest";
192
- const _BAARa = "BatchAcknowledgeAlarmResponse";
193
- const _BDA = "BatchDisableAlarm";
194
- const _BDAR = "BatchDisableAlarmRequest";
195
- const _BDARa = "BatchDisableAlarmResponse";
196
- const _BDD = "BatchDeleteDetector";
197
- const _BDDEE = "BatchDeleteDetectorErrorEntry";
198
- const _BDDEEa = "BatchDeleteDetectorErrorEntries";
199
- const _BDDR = "BatchDeleteDetectorRequest";
200
- const _BDDRa = "BatchDeleteDetectorResponse";
201
- const _BEA = "BatchEnableAlarm";
202
- const _BEAR = "BatchEnableAlarmRequest";
203
- const _BEARa = "BatchEnableAlarmResponse";
204
- const _BPM = "BatchPutMessage";
205
- const _BPMEE = "BatchPutMessageErrorEntry";
206
- const _BPMEEa = "BatchPutMessageErrorEntries";
207
- const _BPMR = "BatchPutMessageRequest";
208
- const _BPMRa = "BatchPutMessageResponse";
209
- const _BRA = "BatchResetAlarm";
210
- const _BRAR = "BatchResetAlarmRequest";
211
- const _BRARa = "BatchResetAlarmResponse";
212
- const _BSA = "BatchSnoozeAlarm";
213
- const _BSAR = "BatchSnoozeAlarmRequest";
214
- const _BSARa = "BatchSnoozeAlarmResponse";
215
- const _BUD = "BatchUpdateDetector";
216
- const _BUDEE = "BatchUpdateDetectorErrorEntry";
217
- const _BUDEEa = "BatchUpdateDetectorErrorEntries";
218
- const _BUDR = "BatchUpdateDetectorRequest";
219
- const _BUDRa = "BatchUpdateDetectorResponse";
220
- const _CA = "CustomerAction";
221
- const _D = "Detector";
222
- const _DA = "DescribeAlarm";
223
- const _DAAR = "DisableAlarmActionRequest";
224
- const _DAARi = "DisableAlarmActionRequests";
225
- const _DAC = "DisableActionConfiguration";
226
- const _DAR = "DescribeAlarmRequest";
227
- const _DARe = "DescribeAlarmResponse";
228
- const _DD = "DescribeDetector";
229
- const _DDR = "DeleteDetectorRequest";
230
- const _DDRe = "DescribeDetectorRequest";
231
- const _DDRel = "DeleteDetectorRequests";
232
- const _DDRes = "DescribeDetectorResponse";
233
- const _DS = "DetectorState";
234
- const _DSD = "DetectorStateDefinition";
235
- const _DSS = "DetectorStateSummary";
236
- const _DSe = "DetectorSummary";
237
- const _DSet = "DetectorSummaries";
238
- const _EAAR = "EnableAlarmActionRequest";
239
- const _EAARn = "EnableAlarmActionRequests";
240
- const _EAC = "EnableActionConfiguration";
241
- const _IFE = "InternalFailureException";
242
- const _IRE = "InvalidRequestException";
243
- const _LA = "ListAlarms";
244
- const _LAR = "ListAlarmsRequest";
245
- const _LARi = "ListAlarmsResponse";
246
- const _LD = "ListDetectors";
247
- const _LDR = "ListDetectorsRequest";
248
- const _LDRi = "ListDetectorsResponse";
249
- const _M = "Message";
250
- const _Me = "Messages";
251
- const _RAAR = "ResetAlarmActionRequest";
252
- const _RAARe = "ResetAlarmActionRequests";
253
- const _RAC = "ResetActionConfiguration";
254
- const _RE = "RuleEvaluation";
255
- const _RNFE = "ResourceNotFoundException";
256
- const _SAAR = "SnoozeAlarmActionRequest";
257
- const _SAARn = "SnoozeAlarmActionRequests";
258
- const _SAC = "SnoozeActionConfiguration";
259
- const _SCC = "StateChangeConfiguration";
260
- const _SE = "SystemEvent";
261
- const _SRE = "SimpleRuleEvaluation";
262
- const _SUE = "ServiceUnavailableException";
263
- const _T = "Timer";
264
- const _TD = "TimerDefinition";
265
- const _TDi = "TimerDefinitions";
266
- const _TE = "ThrottlingException";
267
- const _TV = "TimestampValue";
268
- const _Ti = "Timers";
269
- const _UDR = "UpdateDetectorRequest";
270
- const _UDRp = "UpdateDetectorRequests";
271
- const _V = "Variable";
272
- const _VD = "VariableDefinition";
273
- const _VDa = "VariableDefinitions";
274
- const _Va = "Variables";
275
- const _a = "alarm";
276
- const _aAC = "acknowledgeActionConfiguration";
277
- const _aAR = "acknowledgeActionRequests";
278
- const _aMN = "alarmModelName";
279
- const _aMV = "alarmModelVersion";
280
- const _aN = "actionName";
281
- const _aS = "alarmState";
282
- const _aSl = "alarmSummaries";
283
- const _bDDEE = "batchDeleteDetectorErrorEntries";
284
- const _bUDEE = "batchUpdateDetectorErrorEntries";
285
- const _c = "client";
286
- const _cA = "customerAction";
287
- const _cT = "creationTime";
288
- const _d = "detectors";
289
- const _dAC = "disableActionConfiguration";
290
- const _dAR = "disableActionRequests";
291
- const _dMN = "detectorModelName";
292
- const _dMV = "detectorModelVersion";
293
- const _dS = "detectorSummaries";
294
- const _de = "detector";
295
- const _e = "error";
296
- const _eAC = "enableActionConfiguration";
297
- const _eAR = "enableActionRequests";
298
- const _eC = "errorCode";
299
- const _eE = "errorEntries";
300
- const _eM = "errorMessage";
301
- const _eT = "eventType";
302
- const _h = "http";
303
- const _hE = "httpError";
304
- const _hQ = "httpQuery";
305
- const _iN = "inputName";
306
- const _iPV = "inputPropertyValue";
307
- const _kV = "keyValue";
308
- const _lUT = "lastUpdateTime";
309
- const _m = "messages";
310
- const _mI = "messageId";
311
- const _mR = "maxResults";
312
- const _me = "message";
313
- const _n = "note";
314
- const _nT = "nextToken";
315
- const _na = "name";
316
- const _o = "operator";
317
- const _p = "payload";
318
- const _rAC = "resetActionConfiguration";
319
- const _rAR = "resetActionRequests";
320
- const _rE = "ruleEvaluation";
321
- const _rI = "requestId";
322
- const _s = "severity";
323
- const _sAC = "snoozeActionConfiguration";
324
- const _sAR = "snoozeActionRequests";
325
- const _sCC = "stateChangeConfiguration";
326
- const _sD = "snoozeDuration";
327
- const _sE = "systemEvent";
328
- const _sN = "stateName";
329
- const _sRE = "simpleRuleEvaluation";
330
- const _se = "server";
331
- const _sec = "seconds";
332
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ioteventsdata";
333
- const _st = "state";
334
- const _t = "timers";
335
- const _tIM = "timeInMillis";
336
- const _tT = "triggerType";
337
- const _tV = "thresholdValue";
338
- const _ti = "timestamp";
339
- const _v = "variables";
340
- const _va = "value";
341
- const n0 = "com.amazonaws.ioteventsdata";
342
- var AcknowledgeActionConfiguration$ = [3, n0, _AAC,
343
- 0,
344
- [_n],
345
- [0]
346
- ];
347
- var AcknowledgeAlarmActionRequest$ = [3, n0, _AAAR,
348
- 0,
349
- [_rI, _aMN, _kV, _n],
350
- [0, 0, 0, 0], 2
351
- ];
352
- var Alarm$ = [3, n0, _A,
353
- 0,
354
- [_aMN, _aMV, _kV, _aS, _s, _cT, _lUT],
355
- [0, 0, 0, () => AlarmState$, 1, 4, 4]
356
- ];
357
- var AlarmState$ = [3, n0, _AS,
358
- 0,
359
- [_sN, _rE, _cA, _sE],
360
- [0, () => RuleEvaluation$, () => CustomerAction$, () => SystemEvent$]
361
- ];
362
- var AlarmSummary$ = [3, n0, _ASl,
363
- 0,
364
- [_aMN, _aMV, _kV, _sN, _cT, _lUT],
365
- [0, 0, 0, 0, 4, 4]
366
- ];
367
- var BatchAcknowledgeAlarmRequest$ = [3, n0, _BAAR,
368
- 0,
369
- [_aAR],
370
- [() => AcknowledgeAlarmActionRequests], 1
371
- ];
372
- var BatchAcknowledgeAlarmResponse$ = [3, n0, _BAARa,
373
- 0,
374
- [_eE],
375
- [() => BatchAlarmActionErrorEntries]
376
- ];
377
- var BatchAlarmActionErrorEntry$ = [3, n0, _BAAEE,
378
- 0,
379
- [_rI, _eC, _eM],
380
- [0, 0, 0]
381
- ];
382
- var BatchDeleteDetectorErrorEntry$ = [3, n0, _BDDEE,
383
- 0,
384
- [_mI, _eC, _eM],
385
- [0, 0, 0]
386
- ];
387
- var BatchDeleteDetectorRequest$ = [3, n0, _BDDR,
388
- 0,
389
- [_d],
390
- [() => DeleteDetectorRequests], 1
391
- ];
392
- var BatchDeleteDetectorResponse$ = [3, n0, _BDDRa,
393
- 0,
394
- [_bDDEE],
395
- [() => BatchDeleteDetectorErrorEntries]
396
- ];
397
- var BatchDisableAlarmRequest$ = [3, n0, _BDAR,
398
- 0,
399
- [_dAR],
400
- [() => DisableAlarmActionRequests], 1
401
- ];
402
- var BatchDisableAlarmResponse$ = [3, n0, _BDARa,
403
- 0,
404
- [_eE],
405
- [() => BatchAlarmActionErrorEntries]
406
- ];
407
- var BatchEnableAlarmRequest$ = [3, n0, _BEAR,
408
- 0,
409
- [_eAR],
410
- [() => EnableAlarmActionRequests], 1
411
- ];
412
- var BatchEnableAlarmResponse$ = [3, n0, _BEARa,
413
- 0,
414
- [_eE],
415
- [() => BatchAlarmActionErrorEntries]
416
- ];
417
- var BatchPutMessageErrorEntry$ = [3, n0, _BPMEE,
418
- 0,
419
- [_mI, _eC, _eM],
420
- [0, 0, 0]
421
- ];
422
- var BatchPutMessageRequest$ = [3, n0, _BPMR,
423
- 0,
424
- [_m],
425
- [() => Messages], 1
426
- ];
427
- var BatchPutMessageResponse$ = [3, n0, _BPMRa,
428
- 0,
429
- [_BPMEEa],
430
- [() => BatchPutMessageErrorEntries]
431
- ];
432
- var BatchResetAlarmRequest$ = [3, n0, _BRAR,
433
- 0,
434
- [_rAR],
435
- [() => ResetAlarmActionRequests], 1
436
- ];
437
- var BatchResetAlarmResponse$ = [3, n0, _BRARa,
438
- 0,
439
- [_eE],
440
- [() => BatchAlarmActionErrorEntries]
441
- ];
442
- var BatchSnoozeAlarmRequest$ = [3, n0, _BSAR,
443
- 0,
444
- [_sAR],
445
- [() => SnoozeAlarmActionRequests], 1
446
- ];
447
- var BatchSnoozeAlarmResponse$ = [3, n0, _BSARa,
448
- 0,
449
- [_eE],
450
- [() => BatchAlarmActionErrorEntries]
451
- ];
452
- var BatchUpdateDetectorErrorEntry$ = [3, n0, _BUDEE,
453
- 0,
454
- [_mI, _eC, _eM],
455
- [0, 0, 0]
456
- ];
457
- var BatchUpdateDetectorRequest$ = [3, n0, _BUDR,
458
- 0,
459
- [_d],
460
- [() => UpdateDetectorRequests], 1
461
- ];
462
- var BatchUpdateDetectorResponse$ = [3, n0, _BUDRa,
463
- 0,
464
- [_bUDEE],
465
- [() => BatchUpdateDetectorErrorEntries]
466
- ];
467
- var CustomerAction$ = [3, n0, _CA,
468
- 0,
469
- [_aN, _sAC, _eAC, _dAC, _aAC, _rAC],
470
- [0, () => SnoozeActionConfiguration$, () => EnableActionConfiguration$, () => DisableActionConfiguration$, () => AcknowledgeActionConfiguration$, () => ResetActionConfiguration$]
471
- ];
472
- var DeleteDetectorRequest$ = [3, n0, _DDR,
473
- 0,
474
- [_mI, _dMN, _kV],
475
- [0, 0, 0], 2
476
- ];
477
- var DescribeAlarmRequest$ = [3, n0, _DAR,
478
- 0,
479
- [_aMN, _kV],
480
- [[0, 1], [0, { [_hQ]: _kV }]], 1
481
- ];
482
- var DescribeAlarmResponse$ = [3, n0, _DARe,
483
- 0,
484
- [_a],
485
- [() => Alarm$]
486
- ];
487
- var DescribeDetectorRequest$ = [3, n0, _DDRe,
488
- 0,
489
- [_dMN, _kV],
490
- [[0, 1], [0, { [_hQ]: _kV }]], 1
491
- ];
492
- var DescribeDetectorResponse$ = [3, n0, _DDRes,
493
- 0,
494
- [_de],
495
- [() => Detector$]
496
- ];
497
- var Detector$ = [3, n0, _D,
498
- 0,
499
- [_dMN, _kV, _dMV, _st, _cT, _lUT],
500
- [0, 0, 0, () => DetectorState$, 4, 4]
501
- ];
502
- var DetectorState$ = [3, n0, _DS,
503
- 0,
504
- [_sN, _v, _t],
505
- [0, () => Variables, () => Timers], 3
506
- ];
507
- var DetectorStateDefinition$ = [3, n0, _DSD,
508
- 0,
509
- [_sN, _v, _t],
510
- [0, () => VariableDefinitions, () => TimerDefinitions], 3
511
- ];
512
- var DetectorStateSummary$ = [3, n0, _DSS,
513
- 0,
514
- [_sN],
515
- [0]
516
- ];
517
- var DetectorSummary$ = [3, n0, _DSe,
518
- 0,
519
- [_dMN, _kV, _dMV, _st, _cT, _lUT],
520
- [0, 0, 0, () => DetectorStateSummary$, 4, 4]
521
- ];
522
- var DisableActionConfiguration$ = [3, n0, _DAC,
523
- 0,
524
- [_n],
525
- [0]
526
- ];
527
- var DisableAlarmActionRequest$ = [3, n0, _DAAR,
528
- 0,
529
- [_rI, _aMN, _kV, _n],
530
- [0, 0, 0, 0], 2
531
- ];
532
- var EnableActionConfiguration$ = [3, n0, _EAC,
533
- 0,
534
- [_n],
535
- [0]
536
- ];
537
- var EnableAlarmActionRequest$ = [3, n0, _EAAR,
538
- 0,
539
- [_rI, _aMN, _kV, _n],
540
- [0, 0, 0, 0], 2
541
- ];
542
- var InternalFailureException$ = [-3, n0, _IFE,
543
- { [_e]: _se, [_hE]: 500 },
544
- [_me],
545
- [0]
546
- ];
547
- schema.TypeRegistry.for(n0).registerError(InternalFailureException$, InternalFailureException);
548
- var InvalidRequestException$ = [-3, n0, _IRE,
549
- { [_e]: _c, [_hE]: 400 },
550
- [_me],
551
- [0]
552
- ];
553
- schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
554
- var ListAlarmsRequest$ = [3, n0, _LAR,
555
- 0,
556
- [_aMN, _nT, _mR],
557
- [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
558
- ];
559
- var ListAlarmsResponse$ = [3, n0, _LARi,
560
- 0,
561
- [_aSl, _nT],
562
- [() => AlarmSummaries, 0]
563
- ];
564
- var ListDetectorsRequest$ = [3, n0, _LDR,
565
- 0,
566
- [_dMN, _sN, _nT, _mR],
567
- [[0, 1], [0, { [_hQ]: _sN }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
568
- ];
569
- var ListDetectorsResponse$ = [3, n0, _LDRi,
570
- 0,
571
- [_dS, _nT],
572
- [() => DetectorSummaries, 0]
573
- ];
574
- var Message$ = [3, n0, _M,
575
- 0,
576
- [_mI, _iN, _p, _ti],
577
- [0, 0, 21, () => TimestampValue$], 3
578
- ];
579
- var ResetActionConfiguration$ = [3, n0, _RAC,
580
- 0,
581
- [_n],
582
- [0]
583
- ];
584
- var ResetAlarmActionRequest$ = [3, n0, _RAAR,
585
- 0,
586
- [_rI, _aMN, _kV, _n],
587
- [0, 0, 0, 0], 2
588
- ];
589
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
590
- { [_e]: _c, [_hE]: 404 },
591
- [_me],
592
- [0]
593
- ];
594
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
595
- var RuleEvaluation$ = [3, n0, _RE,
596
- 0,
597
- [_sRE],
598
- [() => SimpleRuleEvaluation$]
599
- ];
600
- var ServiceUnavailableException$ = [-3, n0, _SUE,
601
- { [_e]: _se, [_hE]: 503 },
602
- [_me],
603
- [0]
604
- ];
605
- schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
606
- var SimpleRuleEvaluation$ = [3, n0, _SRE,
607
- 0,
608
- [_iPV, _o, _tV],
609
- [0, 0, 0]
610
- ];
611
- var SnoozeActionConfiguration$ = [3, n0, _SAC,
612
- 0,
613
- [_sD, _n],
614
- [1, 0]
615
- ];
616
- var SnoozeAlarmActionRequest$ = [3, n0, _SAAR,
617
- 0,
618
- [_rI, _aMN, _sD, _kV, _n],
619
- [0, 0, 1, 0, 0], 3
620
- ];
621
- var StateChangeConfiguration$ = [3, n0, _SCC,
622
- 0,
623
- [_tT],
624
- [0]
625
- ];
626
- var SystemEvent$ = [3, n0, _SE,
627
- 0,
628
- [_eT, _sCC],
629
- [0, () => StateChangeConfiguration$]
630
- ];
631
- var ThrottlingException$ = [-3, n0, _TE,
632
- { [_e]: _c, [_hE]: 429 },
633
- [_me],
634
- [0]
635
- ];
636
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
637
- var Timer$ = [3, n0, _T,
638
- 0,
639
- [_na, _ti],
640
- [0, 4], 2
641
- ];
642
- var TimerDefinition$ = [3, n0, _TD,
643
- 0,
644
- [_na, _sec],
645
- [0, 1], 2
646
- ];
647
- var TimestampValue$ = [3, n0, _TV,
648
- 0,
649
- [_tIM],
650
- [1]
651
- ];
652
- var UpdateDetectorRequest$ = [3, n0, _UDR,
653
- 0,
654
- [_mI, _dMN, _st, _kV],
655
- [0, 0, () => DetectorStateDefinition$, 0], 3
656
- ];
657
- var Variable$ = [3, n0, _V,
658
- 0,
659
- [_na, _va],
660
- [0, 0], 2
661
- ];
662
- var VariableDefinition$ = [3, n0, _VD,
663
- 0,
664
- [_na, _va],
665
- [0, 0], 2
666
- ];
667
- var IoTEventsDataServiceException$ = [-3, _sm, "IoTEventsDataServiceException", 0, [], []];
668
- schema.TypeRegistry.for(_sm).registerError(IoTEventsDataServiceException$, IoTEventsDataServiceException);
669
- var AcknowledgeAlarmActionRequests = [1, n0, _AAARc,
670
- 0, () => AcknowledgeAlarmActionRequest$
671
- ];
672
- var AlarmSummaries = [1, n0, _ASla,
673
- 0, () => AlarmSummary$
674
- ];
675
- var BatchAlarmActionErrorEntries = [1, n0, _BAAEEa,
676
- 0, () => BatchAlarmActionErrorEntry$
677
- ];
678
- var BatchDeleteDetectorErrorEntries = [1, n0, _BDDEEa,
679
- 0, () => BatchDeleteDetectorErrorEntry$
680
- ];
681
- var BatchPutMessageErrorEntries = [1, n0, _BPMEEa,
682
- 0, () => BatchPutMessageErrorEntry$
683
- ];
684
- var BatchUpdateDetectorErrorEntries = [1, n0, _BUDEEa,
685
- 0, () => BatchUpdateDetectorErrorEntry$
686
- ];
687
- var DeleteDetectorRequests = [1, n0, _DDRel,
688
- 0, () => DeleteDetectorRequest$
689
- ];
690
- var DetectorSummaries = [1, n0, _DSet,
691
- 0, () => DetectorSummary$
692
- ];
693
- var DisableAlarmActionRequests = [1, n0, _DAARi,
694
- 0, () => DisableAlarmActionRequest$
695
- ];
696
- var EnableAlarmActionRequests = [1, n0, _EAARn,
697
- 0, () => EnableAlarmActionRequest$
698
- ];
699
- var Messages = [1, n0, _Me,
700
- 0, () => Message$
701
- ];
702
- var ResetAlarmActionRequests = [1, n0, _RAARe,
703
- 0, () => ResetAlarmActionRequest$
704
- ];
705
- var SnoozeAlarmActionRequests = [1, n0, _SAARn,
706
- 0, () => SnoozeAlarmActionRequest$
707
- ];
708
- var TimerDefinitions = [1, n0, _TDi,
709
- 0, () => TimerDefinition$
710
- ];
711
- var Timers = [1, n0, _Ti,
712
- 0, () => Timer$
713
- ];
714
- var UpdateDetectorRequests = [1, n0, _UDRp,
715
- 0, () => UpdateDetectorRequest$
716
- ];
717
- var VariableDefinitions = [1, n0, _VDa,
718
- 0, () => VariableDefinition$
719
- ];
720
- var Variables = [1, n0, _Va,
721
- 0, () => Variable$
722
- ];
723
- var BatchAcknowledgeAlarm$ = [9, n0, _BAA,
724
- { [_h]: ["POST", "/alarms/acknowledge", 202] }, () => BatchAcknowledgeAlarmRequest$, () => BatchAcknowledgeAlarmResponse$
725
- ];
726
- var BatchDeleteDetector$ = [9, n0, _BDD,
727
- { [_h]: ["POST", "/detectors/delete", 200] }, () => BatchDeleteDetectorRequest$, () => BatchDeleteDetectorResponse$
728
- ];
729
- var BatchDisableAlarm$ = [9, n0, _BDA,
730
- { [_h]: ["POST", "/alarms/disable", 202] }, () => BatchDisableAlarmRequest$, () => BatchDisableAlarmResponse$
731
- ];
732
- var BatchEnableAlarm$ = [9, n0, _BEA,
733
- { [_h]: ["POST", "/alarms/enable", 202] }, () => BatchEnableAlarmRequest$, () => BatchEnableAlarmResponse$
734
- ];
735
- var BatchPutMessage$ = [9, n0, _BPM,
736
- { [_h]: ["POST", "/inputs/messages", 200] }, () => BatchPutMessageRequest$, () => BatchPutMessageResponse$
737
- ];
738
- var BatchResetAlarm$ = [9, n0, _BRA,
739
- { [_h]: ["POST", "/alarms/reset", 202] }, () => BatchResetAlarmRequest$, () => BatchResetAlarmResponse$
740
- ];
741
- var BatchSnoozeAlarm$ = [9, n0, _BSA,
742
- { [_h]: ["POST", "/alarms/snooze", 202] }, () => BatchSnoozeAlarmRequest$, () => BatchSnoozeAlarmResponse$
743
- ];
744
- var BatchUpdateDetector$ = [9, n0, _BUD,
745
- { [_h]: ["POST", "/detectors", 200] }, () => BatchUpdateDetectorRequest$, () => BatchUpdateDetectorResponse$
746
- ];
747
- var DescribeAlarm$ = [9, n0, _DA,
748
- { [_h]: ["GET", "/alarms/{alarmModelName}/keyValues", 200] }, () => DescribeAlarmRequest$, () => DescribeAlarmResponse$
749
- ];
750
- var DescribeDetector$ = [9, n0, _DD,
751
- { [_h]: ["GET", "/detectors/{detectorModelName}/keyValues", 200] }, () => DescribeDetectorRequest$, () => DescribeDetectorResponse$
752
- ];
753
- var ListAlarms$ = [9, n0, _LA,
754
- { [_h]: ["GET", "/alarms/{alarmModelName}", 200] }, () => ListAlarmsRequest$, () => ListAlarmsResponse$
755
- ];
756
- var ListDetectors$ = [9, n0, _LD,
757
- { [_h]: ["GET", "/detectors/{detectorModelName}", 200] }, () => ListDetectorsRequest$, () => ListDetectorsResponse$
758
- ];
759
-
760
116
  class BatchAcknowledgeAlarmCommand extends smithyClient.Command
761
117
  .classBuilder()
762
118
  .ep(commonParams)
@@ -765,7 +121,7 @@ class BatchAcknowledgeAlarmCommand extends smithyClient.Command
765
121
  })
766
122
  .s("IotColumboDataService", "BatchAcknowledgeAlarm", {})
767
123
  .n("IoTEventsDataClient", "BatchAcknowledgeAlarmCommand")
768
- .sc(BatchAcknowledgeAlarm$)
124
+ .sc(schemas_0.BatchAcknowledgeAlarm$)
769
125
  .build() {
770
126
  }
771
127
 
@@ -777,7 +133,7 @@ class BatchDeleteDetectorCommand extends smithyClient.Command
777
133
  })
778
134
  .s("IotColumboDataService", "BatchDeleteDetector", {})
779
135
  .n("IoTEventsDataClient", "BatchDeleteDetectorCommand")
780
- .sc(BatchDeleteDetector$)
136
+ .sc(schemas_0.BatchDeleteDetector$)
781
137
  .build() {
782
138
  }
783
139
 
@@ -789,7 +145,7 @@ class BatchDisableAlarmCommand extends smithyClient.Command
789
145
  })
790
146
  .s("IotColumboDataService", "BatchDisableAlarm", {})
791
147
  .n("IoTEventsDataClient", "BatchDisableAlarmCommand")
792
- .sc(BatchDisableAlarm$)
148
+ .sc(schemas_0.BatchDisableAlarm$)
793
149
  .build() {
794
150
  }
795
151
 
@@ -801,7 +157,7 @@ class BatchEnableAlarmCommand extends smithyClient.Command
801
157
  })
802
158
  .s("IotColumboDataService", "BatchEnableAlarm", {})
803
159
  .n("IoTEventsDataClient", "BatchEnableAlarmCommand")
804
- .sc(BatchEnableAlarm$)
160
+ .sc(schemas_0.BatchEnableAlarm$)
805
161
  .build() {
806
162
  }
807
163
 
@@ -813,7 +169,7 @@ class BatchPutMessageCommand extends smithyClient.Command
813
169
  })
814
170
  .s("IotColumboDataService", "BatchPutMessage", {})
815
171
  .n("IoTEventsDataClient", "BatchPutMessageCommand")
816
- .sc(BatchPutMessage$)
172
+ .sc(schemas_0.BatchPutMessage$)
817
173
  .build() {
818
174
  }
819
175
 
@@ -825,7 +181,7 @@ class BatchResetAlarmCommand extends smithyClient.Command
825
181
  })
826
182
  .s("IotColumboDataService", "BatchResetAlarm", {})
827
183
  .n("IoTEventsDataClient", "BatchResetAlarmCommand")
828
- .sc(BatchResetAlarm$)
184
+ .sc(schemas_0.BatchResetAlarm$)
829
185
  .build() {
830
186
  }
831
187
 
@@ -837,7 +193,7 @@ class BatchSnoozeAlarmCommand extends smithyClient.Command
837
193
  })
838
194
  .s("IotColumboDataService", "BatchSnoozeAlarm", {})
839
195
  .n("IoTEventsDataClient", "BatchSnoozeAlarmCommand")
840
- .sc(BatchSnoozeAlarm$)
196
+ .sc(schemas_0.BatchSnoozeAlarm$)
841
197
  .build() {
842
198
  }
843
199
 
@@ -849,7 +205,7 @@ class BatchUpdateDetectorCommand extends smithyClient.Command
849
205
  })
850
206
  .s("IotColumboDataService", "BatchUpdateDetector", {})
851
207
  .n("IoTEventsDataClient", "BatchUpdateDetectorCommand")
852
- .sc(BatchUpdateDetector$)
208
+ .sc(schemas_0.BatchUpdateDetector$)
853
209
  .build() {
854
210
  }
855
211
 
@@ -861,7 +217,7 @@ class DescribeAlarmCommand extends smithyClient.Command
861
217
  })
862
218
  .s("IotColumboDataService", "DescribeAlarm", {})
863
219
  .n("IoTEventsDataClient", "DescribeAlarmCommand")
864
- .sc(DescribeAlarm$)
220
+ .sc(schemas_0.DescribeAlarm$)
865
221
  .build() {
866
222
  }
867
223
 
@@ -873,7 +229,7 @@ class DescribeDetectorCommand extends smithyClient.Command
873
229
  })
874
230
  .s("IotColumboDataService", "DescribeDetector", {})
875
231
  .n("IoTEventsDataClient", "DescribeDetectorCommand")
876
- .sc(DescribeDetector$)
232
+ .sc(schemas_0.DescribeDetector$)
877
233
  .build() {
878
234
  }
879
235
 
@@ -885,7 +241,7 @@ class ListAlarmsCommand extends smithyClient.Command
885
241
  })
886
242
  .s("IotColumboDataService", "ListAlarms", {})
887
243
  .n("IoTEventsDataClient", "ListAlarmsCommand")
888
- .sc(ListAlarms$)
244
+ .sc(schemas_0.ListAlarms$)
889
245
  .build() {
890
246
  }
891
247
 
@@ -897,7 +253,7 @@ class ListDetectorsCommand extends smithyClient.Command
897
253
  })
898
254
  .s("IotColumboDataService", "ListDetectors", {})
899
255
  .n("IoTEventsDataClient", "ListDetectorsCommand")
900
- .sc(ListDetectors$)
256
+ .sc(schemas_0.ListDetectors$)
901
257
  .build() {
902
258
  }
903
259
 
@@ -964,106 +320,39 @@ Object.defineProperty(exports, "__Client", {
964
320
  enumerable: true,
965
321
  get: function () { return smithyClient.Client; }
966
322
  });
967
- exports.AcknowledgeActionConfiguration$ = AcknowledgeActionConfiguration$;
968
- exports.AcknowledgeAlarmActionRequest$ = AcknowledgeAlarmActionRequest$;
969
- exports.Alarm$ = Alarm$;
970
- exports.AlarmState$ = AlarmState$;
323
+ Object.defineProperty(exports, "IoTEventsDataServiceException", {
324
+ enumerable: true,
325
+ get: function () { return IoTEventsDataServiceException.IoTEventsDataServiceException; }
326
+ });
971
327
  exports.AlarmStateName = AlarmStateName;
972
- exports.AlarmSummary$ = AlarmSummary$;
973
- exports.BatchAcknowledgeAlarm$ = BatchAcknowledgeAlarm$;
974
328
  exports.BatchAcknowledgeAlarmCommand = BatchAcknowledgeAlarmCommand;
975
- exports.BatchAcknowledgeAlarmRequest$ = BatchAcknowledgeAlarmRequest$;
976
- exports.BatchAcknowledgeAlarmResponse$ = BatchAcknowledgeAlarmResponse$;
977
- exports.BatchAlarmActionErrorEntry$ = BatchAlarmActionErrorEntry$;
978
- exports.BatchDeleteDetector$ = BatchDeleteDetector$;
979
329
  exports.BatchDeleteDetectorCommand = BatchDeleteDetectorCommand;
980
- exports.BatchDeleteDetectorErrorEntry$ = BatchDeleteDetectorErrorEntry$;
981
- exports.BatchDeleteDetectorRequest$ = BatchDeleteDetectorRequest$;
982
- exports.BatchDeleteDetectorResponse$ = BatchDeleteDetectorResponse$;
983
- exports.BatchDisableAlarm$ = BatchDisableAlarm$;
984
330
  exports.BatchDisableAlarmCommand = BatchDisableAlarmCommand;
985
- exports.BatchDisableAlarmRequest$ = BatchDisableAlarmRequest$;
986
- exports.BatchDisableAlarmResponse$ = BatchDisableAlarmResponse$;
987
- exports.BatchEnableAlarm$ = BatchEnableAlarm$;
988
331
  exports.BatchEnableAlarmCommand = BatchEnableAlarmCommand;
989
- exports.BatchEnableAlarmRequest$ = BatchEnableAlarmRequest$;
990
- exports.BatchEnableAlarmResponse$ = BatchEnableAlarmResponse$;
991
- exports.BatchPutMessage$ = BatchPutMessage$;
992
332
  exports.BatchPutMessageCommand = BatchPutMessageCommand;
993
- exports.BatchPutMessageErrorEntry$ = BatchPutMessageErrorEntry$;
994
- exports.BatchPutMessageRequest$ = BatchPutMessageRequest$;
995
- exports.BatchPutMessageResponse$ = BatchPutMessageResponse$;
996
- exports.BatchResetAlarm$ = BatchResetAlarm$;
997
333
  exports.BatchResetAlarmCommand = BatchResetAlarmCommand;
998
- exports.BatchResetAlarmRequest$ = BatchResetAlarmRequest$;
999
- exports.BatchResetAlarmResponse$ = BatchResetAlarmResponse$;
1000
- exports.BatchSnoozeAlarm$ = BatchSnoozeAlarm$;
1001
334
  exports.BatchSnoozeAlarmCommand = BatchSnoozeAlarmCommand;
1002
- exports.BatchSnoozeAlarmRequest$ = BatchSnoozeAlarmRequest$;
1003
- exports.BatchSnoozeAlarmResponse$ = BatchSnoozeAlarmResponse$;
1004
- exports.BatchUpdateDetector$ = BatchUpdateDetector$;
1005
335
  exports.BatchUpdateDetectorCommand = BatchUpdateDetectorCommand;
1006
- exports.BatchUpdateDetectorErrorEntry$ = BatchUpdateDetectorErrorEntry$;
1007
- exports.BatchUpdateDetectorRequest$ = BatchUpdateDetectorRequest$;
1008
- exports.BatchUpdateDetectorResponse$ = BatchUpdateDetectorResponse$;
1009
336
  exports.ComparisonOperator = ComparisonOperator;
1010
- exports.CustomerAction$ = CustomerAction$;
1011
337
  exports.CustomerActionName = CustomerActionName;
1012
- exports.DeleteDetectorRequest$ = DeleteDetectorRequest$;
1013
- exports.DescribeAlarm$ = DescribeAlarm$;
1014
338
  exports.DescribeAlarmCommand = DescribeAlarmCommand;
1015
- exports.DescribeAlarmRequest$ = DescribeAlarmRequest$;
1016
- exports.DescribeAlarmResponse$ = DescribeAlarmResponse$;
1017
- exports.DescribeDetector$ = DescribeDetector$;
1018
339
  exports.DescribeDetectorCommand = DescribeDetectorCommand;
1019
- exports.DescribeDetectorRequest$ = DescribeDetectorRequest$;
1020
- exports.DescribeDetectorResponse$ = DescribeDetectorResponse$;
1021
- exports.Detector$ = Detector$;
1022
- exports.DetectorState$ = DetectorState$;
1023
- exports.DetectorStateDefinition$ = DetectorStateDefinition$;
1024
- exports.DetectorStateSummary$ = DetectorStateSummary$;
1025
- exports.DetectorSummary$ = DetectorSummary$;
1026
- exports.DisableActionConfiguration$ = DisableActionConfiguration$;
1027
- exports.DisableAlarmActionRequest$ = DisableAlarmActionRequest$;
1028
- exports.EnableActionConfiguration$ = EnableActionConfiguration$;
1029
- exports.EnableAlarmActionRequest$ = EnableAlarmActionRequest$;
1030
340
  exports.ErrorCode = ErrorCode;
1031
341
  exports.EventType = EventType;
1032
- exports.InternalFailureException = InternalFailureException;
1033
- exports.InternalFailureException$ = InternalFailureException$;
1034
- exports.InvalidRequestException = InvalidRequestException;
1035
- exports.InvalidRequestException$ = InvalidRequestException$;
1036
342
  exports.IoTEventsData = IoTEventsData;
1037
343
  exports.IoTEventsDataClient = IoTEventsDataClient;
1038
- exports.IoTEventsDataServiceException = IoTEventsDataServiceException;
1039
- exports.IoTEventsDataServiceException$ = IoTEventsDataServiceException$;
1040
- exports.ListAlarms$ = ListAlarms$;
1041
344
  exports.ListAlarmsCommand = ListAlarmsCommand;
1042
- exports.ListAlarmsRequest$ = ListAlarmsRequest$;
1043
- exports.ListAlarmsResponse$ = ListAlarmsResponse$;
1044
- exports.ListDetectors$ = ListDetectors$;
1045
345
  exports.ListDetectorsCommand = ListDetectorsCommand;
1046
- exports.ListDetectorsRequest$ = ListDetectorsRequest$;
1047
- exports.ListDetectorsResponse$ = ListDetectorsResponse$;
1048
- exports.Message$ = Message$;
1049
- exports.ResetActionConfiguration$ = ResetActionConfiguration$;
1050
- exports.ResetAlarmActionRequest$ = ResetAlarmActionRequest$;
1051
- exports.ResourceNotFoundException = ResourceNotFoundException;
1052
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1053
- exports.RuleEvaluation$ = RuleEvaluation$;
1054
- exports.ServiceUnavailableException = ServiceUnavailableException;
1055
- exports.ServiceUnavailableException$ = ServiceUnavailableException$;
1056
- exports.SimpleRuleEvaluation$ = SimpleRuleEvaluation$;
1057
- exports.SnoozeActionConfiguration$ = SnoozeActionConfiguration$;
1058
- exports.SnoozeAlarmActionRequest$ = SnoozeAlarmActionRequest$;
1059
- exports.StateChangeConfiguration$ = StateChangeConfiguration$;
1060
- exports.SystemEvent$ = SystemEvent$;
1061
- exports.ThrottlingException = ThrottlingException;
1062
- exports.ThrottlingException$ = ThrottlingException$;
1063
- exports.Timer$ = Timer$;
1064
- exports.TimerDefinition$ = TimerDefinition$;
1065
- exports.TimestampValue$ = TimestampValue$;
1066
346
  exports.TriggerType = TriggerType;
1067
- exports.UpdateDetectorRequest$ = UpdateDetectorRequest$;
1068
- exports.Variable$ = Variable$;
1069
- exports.VariableDefinition$ = VariableDefinition$;
347
+ Object.keys(schemas_0).forEach(function (k) {
348
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
349
+ enumerable: true,
350
+ get: function () { return schemas_0[k]; }
351
+ });
352
+ });
353
+ Object.keys(errors).forEach(function (k) {
354
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
355
+ enumerable: true,
356
+ get: function () { return errors[k]; }
357
+ });
358
+ });