@aws-sdk/client-iot-events 3.928.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.
Files changed (47) hide show
  1. package/dist-cjs/index.js +1431 -1231
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/IoTEventsClient.js +2 -0
  4. package/dist-es/commands/CreateAlarmModelCommand.js +3 -9
  5. package/dist-es/commands/CreateDetectorModelCommand.js +3 -9
  6. package/dist-es/commands/CreateInputCommand.js +3 -9
  7. package/dist-es/commands/DeleteAlarmModelCommand.js +3 -9
  8. package/dist-es/commands/DeleteDetectorModelCommand.js +3 -9
  9. package/dist-es/commands/DeleteInputCommand.js +3 -9
  10. package/dist-es/commands/DescribeAlarmModelCommand.js +3 -9
  11. package/dist-es/commands/DescribeDetectorModelAnalysisCommand.js +3 -9
  12. package/dist-es/commands/DescribeDetectorModelCommand.js +3 -9
  13. package/dist-es/commands/DescribeInputCommand.js +3 -9
  14. package/dist-es/commands/DescribeLoggingOptionsCommand.js +3 -9
  15. package/dist-es/commands/GetDetectorModelAnalysisResultsCommand.js +3 -9
  16. package/dist-es/commands/ListAlarmModelVersionsCommand.js +3 -9
  17. package/dist-es/commands/ListAlarmModelsCommand.js +3 -9
  18. package/dist-es/commands/ListDetectorModelVersionsCommand.js +3 -9
  19. package/dist-es/commands/ListDetectorModelsCommand.js +3 -9
  20. package/dist-es/commands/ListInputRoutingsCommand.js +3 -9
  21. package/dist-es/commands/ListInputsCommand.js +3 -9
  22. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  23. package/dist-es/commands/PutLoggingOptionsCommand.js +3 -9
  24. package/dist-es/commands/StartDetectorModelAnalysisCommand.js +3 -9
  25. package/dist-es/commands/TagResourceCommand.js +3 -9
  26. package/dist-es/commands/UntagResourceCommand.js +3 -9
  27. package/dist-es/commands/UpdateAlarmModelCommand.js +3 -9
  28. package/dist-es/commands/UpdateDetectorModelCommand.js +3 -9
  29. package/dist-es/commands/UpdateInputCommand.js +3 -9
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-es/schemas/schemas_0.js +1356 -0
  32. package/dist-types/IoTEventsClient.d.ts +10 -1
  33. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  34. package/dist-types/runtimeConfig.d.ts +1 -0
  35. package/dist-types/runtimeConfig.native.d.ts +1 -0
  36. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  37. package/dist-types/schemas/schemas_0.d.ts +172 -0
  38. package/dist-types/ts3.4/IoTEventsClient.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +177 -0
  44. package/package.json +2 -2
  45. package/dist-es/protocols/Aws_restJson1.js +0 -1028
  46. package/dist-types/protocols/Aws_restJson1.d.ts +0 -236
  47. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -317
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,8 +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
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class IoTEventsClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,12 +110,12 @@ class IoTEventsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class IoTEventsServiceException extends smithyClient.ServiceException {
113
+ let IoTEventsServiceException$1 = class IoTEventsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, IoTEventsServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
120
  const PayloadType = {
121
121
  JSON: "JSON",
@@ -145,7 +145,7 @@ const AnalysisStatus = {
145
145
  FAILED: "FAILED",
146
146
  RUNNING: "RUNNING",
147
147
  };
148
- class InternalFailureException extends IoTEventsServiceException {
148
+ let InternalFailureException$1 = class InternalFailureException extends IoTEventsServiceException$1 {
149
149
  name = "InternalFailureException";
150
150
  $fault = "server";
151
151
  constructor(opts) {
@@ -156,8 +156,8 @@ class InternalFailureException extends IoTEventsServiceException {
156
156
  });
157
157
  Object.setPrototypeOf(this, InternalFailureException.prototype);
158
158
  }
159
- }
160
- class InvalidRequestException extends IoTEventsServiceException {
159
+ };
160
+ let InvalidRequestException$1 = class InvalidRequestException extends IoTEventsServiceException$1 {
161
161
  name = "InvalidRequestException";
162
162
  $fault = "client";
163
163
  constructor(opts) {
@@ -168,8 +168,8 @@ class InvalidRequestException extends IoTEventsServiceException {
168
168
  });
169
169
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
170
170
  }
171
- }
172
- class LimitExceededException extends IoTEventsServiceException {
171
+ };
172
+ let LimitExceededException$1 = class LimitExceededException extends IoTEventsServiceException$1 {
173
173
  name = "LimitExceededException";
174
174
  $fault = "client";
175
175
  constructor(opts) {
@@ -180,8 +180,8 @@ class LimitExceededException extends IoTEventsServiceException {
180
180
  });
181
181
  Object.setPrototypeOf(this, LimitExceededException.prototype);
182
182
  }
183
- }
184
- class ResourceAlreadyExistsException extends IoTEventsServiceException {
183
+ };
184
+ let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException extends IoTEventsServiceException$1 {
185
185
  name = "ResourceAlreadyExistsException";
186
186
  $fault = "client";
187
187
  resourceId;
@@ -196,8 +196,8 @@ class ResourceAlreadyExistsException extends IoTEventsServiceException {
196
196
  this.resourceId = opts.resourceId;
197
197
  this.resourceArn = opts.resourceArn;
198
198
  }
199
- }
200
- class ResourceInUseException extends IoTEventsServiceException {
199
+ };
200
+ let ResourceInUseException$1 = class ResourceInUseException extends IoTEventsServiceException$1 {
201
201
  name = "ResourceInUseException";
202
202
  $fault = "client";
203
203
  constructor(opts) {
@@ -208,8 +208,8 @@ class ResourceInUseException extends IoTEventsServiceException {
208
208
  });
209
209
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
210
210
  }
211
- }
212
- class ServiceUnavailableException extends IoTEventsServiceException {
211
+ };
212
+ let ServiceUnavailableException$1 = class ServiceUnavailableException extends IoTEventsServiceException$1 {
213
213
  name = "ServiceUnavailableException";
214
214
  $fault = "server";
215
215
  constructor(opts) {
@@ -220,8 +220,8 @@ class ServiceUnavailableException extends IoTEventsServiceException {
220
220
  });
221
221
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
222
222
  }
223
- }
224
- class ThrottlingException extends IoTEventsServiceException {
223
+ };
224
+ let ThrottlingException$1 = class ThrottlingException extends IoTEventsServiceException$1 {
225
225
  name = "ThrottlingException";
226
226
  $fault = "client";
227
227
  constructor(opts) {
@@ -232,7 +232,7 @@ class ThrottlingException extends IoTEventsServiceException {
232
232
  });
233
233
  Object.setPrototypeOf(this, ThrottlingException.prototype);
234
234
  }
235
- }
235
+ };
236
236
  const EvaluationMethod = {
237
237
  BATCH: "BATCH",
238
238
  SERIAL: "SERIAL",
@@ -252,7 +252,7 @@ const InputStatus = {
252
252
  DELETING: "DELETING",
253
253
  UPDATING: "UPDATING",
254
254
  };
255
- class ResourceNotFoundException extends IoTEventsServiceException {
255
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends IoTEventsServiceException$1 {
256
256
  name = "ResourceNotFoundException";
257
257
  $fault = "client";
258
258
  constructor(opts) {
@@ -263,13 +263,13 @@ class ResourceNotFoundException extends IoTEventsServiceException {
263
263
  });
264
264
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
265
265
  }
266
- }
266
+ };
267
267
  const LoggingLevel = {
268
268
  DEBUG: "DEBUG",
269
269
  ERROR: "ERROR",
270
270
  INFO: "INFO",
271
271
  };
