@aws-sdk/client-iot-events 3.956.0 → 3.958.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/README.md CHANGED
@@ -11,10 +11,8 @@ triggers actions when such events occur. You can use AWS IoT Events API operatio
11
11
  update, and delete inputs and detector models, and to list their versions.</p>
12
12
 
13
13
  ## Installing
14
-
15
14
  To install this package, simply type add or install @aws-sdk/client-iot-events
16
15
  using your favorite package manager:
17
-
18
16
  - `npm install @aws-sdk/client-iot-events`
19
17
  - `yarn add @aws-sdk/client-iot-events`
20
18
  - `pnpm add @aws-sdk/client-iot-events`
@@ -50,9 +48,7 @@ To send a request, you:
50
48
  // a client can be shared by different commands.
51
49
  const client = new IoTEventsClient({ region: "REGION" });
52
50
 
53
- const params = {
54
- /** input parameters */
55
- };
51
+ const params = { /** input parameters */ };
56
52
  const command = new ListInputsCommand(params);
57
53
  ```
58
54
 
@@ -211,7 +207,6 @@ CreateAlarmModel
211
207
  </summary>
212
208
 
213
209
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/CreateAlarmModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/CreateAlarmModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/CreateAlarmModelCommandOutput/)
214
-
215
210
  </details>
216
211
  <details>
217
212
  <summary>
@@ -219,7 +214,6 @@ CreateDetectorModel
219
214
  </summary>
220
215
 
221
216
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/CreateDetectorModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/CreateDetectorModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/CreateDetectorModelCommandOutput/)
222
-
223
217
  </details>
224
218
  <details>
225
219
  <summary>
@@ -227,7 +221,6 @@ CreateInput
227
221
  </summary>
228
222
 
229
223
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/CreateInputCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/CreateInputCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/CreateInputCommandOutput/)
230
-
231
224
  </details>
232
225
  <details>
233
226
  <summary>
@@ -235,7 +228,6 @@ DeleteAlarmModel
235
228
  </summary>
236
229
 
237
230
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/DeleteAlarmModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DeleteAlarmModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DeleteAlarmModelCommandOutput/)
238
-
239
231
  </details>
240
232
  <details>
241
233
  <summary>
@@ -243,7 +235,6 @@ DeleteDetectorModel
243
235
  </summary>
244
236
 
245
237
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/DeleteDetectorModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DeleteDetectorModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DeleteDetectorModelCommandOutput/)
246
-
247
238
  </details>
248
239
  <details>
249
240
  <summary>
@@ -251,7 +242,6 @@ DeleteInput
251
242
  </summary>
252
243
 
253
244
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/DeleteInputCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DeleteInputCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DeleteInputCommandOutput/)
254
-
255
245
  </details>
256
246
  <details>
257
247
  <summary>
@@ -259,7 +249,6 @@ DescribeAlarmModel
259
249
  </summary>
260
250
 
261
251
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/DescribeAlarmModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DescribeAlarmModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DescribeAlarmModelCommandOutput/)
262
-
263
252
  </details>
264
253
  <details>
265
254
  <summary>
@@ -267,7 +256,6 @@ DescribeDetectorModel
267
256
  </summary>
268
257
 
269
258
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/DescribeDetectorModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DescribeDetectorModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DescribeDetectorModelCommandOutput/)
270
-
271
259
  </details>
272
260
  <details>
273
261
  <summary>
@@ -275,7 +263,6 @@ DescribeDetectorModelAnalysis
275
263
  </summary>
276
264
 
277
265
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/DescribeDetectorModelAnalysisCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DescribeDetectorModelAnalysisCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DescribeDetectorModelAnalysisCommandOutput/)
278
-
279
266
  </details>
280
267
  <details>
281
268
  <summary>
@@ -283,7 +270,6 @@ DescribeInput
283
270
  </summary>
284
271
 
285
272
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/DescribeInputCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DescribeInputCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DescribeInputCommandOutput/)
286
-
287
273
  </details>
288
274
  <details>
289
275
  <summary>
@@ -291,7 +277,6 @@ DescribeLoggingOptions
291
277
  </summary>
292
278
 
293
279
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/DescribeLoggingOptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DescribeLoggingOptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/DescribeLoggingOptionsCommandOutput/)
294
-
295
280
  </details>
296
281
  <details>
297
282
  <summary>
@@ -299,7 +284,6 @@ GetDetectorModelAnalysisResults
299
284
  </summary>
300
285
 
301
286
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/GetDetectorModelAnalysisResultsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/GetDetectorModelAnalysisResultsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/GetDetectorModelAnalysisResultsCommandOutput/)
302
-
303
287
  </details>
304
288
  <details>
305
289
  <summary>
@@ -307,7 +291,6 @@ ListAlarmModels
307
291
  </summary>
308
292
 
309
293
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/ListAlarmModelsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListAlarmModelsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListAlarmModelsCommandOutput/)
310
-
311
294
  </details>
312
295
  <details>
313
296
  <summary>
@@ -315,7 +298,6 @@ ListAlarmModelVersions
315
298
  </summary>
316
299
 
317
300
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/ListAlarmModelVersionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListAlarmModelVersionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListAlarmModelVersionsCommandOutput/)
318
-
319
301
  </details>
320
302
  <details>
321
303
  <summary>
@@ -323,7 +305,6 @@ ListDetectorModels
323
305
  </summary>
324
306
 
325
307
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/ListDetectorModelsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListDetectorModelsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListDetectorModelsCommandOutput/)
326
-
327
308
  </details>
328
309
  <details>
329
310
  <summary>
@@ -331,7 +312,6 @@ ListDetectorModelVersions
331
312
  </summary>
332
313
 
333
314
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/ListDetectorModelVersionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListDetectorModelVersionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListDetectorModelVersionsCommandOutput/)
334
-
335
315
  </details>
336
316
  <details>
337
317
  <summary>
@@ -339,7 +319,6 @@ ListInputRoutings
339
319
  </summary>
340
320
 
341
321
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/ListInputRoutingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListInputRoutingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListInputRoutingsCommandOutput/)
342
-
343
322
  </details>
344
323
  <details>
345
324
  <summary>
@@ -347,7 +326,6 @@ ListInputs
347
326
  </summary>
348
327
 
349
328
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/ListInputsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListInputsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListInputsCommandOutput/)
350
-
351
329
  </details>
352
330
  <details>
353
331
  <summary>
@@ -355,7 +333,6 @@ ListTagsForResource
355
333
  </summary>
356
334
 
357
335
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/ListTagsForResourceCommandOutput/)
358
-
359
336
  </details>
360
337
  <details>
361
338
  <summary>
@@ -363,7 +340,6 @@ PutLoggingOptions
363
340
  </summary>
364
341
 
365
342
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/PutLoggingOptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/PutLoggingOptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/PutLoggingOptionsCommandOutput/)
366
-
367
343
  </details>
368
344
  <details>
369
345
  <summary>
@@ -371,7 +347,6 @@ StartDetectorModelAnalysis
371
347
  </summary>
372
348
 
373
349
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/StartDetectorModelAnalysisCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/StartDetectorModelAnalysisCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/StartDetectorModelAnalysisCommandOutput/)
374
-
375
350
  </details>
376
351
  <details>
377
352
  <summary>
@@ -379,7 +354,6 @@ TagResource
379
354
  </summary>
380
355
 
381
356
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/TagResourceCommandOutput/)
382
-
383
357
  </details>
384
358
  <details>
385
359
  <summary>
@@ -387,7 +361,6 @@ UntagResource
387
361
  </summary>
388
362
 
389
363
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/UntagResourceCommandOutput/)
390
-
391
364
  </details>
392
365
  <details>
393
366
  <summary>
@@ -395,7 +368,6 @@ UpdateAlarmModel
395
368
  </summary>
396
369
 
397
370
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/UpdateAlarmModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/UpdateAlarmModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/UpdateAlarmModelCommandOutput/)
398
-
399
371
  </details>
400
372
  <details>
401
373
  <summary>
@@ -403,7 +375,6 @@ UpdateDetectorModel
403
375
  </summary>
404
376
 
405
377
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/UpdateDetectorModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/UpdateDetectorModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/UpdateDetectorModelCommandOutput/)
406
-
407
378
  </details>
408
379
  <details>
409
380
  <summary>
@@ -411,5 +382,4 @@ UpdateInput
411
382
  </summary>
412
383
 
413
384
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events/command/UpdateInputCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/UpdateInputCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events/Interface/UpdateInputCommandOutput/)
414
-
415
385
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultIoTEventsHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
8
8
  operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
- region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
- (() => {
11
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
- })(),
9
+ region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
10
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
+ })(),
13
12
  };
14
13
  };
15
14
  exports.defaultIoTEventsHttpAuthSchemeParametersProvider = defaultIoTEventsHttpAuthSchemeParametersProvider;