@aws-sdk/client-iot-events 3.721.0 → 3.723.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -168,7 +168,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
168
168
  }, "resolveRuntimeExtensions");
169
169
 
170
170
  // src/IoTEventsClient.ts
171
- var _IoTEventsClient = class _IoTEventsClient extends import_smithy_client.Client {
171
+ var IoTEventsClient = class extends import_smithy_client.Client {
172
+ static {
173
+ __name(this, "IoTEventsClient");
174
+ }
175
+ /**
176
+ * The resolved configuration of IoTEventsClient class. This is resolved and normalized from the {@link IoTEventsClientConfig | constructor configuration interface}.
177
+ */
178
+ config;
172
179
  constructor(...[configuration]) {
173
180
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
174
181
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -178,7 +185,7 @@ var _IoTEventsClient = class _IoTEventsClient extends import_smithy_client.Clien
178
185
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
179
186
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
180
187
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
181
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
188
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
182
189
  super(_config_8);
183
190
  this.config = _config_8;
184
191
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -206,8 +213,6 @@ var _IoTEventsClient = class _IoTEventsClient extends import_smithy_client.Clien
206
213
  super.destroy();
207
214
  }
208
215
  };
209
- __name(_IoTEventsClient, "IoTEventsClient");
210
- var IoTEventsClient = _IoTEventsClient;
211
216
 
212
217
  // src/IoTEvents.ts
213
218
 
@@ -224,7 +229,10 @@ var import_core2 = require("@aws-sdk/core");
224
229
 
225
230
  // src/models/IoTEventsServiceException.ts
226
231
 
227
- var _IoTEventsServiceException = class _IoTEventsServiceException extends import_smithy_client.ServiceException {
232
+ var IoTEventsServiceException = class _IoTEventsServiceException extends import_smithy_client.ServiceException {
233
+ static {
234
+ __name(this, "IoTEventsServiceException");
235
+ }
228
236
  /**
229
237
  * @internal
230
238
  */
@@ -233,8 +241,6 @@ var _IoTEventsServiceException = class _IoTEventsServiceException extends import
233
241
  Object.setPrototypeOf(this, _IoTEventsServiceException.prototype);
234
242
  }
235
243
  };
236
- __name(_IoTEventsServiceException, "IoTEventsServiceException");
237
- var IoTEventsServiceException = _IoTEventsServiceException;
238
244
 
239
245
  // src/models/models_0.ts
240
246
  var PayloadType = {
@@ -265,7 +271,12 @@ var AnalysisStatus = {
265
271
  FAILED: "FAILED",
266
272
  RUNNING: "RUNNING"
267
273
  };
268
- var _InternalFailureException = class _InternalFailureException extends IoTEventsServiceException {
274
+ var InternalFailureException = class _InternalFailureException extends IoTEventsServiceException {
275
+ static {
276
+ __name(this, "InternalFailureException");
277
+ }
278
+ name = "InternalFailureException";
279
+ $fault = "server";
269
280
  /**
270
281
  * @internal
271
282
  */
@@ -275,14 +286,15 @@ var _InternalFailureException = class _InternalFailureException extends IoTEvent
275
286
  $fault: "server",
276
287
  ...opts
277
288
  });
278
- this.name = "InternalFailureException";
279
- this.$fault = "server";
280
289
  Object.setPrototypeOf(this, _InternalFailureException.prototype);
281
290
  }
282
291
  };
283
- __name(_InternalFailureException, "InternalFailureException");
284
- var InternalFailureException = _InternalFailureException;
285
- var _InvalidRequestException = class _InvalidRequestException extends IoTEventsServiceException {
292
+ var InvalidRequestException = class _InvalidRequestException extends IoTEventsServiceException {
293
+ static {
294
+ __name(this, "InvalidRequestException");
295
+ }
296
+ name = "InvalidRequestException";
297
+ $fault = "client";
286
298
  /**
287
299
  * @internal
288
300
  */
@@ -292,14 +304,15 @@ var _InvalidRequestException = class _InvalidRequestException extends IoTEventsS
292
304
  $fault: "client",
293
305
  ...opts
294
306
  });
295
- this.name = "InvalidRequestException";
296
- this.$fault = "client";
297
307
  Object.setPrototypeOf(this, _InvalidRequestException.prototype);
298
308
  }
299
309
  };
300
- __name(_InvalidRequestException, "InvalidRequestException");
301
- var InvalidRequestException = _InvalidRequestException;
302
- var _LimitExceededException = class _LimitExceededException extends IoTEventsServiceException {
310
+ var LimitExceededException = class _LimitExceededException extends IoTEventsServiceException {
311
+ static {
312
+ __name(this, "LimitExceededException");
313
+ }
314
+ name = "LimitExceededException";
315
+ $fault = "client";
303
316
  /**
304
317
  * @internal
305
318
  */
@@ -309,14 +322,25 @@ var _LimitExceededException = class _LimitExceededException extends IoTEventsSer
309
322
  $fault: "client",
310
323
  ...opts
311
324
  });
312
- this.name = "LimitExceededException";
313
- this.$fault = "client";
314
325
  Object.setPrototypeOf(this, _LimitExceededException.prototype);