272
- class UnsupportedOperationException extends IoTEventsServiceException {
272
+ let UnsupportedOperationException$1 = class UnsupportedOperationException extends IoTEventsServiceException$1 {
273
273
  name = "UnsupportedOperationException";
274
274
  $fault = "server";
275
275
  constructor(opts) {
@@ -280,1045 +280,1370 @@ class UnsupportedOperationException extends IoTEventsServiceException {
280
280
  });
281
281
  Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
282
282
  }
283
- }
284
-
285
- const se_CreateAlarmModelCommand = async (input, context) => {
286
- const b = core.requestBuilder(input, context);
287
- const headers = {
288
- "content-type": "application/json",
289
- };
290
- b.bp("/alarm-models");
291
- let body;
292
- body = JSON.stringify(smithyClient.take(input, {
293
- alarmCapabilities: (_) => smithyClient._json(_),
294
- alarmEventActions: (_) => smithyClient._json(_),
295
- alarmModelDescription: [],
296
- alarmModelName: [],
297
- alarmNotification: (_) => smithyClient._json(_),
298
- alarmRule: (_) => smithyClient._json(_),
299
- key: [],
300
- roleArn: [],
301
- severity: [],
302
- tags: (_) => smithyClient._json(_),
303
- }));
304
- b.m("POST").h(headers).b(body);
305
- return b.build();
306
- };
307
- const se_CreateDetectorModelCommand = async (input, context) => {
308
- const b = core.requestBuilder(input, context);
309
- const headers = {
310
- "content-type": "application/json",
311
- };
312
- b.bp("/detector-models");
313
- let body;
314
- body = JSON.stringify(smithyClient.take(input, {
315
- detectorModelDefinition: (_) => se_DetectorModelDefinition(_),
316
- detectorModelDescription: [],
317
- detectorModelName: [],
318
- evaluationMethod: [],
319
- key: [],
320
- roleArn: [],
321
- tags: (_) => smithyClient._json(_),
322
- }));
323
- b.m("POST").h(headers).b(body);
324
- return b.build();
325
- };
326
- const se_CreateInputCommand = async (input, context) => {
327
- const b = core.requestBuilder(input, context);
328
- const headers = {
329
- "content-type": "application/json",
330
- };
331
- b.bp("/inputs");
332
- let body;
333
- body = JSON.stringify(smithyClient.take(input, {
334
- inputDefinition: (_) => smithyClient._json(_),
335
- inputDescription: [],
336
- inputName: [],
337
- tags: (_) => smithyClient._json(_),
338
- }));
339
- b.m("POST").h(headers).b(body);
340
- return b.build();
341
- };
342
- const se_DeleteAlarmModelCommand = async (input, context) => {
343
- const b = core.requestBuilder(input, context);
344
- const headers = {};
345
- b.bp("/alarm-models/{alarmModelName}");
346
- b.p("alarmModelName", () => input.alarmModelName, "{alarmModelName}", false);
347
- let body;
348
- b.m("DELETE").h(headers).b(body);
349
- return b.build();
350
- };
351
- const se_DeleteDetectorModelCommand = async (input, context) => {
352
- const b = core.requestBuilder(input, context);
353
- const headers = {};
354
- b.bp("/detector-models/{detectorModelName}");
355
- b.p("detectorModelName", () => input.detectorModelName, "{detectorModelName}", false);
356
- let body;
357
- b.m("DELETE").h(headers).b(body);
358
- return b.build();
359
- };
360
- const se_DeleteInputCommand = async (input, context) => {
361
- const b = core.requestBuilder(input, context);
362
- const headers = {};
363
- b.bp("/inputs/{inputName}");
364
- b.p("inputName", () => input.inputName, "{inputName}", false);
365
- let body;
366
- b.m("DELETE").h(headers).b(body);
367
- return b.build();
368
- };
369
- const se_DescribeAlarmModelCommand = async (input, context) => {
370
- const b = core.requestBuilder(input, context);
371
- const headers = {};
372
- b.bp("/alarm-models/{alarmModelName}");
373
- b.p("alarmModelName", () => input.alarmModelName, "{alarmModelName}", false);
374
- const query = smithyClient.map({
375
- [_v]: [, input[_aMV]],
376
- });
377
- let body;
378
- b.m("GET").h(headers).q(query).b(body);
379
- return b.build();
380
- };
381
- const se_DescribeDetectorModelCommand = async (input, context) => {
382
- const b = core.requestBuilder(input, context);
383
- const headers = {};
384
- b.bp("/detector-models/{detectorModelName}");
385
- b.p("detectorModelName", () => input.detectorModelName, "{detectorModelName}", false);
386
- const query = smithyClient.map({
387
- [_v]: [, input[_dMV]],
388
- });
389
- let body;
390
- b.m("GET").h(headers).q(query).b(body);
391
- return b.build();
392
- };
393
- const se_DescribeDetectorModelAnalysisCommand = async (input, context) => {
394
- const b = core.requestBuilder(input, context);
395
- const headers = {};
396
- b.bp("/analysis/detector-models/{analysisId}");
397
- b.p("analysisId", () => input.analysisId, "{analysisId}", false);
398
- let body;
399
- b.m("GET").h(headers).b(body);
400
- return b.build();
401
- };
402
- const se_DescribeInputCommand = async (input, context) => {
403
- const b = core.requestBuilder(input, context);
404
- const headers = {};
405
- b.bp("/inputs/{inputName}");
406
- b.p("inputName", () => input.inputName, "{inputName}", false);
407
- let body;
408
- b.m("GET").h(headers).b(body);
409
- return b.build();
410
- };
411
- const se_DescribeLoggingOptionsCommand = async (input, context) => {
412
- const b = core.requestBuilder(input, context);
413
- const headers = {};
414
- b.bp("/logging");
415
- let body;
416
- b.m("GET").h(headers).b(body);
417
- return b.build();
418
- };
419
- const se_GetDetectorModelAnalysisResultsCommand = async (input, context) => {
420
- const b = core.requestBuilder(input, context);
421
- const headers = {};
422
- b.bp("/analysis/detector-models/{analysisId}/results");
423
- b.p("analysisId", () => input.analysisId, "{analysisId}", false);
424
- const query = smithyClient.map({
425
- [_nT]: [, input[_nT]],
426
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
427
- });
428
- let body;
429
- b.m("GET").h(headers).q(query).b(body);
430
- return b.build();
431
- };
432
- const se_ListAlarmModelsCommand = async (input, context) => {
433
- const b = core.requestBuilder(input, context);
434
- const headers = {};
435
- b.bp("/alarm-models");
436
- const query = smithyClient.map({
437
- [_nT]: [, input[_nT]],
438
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
439
- });
440
- let body;
441
- b.m("GET").h(headers).q(query).b(body);
442
- return b.build();
443
- };
444
- const se_ListAlarmModelVersionsCommand = async (input, context) => {
445
- const b = core.requestBuilder(input, context);
446
- const headers = {};
447
- b.bp("/alarm-models/{alarmModelName}/versions");
448
- b.p("alarmModelName", () => input.alarmModelName, "{alarmModelName}", false);
449
- const query = smithyClient.map({
450
- [_nT]: [, input[_nT]],
451
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
452
- });
453
- let body;
454
- b.m("GET").h(headers).q(query).b(body);
455
- return b.build();
456
- };
457
- const se_ListDetectorModelsCommand = async (input, context) => {
458
- const b = core.requestBuilder(input, context);
459
- const headers = {};
460
- b.bp("/detector-models");
461
- const query = smithyClient.map({
462
- [_nT]: [, input[_nT]],
463
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
464
- });
465
- let body;
466
- b.m("GET").h(headers).q(query).b(body);
467
- return b.build();
468
- };
469
- const se_ListDetectorModelVersionsCommand = async (input, context) => {
470
- const b = core.requestBuilder(input, context);
471
- const headers = {};
472
- b.bp("/detector-models/{detectorModelName}/versions");
473
- b.p("detectorModelName", () => input.detectorModelName, "{detectorModelName}", false);
474
- const query = smithyClient.map({
475
- [_nT]: [, input[_nT]],
476
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
477
- });
478
- let body;
479
- b.m("GET").h(headers).q(query).b(body);
480
- return b.build();
481
- };
482
- const se_ListInputRoutingsCommand = async (input, context) => {
483
- const b = core.requestBuilder(input, context);
484
- const headers = {
485
- "content-type": "application/json",
486
- };
487
- b.bp("/input-routings");
488
- let body;
489
- body = JSON.stringify(smithyClient.take(input, {
490
- inputIdentifier: (_) => smithyClient._json(_),
491
- maxResults: [],
492
- nextToken: [],
493
- }));
494
- b.m("POST").h(headers).b(body);
495
- return b.build();
496
- };
497
- const se_ListInputsCommand = async (input, context) => {
498
- const b = core.requestBuilder(input, context);
499
- const headers = {};
500
- b.bp("/inputs");
501
- const query = smithyClient.map({
502
- [_nT]: [, input[_nT]],
503
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
504
- });
505
- let body;
506
- b.m("GET").h(headers).q(query).b(body);
507
- return b.build();
508
- };
509
- const se_ListTagsForResourceCommand = async (input, context) => {
510
- const b = core.requestBuilder(input, context);
511
- const headers = {};
512
- b.bp("/tags");
513
- const query = smithyClient.map({
514
- [_rA]: [, smithyClient.expectNonNull(input[_rA], `resourceArn`)],
515
- });
516
- let body;
517
- b.m("GET").h(headers).q(query).b(body);
518
- return b.build();
519
- };
520
- const se_PutLoggingOptionsCommand = async (input, context) => {
521
- const b = core.requestBuilder(input, context);
522
- const headers = {
523
- "content-type": "application/json",
524
- };
525
- b.bp("/logging");
526
- let body;
527
- body = JSON.stringify(smithyClient.take(input, {
528
- loggingOptions: (_) => smithyClient._json(_),
529
- }));
530
- b.m("PUT").h(headers).b(body);
531
- return b.build();
532
- };
533
- const se_StartDetectorModelAnalysisCommand = async (input, context) => {
534
- const b = core.requestBuilder(input, context);
535
- const headers = {
536
- "content-type": "application/json",
537
- };
538
- b.bp("/analysis/detector-models");
539
- let body;
540
- body = JSON.stringify(smithyClient.take(input, {
541
- detectorModelDefinition: (_) => se_DetectorModelDefinition(_),
542
- }));
543
- b.m("POST").h(headers).b(body);
544
- return b.build();
545
- };
546
- const se_TagResourceCommand = async (input, context) => {
547
- const b = core.requestBuilder(input, context);
548
- const headers = {
549
- "content-type": "application/json",
550
- };
551
- b.bp("/tags");
552
- const query = smithyClient.map({
553
- [_rA]: [, smithyClient.expectNonNull(input[_rA], `resourceArn`)],
554
- });
555
- let body;
556
- body = JSON.stringify(smithyClient.take(input, {
557
- tags: (_) => smithyClient._json(_),
558
- }));
559
- b.m("POST").h(headers).q(query).b(body);
560
- return b.build();
561
- };
562
- const se_UntagResourceCommand = async (input, context) => {
563
- const b = core.requestBuilder(input, context);
564
- const headers = {};
565
- b.bp("/tags");
566
- const query = smithyClient.map({
567
- [_rA]: [, smithyClient.expectNonNull(input[_rA], `resourceArn`)],
568
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
569
- });
570
- let body;
571
- b.m("DELETE").h(headers).q(query).b(body);
572
- return b.build();
573
- };
574
- const se_UpdateAlarmModelCommand = async (input, context) => {
575
- const b = core.requestBuilder(input, context);
576
- const headers = {
577
- "content-type": "application/json",
578
- };
579
- b.bp("/alarm-models/{alarmModelName}");
580
- b.p("alarmModelName", () => input.alarmModelName, "{alarmModelName}", false);
581
- let body;
582
- body = JSON.stringify(smithyClient.take(input, {
583
- alarmCapabilities: (_) => smithyClient._json(_),
584
- alarmEventActions: (_) => smithyClient._json(_),
585
- alarmModelDescription: [],
586
- alarmNotification: (_) => smithyClient._json(_),
587
- alarmRule: (_) => smithyClient._json(_),
588
- roleArn: [],
589
- severity: [],
590
- }));
591
- b.m("POST").h(headers).b(body);
592
- return b.build();
593
- };
594
- const se_UpdateDetectorModelCommand = async (input, context) => {
595
- const b = core.requestBuilder(input, context);
596
- const headers = {
597
- "content-type": "application/json",
598
- };
599
- b.bp("/detector-models/{detectorModelName}");
600
- b.p("detectorModelName", () => input.detectorModelName, "{detectorModelName}", false);
601
- let body;
602
- body = JSON.stringify(smithyClient.take(input, {
603
- detectorModelDefinition: (_) => se_DetectorModelDefinition(_),
604
- detectorModelDescription: [],
605
- evaluationMethod: [],
606
- roleArn: [],
607
- }));
608
- b.m("POST").h(headers).b(body);
609
- return b.build();
610
- };
611
- const se_UpdateInputCommand = async (input, context) => {
612
- const b = core.requestBuilder(input, context);
613
- const headers = {
614
- "content-type": "application/json",
615
- };
616
- b.bp("/inputs/{inputName}");
617
- b.p("inputName", () => input.inputName, "{inputName}", false);
618
- let body;
619
- body = JSON.stringify(smithyClient.take(input, {
620
- inputDefinition: (_) => smithyClient._json(_),
621
- inputDescription: [],
622
- }));
623
- b.m("PUT").h(headers).b(body);
624
- return b.build();
625
- };
626
- const de_CreateAlarmModelCommand = async (output, context) => {
627
- if (output.statusCode !== 200 && output.statusCode >= 300) {
628
- return de_CommandError(output, context);
629
- }
630
- const contents = smithyClient.map({
631
- $metadata: deserializeMetadata(output),
632
- });
633
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
634
- const doc = smithyClient.take(data, {
635
- alarmModelArn: smithyClient.expectString,
636
- alarmModelVersion: smithyClient.expectString,
637
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
638
- lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
639
- status: smithyClient.expectString,
640
- });
641
- Object.assign(contents, doc);
642
- return contents;
643
- };
644
- const de_CreateDetectorModelCommand = async (output, context) => {
645
- if (output.statusCode !== 200 && output.statusCode >= 300) {
646
- return de_CommandError(output, context);
647
- }
648
- const contents = smithyClient.map({
649
- $metadata: deserializeMetadata(output),
650
- });
651
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
652
- const doc = smithyClient.take(data, {
653
- detectorModelConfiguration: (_) => de_DetectorModelConfiguration(_),
654
- });
655
- Object.assign(contents, doc);
656
- return contents;
657
- };
658
- const de_CreateInputCommand = async (output, context) => {
659
- if (output.statusCode !== 201 && output.statusCode >= 300) {
660
- return de_CommandError(output, context);
661
- }
662
- const contents = smithyClient.map({
663
- $metadata: deserializeMetadata(output),
664
- });
665
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
666
- const doc = smithyClient.take(data, {
667
- inputConfiguration: (_) => de_InputConfiguration(_),
668
- });
669
- Object.assign(contents, doc);
670
- return contents;
671
- };
672
- const de_DeleteAlarmModelCommand = async (output, context) => {
673
- if (output.statusCode !== 204 && output.statusCode >= 300) {
674
- return de_CommandError(output, context);
675
- }
676
- const contents = smithyClient.map({
677
- $metadata: deserializeMetadata(output),
678
- });
679
- await smithyClient.collectBody(output.body, context);
680
- return contents;
681
- };
682
- const de_DeleteDetectorModelCommand = async (output, context) => {
683
- if (output.statusCode !== 204 && output.statusCode >= 300) {
684
- return de_CommandError(output, context);
685
- }
686
- const contents = smithyClient.map({
687
- $metadata: deserializeMetadata(output),
688
- });
689
- await smithyClient.collectBody(output.body, context);
690
- return contents;
691
- };
692
- const de_DeleteInputCommand = async (output, context) => {
693
- if (output.statusCode !== 200 && output.statusCode >= 300) {
694
- return de_CommandError(output, context);
695
- }
696
- const contents = smithyClient.map({
697
- $metadata: deserializeMetadata(output),
698
- });
699
- await smithyClient.collectBody(output.body, context);
700
- return contents;
701
- };
702
- const de_DescribeAlarmModelCommand = async (output, context) => {
703
- if (output.statusCode !== 200 && output.statusCode >= 300) {
704
- return de_CommandError(output, context);
705
- }
706
- const contents = smithyClient.map({
707
- $metadata: deserializeMetadata(output),
708
- });
709
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
710
- const doc = smithyClient.take(data, {
711
- alarmCapabilities: smithyClient._json,
712
- alarmEventActions: smithyClient._json,
713
- alarmModelArn: smithyClient.expectString,
714
- alarmModelDescription: smithyClient.expectString,
715
- alarmModelName: smithyClient.expectString,
716
- alarmModelVersion: smithyClient.expectString,
717
- alarmNotification: smithyClient._json,
718
- alarmRule: smithyClient._json,
719
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
720
- key: smithyClient.expectString,
721
- lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
722
- roleArn: smithyClient.expectString,
723
- severity: smithyClient.expectInt32,
724
- status: smithyClient.expectString,
725
- statusMessage: smithyClient.expectString,
726
- });
727
- Object.assign(contents, doc);
728
- return contents;
729
- };
730
- const de_DescribeDetectorModelCommand = async (output, context) => {
731
- if (output.statusCode !== 200 && output.statusCode >= 300) {
732
- return de_CommandError(output, context);
733
- }
734
- const contents = smithyClient.map({
735
- $metadata: deserializeMetadata(output),
736
- });
737
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
738
- const doc = smithyClient.take(data, {
739
- detectorModel: (_) => de_DetectorModel(_),
740
- });
741
- Object.assign(contents, doc);
742
- return contents;
743
- };
744
- const de_DescribeDetectorModelAnalysisCommand = async (output, context) => {
745
- if (output.statusCode !== 200 && output.statusCode >= 300) {
746
- return de_CommandError(output, context);
747
- }
748
- const contents = smithyClient.map({
749
- $metadata: deserializeMetadata(output),
750
- });
751
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
752
- const doc = smithyClient.take(data, {
753
- status: smithyClient.expectString,
754
- });
755
- Object.assign(contents, doc);
756
- return contents;
757
- };
758
- const de_DescribeInputCommand = async (output, context) => {
759
- if (output.statusCode !== 200 && output.statusCode >= 300) {
760
- return de_CommandError(output, context);
761
- }
762
- const contents = smithyClient.map({
763
- $metadata: deserializeMetadata(output),
764
- });
765
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
766
- const doc = smithyClient.take(data, {
767
- input: (_) => de_Input(_),
768
- });
769
- Object.assign(contents, doc);
770
- return contents;
771
- };
772
- const de_DescribeLoggingOptionsCommand = async (output, context) => {
773
- if (output.statusCode !== 200 && output.statusCode >= 300) {
774
- return de_CommandError(output, context);
775
- }
776
- const contents = smithyClient.map({
777
- $metadata: deserializeMetadata(output),
778
- });
779
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
780
- const doc = smithyClient.take(data, {
781
- loggingOptions: smithyClient._json,
782
- });
783
- Object.assign(contents, doc);
784
- return contents;
785
- };
786
- const de_GetDetectorModelAnalysisResultsCommand = async (output, context) => {
787
- if (output.statusCode !== 200 && output.statusCode >= 300) {
788
- return de_CommandError(output, context);
789
- }
790
- const contents = smithyClient.map({
791
- $metadata: deserializeMetadata(output),
792
- });
793
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
794
- const doc = smithyClient.take(data, {
795
- analysisResults: smithyClient._json,
796
- nextToken: smithyClient.expectString,
797
- });
798
- Object.assign(contents, doc);
799
- return contents;
800
- };
801
- const de_ListAlarmModelsCommand = async (output, context) => {
802
- if (output.statusCode !== 200 && output.statusCode >= 300) {
803
- return de_CommandError(output, context);
804
- }
805
- const contents = smithyClient.map({
806
- $metadata: deserializeMetadata(output),
807
- });
808
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
809
- const doc = smithyClient.take(data, {
810
- alarmModelSummaries: (_) => de_AlarmModelSummaries(_),
811
- nextToken: smithyClient.expectString,
812
- });
813
- Object.assign(contents, doc);
814
- return contents;
815
- };
816
- const de_ListAlarmModelVersionsCommand = async (output, context) => {
817
- if (output.statusCode !== 200 && output.statusCode >= 300) {
818
- return de_CommandError(output, context);
819
- }
820
- const contents = smithyClient.map({
821
- $metadata: deserializeMetadata(output),
822
- });
823
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
824
- const doc = smithyClient.take(data, {
825
- alarmModelVersionSummaries: (_) => de_AlarmModelVersionSummaries(_),
826
- nextToken: smithyClient.expectString,
827
- });
828
- Object.assign(contents, doc);
829
- return contents;
830
- };
831
- const de_ListDetectorModelsCommand = async (output, context) => {
832
- if (output.statusCode !== 200 && output.statusCode >= 300) {
833
- return de_CommandError(output, context);
834
- }
835
- const contents = smithyClient.map({
836
- $metadata: deserializeMetadata(output),
837
- });
838
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
839
- const doc = smithyClient.take(data, {
840
- detectorModelSummaries: (_) => de_DetectorModelSummaries(_),
841
- nextToken: smithyClient.expectString,
842
- });
843
- Object.assign(contents, doc);
844
- return contents;
845
- };
846
- const de_ListDetectorModelVersionsCommand = async (output, context) => {
847
- if (output.statusCode !== 200 && output.statusCode >= 300) {
848
- return de_CommandError(output, context);
849
- }
850
- const contents = smithyClient.map({
851
- $metadata: deserializeMetadata(output),
852
- });
853
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
854
- const doc = smithyClient.take(data, {
855
- detectorModelVersionSummaries: (_) => de_DetectorModelVersionSummaries(_),
856
- nextToken: smithyClient.expectString,
857
- });
858
- Object.assign(contents, doc);
859
- return contents;
860
- };
861
- const de_ListInputRoutingsCommand = async (output, context) => {
862
- if (output.statusCode !== 200 && output.statusCode >= 300) {
863
- return de_CommandError(output, context);
864
- }
865
- const contents = smithyClient.map({
866
- $metadata: deserializeMetadata(output),
867
- });
868
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
869
- const doc = smithyClient.take(data, {
870
- nextToken: smithyClient.expectString,
871
- routedResources: smithyClient._json,
872
- });
873
- Object.assign(contents, doc);
874
- return contents;
875
- };
876
- const de_ListInputsCommand = async (output, context) => {
877
- if (output.statusCode !== 200 && output.statusCode >= 300) {
878
- return de_CommandError(output, context);
879
- }
880
- const contents = smithyClient.map({
881
- $metadata: deserializeMetadata(output),
882
- });
883
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
884
- const doc = smithyClient.take(data, {
885
- inputSummaries: (_) => de_InputSummaries(_),
886
- nextToken: smithyClient.expectString,
887
- });
888
- Object.assign(contents, doc);
889
- return contents;
890
- };
891
- const de_ListTagsForResourceCommand = async (output, context) => {
892
- if (output.statusCode !== 200 && output.statusCode >= 300) {
893
- return de_CommandError(output, context);
894
- }
895
- const contents = smithyClient.map({
896
- $metadata: deserializeMetadata(output),
897
- });
898
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
899
- const doc = smithyClient.take(data, {
900
- tags: smithyClient._json,
901
- });
902
- Object.assign(contents, doc);
903
- return contents;
904
- };
905
- const de_PutLoggingOptionsCommand = async (output, context) => {
906
- if (output.statusCode !== 200 && output.statusCode >= 300) {
907
- return de_CommandError(output, context);
908
- }
909
- const contents = smithyClient.map({
910
- $metadata: deserializeMetadata(output),
911
- });
912
- await smithyClient.collectBody(output.body, context);
913
- return contents;
914
- };
915
- const de_StartDetectorModelAnalysisCommand = async (output, context) => {
916
- if (output.statusCode !== 200 && output.statusCode >= 300) {
917
- return de_CommandError(output, context);
918
- }
919
- const contents = smithyClient.map({
920
- $metadata: deserializeMetadata(output),
921
- });
922
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
923
- const doc = smithyClient.take(data, {
924
- analysisId: smithyClient.expectString,
925
- });
926
- Object.assign(contents, doc);
927
- return contents;
928
- };
929
- const de_TagResourceCommand = async (output, context) => {
930
- if (output.statusCode !== 200 && output.statusCode >= 300) {
931
- return de_CommandError(output, context);
932
- }
933
- const contents = smithyClient.map({
934
- $metadata: deserializeMetadata(output),
935
- });
936
- await smithyClient.collectBody(output.body, context);
937
- return contents;
938
- };
939
- const de_UntagResourceCommand = async (output, context) => {
940
- if (output.statusCode !== 200 && output.statusCode >= 300) {
941
- return de_CommandError(output, context);
942
- }
943
- const contents = smithyClient.map({
944
- $metadata: deserializeMetadata(output),
945
- });
946
- await smithyClient.collectBody(output.body, context);
947
- return contents;
948
- };
949
- const de_UpdateAlarmModelCommand = async (output, context) => {
950
- if (output.statusCode !== 200 && output.statusCode >= 300) {
951
- return de_CommandError(output, context);
952
- }
953
- const contents = smithyClient.map({
954
- $metadata: deserializeMetadata(output),
955
- });
956
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
957
- const doc = smithyClient.take(data, {
958
- alarmModelArn: smithyClient.expectString,
959
- alarmModelVersion: smithyClient.expectString,
960
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
961
- lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
962
- status: smithyClient.expectString,
963
- });
964
- Object.assign(contents, doc);
965
- return contents;
966
- };
967
- const de_UpdateDetectorModelCommand = async (output, context) => {
968
- if (output.statusCode !== 200 && output.statusCode >= 300) {
969
- return de_CommandError(output, context);
970
- }
971
- const contents = smithyClient.map({
972
- $metadata: deserializeMetadata(output),
973
- });
974
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
975
- const doc = smithyClient.take(data, {
976
- detectorModelConfiguration: (_) => de_DetectorModelConfiguration(_),
977
- });
978
- Object.assign(contents, doc);
979
- return contents;
980
- };
981
- const de_UpdateInputCommand = async (output, context) => {
982
- if (output.statusCode !== 200 && output.statusCode >= 300) {
983
- return de_CommandError(output, context);
984
- }
985
- const contents = smithyClient.map({
986
- $metadata: deserializeMetadata(output),
987
- });
988
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
989
- const doc = smithyClient.take(data, {
990
- inputConfiguration: (_) => de_InputConfiguration(_),
991
- });
992
- Object.assign(contents, doc);
993
- return contents;
994
- };
995
- const de_CommandError = async (output, context) => {
996
- const parsedOutput = {
997
- ...output,
998
- body: await core$1.parseJsonErrorBody(output.body, context),
999
- };
1000
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1001
- switch (errorCode) {
1002
- case "InternalFailureException":
1003
- case "com.amazonaws.iotevents#InternalFailureException":
1004
- throw await de_InternalFailureExceptionRes(parsedOutput);
1005
- case "InvalidRequestException":
1006
- case "com.amazonaws.iotevents#InvalidRequestException":
1007
- throw await de_InvalidRequestExceptionRes(parsedOutput);
1008
- case "LimitExceededException":
1009
- case "com.amazonaws.iotevents#LimitExceededException":
1010
- throw await de_LimitExceededExceptionRes(parsedOutput);
1011
- case "ResourceAlreadyExistsException":
1012
- case "com.amazonaws.iotevents#ResourceAlreadyExistsException":
1013
- throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput);
1014
- case "ResourceInUseException":
1015
- case "com.amazonaws.iotevents#ResourceInUseException":
1016
- throw await de_ResourceInUseExceptionRes(parsedOutput);
1017
- case "ServiceUnavailableException":
1018
- case "com.amazonaws.iotevents#ServiceUnavailableException":
1019
- throw await de_ServiceUnavailableExceptionRes(parsedOutput);
1020
- case "ThrottlingException":
1021
- case "com.amazonaws.iotevents#ThrottlingException":
1022
- throw await de_ThrottlingExceptionRes(parsedOutput);
1023
- case "ResourceNotFoundException":
1024
- case "com.amazonaws.iotevents#ResourceNotFoundException":
1025
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1026
- case "UnsupportedOperationException":
1027
- case "com.amazonaws.iotevents#UnsupportedOperationException":
1028
- throw await de_UnsupportedOperationExceptionRes(parsedOutput);
1029
- default:
1030
- const parsedBody = parsedOutput.body;
1031
- return throwDefaultError({
1032
- output,
1033
- parsedBody,
1034
- errorCode,
1035
- });
1036
- }
1037
- };
1038
- const throwDefaultError = smithyClient.withBaseException(IoTEventsServiceException);
1039
- const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
1040
- const contents = smithyClient.map({});
1041
- const data = parsedOutput.body;
1042
- const doc = smithyClient.take(data, {
1043
- message: smithyClient.expectString,
1044
- });
1045
- Object.assign(contents, doc);
1046
- const exception = new InternalFailureException({
1047
- $metadata: deserializeMetadata(parsedOutput),
1048
- ...contents,
1049
- });
1050
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1051
- };
1052
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1053
- const contents = smithyClient.map({});
1054
- const data = parsedOutput.body;
1055
- const doc = smithyClient.take(data, {
1056
- message: smithyClient.expectString,
1057
- });
1058
- Object.assign(contents, doc);
1059
- const exception = new InvalidRequestException({
1060
- $metadata: deserializeMetadata(parsedOutput),
1061
- ...contents,
1062
- });
1063
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1064
- };
1065
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1066
- const contents = smithyClient.map({});
1067
- const data = parsedOutput.body;
1068
- const doc = smithyClient.take(data, {
1069
- message: smithyClient.expectString,
1070
- });
1071
- Object.assign(contents, doc);
1072
- const exception = new LimitExceededException({
1073
- $metadata: deserializeMetadata(parsedOutput),
1074
- ...contents,
1075
- });
1076
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1077
- };
1078
- const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1079
- const contents = smithyClient.map({});
1080
- const data = parsedOutput.body;
1081
- const doc = smithyClient.take(data, {
1082
- message: smithyClient.expectString,
1083
- resourceArn: smithyClient.expectString,
1084
- resourceId: smithyClient.expectString,
1085
- });
1086
- Object.assign(contents, doc);
1087
- const exception = new ResourceAlreadyExistsException({
1088
- $metadata: deserializeMetadata(parsedOutput),
1089
- ...contents,
1090
- });
1091
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1092
- };
1093
- const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
1094
- const contents = smithyClient.map({});
1095
- const data = parsedOutput.body;
1096
- const doc = smithyClient.take(data, {
1097
- message: smithyClient.expectString,
1098
- });
1099
- Object.assign(contents, doc);
1100
- const exception = new ResourceInUseException({
1101
- $metadata: deserializeMetadata(parsedOutput),
1102
- ...contents,
1103
- });
1104
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1105
- };
1106
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1107
- const contents = smithyClient.map({});
1108
- const data = parsedOutput.body;
1109
- const doc = smithyClient.take(data, {
1110
- message: smithyClient.expectString,
1111
- });
1112
- Object.assign(contents, doc);
1113
- const exception = new ResourceNotFoundException({
1114
- $metadata: deserializeMetadata(parsedOutput),
1115
- ...contents,
1116
- });
1117
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1118
- };
1119
- const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
1120
- const contents = smithyClient.map({});
1121
- const data = parsedOutput.body;
1122
- const doc = smithyClient.take(data, {
1123
- message: smithyClient.expectString,
1124
- });
1125
- Object.assign(contents, doc);
1126
- const exception = new ServiceUnavailableException({
1127
- $metadata: deserializeMetadata(parsedOutput),
1128
- ...contents,
1129
- });
1130
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1131
- };
1132
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1133
- const contents = smithyClient.map({});
1134
- const data = parsedOutput.body;
1135
- const doc = smithyClient.take(data, {
1136
- message: smithyClient.expectString,
1137
- });
1138
- Object.assign(contents, doc);
1139
- const exception = new ThrottlingException({
1140
- $metadata: deserializeMetadata(parsedOutput),
1141
- ...contents,
1142
- });
1143
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1144
- };
1145
- const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
1146
- const contents = smithyClient.map({});
1147
- const data = parsedOutput.body;
1148
- const doc = smithyClient.take(data, {
1149
- message: smithyClient.expectString,
1150
- });
1151
- Object.assign(contents, doc);
1152
- const exception = new UnsupportedOperationException({
1153
- $metadata: deserializeMetadata(parsedOutput),
1154
- ...contents,
1155
- });
1156
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1157
- };
1158
- const se_DetectorModelDefinition = (input, context) => {
1159
- return smithyClient.take(input, {
1160
- initialStateName: [],
1161
- states: smithyClient._json,
1162
- });
1163
- };
1164
- const de_AlarmModelSummaries = (output, context) => {
1165
- const retVal = (output || [])
1166
- .filter((e) => e != null)
1167
- .map((entry) => {
1168
- return de_AlarmModelSummary(entry);
1169
- });
1170
- return retVal;
1171
- };
1172
- const de_AlarmModelSummary = (output, context) => {
1173
- return smithyClient.take(output, {
1174
- alarmModelDescription: smithyClient.expectString,
1175
- alarmModelName: smithyClient.expectString,
1176
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1177
- });
1178
283
  };
