@aws-sdk/client-iot-events-data 3.758.0 → 3.772.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 (2) hide show
  1. package/dist-cjs/index.js +28 -28
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AlarmStateName: () => AlarmStateName,
25
25
  BatchAcknowledgeAlarmCommand: () => BatchAcknowledgeAlarmCommand,
26
26
  BatchDeleteDetectorCommand: () => BatchDeleteDetectorCommand,
@@ -49,7 +49,7 @@ __export(src_exports, {
49
49
  TriggerType: () => TriggerType,
50
50
  __Client: () => import_smithy_client.Client
51
51
  });
52
- module.exports = __toCommonJS(src_exports);
52
+ module.exports = __toCommonJS(index_exports);
53
53
 
54
54
  // src/IoTEventsDataClient.ts
55
55
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -176,9 +176,9 @@ var IoTEventsDataClient = class extends import_smithy_client.Client {
176
176
  this.middlewareStack.use(
177
177
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
178
178
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultIoTEventsDataHttpAuthSchemeParametersProvider,
179
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
179
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
180
180
  "aws.auth#sigv4": config.credentials
181
- })
181
+ }), "identityProviderConfigProvider")
182
182
  })
183
183
  );
184
184
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -359,7 +359,7 @@ var se_BatchAcknowledgeAlarmCommand = /* @__PURE__ */ __name(async (input, conte
359
359
  let body;
360
360
  body = JSON.stringify(
361
361
  (0, import_smithy_client.take)(input, {
362
- acknowledgeActionRequests: (_) => (0, import_smithy_client._json)(_)
362
+ acknowledgeActionRequests: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "acknowledgeActionRequests")
363
363
  })
364
364
  );
365
365
  b.m("POST").h(headers).b(body);
@@ -374,7 +374,7 @@ var se_BatchDeleteDetectorCommand = /* @__PURE__ */ __name(async (input, context
374
374
  let body;
375
375
  body = JSON.stringify(
376
376
  (0, import_smithy_client.take)(input, {
377
- detectors: (_) => (0, import_smithy_client._json)(_)
377
+ detectors: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "detectors")
378
378
  })
379
379
  );
380
380
  b.m("POST").h(headers).b(body);
@@ -389,7 +389,7 @@ var se_BatchDisableAlarmCommand = /* @__PURE__ */ __name(async (input, context)
389
389
  let body;
390
390
  body = JSON.stringify(
391
391
  (0, import_smithy_client.take)(input, {
392
- disableActionRequests: (_) => (0, import_smithy_client._json)(_)
392
+ disableActionRequests: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "disableActionRequests")
393
393
  })
394
394
  );
395
395
  b.m("POST").h(headers).b(body);
@@ -404,7 +404,7 @@ var se_BatchEnableAlarmCommand = /* @__PURE__ */ __name(async (input, context) =
404
404
  let body;
405
405
  body = JSON.stringify(
406
406
  (0, import_smithy_client.take)(input, {
407
- enableActionRequests: (_) => (0, import_smithy_client._json)(_)
407
+ enableActionRequests: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "enableActionRequests")
408
408
  })
409
409
  );
410
410
  b.m("POST").h(headers).b(body);
@@ -419,7 +419,7 @@ var se_BatchPutMessageCommand = /* @__PURE__ */ __name(async (input, context) =>
419
419
  let body;
420
420
  body = JSON.stringify(
421
421
  (0, import_smithy_client.take)(input, {
422
- messages: (_) => se_Messages(_, context)
422
+ messages: /* @__PURE__ */ __name((_) => se_Messages(_, context), "messages")
423
423
  })
424
424
  );
425
425
  b.m("POST").h(headers).b(body);
@@ -434,7 +434,7 @@ var se_BatchResetAlarmCommand = /* @__PURE__ */ __name(async (input, context) =>
434
434
  let body;
435
435
  body = JSON.stringify(
436
436
  (0, import_smithy_client.take)(input, {
437
- resetActionRequests: (_) => (0, import_smithy_client._json)(_)
437
+ resetActionRequests: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resetActionRequests")
438
438
  })
439
439
  );
440
440
  b.m("POST").h(headers).b(body);
@@ -449,7 +449,7 @@ var se_BatchSnoozeAlarmCommand = /* @__PURE__ */ __name(async (input, context) =
449
449
  let body;
450
450
  body = JSON.stringify(
451
451
  (0, import_smithy_client.take)(input, {
452
- snoozeActionRequests: (_) => (0, import_smithy_client._json)(_)
452
+ snoozeActionRequests: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "snoozeActionRequests")
453
453
  })
454
454
  );
455
455
  b.m("POST").h(headers).b(body);
@@ -464,7 +464,7 @@ var se_BatchUpdateDetectorCommand = /* @__PURE__ */ __name(async (input, context
464
464
  let body;
465
465
  body = JSON.stringify(
466
466
  (0, import_smithy_client.take)(input, {
467
- detectors: (_) => (0, import_smithy_client._json)(_)
467
+ detectors: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "detectors")
468
468
  })
469
469
  );
470
470
  b.m("POST").h(headers).b(body);
@@ -642,7 +642,7 @@ var de_DescribeAlarmCommand = /* @__PURE__ */ __name(async (output, context) =>
642
642
  });
643
643
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
644
644
  const doc = (0, import_smithy_client.take)(data, {
645
- alarm: (_) => de_Alarm(_, context)
645
+ alarm: /* @__PURE__ */ __name((_) => de_Alarm(_, context), "alarm")
646
646
  });
647
647
  Object.assign(contents, doc);
648
648
  return contents;
@@ -656,7 +656,7 @@ var de_DescribeDetectorCommand = /* @__PURE__ */ __name(async (output, context)
656
656
  });
657
657
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
658
658
  const doc = (0, import_smithy_client.take)(data, {
659
- detector: (_) => de_Detector(_, context)
659
+ detector: /* @__PURE__ */ __name((_) => de_Detector(_, context), "detector")
660
660
  });
661
661
  Object.assign(contents, doc);
662
662
  return contents;
@@ -670,7 +670,7 @@ var de_ListAlarmsCommand = /* @__PURE__ */ __name(async (output, context) => {
670
670
  });
671
671
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
672
672
  const doc = (0, import_smithy_client.take)(data, {
673
- alarmSummaries: (_) => de_AlarmSummaries(_, context),
673
+ alarmSummaries: /* @__PURE__ */ __name((_) => de_AlarmSummaries(_, context), "alarmSummaries"),
674
674
  nextToken: import_smithy_client.expectString
675
675
  });
676
676
  Object.assign(contents, doc);
@@ -685,7 +685,7 @@ var de_ListDetectorsCommand = /* @__PURE__ */ __name(async (output, context) =>
685
685
  });
686
686
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
687
687
  const doc = (0, import_smithy_client.take)(data, {
688
- detectorSummaries: (_) => de_DetectorSummaries(_, context),
688
+ detectorSummaries: /* @__PURE__ */ __name((_) => de_DetectorSummaries(_, context), "detectorSummaries"),
689
689
  nextToken: import_smithy_client.expectString
690
690
  });
691
691
  Object.assign(contents, doc);
@@ -806,9 +806,9 @@ var de_Alarm = /* @__PURE__ */ __name((output, context) => {
806
806
  alarmModelName: import_smithy_client.expectString,
807
807
  alarmModelVersion: import_smithy_client.expectString,
808
808
  alarmState: import_smithy_client._json,
809
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
809
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
810
810
  keyValue: import_smithy_client.expectString,
811
- lastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
811
+ lastUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdateTime"),
812
812
  severity: import_smithy_client.expectInt32
813
813
  });
814
814
  }, "de_Alarm");