315
326
  }
316
327
  };
317
- __name(_LimitExceededException, "LimitExceededException");
318
- var LimitExceededException = _LimitExceededException;
319
- var _ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends IoTEventsServiceException {
328
+ var ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends IoTEventsServiceException {
329
+ static {
330
+ __name(this, "ResourceAlreadyExistsException");
331
+ }
332
+ name = "ResourceAlreadyExistsException";
333
+ $fault = "client";
334
+ /**
335
+ * <p>The ID of the resource.</p>
336
+ * @public
337
+ */
338
+ resourceId;
339
+ /**
340
+ * <p>The ARN of the resource.</p>
341
+ * @public
342
+ */
343
+ resourceArn;
320
344
  /**
321
345
  * @internal
322
346
  */
@@ -326,16 +350,17 @@ var _ResourceAlreadyExistsException = class _ResourceAlreadyExistsException exte
326
350
  $fault: "client",
327
351
  ...opts
328
352
  });
329
- this.name = "ResourceAlreadyExistsException";
330
- this.$fault = "client";
331
353
  Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);
332
354
  this.resourceId = opts.resourceId;
333
355
  this.resourceArn = opts.resourceArn;
334
356
  }
335
357
  };
336
- __name(_ResourceAlreadyExistsException, "ResourceAlreadyExistsException");
337
- var ResourceAlreadyExistsException = _ResourceAlreadyExistsException;
338
- var _ResourceInUseException = class _ResourceInUseException extends IoTEventsServiceException {
358
+ var ResourceInUseException = class _ResourceInUseException extends IoTEventsServiceException {
359
+ static {
360
+ __name(this, "ResourceInUseException");
361
+ }
362
+ name = "ResourceInUseException";
363
+ $fault = "client";
339
364
  /**
340
365
  * @internal
341
366
  */
@@ -345,14 +370,15 @@ var _ResourceInUseException = class _ResourceInUseException extends IoTEventsSer
345
370
  $fault: "client",
346
371
  ...opts
347
372
  });
348
- this.name = "ResourceInUseException";
349
- this.$fault = "client";
350
373
  Object.setPrototypeOf(this, _ResourceInUseException.prototype);
351
374
  }
352
375
  };
353
- __name(_ResourceInUseException, "ResourceInUseException");
354
- var ResourceInUseException = _ResourceInUseException;
355
- var _ServiceUnavailableException = class _ServiceUnavailableException extends IoTEventsServiceException {
376
+ var ServiceUnavailableException = class _ServiceUnavailableException extends IoTEventsServiceException {
377
+ static {
378
+ __name(this, "ServiceUnavailableException");
379
+ }
380
+ name = "ServiceUnavailableException";
381
+ $fault = "server";
356
382
  /**
357
383
  * @internal
358
384
  */
@@ -362,14 +388,15 @@ var _ServiceUnavailableException = class _ServiceUnavailableException extends Io
362
388
  $fault: "server",
363
389
  ...opts
364
390
  });
365
- this.name = "ServiceUnavailableException";
366
- this.$fault = "server";
367
391
  Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
368
392
  }
369
393
  };
370
- __name(_ServiceUnavailableException, "ServiceUnavailableException");
371
- var ServiceUnavailableException = _ServiceUnavailableException;
372
- var _ThrottlingException = class _ThrottlingException extends IoTEventsServiceException {
394
+ var ThrottlingException = class _ThrottlingException extends IoTEventsServiceException {
395
+ static {
396
+ __name(this, "ThrottlingException");
397
+ }
398
+ name = "ThrottlingException";
399
+ $fault = "client";
373
400
  /**
374
401
  * @internal
375
402
  */
@@ -379,13 +406,9 @@ var _ThrottlingException = class _ThrottlingException extends IoTEventsServiceEx
379
406
  $fault: "client",
380
407
  ...opts
381
408
  });
382
- this.name = "ThrottlingException";
383
- this.$fault = "client";
384
409
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
385
410
  }
386
411
  };
387
- __name(_ThrottlingException, "ThrottlingException");
388
- var ThrottlingException = _ThrottlingException;
389
412
  var EvaluationMethod = {
390
413
  BATCH: "BATCH",
391
414
  SERIAL: "SERIAL"
@@ -405,7 +428,12 @@ var InputStatus = {
405
428
  DELETING: "DELETING",
406
429
  UPDATING: "UPDATING"
407
430
  };
408
- var _ResourceNotFoundException = class _ResourceNotFoundException extends IoTEventsServiceException {
431
+ var ResourceNotFoundException = class _ResourceNotFoundException extends IoTEventsServiceException {
432
+ static {
433
+ __name(this, "ResourceNotFoundException");
434
+ }
435
+ name = "ResourceNotFoundException";
436
+ $fault = "client";
409
437
  /**
410
438
  * @internal
411
439
  */
@@ -415,19 +443,20 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends IoTEve
415
443
  $fault: "client",
416
444
  ...opts
417
445
  });
418
- this.name = "ResourceNotFoundException";
419
- this.$fault = "client";
420
446
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
421
447
  }