1179
- const de_AlarmModelVersionSummaries = (output, context) => {
1180
- const retVal = (output || [])
1181
- .filter((e) => e != null)
1182
- .map((entry) => {
1183
- return de_AlarmModelVersionSummary(entry);
1184
- });
1185
- return retVal;
1186
- };
1187
- const de_AlarmModelVersionSummary = (output, context) => {
1188
- return smithyClient.take(output, {
1189
- alarmModelArn: smithyClient.expectString,
1190
- alarmModelName: smithyClient.expectString,
1191
- alarmModelVersion: smithyClient.expectString,
1192
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1193
- lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1194
- roleArn: smithyClient.expectString,
1195
- status: smithyClient.expectString,
1196
- statusMessage: smithyClient.expectString,
1197
- });
1198
- };
1199
- const de_DetectorModel = (output, context) => {
1200
- return smithyClient.take(output, {
1201
- detectorModelConfiguration: (_) => de_DetectorModelConfiguration(_),
1202
- detectorModelDefinition: (_) => de_DetectorModelDefinition(_),
1203
- });
1204
- };
1205
- const de_DetectorModelConfiguration = (output, context) => {
1206
- return smithyClient.take(output, {
1207
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1208
- detectorModelArn: smithyClient.expectString,
1209
- detectorModelDescription: smithyClient.expectString,
1210
- detectorModelName: smithyClient.expectString,
1211
- detectorModelVersion: smithyClient.expectString,
1212
- evaluationMethod: smithyClient.expectString,
1213
- key: smithyClient.expectString,
1214
- lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1215
- roleArn: smithyClient.expectString,
1216
- status: smithyClient.expectString,
1217
- });
1218
- };
1219
- const de_DetectorModelDefinition = (output, context) => {
1220
- return smithyClient.take(output, {
1221
- initialStateName: smithyClient.expectString,
1222
- states: smithyClient._json,
1223
- });
1224
- };
1225
- const de_DetectorModelSummaries = (output, context) => {
1226
- const retVal = (output || [])
1227
- .filter((e) => e != null)
1228
- .map((entry) => {
1229
- return de_DetectorModelSummary(entry);
1230
- });
1231
- return retVal;
1232
- };
1233
- const de_DetectorModelSummary = (output, context) => {
1234
- return smithyClient.take(output, {
1235
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1236
- detectorModelDescription: smithyClient.expectString,
1237
- detectorModelName: smithyClient.expectString,
1238
- });
1239
- };
1240
- const de_DetectorModelVersionSummaries = (output, context) => {
1241
- const retVal = (output || [])
1242
- .filter((e) => e != null)
1243
- .map((entry) => {
1244
- return de_DetectorModelVersionSummary(entry);
1245
- });
1246
- return retVal;
1247
- };
1248
- const de_DetectorModelVersionSummary = (output, context) => {
1249
- return smithyClient.take(output, {
1250
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1251
- detectorModelArn: smithyClient.expectString,
1252
- detectorModelName: smithyClient.expectString,
1253
- detectorModelVersion: smithyClient.expectString,
1254
- evaluationMethod: smithyClient.expectString,
1255
- lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1256
- roleArn: smithyClient.expectString,
1257
- status: smithyClient.expectString,
1258
- });
1259
- };
1260
- const de_Input = (output, context) => {
1261
- return smithyClient.take(output, {
1262
- inputConfiguration: (_) => de_InputConfiguration(_),
1263
- inputDefinition: smithyClient._json,
1264
- });
1265
- };
1266
- const de_InputConfiguration = (output, context) => {
1267
- return smithyClient.take(output, {
1268
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1269
- inputArn: smithyClient.expectString,
1270
- inputDescription: smithyClient.expectString,
1271
- inputName: smithyClient.expectString,
1272
- lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1273
- status: smithyClient.expectString,
1274
- });
1275
- };
1276
- const de_InputSummaries = (output, context) => {
1277
- const retVal = (output || [])
1278
- .filter((e) => e != null)
1279
- .map((entry) => {
1280
- return de_InputSummary(entry);
1281
- });
1282
- return retVal;
1283
- };
1284
- const de_InputSummary = (output, context) => {
1285
- return smithyClient.take(output, {
1286
- creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1287
- inputArn: smithyClient.expectString,
1288
- inputDescription: smithyClient.expectString,
1289
- inputName: smithyClient.expectString,
1290
- lastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1291
- status: smithyClient.expectString,
1292
- });
1293
- };
1294
- const deserializeMetadata = (output) => ({
1295
- httpStatusCode: output.statusCode,
1296
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1297
- extendedRequestId: output.headers["x-amz-id-2"],
1298
- cfId: output.headers["x-amz-cf-id"],
1299
- });
284
+
285
+ const _A = "Action";
286
+ const _AA = "AlarmAction";
287
+ const _AAl = "AlarmActions";
288
+ const _AC = "AlarmCapabilities";
289
+ const _AEA = "AlarmEventActions";
290
+ const _AF = "AcknowledgeFlow";
291
+ const _AMS = "AlarmModelSummary";
292
+ const _AMSl = "AlarmModelSummaries";
293
+ const _AMVS = "AlarmModelVersionSummary";
294
+ const _AMVSl = "AlarmModelVersionSummaries";
295
+ const _AN = "AlarmNotification";
296
+ const _APT = "AssetPropertyTimestamp";
297
+ const _APV = "AssetPropertyValue";
298
+ const _APVs = "AssetPropertyVariant";
299
+ const _AR = "AlarmRule";
300
+ const _ARL = "AnalysisResultLocation";
301
+ const _ARLn = "AnalysisResultLocations";
302
+ const _ARn = "AnalysisResult";
303
+ const _ARna = "AnalysisResults";
304
+ const _Ac = "Actions";
305
+ const _At = "Attribute";
306
+ const _Att = "Attributes";
307
+ const _CAM = "CreateAlarmModel";
308
+ const _CAMR = "CreateAlarmModelRequest";
309
+ const _CAMRr = "CreateAlarmModelResponse";
310
+ const _CDM = "CreateDetectorModel";
311
+ const _CDMR = "CreateDetectorModelRequest";
312
+ const _CDMRr = "CreateDetectorModelResponse";
313
+ const _CI = "CreateInput";
314
+ const _CIR = "CreateInputRequest";
315
+ const _CIRr = "CreateInputResponse";
316
+ const _CTA = "ClearTimerAction";
317
+ const _DAM = "DeleteAlarmModel";
318
+ const _DAMR = "DeleteAlarmModelRequest";
319
+ const _DAMRe = "DeleteAlarmModelResponse";
320
+ const _DAMRes = "DescribeAlarmModelRequest";
321
+ const _DAMResc = "DescribeAlarmModelResponse";
322
+ const _DAMe = "DescribeAlarmModel";
323
+ const _DDBA = "DynamoDBAction";
324
+ const _DDBAy = "DynamoDBv2Action";
325
+ const _DDM = "DeleteDetectorModel";
326
+ const _DDMA = "DescribeDetectorModelAnalysis";
327
+ const _DDMAR = "DescribeDetectorModelAnalysisRequest";
328
+ const _DDMARe = "DescribeDetectorModelAnalysisResponse";
329
+ const _DDMR = "DeleteDetectorModelRequest";
330
+ const _DDMRe = "DeleteDetectorModelResponse";
331
+ const _DDMRes = "DescribeDetectorModelRequest";
332
+ const _DDMResc = "DescribeDetectorModelResponse";
333
+ const _DDMe = "DescribeDetectorModel";
334
+ const _DDO = "DetectorDebugOption";
335
+ const _DDOe = "DetectorDebugOptions";
336
+ const _DI = "DeleteInput";
337
+ const _DIR = "DeleteInputRequest";
338
+ const _DIRe = "DeleteInputResponse";
339
+ const _DIRes = "DescribeInputRequest";
340
+ const _DIResc = "DescribeInputResponse";
341
+ const _DIe = "DescribeInput";
342
+ const _DLO = "DescribeLoggingOptions";
343
+ const _DLOR = "DescribeLoggingOptionsRequest";
344
+ const _DLORe = "DescribeLoggingOptionsResponse";
345
+ const _DM = "DetectorModel";
346
+ const _DMC = "DetectorModelConfiguration";
347
+ const _DMD = "DetectorModelDefinition";
348
+ const _DMS = "DetectorModelSummary";
349
+ const _DMSe = "DetectorModelSummaries";
350
+ const _DMVS = "DetectorModelVersionSummary";
351
+ const _DMVSe = "DetectorModelVersionSummaries";
352
+ const _E = "Event";
353
+ const _EC = "EmailConfiguration";
354
+ const _ECm = "EmailContent";
355
+ const _ECma = "EmailConfigurations";
356
+ const _ER = "EmailRecipients";
357
+ const _Ev = "Events";
358
+ const _FA = "FirehoseAction";
359
+ const _GDMAR = "GetDetectorModelAnalysisResults";
360
+ const _GDMARR = "GetDetectorModelAnalysisResultsRequest";
361
+ const _GDMARRe = "GetDetectorModelAnalysisResultsResponse";
362
+ const _I = "Input";
363
+ const _IC = "InitializationConfiguration";
364
+ const _ICn = "InputConfiguration";
365
+ const _ID = "InputDefinition";
366
+ const _IEA = "IotEventsAction";
367
+ const _IEII = "IotEventsInputIdentifier";
368
+ const _IFE = "InternalFailureException";
369
+ const _II = "InputIdentifier";
370
+ const _IRE = "InvalidRequestException";
371
+ const _IS = "InputSummary";
372
+ const _ISWA = "IotSiteWiseAction";
373
+ const _ISWAMPI = "IotSiteWiseAssetModelPropertyIdentifier";
374
+ const _ISWII = "IotSiteWiseInputIdentifier";
375
+ const _ISn = "InputSummaries";
376
+ const _ITPA = "IotTopicPublishAction";
377
+ const _LA = "LambdaAction";
378
+ const _LAM = "ListAlarmModels";
379
+ const _LAMR = "ListAlarmModelsRequest";
380
+ const _LAMRi = "ListAlarmModelsResponse";
381
+ const _LAMV = "ListAlarmModelVersions";
382
+ const _LAMVR = "ListAlarmModelVersionsRequest";
383
+ const _LAMVRi = "ListAlarmModelVersionsResponse";
384
+ const _LDM = "ListDetectorModels";
385
+ const _LDMR = "ListDetectorModelsRequest";
386
+ const _LDMRi = "ListDetectorModelsResponse";
387
+ const _LDMV = "ListDetectorModelVersions";
388
+ const _LDMVR = "ListDetectorModelVersionsRequest";
389
+ const _LDMVRi = "ListDetectorModelVersionsResponse";
390
+ const _LEE = "LimitExceededException";
391
+ const _LI = "ListInputs";
392
+ const _LIR = "ListInputsRequest";
393
+ const _LIRR = "ListInputRoutingsRequest";
394
+ const _LIRRi = "ListInputRoutingsResponse";
395
+ const _LIRi = "ListInputsResponse";
396
+ const _LIRis = "ListInputRoutings";
397
+ const _LO = "LoggingOptions";
398
+ const _LTFR = "ListTagsForResource";
399
+ const _LTFRR = "ListTagsForResourceRequest";
400
+ const _LTFRRi = "ListTagsForResourceResponse";
401
+ const _NA = "NotificationAction";
402
+ const _NAo = "NotificationActions";
403
+ const _NTA = "NotificationTargetActions";
404
+ const _OEL = "OnEnterLifecycle";
405
+ const _OELn = "OnExitLifecycle";
406
+ const _OIL = "OnInputLifecycle";
407
+ const _P = "Payload";
408
+ const _PLO = "PutLoggingOptions";
409
+ const _PLOR = "PutLoggingOptionsRequest";
410
+ const _RAEE = "ResourceAlreadyExistsException";
411
+ const _RD = "RecipientDetail";
412
+ const _RDe = "RecipientDetails";
413
+ const _RIUE = "ResourceInUseException";
414
+ const _RNFE = "ResourceNotFoundException";
415
+ const _RR = "RoutedResource";
416
+ const _RRo = "RoutedResources";
417
+ const _RTA = "ResetTimerAction";
418
+ const _S = "State";
419
+ const _SA = "SqsAction";
420
+ const _SDMA = "StartDetectorModelAnalysis";
421
+ const _SDMAR = "StartDetectorModelAnalysisRequest";
422
+ const _SDMARt = "StartDetectorModelAnalysisResponse";
423
+ const _SMSC = "SMSConfiguration";
424
+ const _SMSCo = "SMSConfigurations";
425
+ const _SNSTPA = "SNSTopicPublishAction";
426
+ const _SR = "SimpleRule";
427
+ const _SSOI = "SSOIdentity";
428
+ const _STA = "SetTimerAction";
429
+ const _SUE = "ServiceUnavailableException";
430
+ const _SVA = "SetVariableAction";
431
+ const _St = "States";
432
+ const _T = "Tag";
433
+ const _TE = "ThrottlingException";
434
+ const _TEr = "TransitionEvent";
435
+ const _TEra = "TransitionEvents";
436
+ const _TR = "TagResource";
437
+ const _TRR = "TagResourceRequest";
438
+ const _TRRa = "TagResourceResponse";
439
+ const _Ta = "Tags";
440
+ const _UAM = "UpdateAlarmModel";
441
+ const _UAMR = "UpdateAlarmModelRequest";
442
+ const _UAMRp = "UpdateAlarmModelResponse";
443
+ const _UDM = "UpdateDetectorModel";
444
+ const _UDMR = "UpdateDetectorModelRequest";
445
+ const _UDMRp = "UpdateDetectorModelResponse";
446
+ const _UI = "UpdateInput";
447
+ const _UIR = "UpdateInputRequest";
448
+ const _UIRp = "UpdateInputResponse";
449
+ const _UOE = "UnsupportedOperationException";
450
+ const _UR = "UntagResource";
451
+ const _URR = "UntagResourceRequest";
452
+ const _URRn = "UntagResourceResponse";
453
+ const _a = "actions";
454
+ const _aA = "alarmActions";
455
+ const _aC = "alarmCapabilities";
456
+ const _aEA = "alarmEventActions";
457
+ const _aF = "acknowledgeFlow";
458
+ const _aI = "analysisId";
459
+ const _aIs = "assetId";
460
+ const _aM = "additionalMessage";
461
+ const _aMA = "alarmModelArn";
462
+ const _aMD = "alarmModelDescription";
463
+ const _aMI = "assetModelId";
464
+ const _aMN = "alarmModelName";
465
+ const _aMS = "alarmModelSummaries";
1300
466
  const _aMV = "alarmModelVersion";