@@ -822,26 +822,26 @@ var de_AlarmSummary = /* @__PURE__ */ __name((output, context) => {
822
822
  return (0, import_smithy_client.take)(output, {
823
823
  alarmModelName: import_smithy_client.expectString,
824
824
  alarmModelVersion: import_smithy_client.expectString,
825
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
825
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
826
826
  keyValue: import_smithy_client.expectString,
827
- lastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
827
+ lastUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdateTime"),
828
828
  stateName: import_smithy_client.expectString
829
829
  });
830
830
  }, "de_AlarmSummary");
831
831
  var de_Detector = /* @__PURE__ */ __name((output, context) => {
832
832
  return (0, import_smithy_client.take)(output, {
833
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
833
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
834
834
  detectorModelName: import_smithy_client.expectString,
835
835
  detectorModelVersion: import_smithy_client.expectString,
836
836
  keyValue: import_smithy_client.expectString,
837
- lastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
838
- state: (_) => de_DetectorState(_, context)
837
+ lastUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdateTime"),
838
+ state: /* @__PURE__ */ __name((_) => de_DetectorState(_, context), "state")
839
839
  });
840
840
  }, "de_Detector");
841
841
  var de_DetectorState = /* @__PURE__ */ __name((output, context) => {
842
842
  return (0, import_smithy_client.take)(output, {
843
843
  stateName: import_smithy_client.expectString,
844
- timers: (_) => de_Timers(_, context),
844
+ timers: /* @__PURE__ */ __name((_) => de_Timers(_, context), "timers"),
845
845
  variables: import_smithy_client._json
846
846
  });
847
847
  }, "de_DetectorState");
@@ -853,18 +853,18 @@ var de_DetectorSummaries = /* @__PURE__ */ __name((output, context) => {
853
853
  }, "de_DetectorSummaries");
854
854
  var de_DetectorSummary = /* @__PURE__ */ __name((output, context) => {
855
855
  return (0, import_smithy_client.take)(output, {
856
- creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
856
+ creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationTime"),
857
857
  detectorModelName: import_smithy_client.expectString,
858
858
  detectorModelVersion: import_smithy_client.expectString,
859
859
  keyValue: import_smithy_client.expectString,
860
- lastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
860
+ lastUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdateTime"),
861
861
  state: import_smithy_client._json
862
862
  });
863
863
  }, "de_DetectorSummary");
864
864
  var de_Timer = /* @__PURE__ */ __name((output, context) => {
865
865
  return (0, import_smithy_client.take)(output, {
866
866
  name: import_smithy_client.expectString,
867
- timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
867
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "timestamp")
868
868
  });
869
869
  }, "de_Timer");
870
870
  var de_Timers = /* @__PURE__ */ __name((output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-events-data",
3
3
  "description": "AWS SDK for JavaScript Iot Events Data Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.772.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-data",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",