422
448
  };
423
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
424
- var ResourceNotFoundException = _ResourceNotFoundException;
425
449
  var LoggingLevel = {
426
450
  DEBUG: "DEBUG",
427
451
  ERROR: "ERROR",
428
452
  INFO: "INFO"
429
453
  };
430
- var _UnsupportedOperationException = class _UnsupportedOperationException extends IoTEventsServiceException {
454
+ var UnsupportedOperationException = class _UnsupportedOperationException extends IoTEventsServiceException {
455
+ static {
456
+ __name(this, "UnsupportedOperationException");
457
+ }
458
+ name = "UnsupportedOperationException";
459
+ $fault = "server";
431
460
  /**
432
461
  * @internal
433
462
  */
@@ -437,13 +466,9 @@ var _UnsupportedOperationException = class _UnsupportedOperationException extend
437
466
  $fault: "server",
438
467
  ...opts
439
468
  });
440
- this.name = "UnsupportedOperationException";
441
- this.$fault = "server";
442
469
  Object.setPrototypeOf(this, _UnsupportedOperationException.prototype);
443
470
  }
444
471
  };
445
- __name(_UnsupportedOperationException, "UnsupportedOperationException");
446
- var UnsupportedOperationException = _UnsupportedOperationException;
447
472
 
448
473
  // src/protocols/Aws_restJson1.ts
449
474
  var se_CreateAlarmModelCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1480,365 +1505,391 @@ var _tK = "tagKeys";
1480
1505
  var _v = "version";
1481
1506
 
1482
1507
  // src/commands/CreateAlarmModelCommand.ts
1483
- var _CreateAlarmModelCommand = class _CreateAlarmModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1508
+ var CreateAlarmModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1484
1509
  return [
1485
1510
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1486
1511
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1487
1512
  ];
1488
1513
  }).s("IotColumboService", "CreateAlarmModel", {}).n("IoTEventsClient", "CreateAlarmModelCommand").f(void 0, void 0).ser(se_CreateAlarmModelCommand).de(de_CreateAlarmModelCommand).build() {
1514
+ static {
1515
+ __name(this, "CreateAlarmModelCommand");
1516
+ }
1489
1517
  };
1490
- __name(_CreateAlarmModelCommand, "CreateAlarmModelCommand");
1491
- var CreateAlarmModelCommand = _CreateAlarmModelCommand;
1492
1518
 
1493
1519
  // src/commands/CreateDetectorModelCommand.ts
1494
1520
 
1495
1521
 
1496
1522
 
1497
- var _CreateDetectorModelCommand = class _CreateDetectorModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1523
+ var CreateDetectorModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1498
1524
  return [
1499
1525
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1500
1526
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1501
1527
  ];
1502
1528
  }).s("IotColumboService", "CreateDetectorModel", {}).n("IoTEventsClient", "CreateDetectorModelCommand").f(void 0, void 0).ser(se_CreateDetectorModelCommand).de(de_CreateDetectorModelCommand).build() {
1529
+ static {
1530
+ __name(this, "CreateDetectorModelCommand");
1531
+ }
1503
1532
  };
1504
- __name(_CreateDetectorModelCommand, "CreateDetectorModelCommand");
1505
- var CreateDetectorModelCommand = _CreateDetectorModelCommand;
1506
1533
 
1507
1534
  // src/commands/CreateInputCommand.ts
1508
1535
 
1509
1536
 
1510
1537
 
1511
- var _CreateInputCommand = class _CreateInputCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1538
+ var CreateInputCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1512
1539
  return [
1513
1540
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1514
1541
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1515
1542
  ];
1516
1543
  }).s("IotColumboService", "CreateInput", {}).n("IoTEventsClient", "CreateInputCommand").f(void 0, void 0).ser(se_CreateInputCommand).de(de_CreateInputCommand).build() {
1544
+ static {
1545
+ __name(this, "CreateInputCommand");
1546
+ }
1517
1547
  };
1518
- __name(_CreateInputCommand, "CreateInputCommand");
1519
- var CreateInputCommand = _CreateInputCommand;
1520
1548
 
1521
1549
  // src/commands/DeleteAlarmModelCommand.ts
1522
1550
 
1523
1551
 
1524
1552
 
1525
- var _DeleteAlarmModelCommand = class _DeleteAlarmModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1553
+ var DeleteAlarmModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1526
1554
  return [
1527
1555
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1528
1556
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1529
1557
  ];
1530
1558
  }).s("IotColumboService", "DeleteAlarmModel", {}).n("IoTEventsClient", "DeleteAlarmModelCommand").f(void 0, void 0).ser(se_DeleteAlarmModelCommand).de(de_DeleteAlarmModelCommand).build() {
1559
+ static {
1560
+ __name(this, "DeleteAlarmModelCommand");
1561
+ }
1531
1562
  };
1532
- __name(_DeleteAlarmModelCommand, "DeleteAlarmModelCommand");
1533
- var DeleteAlarmModelCommand = _DeleteAlarmModelCommand;
1534
1563
 
1535
1564
  // src/commands/DeleteDetectorModelCommand.ts