467
+ const _aMVS = "alarmModelVersionSummaries";
468
+ const _aN = "alarmNotification";
469
+ const _aR = "alarmRule";
470
+ const _aRn = "analysisResults";
471
+ const _ac = "action";
472
+ const _ar = "arn";
473
+ const _at = "attributes";
474
+ const _bV = "booleanValue";
475
+ const _c = "content";
476
+ const _cE = "contentExpression";
477
+ const _cO = "comparisonOperator";
478
+ const _cT = "clearTimer";
479
+ const _cTr = "creationTime";
480
+ const _cl = "client";
481
+ const _co = "condition";
482
+ const _dDB = "dynamoDB";
483
+ const _dDBy = "dynamoDBv2";
484
+ const _dDO = "detectorDebugOptions";
485
+ const _dE = "durationExpression";
486
+ const _dM = "detectorModel";
487
+ const _dMA = "detectorModelArn";
488
+ const _dMC = "detectorModelConfiguration";
489
+ const _dMD = "detectorModelDefinition";
490
+ const _dMDe = "detectorModelDescription";
491
+ const _dMN = "detectorModelName";
492
+ const _dMS = "detectorModelSummaries";
1301
493
  const _dMV = "detectorModelVersion";
494
+ const _dMVS = "detectorModelVersionSummaries";
495
+ const _dOI = "disabledOnInitialization";
496
+ const _dSN = "deliveryStreamName";
497
+ const _dV = "doubleValue";
498
+ const _e = "enabled";
499
+ const _eC = "emailConfigurations";
500
+ const _eI = "entryId";
501
+ const _eM = "evaluationMethod";
502
+ const _eN = "eventName";
503
+ const _er = "error";
504
+ const _ev = "events";
505
+ const _f = "firehose";
506
+ const _fA = "functionArn";
507
+ const _fr = "from";
508
+ const _h = "http";
509
+ const _hE = "httpError";
510
+ const _hKF = "hashKeyField";
511
+ const _hKT = "hashKeyType";
512
+ const _hKV = "hashKeyValue";
513
+ const _hQ = "httpQuery";
514
+ const _i = "input";
515
+ const _iA = "inputArn";
516
+ const _iC = "initializationConfiguration";
517
+ const _iCn = "inputConfiguration";
518
+ const _iD = "inputDescription";
519
+ const _iDn = "inputDefinition";
520
+ const _iE = "iotEvents";
521
+ const _iEII = "iotEventsInputIdentifier";
522
+ const _iI = "inputIdentifier";
523
+ const _iN = "inputName";
524
+ const _iP = "inputProperty";
525
+ const _iS = "inputSummaries";
526
+ const _iSI = "identityStoreId";
527
+ const _iSN = "initialStateName";
528
+ const _iSW = "iotSiteWise";
529
+ const _iSWAMPI = "iotSiteWiseAssetModelPropertyIdentifier";
530
+ const _iSWII = "iotSiteWiseInputIdentifier";
531
+ const _iTP = "iotTopicPublish";
532
+ const _iV = "integerValue";
533
+ const _jP = "jsonPath";
534
+ const _k = "key";
535
+ const _kV = "keyValue";
536
+ const _l = "lambda";
537
+ const _lA = "lambdaAction";
538
+ const _lO = "loggingOptions";
539
+ const _lUT = "lastUpdateTime";
540
+ const _le = "level";
541
+ const _lo = "locations";
542
+ const _m = "message";
1302
543
  const _mR = "maxResults";
544
+ const _mT = "mqttTopic";
545
+ const _n = "name";
546
+ const _nA = "notificationActions";
547
+ const _nS = "nextState";
1303
548
  const _nT = "nextToken";
1304
- const _rA = "resourceArn";
549
+ const _o = "operation";
550
+ const _oE = "onEnter";
551
+ const _oEn = "onExit";
552
+ const _oI = "onInput";
553
+ const _oIN = "offsetInNanos";
554
+ const _p = "path";
555
+ const _pA = "propertyAlias";
556
+ const _pF = "payloadField";
557
+ const _pI = "propertyId";
558
+ const _pV = "propertyValue";
559
+ const _pa = "payload";
560
+ const _q = "quality";
561
+ const _qU = "queueUrl";
562
+ const _r = "recipients";
563
+ const _rA = "roleArn";
564
+ const _rAe = "resourceArn";
565
+ const _rI = "resourceId";
566
+ const _rKF = "rangeKeyField";
567
+ const _rKT = "rangeKeyType";
568
+ const _rKV = "rangeKeyValue";
569
+ const _rR = "routedResources";
570
+ const _rT = "resetTimer";
571
+ const _s = "sns";
572
+ const _sC = "smsConfigurations";
573
+ const _sI = "ssoIdentity";
574
+ const _sIe = "senderId";
575
+ const _sM = "statusMessage";
576
+ const _sN = "stateName";
577
+ const _sR = "simpleRule";
578
+ const _sT = "setTimer";
579
+ const _sV = "setVariable";
580
+ const _sVt = "stringValue";
581
+ const _se = "severity";
582
+ const _sec = "seconds";
583
+ const _sep = "separator";
584
+ const _ser = "server";
585
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.iotevents";
586
+ const _sq = "sqs";
587
+ const _st = "status";
588
+ const _sta = "states";
589
+ const _su = "subject";
590
+ const _t = "type";
591
+ const _tA = "targetArn";
592
+ const _tE = "transitionEvents";
593
+ const _tIS = "timeInSeconds";
1305
594
  const _tK = "tagKeys";
