@aws-sdk/client-iot-events-data 3.957.0 → 3.962.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
@@ -13,10 +13,8 @@ detectors, list detectors, and view or update a detector's status.</p>
13
13
  <i>IoT Events Developer Guide</i>.</p>
14
14
 
15
15
  ## Installing
16
-
17
16
  To install this package, simply type add or install @aws-sdk/client-iot-events-data
18
17
  using your favorite package manager:
19
-
20
18
  - `npm install @aws-sdk/client-iot-events-data`
21
19
  - `yarn add @aws-sdk/client-iot-events-data`
22
20
  - `pnpm add @aws-sdk/client-iot-events-data`
@@ -52,9 +50,7 @@ To send a request, you:
52
50
  // a client can be shared by different commands.
53
51
  const client = new IoTEventsDataClient({ region: "REGION" });
54
52
 
55
- const params = {
56
- /** input parameters */
57
- };
53
+ const params = { /** input parameters */ };
58
54
  const command = new ListAlarmsCommand(params);
59
55
  ```
60
56
 
@@ -213,7 +209,6 @@ BatchAcknowledgeAlarm
213
209
  </summary>
214
210
 
215
211
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/BatchAcknowledgeAlarmCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchAcknowledgeAlarmCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchAcknowledgeAlarmCommandOutput/)
216
-
217
212
  </details>
218
213
  <details>
219
214
  <summary>
@@ -221,7 +216,6 @@ BatchDeleteDetector
221
216
  </summary>
222
217
 
223
218
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/BatchDeleteDetectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchDeleteDetectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchDeleteDetectorCommandOutput/)
224
-
225
219
  </details>
226
220
  <details>
227
221
  <summary>
@@ -229,7 +223,6 @@ BatchDisableAlarm
229
223
  </summary>
230
224
 
231
225
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/BatchDisableAlarmCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchDisableAlarmCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchDisableAlarmCommandOutput/)
232
-
233
226
  </details>
234
227
  <details>
235
228
  <summary>
@@ -237,7 +230,6 @@ BatchEnableAlarm
237
230
  </summary>
238
231
 
239
232
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/BatchEnableAlarmCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchEnableAlarmCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchEnableAlarmCommandOutput/)
240
-
241
233
  </details>
242
234
  <details>
243
235
  <summary>
@@ -245,7 +237,6 @@ BatchPutMessage
245
237
  </summary>
246
238
 
247
239
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/BatchPutMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchPutMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchPutMessageCommandOutput/)
248
-
249
240
  </details>
250
241
  <details>
251
242
  <summary>
@@ -253,7 +244,6 @@ BatchResetAlarm
253
244
  </summary>
254
245
 
255
246
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/BatchResetAlarmCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchResetAlarmCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchResetAlarmCommandOutput/)
256
-
257
247
  </details>
258
248
  <details>
259
249
  <summary>
@@ -261,7 +251,6 @@ BatchSnoozeAlarm
261
251
  </summary>
262
252
 
263
253
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/BatchSnoozeAlarmCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchSnoozeAlarmCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchSnoozeAlarmCommandOutput/)
264
-
265
254
  </details>
266
255
  <details>
267
256
  <summary>
@@ -269,7 +258,6 @@ BatchUpdateDetector
269
258
  </summary>
270
259
 
271
260
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/BatchUpdateDetectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchUpdateDetectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/BatchUpdateDetectorCommandOutput/)
272
-
273
261
  </details>
274
262
  <details>
275
263
  <summary>
@@ -277,7 +265,6 @@ DescribeAlarm
277
265
  </summary>
278
266
 
279
267
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/DescribeAlarmCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/DescribeAlarmCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/DescribeAlarmCommandOutput/)
280
-
281
268
  </details>
282
269
  <details>
283
270
  <summary>
@@ -285,7 +272,6 @@ DescribeDetector
285
272
  </summary>
286
273
 
287
274
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/DescribeDetectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/DescribeDetectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/DescribeDetectorCommandOutput/)
288
-
289
275
  </details>
290
276
  <details>
291
277
  <summary>
@@ -293,7 +279,6 @@ ListAlarms
293
279
  </summary>
294
280
 
295
281
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/ListAlarmsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/ListAlarmsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/ListAlarmsCommandOutput/)
296
-
297
282
  </details>
298
283
  <details>
299
284
  <summary>
@@ -301,5 +286,4 @@ ListDetectors
301
286
  </summary>
302
287
 
303
288
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-events-data/command/ListDetectorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/ListDetectorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-events-data/Interface/ListDetectorsCommandOutput/)
304
-
305
289
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultIoTEventsDataHttpAuthSchemeParametersProvider = 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.defaultIoTEventsDataHttpAuthSchemeParametersProvider = defaultIoTEventsDataHttpAuthSchemeParametersProvider;