1536
1565
 
1537
1566
 
1538
1567
 
1539
- var _DeleteDetectorModelCommand = class _DeleteDetectorModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1568
+ var DeleteDetectorModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1540
1569
  return [
1541
1570
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1542
1571
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1543
1572
  ];
1544
1573
  }).s("IotColumboService", "DeleteDetectorModel", {}).n("IoTEventsClient", "DeleteDetectorModelCommand").f(void 0, void 0).ser(se_DeleteDetectorModelCommand).de(de_DeleteDetectorModelCommand).build() {
1574
+ static {
1575
+ __name(this, "DeleteDetectorModelCommand");
1576
+ }
1545
1577
  };
1546
- __name(_DeleteDetectorModelCommand, "DeleteDetectorModelCommand");
1547
- var DeleteDetectorModelCommand = _DeleteDetectorModelCommand;
1548
1578
 
1549
1579
  // src/commands/DeleteInputCommand.ts
1550
1580
 
1551
1581
 
1552
1582
 
1553
- var _DeleteInputCommand = class _DeleteInputCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1583
+ var DeleteInputCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1554
1584
  return [
1555
1585
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1556
1586
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1557
1587
  ];
1558
1588
  }).s("IotColumboService", "DeleteInput", {}).n("IoTEventsClient", "DeleteInputCommand").f(void 0, void 0).ser(se_DeleteInputCommand).de(de_DeleteInputCommand).build() {
1589
+ static {
1590
+ __name(this, "DeleteInputCommand");
1591
+ }
1559
1592
  };
1560
- __name(_DeleteInputCommand, "DeleteInputCommand");
1561
- var DeleteInputCommand = _DeleteInputCommand;
1562
1593
 
1563
1594
  // src/commands/DescribeAlarmModelCommand.ts
1564
1595
 
1565
1596
 
1566
1597
 
1567
- var _DescribeAlarmModelCommand = class _DescribeAlarmModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1598
+ var DescribeAlarmModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1568
1599
  return [
1569
1600
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1570
1601
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1571
1602
  ];
1572
1603
  }).s("IotColumboService", "DescribeAlarmModel", {}).n("IoTEventsClient", "DescribeAlarmModelCommand").f(void 0, void 0).ser(se_DescribeAlarmModelCommand).de(de_DescribeAlarmModelCommand).build() {
1604
+ static {
1605
+ __name(this, "DescribeAlarmModelCommand");
1606
+ }
1573
1607
  };
1574
- __name(_DescribeAlarmModelCommand, "DescribeAlarmModelCommand");
1575
- var DescribeAlarmModelCommand = _DescribeAlarmModelCommand;
1576
1608
 
1577
1609
  // src/commands/DescribeDetectorModelAnalysisCommand.ts
1578
1610
 
1579
1611
 
1580
1612
 
1581
- var _DescribeDetectorModelAnalysisCommand = class _DescribeDetectorModelAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1613
+ var DescribeDetectorModelAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1582
1614
  return [
1583
1615
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1584
1616
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1585
1617
  ];
1586
1618
  }).s("IotColumboService", "DescribeDetectorModelAnalysis", {}).n("IoTEventsClient", "DescribeDetectorModelAnalysisCommand").f(void 0, void 0).ser(se_DescribeDetectorModelAnalysisCommand).de(de_DescribeDetectorModelAnalysisCommand).build() {
1619
+ static {
1620
+ __name(this, "DescribeDetectorModelAnalysisCommand");
1621
+ }
1587
1622
  };
1588
- __name(_DescribeDetectorModelAnalysisCommand, "DescribeDetectorModelAnalysisCommand");
1589
- var DescribeDetectorModelAnalysisCommand = _DescribeDetectorModelAnalysisCommand;
1590
1623
 
1591
1624
  // src/commands/DescribeDetectorModelCommand.ts
1592
1625
 
1593
1626
 
1594
1627
 
1595
- var _DescribeDetectorModelCommand = class _DescribeDetectorModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1628
+ var DescribeDetectorModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1596
1629
  return [
1597
1630
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1598
1631
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1599
1632
  ];
1600
1633
  }).s("IotColumboService", "DescribeDetectorModel", {}).n("IoTEventsClient", "DescribeDetectorModelCommand").f(void 0, void 0).ser(se_DescribeDetectorModelCommand).de(de_DescribeDetectorModelCommand).build() {
1634
+ static {
1635
+ __name(this, "DescribeDetectorModelCommand");
1636
+ }
1601
1637
  };
1602
- __name(_DescribeDetectorModelCommand, "DescribeDetectorModelCommand");
1603
- var DescribeDetectorModelCommand = _DescribeDetectorModelCommand;
1604
1638
 
1605
1639
  // src/commands/DescribeInputCommand.ts
1606
1640
 
1607
1641
 
1608
1642
 
1609
- var _DescribeInputCommand = class _DescribeInputCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1643
+ var DescribeInputCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1610
1644
  return [
1611
1645
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1612
1646
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1613
1647
  ];