1306
- const _v = "version";
595
+ const _tN = "timerName";
596
+ const _tNa = "tableName";
597
+ const _ta = "tags";
598
+ const _th = "threshold";
599
+ const _ti = "timestamp";
600
+ const _to = "to";
601
+ const _uB = "useBase64";
602
+ const _uI = "userId";
603
+ const _v = "value";
604
+ const _vN = "variableName";
605
+ const _ve = "version";
606
+ const n0 = "com.amazonaws.iotevents";
607
+ var AcknowledgeFlow = [3, n0, _AF, 0, [_e], [2]];
608
+ var Action = [
609
+ 3,
610
+ n0,
611
+ _A,
612
+ 0,
613
+ [_sV, _s, _iTP, _sT, _cT, _rT, _l, _iE, _sq, _f, _dDB, _dDBy, _iSW],
614
+ [
615
+ () => SetVariableAction,
616
+ () => SNSTopicPublishAction,
617
+ () => IotTopicPublishAction,
618
+ () => SetTimerAction,
619
+ () => ClearTimerAction,
620
+ () => ResetTimerAction,
621
+ () => LambdaAction,
622
+ () => IotEventsAction,
623
+ () => SqsAction,
624
+ () => FirehoseAction,
625
+ () => DynamoDBAction,
626
+ () => DynamoDBv2Action,
627
+ () => IotSiteWiseAction,
628
+ ],
629
+ ];
630
+ var AlarmAction = [
631
+ 3,
632
+ n0,
633
+ _AA,
634
+ 0,
635
+ [_s, _iTP, _l, _iE, _sq, _f, _dDB, _dDBy, _iSW],
636
+ [
637
+ () => SNSTopicPublishAction,
638
+ () => IotTopicPublishAction,
639
+ () => LambdaAction,
640
+ () => IotEventsAction,
641
+ () => SqsAction,
642
+ () => FirehoseAction,
643
+ () => DynamoDBAction,
644
+ () => DynamoDBv2Action,
645
+ () => IotSiteWiseAction,
646
+ ],
647
+ ];
648
+ var AlarmCapabilities = [
649
+ 3,
650
+ n0,
651
+ _AC,
652
+ 0,
653
+ [_iC, _aF],
654
+ [() => InitializationConfiguration, () => AcknowledgeFlow],
655
+ ];
656
+ var AlarmEventActions = [3, n0, _AEA, 0, [_aA], [() => AlarmActions]];
657
+ var AlarmModelSummary = [3, n0, _AMS, 0, [_cTr, _aMD, _aMN], [4, 0, 0]];
658
+ var AlarmModelVersionSummary = [
659
+ 3,
660
+ n0,
661
+ _AMVS,
662
+ 0,
663
+ [_aMN, _aMA, _aMV, _rA, _cTr, _lUT, _st, _sM],
664
+ [0, 0, 0, 0, 4, 4, 0, 0],
665
+ ];
666
+ var AlarmNotification = [3, n0, _AN, 0, [_nA], [() => NotificationActions]];
667
+ var AlarmRule = [3, n0, _AR, 0, [_sR], [() => SimpleRule]];
668
+ var AnalysisResult = [
669
+ 3,
670
+ n0,
671
+ _ARn,
672
+ 0,
673
+ [_t, _le, _m, _lo],
674
+ [0, 0, 0, () => AnalysisResultLocations],
675
+ ];
676
+ var AnalysisResultLocation = [3, n0, _ARL, 0, [_p], [0]];
677
+ var AssetPropertyTimestamp = [3, n0, _APT, 0, [_tIS, _oIN], [0, 0]];
678
+ var AssetPropertyValue = [
679
+ 3,
680
+ n0,
681
+ _APV,
682
+ 0,
683
+ [_v, _ti, _q],
684
+ [() => AssetPropertyVariant, () => AssetPropertyTimestamp, 0],
685
+ ];
686
+ var AssetPropertyVariant = [3, n0, _APVs, 0, [_sVt, _iV, _dV, _bV], [0, 0, 0, 0]];
687
+ var Attribute = [3, n0, _At, 0, [_jP], [0]];
688
+ var ClearTimerAction = [3, n0, _CTA, 0, [_tN], [0]];
689
+ var CreateAlarmModelRequest = [
690
+ 3,
691
+ n0,
692
+ _CAMR,
693
+ 0,
694
+ [_aMN, _aMD, _rA, _ta, _k, _se, _aR, _aN, _aEA, _aC],
695
+ [
696
+ 0,
697
+ 0,
698
+ 0,
699
+ () => Tags,
700
+ 0,
701
+ 1,
702
+ () => AlarmRule,
703
+ () => AlarmNotification,
704
+ () => AlarmEventActions,
705
+ () => AlarmCapabilities,
706
+ ],
707
+ ];
708
+ var CreateAlarmModelResponse = [
709
+ 3,
710
+ n0,
711
+ _CAMRr,
712
+ 0,
713
+ [_cTr, _aMA, _aMV, _lUT, _st],
714
+ [4, 0, 0, 4, 0],
715
+ ];
716
+ var CreateDetectorModelRequest = [
717
+ 3,
718
+ n0,
719
+ _CDMR,
720
+ 0,
721
+ [_dMN, _dMD, _dMDe, _k, _rA, _ta, _eM],
722
+ [0, () => DetectorModelDefinition, 0, 0, 0, () => Tags, 0],
723
+ ];
724
+ var CreateDetectorModelResponse = [
725
+ 3,
726
+ n0,
727
+ _CDMRr,
728
+ 0,
729
+ [_dMC],
730
+ [() => DetectorModelConfiguration],
731
+ ];
732
+ var CreateInputRequest = [
733
+ 3,
734
+ n0,
735
+ _CIR,
736
+ 0,
737
+ [_iN, _iD, _iDn, _ta],
738
+ [0, 0, () => InputDefinition, () => Tags],
739
+ ];
740
+ var CreateInputResponse = [3, n0, _CIRr, 0, [_iCn], [() => InputConfiguration]];
741
+ var DeleteAlarmModelRequest = [3, n0, _DAMR, 0, [_aMN], [[0, 1]]];
742
+ var DeleteAlarmModelResponse = [3, n0, _DAMRe, 0, [], []];
743
+ var DeleteDetectorModelRequest = [3, n0, _DDMR, 0, [_dMN], [[0, 1]]];
744
+ var DeleteDetectorModelResponse = [3, n0, _DDMRe, 0, [], []];
745
+ var DeleteInputRequest = [3, n0, _DIR, 0, [_iN], [[0, 1]]];
746
+ var DeleteInputResponse = [3, n0, _DIRe, 0, [], []];
747
+ var DescribeAlarmModelRequest = [
748
+ 3,
749
+ n0,
750
+ _DAMRes,
751
+ 0,
752
+ [_aMN, _aMV],
753
+ [
754
+ [0, 1],
755
+ [
756
+ 0,
757
+ {
758
+ [_hQ]: _ve,
759
+ },
760
+ ],
761
+ ],
762
+ ];
763
+ var DescribeAlarmModelResponse = [
764
+ 3,
765
+ n0,
766
+ _DAMResc,
767
+ 0,
768
+ [_cTr, _aMA, _aMV, _lUT, _st, _sM, _aMN, _aMD, _rA, _k, _se, _aR, _aN, _aEA, _aC],
769
+ [
770
+ 4,
771
+ 0,
772
+ 0,
773
+ 4,
774
+ 0,
775
+ 0,
776
+ 0,
777
+ 0,
778
+ 0,
779
+ 0,
780
+ 1,
781
+ () => AlarmRule,
782
+ () => AlarmNotification,
783
+ () => AlarmEventActions,
784
+ () => AlarmCapabilities,
785
+ ],
786
+ ];
787
+ var DescribeDetectorModelAnalysisRequest = [3, n0, _DDMAR, 0, [_aI], [[0, 1]]];
788
+ var DescribeDetectorModelAnalysisResponse = [3, n0, _DDMARe, 0, [_st], [0]];
789
+ var DescribeDetectorModelRequest = [
790
+ 3,
791
+ n0,
792
+ _DDMRes,
793
+ 0,
794
+ [_dMN, _dMV],
795
+ [
796
+ [0, 1],
797
+ [
798
+ 0,
799
+ {
800
+ [_hQ]: _ve,
801
+ },
802
+ ],
803
+ ],
804
+ ];
805
+ var DescribeDetectorModelResponse = [3, n0, _DDMResc, 0, [_dM], [() => DetectorModel]];
806
+ var DescribeInputRequest = [3, n0, _DIRes, 0, [_iN], [[0, 1]]];
807
+ var DescribeInputResponse = [3, n0, _DIResc, 0, [_i], [() => Input]];
808
+ var DescribeLoggingOptionsRequest = [3, n0, _DLOR, 0, [], []];
809
+ var DescribeLoggingOptionsResponse = [3, n0, _DLORe, 0, [_lO], [() => LoggingOptions]];
810
+ var DetectorDebugOption = [3, n0, _DDO, 0, [_dMN, _kV], [0, 0]];
811
+ var DetectorModel = [
812
+ 3,
813
+ n0,
814
+ _DM,
815
+ 0,
816
+ [_dMD, _dMC],
817
+ [() => DetectorModelDefinition, () => DetectorModelConfiguration],
818
+ ];
819
+ var DetectorModelConfiguration = [
820
+ 3,
821
+ n0,
822
+ _DMC,
823
+ 0,
824
+ [_dMN, _dMV, _dMDe, _dMA, _rA, _cTr, _lUT, _st, _k, _eM],
825
+ [0, 0, 0, 0, 0, 4, 4, 0, 0, 0],
826
+ ];
827
+ var DetectorModelDefinition = [3, n0, _DMD, 0, [_sta, _iSN], [() => States, 0]];
828
+ var DetectorModelSummary = [3, n0, _DMS, 0, [_dMN, _dMDe, _cTr], [0, 0, 4]];
829
+ var DetectorModelVersionSummary = [
830
+ 3,
831
+ n0,
832
+ _DMVS,
833
+ 0,
834
+ [_dMN, _dMV, _dMA, _rA, _cTr, _lUT, _st, _eM],
835
+ [0, 0, 0, 0, 4, 4, 0, 0],
836
+ ];
837
+ var DynamoDBAction = [
838
+ 3,
839
+ n0,
840
+ _DDBA,
841
+ 0,
842
+ [_hKT, _hKF, _hKV, _rKT, _rKF, _rKV, _o, _pF, _tNa, _pa],
843
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, () => Payload],
844
+ ];
845
+ var DynamoDBv2Action = [3, n0, _DDBAy, 0, [_tNa, _pa], [0, () => Payload]];
846
+ var EmailConfiguration = [
847
+ 3,
848
+ n0,
849
+ _EC,
850
+ 0,
851
+ [_fr, _c, _r],
852
+ [0, () => EmailContent, () => EmailRecipients],
853
+ ];
854
+ var EmailContent = [3, n0, _ECm, 0, [_su, _aM], [0, 0]];
855
+ var EmailRecipients = [3, n0, _ER, 0, [_to], [() => RecipientDetails]];
856
+ var Event = [3, n0, _E, 0, [_eN, _co, _a], [0, 0, () => Actions]];
857
+ var FirehoseAction = [3, n0, _FA, 0, [_dSN, _sep, _pa], [0, 0, () => Payload]];
858
+ var GetDetectorModelAnalysisResultsRequest = [
859
+ 3,
860
+ n0,
861
+ _GDMARR,
862
+ 0,
863
+ [_aI, _nT, _mR],
864
+ [
865
+ [0, 1],
866
+ [
867
+ 0,
868
+ {
869
+ [_hQ]: _nT,
870
+ },
871
+ ],
872
+ [
873
+ 1,
874
+ {
875
+ [_hQ]: _mR,
876
+ },
877
+ ],
878
+ ],
879
+ ];
880
+ var GetDetectorModelAnalysisResultsResponse = [
881
+ 3,
882
+ n0,
883
+ _GDMARRe,
884
+ 0,
885
+ [_aRn, _nT],
886
+ [() => AnalysisResults, 0],
887
+ ];
888
+ var InitializationConfiguration = [3, n0, _IC, 0, [_dOI], [2]];
889
+ var Input = [
890
+ 3,
891
+ n0,
892
+ _I,
893
+ 0,
894
+ [_iCn, _iDn],
895
+ [() => InputConfiguration, () => InputDefinition],
896
+ ];
897
+ var InputConfiguration = [
898
+ 3,
899
+ n0,
900
+ _ICn,
901
+ 0,
902
+ [_iN, _iD, _iA, _cTr, _lUT, _st],
903
+ [0, 0, 0, 4, 4, 0],
904
+ ];
905
+ var InputDefinition = [3, n0, _ID, 0, [_at], [() => Attributes]];
906
+ var InputIdentifier = [
907
+ 3,
908
+ n0,
909
+ _II,
910
+ 0,
911
+ [_iEII, _iSWII],
912
+ [() => IotEventsInputIdentifier, () => IotSiteWiseInputIdentifier],
913
+ ];
914
+ var InputSummary = [3, n0, _IS, 0, [_iN, _iD, _iA, _cTr, _lUT, _st], [0, 0, 0, 4, 4, 0]];
915
+ var InternalFailureException = [
916
+ -3,
917
+ n0,
918
+ _IFE,
919
+ {
920
+ [_er]: _ser,
921
+ [_hE]: 500,
922
+ },
923
+ [_m],
924
+ [0],
925
+ ];
926
+ schema.TypeRegistry.for(n0).registerError(InternalFailureException, InternalFailureException$1);
927
+ var InvalidRequestException = [
928
+ -3,
929
+ n0,
930
+ _IRE,
931
+ {
932
+ [_er]: _cl,
933
+ [_hE]: 400,
934
+ },
935
+ [_m],
936
+ [0],
937
+ ];
938
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
939
+ var IotEventsAction = [3, n0, _IEA, 0, [_iN, _pa], [0, () => Payload]];
940
+ var IotEventsInputIdentifier = [3, n0, _IEII, 0, [_iN], [0]];
941
+ var IotSiteWiseAction = [
942
+ 3,
943
+ n0,
944
+ _ISWA,
945
+ 0,
946
+ [_eI, _aIs, _pI, _pA, _pV],
947
+ [0, 0, 0, 0, () => AssetPropertyValue],
948
+ ];
949
+ var IotSiteWiseAssetModelPropertyIdentifier = [3, n0, _ISWAMPI, 0, [_aMI, _pI], [0, 0]];
950
+ var IotSiteWiseInputIdentifier = [
951
+ 3,
952
+ n0,
953
+ _ISWII,
954
+ 0,
955
+ [_iSWAMPI],
956
+ [() => IotSiteWiseAssetModelPropertyIdentifier],
957
+ ];
958
+ var IotTopicPublishAction = [3, n0, _ITPA, 0, [_mT, _pa], [0, () => Payload]];
959
+ var LambdaAction = [3, n0, _LA, 0, [_fA, _pa], [0, () => Payload]];
960
+ var LimitExceededException = [
961
+ -3,
962
+ n0,
963
+ _LEE,
964
+ {
965
+ [_er]: _cl,
966
+ [_hE]: 410,
967
+ },
968
+ [_m],
969
+ [0],
970
+ ];
971
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
972
+ var ListAlarmModelsRequest = [
973
+ 3,
974
+ n0,
975
+ _LAMR,
976
+ 0,
977
+ [_nT, _mR],
978
+ [
979
+ [
980
+ 0,
981
+ {
982
+ [_hQ]: _nT,
983
+ },
984
+ ],
985
+ [
986
+ 1,
987
+ {
988
+ [_hQ]: _mR,
989
+ },
990
+ ],
991
+ ],
992
+ ];
993
+ var ListAlarmModelsResponse = [
994
+ 3,
995
+ n0,
996
+ _LAMRi,
997
+ 0,
998
+ [_aMS, _nT],
999
+ [() => AlarmModelSummaries, 0],
1000
+ ];
1001
+ var ListAlarmModelVersionsRequest = [
1002
+ 3,
1003
+ n0,
1004
+ _LAMVR,
1005
+ 0,
1006
+ [_aMN, _nT, _mR],
1007
+ [
1008
+ [0, 1],
1009
+ [
1010
+ 0,
1011
+ {
1012
+ [_hQ]: _nT,
1013
+ },
1014
+ ],
1015
+ [
1016
+ 1,
1017
+ {
1018
+ [_hQ]: _mR,
1019
+ },
1020
+ ],
1021
+ ],
1022
+ ];
1023
+ var ListAlarmModelVersionsResponse = [
1024
+ 3,
1025
+ n0,
1026
+ _LAMVRi,
1027
+ 0,
1028
+ [_aMVS, _nT],
1029
+ [() => AlarmModelVersionSummaries, 0],
1030
+ ];
1031
+ var ListDetectorModelsRequest = [
1032
+ 3,
1033
+ n0,
1034
+ _LDMR,
1035
+ 0,
1036
+ [_nT, _mR],
1037
+ [
1038
+ [
1039
+ 0,
1040
+ {
1041
+ [_hQ]: _nT,
1042
+ },
1043
+ ],
1044
+ [
1045
+ 1,
1046
+ {
1047
+ [_hQ]: _mR,
1048
+ },
1049
+ ],
1050
+ ],
1051
+ ];
1052
+ var ListDetectorModelsResponse = [
1053
+ 3,
1054
+ n0,
1055
+ _LDMRi,
1056
+ 0,
1057
+ [_dMS, _nT],
1058
+ [() => DetectorModelSummaries, 0],
1059
+ ];
1060
+ var ListDetectorModelVersionsRequest = [
1061
+ 3,
1062
+ n0,
1063
+ _LDMVR,
1064
+ 0,
1065
+ [_dMN, _nT, _mR],
1066
+ [
1067
+ [0, 1],
1068
+ [
1069
+ 0,
1070
+ {
1071
+ [_hQ]: _nT,
1072
+ },
1073
+ ],
1074
+ [
1075
+ 1,
1076
+ {
1077
+ [_hQ]: _mR,
1078
+ },
1079
+ ],
1080
+ ],
1081
+ ];
1082
+ var ListDetectorModelVersionsResponse = [
1083
+ 3,
1084
+ n0,
1085
+ _LDMVRi,
1086
+ 0,
1087
+ [_dMVS, _nT],
1088
+ [() => DetectorModelVersionSummaries, 0],
1089
+ ];
1090
+ var ListInputRoutingsRequest = [
1091
+ 3,
1092
+ n0,
1093
+ _LIRR,
1094
+ 0,
1095
+ [_iI, _mR, _nT],
1096
+ [() => InputIdentifier, 1, 0],
1097
+ ];
1098
+ var ListInputRoutingsResponse = [
1099
+ 3,
1100
+ n0,
1101
+ _LIRRi,
1102
+ 0,
1103
+ [_rR, _nT],
1104
+ [() => RoutedResources, 0],
1105
+ ];
1106
+ var ListInputsRequest = [
1107
+ 3,
1108
+ n0,
1109
+ _LIR,
1110
+ 0,
1111
+ [_nT, _mR],
1112
+ [
1113
+ [
1114
+ 0,
1115
+ {
1116
+ [_hQ]: _nT,
1117
+ },
1118
+ ],
1119
+ [
1120
+ 1,
1121
+ {
1122
+ [_hQ]: _mR,
1123
+ },
1124
+ ],
1125
+ ],
1126
+ ];
1127
+ var ListInputsResponse = [3, n0, _LIRi, 0, [_iS, _nT], [() => InputSummaries, 0]];
1128
+ var ListTagsForResourceRequest = [
1129
+ 3,
1130
+ n0,
1131
+ _LTFRR,
1132
+ 0,
1133
+ [_rAe],
1134
+ [
1135
+ [
1136
+ 0,
1137
+ {
1138
+ [_hQ]: _rAe,
1139
+ },
1140
+ ],
1141
+ ],
1142
+ ];
1143
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [() => Tags]];
1144
+ var LoggingOptions = [
1145
+ 3,
1146
+ n0,
1147
+ _LO,
1148
+ 0,
1149
+ [_rA, _le, _e, _dDO],
1150
+ [0, 0, 2, () => DetectorDebugOptions],
1151
+ ];
1152
+ var NotificationAction = [
1153
+ 3,
1154
+ n0,
1155
+ _NA,
1156
+ 0,
1157
+ [_ac, _sC, _eC],
1158
+ [() => NotificationTargetActions, () => SMSConfigurations, () => EmailConfigurations],
1159
+ ];
1160
+ var NotificationTargetActions = [3, n0, _NTA, 0, [_lA], [() => LambdaAction]];
1161
+ var OnEnterLifecycle = [3, n0, _OEL, 0, [_ev], [() => Events]];
1162
+ var OnExitLifecycle = [3, n0, _OELn, 0, [_ev], [() => Events]];
1163
+ var OnInputLifecycle = [
1164
+ 3,
1165
+ n0,
1166
+ _OIL,
1167
+ 0,
1168
+ [_ev, _tE],
1169
+ [() => Events, () => TransitionEvents],
1170
+ ];
1171
+ var Payload = [3, n0, _P, 0, [_cE, _t], [0, 0]];
1172
+ var PutLoggingOptionsRequest = [3, n0, _PLOR, 0, [_lO], [() => LoggingOptions]];
1173
+ var RecipientDetail = [3, n0, _RD, 0, [_sI], [() => SSOIdentity]];
1174
+ var ResetTimerAction = [3, n0, _RTA, 0, [_tN], [0]];
1175
+ var ResourceAlreadyExistsException = [
1176
+ -3,
1177
+ n0,
1178
+ _RAEE,
1179
+ {
1180
+ [_er]: _cl,
1181
+ [_hE]: 409,
1182
+ },
1183
+ [_m, _rI, _rAe],
1184
+ [0, 0, 0],
1185
+ ];
1186
+ schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, ResourceAlreadyExistsException$1);
1187
+ var ResourceInUseException = [
1188
+ -3,
1189
+ n0,
1190
+ _RIUE,
1191
+ {
1192
+ [_er]: _cl,
1193
+ [_hE]: 409,
1194
+ },
1195
+ [_m],
1196
+ [0],
1197
+ ];
1198
+ schema.TypeRegistry.for(n0).registerError(ResourceInUseException, ResourceInUseException$1);
1199
+ var ResourceNotFoundException = [
1200
+ -3,
1201
+ n0,
1202
+ _RNFE,
1203
+ {
1204
+ [_er]: _cl,
1205
+ [_hE]: 404,
1206
+ },
1207
+ [_m],
1208
+ [0],
1209
+ ];
1210
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1211
+ var RoutedResource = [3, n0, _RR, 0, [_n, _ar], [0, 0]];
1212
+ var ServiceUnavailableException = [
1213
+ -3,
1214
+ n0,
1215
+ _SUE,
1216
+ {
1217
+ [_er]: _ser,
1218
+ [_hE]: 503,
1219
+ },
1220
+ [_m],
1221
+ [0],
1222
+ ];
1223
+ schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
1224
+ var SetTimerAction = [3, n0, _STA, 0, [_tN, _sec, _dE], [0, 1, 0]];
1225
+ var SetVariableAction = [3, n0, _SVA, 0, [_vN, _v], [0, 0]];
1226
+ var SimpleRule = [3, n0, _SR, 0, [_iP, _cO, _th], [0, 0, 0]];
1227
+ var SMSConfiguration = [3, n0, _SMSC, 0, [_sIe, _aM, _r], [0, 0, () => RecipientDetails]];
1228
+ var SNSTopicPublishAction = [3, n0, _SNSTPA, 0, [_tA, _pa], [0, () => Payload]];
1229
+ var SqsAction = [3, n0, _SA, 0, [_qU, _uB, _pa], [0, 2, () => Payload]];
1230
+ var SSOIdentity = [3, n0, _SSOI, 0, [_iSI, _uI], [0, 0]];
1231
+ var StartDetectorModelAnalysisRequest = [
1232
+ 3,
1233
+ n0,
1234
+ _SDMAR,
1235
+ 0,
1236
+ [_dMD],
1237
+ [() => DetectorModelDefinition],
1238
+ ];
1239
+ var StartDetectorModelAnalysisResponse = [3, n0, _SDMARt, 0, [_aI], [0]];
1240
+ var State = [
1241
+ 3,
1242
+ n0,
1243
+ _S,
1244
+ 0,
1245
+ [_sN, _oI, _oE, _oEn],
1246
+ [0, () => OnInputLifecycle, () => OnEnterLifecycle, () => OnExitLifecycle],
1247
+ ];
1248
+ var Tag = [3, n0, _T, 0, [_k, _v], [0, 0]];
1249
+ var TagResourceRequest = [
1250
+ 3,
1251
+ n0,
1252
+ _TRR,
1253
+ 0,
1254
+ [_rAe, _ta],
1255
+ [
1256
+ [
1257
+ 0,
1258
+ {
1259
+ [_hQ]: _rAe,
1260
+ },
1261
+ ],
1262
+ () => Tags,
1263
+ ],
1264
+ ];
1265
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1266
+ var ThrottlingException = [
1267
+ -3,
1268
+ n0,
1269
+ _TE,
1270
+ {
1271
+ [_er]: _cl,
1272
+ [_hE]: 429,
1273
+ },
1274
+ [_m],
1275
+ [0],
1276
+ ];
1277
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1278
+ var TransitionEvent = [3, n0, _TEr, 0, [_eN, _co, _a, _nS], [0, 0, () => Actions, 0]];
1279
+ var UnsupportedOperationException = [
1280
+ -3,
1281
+ n0,
1282
+ _UOE,
1283
+ {
1284
+ [_er]: _ser,
1285
+ [_hE]: 501,
1286
+ },
1287
+ [_m],
1288
+ [0],
1289
+ ];
1290
+ schema.TypeRegistry.for(n0).registerError(UnsupportedOperationException, UnsupportedOperationException$1);
1291
+ var UntagResourceRequest = [
1292
+ 3,
1293
+ n0,
1294
+ _URR,
1295
+ 0,
1296
+ [_rAe, _tK],
1297
+ [
1298
+ [
1299
+ 0,
1300
+ {
1301
+ [_hQ]: _rAe,
1302
+ },
1303
+ ],
1304
+ [
1305
+ 64 | 0,
1306
+ {
1307
+ [_hQ]: _tK,
1308
+ },
1309
+ ],
1310
+ ],
1311
+ ];
1312
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1313
+ var UpdateAlarmModelRequest = [
1314
+ 3,
1315
+ n0,
1316
+ _UAMR,
1317
+ 0,
1318
+ [_aMN, _aMD, _rA, _se, _aR, _aN, _aEA, _aC],
1319
+ [[0, 1], 0, 0, 1, () => AlarmRule, () => AlarmNotification, () => AlarmEventActions, () => AlarmCapabilities],
1320
+ ];
1321
+ var UpdateAlarmModelResponse = [
1322
+ 3,
1323
+ n0,
1324
+ _UAMRp,
1325
+ 0,
1326
+ [_cTr, _aMA, _aMV, _lUT, _st],
1327
+ [4, 0, 0, 4, 0],
1328
+ ];
1329
+ var UpdateDetectorModelRequest = [
1330
+ 3,
1331
+ n0,
1332
+ _UDMR,
1333
+ 0,
1334
+ [_dMN, _dMD, _dMDe, _rA, _eM],
1335
+ [[0, 1], () => DetectorModelDefinition, 0, 0, 0],
1336
+ ];
1337
+ var UpdateDetectorModelResponse = [
1338
+ 3,
1339
+ n0,
1340
+ _UDMRp,
1341
+ 0,
1342
+ [_dMC],
1343
+ [() => DetectorModelConfiguration],
1344
+ ];
1345
+ var UpdateInputRequest = [
1346
+ 3,
1347
+ n0,
1348
+ _UIR,
1349
+ 0,
1350
+ [_iN, _iD, _iDn],
1351
+ [[0, 1], 0, () => InputDefinition],
1352
+ ];
1353
+ var UpdateInputResponse = [3, n0, _UIRp, 0, [_iCn], [() => InputConfiguration]];
1354
+ var __Unit = "unit";
1355
+ var IoTEventsServiceException = [-3, _sm, "IoTEventsServiceException", 0, [], []];
1356
+ schema.TypeRegistry.for(_sm).registerError(IoTEventsServiceException, IoTEventsServiceException$1);
1357
+ var Actions = [1, n0, _Ac, 0, () => Action];
1358
+ var AlarmActions = [1, n0, _AAl, 0, () => AlarmAction];
1359
+ var AlarmModelSummaries = [1, n0, _AMSl, 0, () => AlarmModelSummary];
1360
+ var AlarmModelVersionSummaries = [1, n0, _AMVSl, 0, () => AlarmModelVersionSummary];
1361
+ var AnalysisResultLocations = [1, n0, _ARLn, 0, () => AnalysisResultLocation];
1362
+ var AnalysisResults = [1, n0, _ARna, 0, () => AnalysisResult];
1363
+ var Attributes = [1, n0, _Att, 0, () => Attribute];
1364
+ var DetectorDebugOptions = [1, n0, _DDOe, 0, () => DetectorDebugOption];
1365
+ var DetectorModelSummaries = [1, n0, _DMSe, 0, () => DetectorModelSummary];
1366
+ var DetectorModelVersionSummaries = [1, n0, _DMVSe, 0, () => DetectorModelVersionSummary];
1367
+ var EmailConfigurations = [1, n0, _ECma, 0, () => EmailConfiguration];
1368
+ var Events = [1, n0, _Ev, 0, () => Event];
1369
+ var InputSummaries = [1, n0, _ISn, 0, () => InputSummary];
1370
+ var NotificationActions = [1, n0, _NAo, 0, () => NotificationAction];
1371
+ var RecipientDetails = [1, n0, _RDe, 0, () => RecipientDetail];
1372
+ var RoutedResources = [1, n0, _RRo, 0, () => RoutedResource];
1373
+ var SMSConfigurations = [1, n0, _SMSCo, 0, () => SMSConfiguration];
1374
+ var States = [1, n0, _St, 0, () => State];
1375
+ var Tags = [1, n0, _Ta, 0, () => Tag];
1376
+ var TransitionEvents = [1, n0, _TEra, 0, () => TransitionEvent];
1377
+ var CreateAlarmModel = [
1378
+ 9,
1379
+ n0,
1380
+ _CAM,
1381
+ {
1382
+ [_h]: ["POST", "/alarm-models", 200],
1383
+ },
1384
+ () => CreateAlarmModelRequest,
1385
+ () => CreateAlarmModelResponse,
1386
+ ];
1387
+ var CreateDetectorModel = [
1388
+ 9,
1389
+ n0,
1390
+ _CDM,
1391
+ {
1392
+ [_h]: ["POST", "/detector-models", 200],
1393
+ },
1394
+ () => CreateDetectorModelRequest,
1395
+ () => CreateDetectorModelResponse,
1396
+ ];
1397
+ var CreateInput = [
1398
+ 9,
1399
+ n0,
1400
+ _CI,
1401
+ {
1402
+ [_h]: ["POST", "/inputs", 201],
1403
+ },
1404
+ () => CreateInputRequest,
1405
+ () => CreateInputResponse,
1406
+ ];
1407
+ var DeleteAlarmModel = [
1408
+ 9,
1409
+ n0,
1410
+ _DAM,
1411
+ {
1412
+ [_h]: ["DELETE", "/alarm-models/{alarmModelName}", 204],
1413
+ },
1414
+ () => DeleteAlarmModelRequest,
1415
+ () => DeleteAlarmModelResponse,
1416
+ ];
1417
+ var DeleteDetectorModel = [
1418
+ 9,
1419
+ n0,
1420
+ _DDM,
1421
+ {
1422
+ [_h]: ["DELETE", "/detector-models/{detectorModelName}", 204],
1423
+ },
1424
+ () => DeleteDetectorModelRequest,
1425
+ () => DeleteDetectorModelResponse,
1426
+ ];
1427
+ var DeleteInput = [
1428
+ 9,
1429
+ n0,
1430
+ _DI,
1431
+ {
1432
+ [_h]: ["DELETE", "/inputs/{inputName}", 200],
1433
+ },
1434
+ () => DeleteInputRequest,
1435
+ () => DeleteInputResponse,
1436
+ ];
1437
+ var DescribeAlarmModel = [
1438
+ 9,
1439
+ n0,
1440
+ _DAMe,
1441
+ {
1442
+ [_h]: ["GET", "/alarm-models/{alarmModelName}", 200],
1443
+ },
1444
+ () => DescribeAlarmModelRequest,
1445
+ () => DescribeAlarmModelResponse,
1446
+ ];
1447
+ var DescribeDetectorModel = [
1448
+ 9,
1449
+ n0,
1450
+ _DDMe,
1451
+ {
1452
+ [_h]: ["GET", "/detector-models/{detectorModelName}", 200],
1453
+ },
1454
+ () => DescribeDetectorModelRequest,
1455
+ () => DescribeDetectorModelResponse,
1456
+ ];
1457
+ var DescribeDetectorModelAnalysis = [
1458
+ 9,
1459
+ n0,
1460
+ _DDMA,
1461
+ {
1462
+ [_h]: ["GET", "/analysis/detector-models/{analysisId}", 200],
1463
+ },
1464
+ () => DescribeDetectorModelAnalysisRequest,
1465
+ () => DescribeDetectorModelAnalysisResponse,
1466
+ ];
1467
+ var DescribeInput = [
1468
+ 9,
1469
+ n0,
1470
+ _DIe,
1471
+ {
1472
+ [_h]: ["GET", "/inputs/{inputName}", 200],
1473
+ },
1474
+ () => DescribeInputRequest,
1475
+ () => DescribeInputResponse,
1476
+ ];
1477
+ var DescribeLoggingOptions = [
1478
+ 9,
1479
+ n0,
1480
+ _DLO,
1481
+ {
1482
+ [_h]: ["GET", "/logging", 200],
1483
+ },
1484
+ () => DescribeLoggingOptionsRequest,
1485
+ () => DescribeLoggingOptionsResponse,
1486
+ ];
1487
+ var GetDetectorModelAnalysisResults = [
1488
+ 9,
1489
+ n0,
1490
+ _GDMAR,
1491
+ {
1492
+ [_h]: ["GET", "/analysis/detector-models/{analysisId}/results", 200],
1493
+ },
1494
+ () => GetDetectorModelAnalysisResultsRequest,
1495
+ () => GetDetectorModelAnalysisResultsResponse,
1496
+ ];
1497
+ var ListAlarmModels = [
1498
+ 9,
1499
+ n0,
1500
+ _LAM,
1501
+ {
1502
+ [_h]: ["GET", "/alarm-models", 200],
1503
+ },
1504
+ () => ListAlarmModelsRequest,
1505
+ () => ListAlarmModelsResponse,
1506
+ ];
1507
+ var ListAlarmModelVersions = [
1508
+ 9,
1509
+ n0,
1510
+ _LAMV,
1511
+ {
1512
+ [_h]: ["GET", "/alarm-models/{alarmModelName}/versions", 200],
1513
+ },
1514
+ () => ListAlarmModelVersionsRequest,
1515
+ () => ListAlarmModelVersionsResponse,
1516
+ ];
1517
+ var ListDetectorModels = [
1518
+ 9,
1519
+ n0,
1520
+ _LDM,
1521
+ {
1522
+ [_h]: ["GET", "/detector-models", 200],
1523
+ },
1524
+ () => ListDetectorModelsRequest,
1525
+ () => ListDetectorModelsResponse,
1526
+ ];
1527
+ var ListDetectorModelVersions = [
1528
+ 9,
1529
+ n0,
1530
+ _LDMV,
1531
+ {
1532
+ [_h]: ["GET", "/detector-models/{detectorModelName}/versions", 200],
1533
+ },
1534
+ () => ListDetectorModelVersionsRequest,
1535
+ () => ListDetectorModelVersionsResponse,
1536
+ ];
1537
+ var ListInputRoutings = [
1538
+ 9,
1539
+ n0,
1540
+ _LIRis,
1541
+ {
1542
+ [_h]: ["POST", "/input-routings", 200],
1543
+ },
1544
+ () => ListInputRoutingsRequest,
1545
+ () => ListInputRoutingsResponse,
1546
+ ];
1547
+ var ListInputs = [
1548
+ 9,
1549
+ n0,
1550
+ _LI,
1551
+ {
1552
+ [_h]: ["GET", "/inputs", 200],
1553
+ },
1554
+ () => ListInputsRequest,
1555
+ () => ListInputsResponse,
1556
+ ];
1557
+ var ListTagsForResource = [
1558
+ 9,
1559
+ n0,
1560
+ _LTFR,
1561
+ {
1562
+ [_h]: ["GET", "/tags", 200],
1563
+ },
1564
+ () => ListTagsForResourceRequest,
1565
+ () => ListTagsForResourceResponse,
1566
+ ];
1567
+ var PutLoggingOptions = [
1568
+ 9,
1569
+ n0,
1570
+ _PLO,
1571
+ {
1572
+ [_h]: ["PUT", "/logging", 200],
1573
+ },
1574
+ () => PutLoggingOptionsRequest,
1575
+ () => __Unit,
1576
+ ];
1577
+ var StartDetectorModelAnalysis = [
1578
+ 9,
1579
+ n0,
1580
+ _SDMA,
1581
+ {
1582
+ [_h]: ["POST", "/analysis/detector-models", 200],
1583
+ },
1584
+ () => StartDetectorModelAnalysisRequest,
1585
+ () => StartDetectorModelAnalysisResponse,
1586
+ ];
1587
+ var TagResource = [
1588
+ 9,
1589
+ n0,
1590
+ _TR,
1591
+ {
1592
+ [_h]: ["POST", "/tags", 200],
1593
+ },
1594
+ () => TagResourceRequest,
1595
+ () => TagResourceResponse,
1596
+ ];
1597
+ var UntagResource = [
1598
+ 9,
1599
+ n0,
1600
+ _UR,
1601
+ {
1602
+ [_h]: ["DELETE", "/tags", 200],
1603
+ },
1604
+ () => UntagResourceRequest,
1605
+ () => UntagResourceResponse,
1606
+ ];
1607
+ var UpdateAlarmModel = [
1608
+ 9,
1609
+ n0,
1610
+ _UAM,
1611
+ {
1612
+ [_h]: ["POST", "/alarm-models/{alarmModelName}", 200],
1613
+ },
1614
+ () => UpdateAlarmModelRequest,
1615
+ () => UpdateAlarmModelResponse,
1616
+ ];
1617
+ var UpdateDetectorModel = [
1618
+ 9,
1619
+ n0,
1620
+ _UDM,
1621
+ {
1622
+ [_h]: ["POST", "/detector-models/{detectorModelName}", 200],
1623
+ },
1624
+ () => UpdateDetectorModelRequest,
1625
+ () => UpdateDetectorModelResponse,
1626
+ ];
1627
+ var UpdateInput = [
1628
+ 9,
1629
+ n0,
1630
+ _UI,
1631
+ {
1632
+ [_h]: ["PUT", "/inputs/{inputName}", 200],
1633
+ },
1634
+ () => UpdateInputRequest,
1635
+ () => UpdateInputResponse,
1636
+ ];
1307
1637
 