1614
1648
  }).s("IotColumboService", "DescribeInput", {}).n("IoTEventsClient", "DescribeInputCommand").f(void 0, void 0).ser(se_DescribeInputCommand).de(de_DescribeInputCommand).build() {
1649
+ static {
1650
+ __name(this, "DescribeInputCommand");
1651
+ }
1615
1652
  };
1616
- __name(_DescribeInputCommand, "DescribeInputCommand");
1617
- var DescribeInputCommand = _DescribeInputCommand;
1618
1653
 
1619
1654
  // src/commands/DescribeLoggingOptionsCommand.ts
1620
1655
 
1621
1656
 
1622
1657
 
1623
- var _DescribeLoggingOptionsCommand = class _DescribeLoggingOptionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1658
+ var DescribeLoggingOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1624
1659
  return [
1625
1660
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1626
1661
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1627
1662
  ];
1628
1663
  }).s("IotColumboService", "DescribeLoggingOptions", {}).n("IoTEventsClient", "DescribeLoggingOptionsCommand").f(void 0, void 0).ser(se_DescribeLoggingOptionsCommand).de(de_DescribeLoggingOptionsCommand).build() {
1664
+ static {
1665
+ __name(this, "DescribeLoggingOptionsCommand");
1666
+ }
1629
1667
  };
1630
- __name(_DescribeLoggingOptionsCommand, "DescribeLoggingOptionsCommand");
1631
- var DescribeLoggingOptionsCommand = _DescribeLoggingOptionsCommand;
1632
1668
 
1633
1669
  // src/commands/GetDetectorModelAnalysisResultsCommand.ts
1634
1670
 
1635
1671
 
1636
1672
 
1637
- var _GetDetectorModelAnalysisResultsCommand = class _GetDetectorModelAnalysisResultsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1673
+ var GetDetectorModelAnalysisResultsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1638
1674
  return [
1639
1675
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1640
1676
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1641
1677
  ];
1642
1678
  }).s("IotColumboService", "GetDetectorModelAnalysisResults", {}).n("IoTEventsClient", "GetDetectorModelAnalysisResultsCommand").f(void 0, void 0).ser(se_GetDetectorModelAnalysisResultsCommand).de(de_GetDetectorModelAnalysisResultsCommand).build() {
1679
+ static {
1680
+ __name(this, "GetDetectorModelAnalysisResultsCommand");
1681
+ }
1643
1682
  };
1644
- __name(_GetDetectorModelAnalysisResultsCommand, "GetDetectorModelAnalysisResultsCommand");
1645
- var GetDetectorModelAnalysisResultsCommand = _GetDetectorModelAnalysisResultsCommand;
1646
1683
 
1647
1684
  // src/commands/ListAlarmModelsCommand.ts
1648
1685
 
1649
1686
 
1650
1687
 
1651
- var _ListAlarmModelsCommand = class _ListAlarmModelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1688
+ var ListAlarmModelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1652
1689
  return [
1653
1690
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1654
1691
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1655
1692
  ];
1656
1693
  }).s("IotColumboService", "ListAlarmModels", {}).n("IoTEventsClient", "ListAlarmModelsCommand").f(void 0, void 0).ser(se_ListAlarmModelsCommand).de(de_ListAlarmModelsCommand).build() {
1694
+ static {
1695
+ __name(this, "ListAlarmModelsCommand");
1696
+ }
1657
1697
  };
1658
- __name(_ListAlarmModelsCommand, "ListAlarmModelsCommand");
1659
- var ListAlarmModelsCommand = _ListAlarmModelsCommand;
1660
1698
 
1661
1699
  // src/commands/ListAlarmModelVersionsCommand.ts
1662
1700
 
1663
1701
 
1664
1702
 
1665
- var _ListAlarmModelVersionsCommand = class _ListAlarmModelVersionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1703
+ var ListAlarmModelVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1666
1704
  return [
1667
1705
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1668
1706
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1669
1707
  ];
1670
1708
  }).s("IotColumboService", "ListAlarmModelVersions", {}).n("IoTEventsClient", "ListAlarmModelVersionsCommand").f(void 0, void 0).ser(se_ListAlarmModelVersionsCommand).de(de_ListAlarmModelVersionsCommand).build() {
1709
+ static {
1710
+ __name(this, "ListAlarmModelVersionsCommand");
1711
+ }
1671
1712
  };
1672
- __name(_ListAlarmModelVersionsCommand, "ListAlarmModelVersionsCommand");
1673
- var ListAlarmModelVersionsCommand = _ListAlarmModelVersionsCommand;
1674
1713
 
1675
1714
  // src/commands/ListDetectorModelsCommand.ts
1676
1715
 
1677
1716
 
1678
1717
 
1679
- var _ListDetectorModelsCommand = class _ListDetectorModelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1718
+ var ListDetectorModelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1680
1719
  return [
1681
1720
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1682
1721
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1683
1722
  ];
1684
1723
  }).s("IotColumboService", "ListDetectorModels", {}).n("IoTEventsClient", "ListDetectorModelsCommand").f(void 0, void 0).ser(se_ListDetectorModelsCommand).de(de_ListDetectorModelsCommand).build() {
1724
+ static {
1725
+ __name(this, "ListDetectorModelsCommand");
1726
+ }
1685
1727
  };
1686
- __name(_ListDetectorModelsCommand, "ListDetectorModelsCommand");
1687
- var ListDetectorModelsCommand = _ListDetectorModelsCommand;
1688
1728
 
1689
1729
  // src/commands/ListDetectorModelVersionsCommand.ts
1690
1730
 
1691
1731
 
1692
1732
 
1693
- var _ListDetectorModelVersionsCommand = class _ListDetectorModelVersionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1733
+ var ListDetectorModelVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1694
1734
  return [
1695
1735
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1696
1736
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1697
1737
  ];
1698
1738
  }).s("IotColumboService", "ListDetectorModelVersions", {}).n("IoTEventsClient", "ListDetectorModelVersionsCommand").f(void 0, void 0).ser(se_ListDetectorModelVersionsCommand).de(de_ListDetectorModelVersionsCommand).build() {
1739
+ static {
1740
+ __name(this, "ListDetectorModelVersionsCommand");
1741
+ }
1699
1742
  };
1700
- __name(_ListDetectorModelVersionsCommand, "ListDetectorModelVersionsCommand");
1701
- var ListDetectorModelVersionsCommand = _ListDetectorModelVersionsCommand;
1702
1743
 
1703
1744
  // src/commands/ListInputRoutingsCommand.ts
1704
1745
 
1705
1746
 
1706
1747
 
1707
- var _ListInputRoutingsCommand = class _ListInputRoutingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1748
+ var ListInputRoutingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1708
1749
  return [
1709
1750
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1710
1751
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1711
1752
  ];
1712
1753
  }).s("IotColumboService", "ListInputRoutings", {}).n("IoTEventsClient", "ListInputRoutingsCommand").f(void 0, void 0).ser(se_ListInputRoutingsCommand).de(de_ListInputRoutingsCommand).build() {
1754
+ static {
1755
+ __name(this, "ListInputRoutingsCommand");
1756
+ }
1713
1757
  };
1714
- __name(_ListInputRoutingsCommand, "ListInputRoutingsCommand");
1715
- var ListInputRoutingsCommand = _ListInputRoutingsCommand;
1716
1758
 
1717
1759
  // src/commands/ListInputsCommand.ts
1718
1760
 
1719
1761
 
1720
1762
 
1721
- var _ListInputsCommand = class _ListInputsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1763
+ var ListInputsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1722
1764
  return [
1723
1765
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1724
1766
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1725
1767
  ];
1726
1768
  }).s("IotColumboService", "ListInputs", {}).n("IoTEventsClient", "ListInputsCommand").f(void 0, void 0).ser(se_ListInputsCommand).de(de_ListInputsCommand).build() {
1769
+ static {
1770
+ __name(this, "ListInputsCommand");
1771
+ }
1727
1772
  };
1728
- __name(_ListInputsCommand, "ListInputsCommand");
1729
- var ListInputsCommand = _ListInputsCommand;
1730
1773
 
1731
1774
  // src/commands/ListTagsForResourceCommand.ts
1732
1775
 
1733
1776
 
1734
1777
 
1735
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1778
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1736
1779
  return [
1737
1780
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1738
1781
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1739
1782
  ];
1740
1783
  }).s("IotColumboService", "ListTagsForResource", {}).n("IoTEventsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1784
+ static {
1785
+ __name(this, "ListTagsForResourceCommand");
1786
+ }
1741
1787
  };
1742
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1743
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1744
1788
 
1745
1789
  // src/commands/PutLoggingOptionsCommand.ts
1746
1790
 
1747
1791
 
1748
1792
 
1749
- var _PutLoggingOptionsCommand = class _PutLoggingOptionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1793
+ var PutLoggingOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1750
1794
  return [
1751
1795
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1752
1796
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1753
1797
  ];
1754
1798
  }).s("IotColumboService", "PutLoggingOptions", {}).n("IoTEventsClient", "PutLoggingOptionsCommand").f(void 0, void 0).ser(se_PutLoggingOptionsCommand).de(de_PutLoggingOptionsCommand).build() {
1799
+ static {
1800
+ __name(this, "PutLoggingOptionsCommand");
1801
+ }
1755
1802
  };
1756
- __name(_PutLoggingOptionsCommand, "PutLoggingOptionsCommand");
1757
- var PutLoggingOptionsCommand = _PutLoggingOptionsCommand;
1758
1803
 
1759
1804
  // src/commands/StartDetectorModelAnalysisCommand.ts
1760
1805
 
1761
1806
 
1762
1807
 
1763
- var _StartDetectorModelAnalysisCommand = class _StartDetectorModelAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1808
+ var StartDetectorModelAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1764
1809
  return [
1765
1810
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1766
1811
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1767
1812
  ];
1768
1813
  }).s("IotColumboService", "StartDetectorModelAnalysis", {}).n("IoTEventsClient", "StartDetectorModelAnalysisCommand").f(void 0, void 0).ser(se_StartDetectorModelAnalysisCommand).de(de_StartDetectorModelAnalysisCommand).build() {
1814
+ static {
1815
+ __name(this, "StartDetectorModelAnalysisCommand");
1816
+ }
1769
1817
  };