1308
1638
  class CreateAlarmModelCommand extends smithyClient.Command
1309
1639
  .classBuilder()
1310
1640
  .ep(commonParams)
1311
1641
  .m(function (Command, cs, config, o) {
1312
- return [
1313
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1314
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1315
- ];
1642
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1316
1643
  })
1317
1644
  .s("IotColumboService", "CreateAlarmModel", {})
1318
1645
  .n("IoTEventsClient", "CreateAlarmModelCommand")
1319
- .f(void 0, void 0)
1320
- .ser(se_CreateAlarmModelCommand)
1321
- .de(de_CreateAlarmModelCommand)
1646
+ .sc(CreateAlarmModel)
1322
1647
  .build() {
1323
1648
  }
1324
1649
 
@@ -1326,16 +1651,11 @@ class CreateDetectorModelCommand extends smithyClient.Command
1326
1651
  .classBuilder()
1327
1652
  .ep(commonParams)
1328
1653
  .m(function (Command, cs, config, o) {
1329
- return [
1330
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1331
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1332
- ];
1654
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1333
1655
  })
1334
1656
  .s("IotColumboService", "CreateDetectorModel", {})
1335
1657
  .n("IoTEventsClient", "CreateDetectorModelCommand")
1336
- .f(void 0, void 0)
1337
- .ser(se_CreateDetectorModelCommand)
1338
- .de(de_CreateDetectorModelCommand)
1658
+ .sc(CreateDetectorModel)
1339
1659
  .build() {
1340
1660
  }