1770
- __name(_StartDetectorModelAnalysisCommand, "StartDetectorModelAnalysisCommand");
1771
- var StartDetectorModelAnalysisCommand = _StartDetectorModelAnalysisCommand;
1772
1818
 
1773
1819
  // src/commands/TagResourceCommand.ts
1774
1820
 
1775
1821
 
1776
1822
 
1777
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1823
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1778
1824
  return [
1779
1825
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1780
1826
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1781
1827
  ];
1782
1828
  }).s("IotColumboService", "TagResource", {}).n("IoTEventsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1829
+ static {
1830
+ __name(this, "TagResourceCommand");
1831
+ }
1783
1832
  };
1784
- __name(_TagResourceCommand, "TagResourceCommand");
1785
- var TagResourceCommand = _TagResourceCommand;
1786
1833
 
1787
1834
  // src/commands/UntagResourceCommand.ts
1788
1835
 
1789
1836
 
1790
1837
 
1791
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1838
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1792
1839
  return [
1793
1840
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1794
1841
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1795
1842
  ];
1796
1843
  }).s("IotColumboService", "UntagResource", {}).n("IoTEventsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1844
+ static {
1845
+ __name(this, "UntagResourceCommand");
1846
+ }
1797
1847
  };
1798
- __name(_UntagResourceCommand, "UntagResourceCommand");
1799
- var UntagResourceCommand = _UntagResourceCommand;
1800
1848
 
1801
1849
  // src/commands/UpdateAlarmModelCommand.ts
1802
1850
 
1803
1851
 
1804
1852
 
1805
- var _UpdateAlarmModelCommand = class _UpdateAlarmModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1853
+ var UpdateAlarmModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1806
1854
  return [
1807
1855
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1808
1856
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1809
1857
  ];
1810
1858
  }).s("IotColumboService", "UpdateAlarmModel", {}).n("IoTEventsClient", "UpdateAlarmModelCommand").f(void 0, void 0).ser(se_UpdateAlarmModelCommand).de(de_UpdateAlarmModelCommand).build() {
1859
+ static {
1860
+ __name(this, "UpdateAlarmModelCommand");
1861
+ }
1811
1862
  };
1812
- __name(_UpdateAlarmModelCommand, "UpdateAlarmModelCommand");
1813
- var UpdateAlarmModelCommand = _UpdateAlarmModelCommand;
1814
1863
 
1815
1864
  // src/commands/UpdateDetectorModelCommand.ts
1816
1865
 
1817
1866
 
1818
1867
 
1819
- var _UpdateDetectorModelCommand = class _UpdateDetectorModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1868
+ var UpdateDetectorModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1820
1869
  return [
1821
1870
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1822
1871
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1823
1872
  ];
1824
1873
  }).s("IotColumboService", "UpdateDetectorModel", {}).n("IoTEventsClient", "UpdateDetectorModelCommand").f(void 0, void 0).ser(se_UpdateDetectorModelCommand).de(de_UpdateDetectorModelCommand).build() {
1874
+ static {
1875
+ __name(this, "UpdateDetectorModelCommand");
1876
+ }
1825
1877
  };
1826
- __name(_UpdateDetectorModelCommand, "UpdateDetectorModelCommand");
1827
- var UpdateDetectorModelCommand = _UpdateDetectorModelCommand;
1828
1878
 
1829
1879
  // src/commands/UpdateInputCommand.ts
1830
1880
 
1831
1881
 
1832
1882
 
1833
- var _UpdateInputCommand = class _UpdateInputCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1883
+ var UpdateInputCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1834
1884
  return [
1835
1885
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1836
1886
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1837
1887
  ];
1838
1888
  }).s("IotColumboService", "UpdateInput", {}).n("IoTEventsClient", "UpdateInputCommand").f(void 0, void 0).ser(se_UpdateInputCommand).de(de_UpdateInputCommand).build() {
1889
+ static {
1890
+ __name(this, "UpdateInputCommand");
1891
+ }
1839
1892
  };
1840
- __name(_UpdateInputCommand, "UpdateInputCommand");
1841
- var UpdateInputCommand = _UpdateInputCommand;
1842
1893
 
1843
1894
  // src/IoTEvents.ts