1341
1661
 
@@ -1343,16 +1663,11 @@ class CreateInputCommand extends smithyClient.Command
1343
1663
  .classBuilder()
1344
1664
  .ep(commonParams)
1345
1665
  .m(function (Command, cs, config, o) {
1346
- return [
1347
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1348
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1349
- ];
1666
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1350
1667
  })
1351
1668
  .s("IotColumboService", "CreateInput", {})
1352
1669
  .n("IoTEventsClient", "CreateInputCommand")
1353
- .f(void 0, void 0)
1354
- .ser(se_CreateInputCommand)
1355
- .de(de_CreateInputCommand)
1670
+ .sc(CreateInput)
1356
1671
  .build() {
1357
1672
  }
1358
1673
 
@@ -1360,16 +1675,11 @@ class DeleteAlarmModelCommand extends smithyClient.Command
1360
1675
  .classBuilder()
1361
1676
  .ep(commonParams)
1362
1677
  .m(function (Command, cs, config, o) {
1363
- return [
1364
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1365
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1366
- ];
1678
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1367
1679
  })
1368
1680
  .s("IotColumboService", "DeleteAlarmModel", {})
1369
1681
  .n("IoTEventsClient", "DeleteAlarmModelCommand")
1370
- .f(void 0, void 0)
1371
- .ser(se_DeleteAlarmModelCommand)
1372
- .de(de_DeleteAlarmModelCommand)
1682
+ .sc(DeleteAlarmModel)
1373
1683
  .build() {
1374
1684
  }
1375
1685
 
@@ -1377,16 +1687,11 @@ class DeleteDetectorModelCommand extends smithyClient.Command
1377
1687
  .classBuilder()
1378
1688
  .ep(commonParams)
1379
1689
  .m(function (Command, cs, config, o) {
1380
- return [
1381
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1382
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1383
- ];
1690
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1384
1691
  })
1385
1692
  .s("IotColumboService", "DeleteDetectorModel", {})
1386
1693
  .n("IoTEventsClient", "DeleteDetectorModelCommand")
1387
- .f(void 0, void 0)
1388
- .ser(se_DeleteDetectorModelCommand)
1389
- .de(de_DeleteDetectorModelCommand)
1694
+ .sc(DeleteDetectorModel)
1390
1695
  .build() {
1391
1696
  }
1392
1697
 
@@ -1394,16 +1699,11 @@ class DeleteInputCommand extends smithyClient.Command
1394
1699
  .classBuilder()
1395
1700
  .ep(commonParams)
1396
1701
  .m(function (Command, cs, config, o) {
1397
- return [
1398
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1399
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1400
- ];
1702
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1401
1703
  })
1402
1704
  .s("IotColumboService", "DeleteInput", {})
1403
1705
  .n("IoTEventsClient", "DeleteInputCommand")
1404
- .f(void 0, void 0)
1405
- .ser(se_DeleteInputCommand)
1406
- .de(de_DeleteInputCommand)
1706
+ .sc(DeleteInput)
1407
1707
  .build() {
1408
1708
  }
1409
1709
 
@@ -1411,16 +1711,11 @@ class DescribeAlarmModelCommand extends smithyClient.Command
1411
1711
  .classBuilder()
1412
1712
  .ep(commonParams)
1413
1713
  .m(function (Command, cs, config, o) {
1414
- return [
1415
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1416
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1417
- ];
1714
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1418
1715
  })
1419
1716
  .s("IotColumboService", "DescribeAlarmModel", {})
1420
1717
  .n("IoTEventsClient", "DescribeAlarmModelCommand")
1421
- .f(void 0, void 0)
1422
- .ser(se_DescribeAlarmModelCommand)
1423
- .de(de_DescribeAlarmModelCommand)
1718
+ .sc(DescribeAlarmModel)
1424
1719
  .build() {
1425
1720
  }
1426
1721
 
@@ -1428,16 +1723,11 @@ class DescribeDetectorModelAnalysisCommand extends smithyClient.Command
1428
1723
  .classBuilder()
1429
1724
  .ep(commonParams)
1430
1725
  .m(function (Command, cs, config, o) {
1431
- return [
1432
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1433
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1434
- ];
1726
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1435
1727
  })
1436
1728
  .s("IotColumboService", "DescribeDetectorModelAnalysis", {})
1437
1729
  .n("IoTEventsClient", "DescribeDetectorModelAnalysisCommand")
1438
- .f(void 0, void 0)
1439
- .ser(se_DescribeDetectorModelAnalysisCommand)
1440
- .de(de_DescribeDetectorModelAnalysisCommand)
1730
+ .sc(DescribeDetectorModelAnalysis)
1441
1731
  .build() {
1442
1732
  }
1443
1733
 
@@ -1445,16 +1735,11 @@ class DescribeDetectorModelCommand extends smithyClient.Command
1445
1735
  .classBuilder()
1446
1736
  .ep(commonParams)
1447
1737
  .m(function (Command, cs, config, o) {
1448
- return [
1449
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1450
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1451
- ];
1738
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1452
1739
  })
1453
1740
  .s("IotColumboService", "DescribeDetectorModel", {})
1454
1741
  .n("IoTEventsClient", "DescribeDetectorModelCommand")
1455
- .f(void 0, void 0)
1456
- .ser(se_DescribeDetectorModelCommand)
1457
- .de(de_DescribeDetectorModelCommand)
1742
+ .sc(DescribeDetectorModel)
1458
1743
  .build() {
1459
1744
  }
1460
1745
 
@@ -1462,16 +1747,11 @@ class DescribeInputCommand extends smithyClient.Command
1462
1747
  .classBuilder()
1463
1748
  .ep(commonParams)
1464
1749
  .m(function (Command, cs, config, o) {
1465
- return [
1466
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1467
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1468
- ];
1750
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1469
1751
  })
1470
1752
  .s("IotColumboService", "DescribeInput", {})
1471
1753
  .n("IoTEventsClient", "DescribeInputCommand")
1472
- .f(void 0, void 0)
1473
- .ser(se_DescribeInputCommand)
1474
- .de(de_DescribeInputCommand)
1754
+ .sc(DescribeInput)
1475
1755
  .build() {
1476
1756
  }
1477
1757
 
@@ -1479,16 +1759,11 @@ class DescribeLoggingOptionsCommand extends smithyClient.Command
1479
1759
  .classBuilder()
1480
1760
  .ep(commonParams)
1481
1761
  .m(function (Command, cs, config, o) {
1482
- return [
1483
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1484
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1485
- ];
1762
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1486
1763
  })
1487
1764
  .s("IotColumboService", "DescribeLoggingOptions", {})
1488
1765
  .n("IoTEventsClient", "DescribeLoggingOptionsCommand")
1489
- .f(void 0, void 0)
1490
- .ser(se_DescribeLoggingOptionsCommand)
1491
- .de(de_DescribeLoggingOptionsCommand)
1766
+ .sc(DescribeLoggingOptions)
1492
1767
  .build() {
1493
1768
  }
1494
1769
 
@@ -1496,16 +1771,11 @@ class GetDetectorModelAnalysisResultsCommand extends smithyClient.Command
1496
1771
  .classBuilder()
1497
1772
  .ep(commonParams)
1498
1773
  .m(function (Command, cs, config, o) {
1499
- return [
1500
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1501
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1502
- ];
1774
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1503
1775
  })
1504
1776
  .s("IotColumboService", "GetDetectorModelAnalysisResults", {})
1505
1777
  .n("IoTEventsClient", "GetDetectorModelAnalysisResultsCommand")
1506
- .f(void 0, void 0)
1507
- .ser(se_GetDetectorModelAnalysisResultsCommand)
1508
- .de(de_GetDetectorModelAnalysisResultsCommand)
1778
+ .sc(GetDetectorModelAnalysisResults)
1509
1779
  .build() {
1510
1780
  }
1511
1781
 
@@ -1513,16 +1783,11 @@ class ListAlarmModelsCommand extends smithyClient.Command
1513
1783
  .classBuilder()
1514
1784
  .ep(commonParams)
1515
1785
  .m(function (Command, cs, config, o) {
1516
- return [
1517
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1518
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1519
- ];
1786
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1520
1787
  })
1521
1788
  .s("IotColumboService", "ListAlarmModels", {})
1522
1789
  .n("IoTEventsClient", "ListAlarmModelsCommand")
1523
- .f(void 0, void 0)
1524
- .ser(se_ListAlarmModelsCommand)
1525
- .de(de_ListAlarmModelsCommand)
1790
+ .sc(ListAlarmModels)
1526
1791
  .build() {
1527
1792
  }
1528
1793
 
@@ -1530,16 +1795,11 @@ class ListAlarmModelVersionsCommand extends smithyClient.Command
1530
1795
  .classBuilder()
1531
1796
  .ep(commonParams)
1532
1797
  .m(function (Command, cs, config, o) {
1533
- return [
1534
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1535
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1536
- ];
1798
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1537
1799
  })
1538
1800
  .s("IotColumboService", "ListAlarmModelVersions", {})
1539
1801
  .n("IoTEventsClient", "ListAlarmModelVersionsCommand")
1540
- .f(void 0, void 0)
1541
- .ser(se_ListAlarmModelVersionsCommand)
1542
- .de(de_ListAlarmModelVersionsCommand)
1802
+ .sc(ListAlarmModelVersions)
1543
1803
  .build() {
1544
1804
  }
1545
1805
 
@@ -1547,16 +1807,11 @@ class ListDetectorModelsCommand extends smithyClient.Command
1547
1807
  .classBuilder()
1548
1808
  .ep(commonParams)
1549
1809
  .m(function (Command, cs, config, o) {
1550
- return [
1551
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1552
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1553
- ];
1810
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1554
1811
  })
1555
1812
  .s("IotColumboService", "ListDetectorModels", {})
1556
1813
  .n("IoTEventsClient", "ListDetectorModelsCommand")
1557
- .f(void 0, void 0)
1558
- .ser(se_ListDetectorModelsCommand)
1559
- .de(de_ListDetectorModelsCommand)
1814
+ .sc(ListDetectorModels)
1560
1815
  .build() {
1561
1816
  }
1562
1817
 
@@ -1564,16 +1819,11 @@ class ListDetectorModelVersionsCommand extends smithyClient.Command
1564
1819
  .classBuilder()
1565
1820
  .ep(commonParams)
1566
1821
  .m(function (Command, cs, config, o) {
1567
- return [
1568
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1569
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1570
- ];
1822
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1571
1823
  })
1572
1824
  .s("IotColumboService", "ListDetectorModelVersions", {})
1573
1825
  .n("IoTEventsClient", "ListDetectorModelVersionsCommand")
1574
- .f(void 0, void 0)
1575
- .ser(se_ListDetectorModelVersionsCommand)
1576
- .de(de_ListDetectorModelVersionsCommand)
1826
+ .sc(ListDetectorModelVersions)
1577
1827
  .build() {
1578
1828
  }
1579
1829
 
@@ -1581,16 +1831,11 @@ class ListInputRoutingsCommand extends smithyClient.Command
1581
1831
  .classBuilder()
1582
1832
  .ep(commonParams)
1583
1833
  .m(function (Command, cs, config, o) {
1584
- return [
1585
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1586
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1587
- ];
1834
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1588
1835
  })
1589
1836
  .s("IotColumboService", "ListInputRoutings", {})
1590
1837
  .n("IoTEventsClient", "ListInputRoutingsCommand")
1591
- .f(void 0, void 0)
1592
- .ser(se_ListInputRoutingsCommand)
1593
- .de(de_ListInputRoutingsCommand)
1838
+ .sc(ListInputRoutings)
1594
1839
  .build() {
1595
1840
  }
1596
1841
 
@@ -1598,16 +1843,11 @@ class ListInputsCommand extends smithyClient.Command
1598
1843
  .classBuilder()
1599
1844
  .ep(commonParams)
1600
1845
  .m(function (Command, cs, config, o) {
1601
- return [
1602
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1603
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1604
- ];
1846
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1605
1847
  })
1606
1848
  .s("IotColumboService", "ListInputs", {})
1607
1849
  .n("IoTEventsClient", "ListInputsCommand")
1608
- .f(void 0, void 0)
1609
- .ser(se_ListInputsCommand)
1610
- .de(de_ListInputsCommand)
1850
+ .sc(ListInputs)
1611
1851
  .build() {
1612
1852
  }
1613
1853
 
@@ -1615,16 +1855,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1615
1855
  .classBuilder()
1616
1856
  .ep(commonParams)
1617
1857
  .m(function (Command, cs, config, o) {
1618
- return [
1619
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1620
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1621
- ];
1858
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1622
1859
  })
1623
1860
  .s("IotColumboService", "ListTagsForResource", {})
1624
1861
  .n("IoTEventsClient", "ListTagsForResourceCommand")
1625
- .f(void 0, void 0)
1626
- .ser(se_ListTagsForResourceCommand)
1627
- .de(de_ListTagsForResourceCommand)
1862
+ .sc(ListTagsForResource)
1628
1863
  .build() {
1629
1864
  }
1630
1865
 
@@ -1632,16 +1867,11 @@ class PutLoggingOptionsCommand extends smithyClient.Command
1632
1867
  .classBuilder()
1633
1868
  .ep(commonParams)
1634
1869
  .m(function (Command, cs, config, o) {
1635
- return [
1636
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1637
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1638
- ];
1870
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1639
1871
  })
1640
1872
  .s("IotColumboService", "PutLoggingOptions", {})
1641
1873
  .n("IoTEventsClient", "PutLoggingOptionsCommand")
1642
- .f(void 0, void 0)
1643
- .ser(se_PutLoggingOptionsCommand)
1644
- .de(de_PutLoggingOptionsCommand)
1874
+ .sc(PutLoggingOptions)
1645
1875
  .build() {
1646
1876
  }
1647
1877
 
@@ -1649,16 +1879,11 @@ class StartDetectorModelAnalysisCommand extends smithyClient.Command
1649
1879
  .classBuilder()
1650
1880
  .ep(commonParams)
1651
1881
  .m(function (Command, cs, config, o) {
1652
- return [
1653
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1654
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1655
- ];
1882
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1656
1883
  })
1657
1884
  .s("IotColumboService", "StartDetectorModelAnalysis", {})
1658
1885
  .n("IoTEventsClient", "StartDetectorModelAnalysisCommand")
1659
- .f(void 0, void 0)
1660
- .ser(se_StartDetectorModelAnalysisCommand)
1661
- .de(de_StartDetectorModelAnalysisCommand)
1886
+ .sc(StartDetectorModelAnalysis)
1662
1887
  .build() {
1663
1888
  }
1664
1889
 
@@ -1666,16 +1891,11 @@ class TagResourceCommand extends smithyClient.Command
1666
1891
  .classBuilder()
1667
1892
  .ep(commonParams)
1668
1893
  .m(function (Command, cs, config, o) {
1669
- return [
1670
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1671
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1672
- ];
1894
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1673
1895
  })
1674
1896
  .s("IotColumboService", "TagResource", {})
1675
1897
  .n("IoTEventsClient", "TagResourceCommand")
1676
- .f(void 0, void 0)
1677
- .ser(se_TagResourceCommand)
1678
- .de(de_TagResourceCommand)
1898
+ .sc(TagResource)
1679
1899
  .build() {
1680
1900
  }
1681
1901
 
@@ -1683,16 +1903,11 @@ class UntagResourceCommand extends smithyClient.Command
1683
1903
  .classBuilder()
1684
1904
  .ep(commonParams)
1685
1905
  .m(function (Command, cs, config, o) {
1686
- return [
1687
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1688
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1689
- ];
1906
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1690
1907
  })
1691
1908
  .s("IotColumboService", "UntagResource", {})
1692
1909
  .n("IoTEventsClient", "UntagResourceCommand")
1693
- .f(void 0, void 0)
1694
- .ser(se_UntagResourceCommand)
1695
- .de(de_UntagResourceCommand)
1910
+ .sc(UntagResource)
1696
1911
  .build() {
1697
1912
  }
1698
1913
 
@@ -1700,16 +1915,11 @@ class UpdateAlarmModelCommand extends smithyClient.Command
1700
1915
  .classBuilder()
1701
1916
  .ep(commonParams)
1702
1917
  .m(function (Command, cs, config, o) {
1703
- return [
1704
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1705
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1706
- ];
1918
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1707
1919
  })
1708
1920
  .s("IotColumboService", "UpdateAlarmModel", {})
1709
1921
  .n("IoTEventsClient", "UpdateAlarmModelCommand")
1710
- .f(void 0, void 0)
1711
- .ser(se_UpdateAlarmModelCommand)
1712
- .de(de_UpdateAlarmModelCommand)
1922
+ .sc(UpdateAlarmModel)
1713
1923
  .build() {
1714
1924
  }
1715
1925
 
@@ -1717,16 +1927,11 @@ class UpdateDetectorModelCommand extends smithyClient.Command
1717
1927
  .classBuilder()
1718
1928
  .ep(commonParams)
1719
1929
  .m(function (Command, cs, config, o) {
1720
- return [
1721
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1722
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1723
- ];
1930
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1724
1931
  })
1725
1932
  .s("IotColumboService", "UpdateDetectorModel", {})
1726
1933
  .n("IoTEventsClient", "UpdateDetectorModelCommand")
1727
- .f(void 0, void 0)
1728
- .ser(se_UpdateDetectorModelCommand)
1729
- .de(de_UpdateDetectorModelCommand)
1934
+ .sc(UpdateDetectorModel)
1730
1935
  .build() {
1731
1936
  }
1732
1937
 
@@ -1734,16 +1939,11 @@ class UpdateInputCommand extends smithyClient.Command
1734
1939
  .classBuilder()
1735
1940
  .ep(commonParams)
1736
1941
  .m(function (Command, cs, config, o) {
1737
- return [
1738
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1739
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1740
- ];
1942
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1741
1943
  })
1742
1944
  .s("IotColumboService", "UpdateInput", {})
1743
1945
  .n("IoTEventsClient", "UpdateInputCommand")
1744
- .f(void 0, void 0)
1745
- .ser(se_UpdateInputCommand)
1746
- .de(de_UpdateInputCommand)
1946
+ .sc(UpdateInput)
1747
1947
  .build() {
1748
1948
  }
1749
1949
 
@@ -1806,12 +2006,12 @@ exports.DetectorModelVersionStatus = DetectorModelVersionStatus;
1806
2006
  exports.EvaluationMethod = EvaluationMethod;
1807
2007
  exports.GetDetectorModelAnalysisResultsCommand = GetDetectorModelAnalysisResultsCommand;
1808
2008
  exports.InputStatus = InputStatus;
1809
- exports.InternalFailureException = InternalFailureException;
1810
- exports.InvalidRequestException = InvalidRequestException;
2009
+ exports.InternalFailureException = InternalFailureException$1;
2010
+ exports.InvalidRequestException = InvalidRequestException$1;
1811
2011
  exports.IoTEvents = IoTEvents;
1812
2012
  exports.IoTEventsClient = IoTEventsClient;
1813
- exports.IoTEventsServiceException = IoTEventsServiceException;
1814
- exports.LimitExceededException = LimitExceededException;
2013
+ exports.IoTEventsServiceException = IoTEventsServiceException$1;
2014
+ exports.LimitExceededException = LimitExceededException$1;
1815
2015
  exports.ListAlarmModelVersionsCommand = ListAlarmModelVersionsCommand;
1816
2016
  exports.ListAlarmModelsCommand = ListAlarmModelsCommand;
1817
2017
  exports.ListDetectorModelVersionsCommand = ListDetectorModelVersionsCommand;
@@ -1822,14 +2022,14 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1822
2022
  exports.LoggingLevel = LoggingLevel;
1823
2023
  exports.PayloadType = PayloadType;
1824
2024
  exports.PutLoggingOptionsCommand = PutLoggingOptionsCommand;
1825
- exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
1826
- exports.ResourceInUseException = ResourceInUseException;
1827
- exports.ResourceNotFoundException = ResourceNotFoundException;
1828
- exports.ServiceUnavailableException = ServiceUnavailableException;
2025
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException$1;
2026
+ exports.ResourceInUseException = ResourceInUseException$1;
2027
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2028
+ exports.ServiceUnavailableException = ServiceUnavailableException$1;
1829
2029
  exports.StartDetectorModelAnalysisCommand = StartDetectorModelAnalysisCommand;
1830
2030
  exports.TagResourceCommand = TagResourceCommand;
1831
- exports.ThrottlingException = ThrottlingException;
1832
- exports.UnsupportedOperationException = UnsupportedOperationException;
2031
+ exports.ThrottlingException = ThrottlingException$1;
2032
+ exports.UnsupportedOperationException = UnsupportedOperationException$1;
1833
2033
  exports.UntagResourceCommand = UntagResourceCommand;
1834
2034
  exports.UpdateAlarmModelCommand = UpdateAlarmModelCommand;
1835
2035
  exports.UpdateDetectorModelCommand = UpdateDetectorModelCommand;