1844
1895
  var commands = {
@@ -1869,10 +1920,11 @@ var commands = {
1869
1920
  UpdateDetectorModelCommand,
1870
1921
  UpdateInputCommand
1871
1922
  };
1872
- var _IoTEvents = class _IoTEvents extends IoTEventsClient {
1923
+ var IoTEvents = class extends IoTEventsClient {
1924
+ static {
1925
+ __name(this, "IoTEvents");
1926
+ }
1873
1927
  };
1874
- __name(_IoTEvents, "IoTEvents");
1875
- var IoTEvents = _IoTEvents;
1876
1928
  (0, import_smithy_client.createAggregatedClient)(commands, IoTEvents);
1877
1929
  // Annotate the CommonJS export names for ESM import in node:
1878
1930
 
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class IoTEventsClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -28,88 +28,90 @@ export const AnalysisStatus = {
28
28
  RUNNING: "RUNNING",
29
29
  };
30
30
  export class InternalFailureException extends __BaseException {
31
+ name = "InternalFailureException";
32
+ $fault = "server";
31
33
  constructor(opts) {
32
34
  super({
33
35
  name: "InternalFailureException",
34
36
  $fault: "server",
35
37
  ...opts,
36
38
  });
37
- this.name = "InternalFailureException";
38
- this.$fault = "server";
39
39
  Object.setPrototypeOf(this, InternalFailureException.prototype);
40
40
  }
41
41
  }
42
42
  export class InvalidRequestException extends __BaseException {
43
+ name = "InvalidRequestException";
44
+ $fault = "client";
43
45
  constructor(opts) {
44
46
  super({
45
47
  name: "InvalidRequestException",
46
48
  $fault: "client",
47
49
  ...opts,
48
50
  });
49
- this.name = "InvalidRequestException";
50
- this.$fault = "client";
51
51
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
52
52
  }
53
53
  }
54
54
  export class LimitExceededException extends __BaseException {
55
+ name = "LimitExceededException";
56
+ $fault = "client";
55
57
  constructor(opts) {
56
58
  super({
57
59
  name: "LimitExceededException",
58
60
  $fault: "client",
59
61
  ...opts,
60
62
  });
61
- this.name = "LimitExceededException";
62
- this.$fault = "client";
63
63
  Object.setPrototypeOf(this, LimitExceededException.prototype);
64
64
  }
65
65
  }
66
66
  export class ResourceAlreadyExistsException extends __BaseException {
67
+ name = "ResourceAlreadyExistsException";
68
+ $fault = "client";
69
+ resourceId;
70
+ resourceArn;
67
71
  constructor(opts) {
68
72
  super({
69
73
  name: "ResourceAlreadyExistsException",
70
74
  $fault: "client",
71
75
  ...opts,
72
76
  });
73
- this.name = "ResourceAlreadyExistsException";
74
- this.$fault = "client";
75
77
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
76
78
  this.resourceId = opts.resourceId;
77
79
  this.resourceArn = opts.resourceArn;
78
80
  }
79
81
  }
80
82
  export class ResourceInUseException extends __BaseException {
83
+ name = "ResourceInUseException";
84
+ $fault = "client";
81
85
  constructor(opts) {
82
86
  super({
83
87
  name: "ResourceInUseException",
84
88
  $fault: "client",
85
89
  ...opts,
86
90
  });
87
- this.name = "ResourceInUseException";
88
- this.$fault = "client";
89
91
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
90
92
  }
91
93
  }
92
94
  export class ServiceUnavailableException extends __BaseException {
95
+ name = "ServiceUnavailableException";
96
+ $fault = "server";
93
97
  constructor(opts) {
94
98
  super({
95
99
  name: "ServiceUnavailableException",
96
100
  $fault: "server",
97
101
  ...opts,
98
102
  });
99
- this.name = "ServiceUnavailableException";
100
- this.$fault = "server";
101
103
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
102
104
  }
103
105
  }
104
106
  export class ThrottlingException extends __BaseException {
107
+ name = "ThrottlingException";
108
+ $fault = "client";
105
109
  constructor(opts) {
106
110
  super({
107
111
  name: "ThrottlingException",
108
112
  $fault: "client",
109
113
  ...opts,
110
114
  });
111
- this.name = "ThrottlingException";
112
- this.$fault = "client";
113
115
  Object.setPrototypeOf(this, ThrottlingException.prototype);
114
116
  }
115
117
  }
@@ -133,14 +135,14 @@ export const InputStatus = {
133
135
  UPDATING: "UPDATING",
134
136
  };
135
137
  export class ResourceNotFoundException extends __BaseException {
138
+ name = "ResourceNotFoundException";
139
+ $fault = "client";
136
140
  constructor(opts) {
137
141
  super({
138
142
  name: "ResourceNotFoundException",
139
143
  $fault: "client",
140
144
  ...opts,
141
145
  });
142
- this.name = "ResourceNotFoundException";
143
- this.$fault = "client";
144
146
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
145
147
  }
146
148
  }
@@ -150,14 +152,14 @@ export const LoggingLevel = {
150
152
  INFO: "INFO",
151
153
  };
152
154
  export class UnsupportedOperationException extends __BaseException {
155
+ name = "UnsupportedOperationException";
156
+ $fault = "server";
153
157
  constructor(opts) {
154
158
  super({
155
159
  name: "UnsupportedOperationException",
156
160
  $fault: "server",
157
161
  ...opts,
158
162
  });
159
- this.name = "UnsupportedOperationException";
160
- this.$fault = "server";
161
163
  Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
162
164
  }
163
165
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: IoTEventsClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: IoTEventsClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: IoTEventsClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: IoTEventsClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: IoTEventsClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: IoTEventsClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: IoTEventsClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: IoTEventsClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-events",
3
3
  "description": "AWS SDK for JavaScript Iot Events Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iot-events",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {