@aws-sdk/client-iot-events-data 3.53.0 → 3.55.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 (29) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/IoTEventsDataClient.js +13 -13
  3. package/dist-cjs/commands/BatchAcknowledgeAlarmCommand.js +3 -3
  4. package/dist-cjs/commands/BatchDisableAlarmCommand.js +3 -3
  5. package/dist-cjs/commands/BatchEnableAlarmCommand.js +3 -3
  6. package/dist-cjs/commands/BatchPutMessageCommand.js +3 -3
  7. package/dist-cjs/commands/BatchResetAlarmCommand.js +3 -3
  8. package/dist-cjs/commands/BatchSnoozeAlarmCommand.js +3 -3
  9. package/dist-cjs/commands/BatchUpdateDetectorCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeAlarmCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeDetectorCommand.js +3 -3
  12. package/dist-cjs/commands/ListAlarmsCommand.js +3 -3
  13. package/dist-cjs/commands/ListDetectorsCommand.js +3 -3
  14. package/dist-cjs/endpoints.js +1 -1
  15. package/dist-cjs/protocols/Aws_restJson1.js +88 -88
  16. package/dist-cjs/runtimeConfig.browser.js +4 -4
  17. package/dist-cjs/runtimeConfig.js +9 -9
  18. package/dist-cjs/runtimeConfig.native.js +1 -1
  19. package/dist-es/IoTEventsData.js +11 -11
  20. package/dist-es/protocols/Aws_restJson1.js +11 -11
  21. package/dist-types/IoTEventsDataClient.d.ts +2 -2
  22. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  23. package/dist-types/runtimeConfig.d.ts +1 -1
  24. package/dist-types/runtimeConfig.native.d.ts +3 -3
  25. package/dist-types/ts3.4/IoTEventsDataClient.d.ts +2 -2
  26. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  27. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  28. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  29. package/package.json +34 -34
@@ -180,7 +180,7 @@ const serializeAws_restJson1DescribeAlarmCommand = async (input, context) => {
180
180
  if (labelValue.length <= 0) {
181
181
  throw new Error("Empty value provided for input HTTP label: alarmModelName.");
182
182
  }
183
- resolvedPath = resolvedPath.replace("{alarmModelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
183
+ resolvedPath = resolvedPath.replace("{alarmModelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
184
184
  }
185
185
  else {
186
186
  throw new Error("No value provided for input HTTP label: alarmModelName.");
@@ -210,7 +210,7 @@ const serializeAws_restJson1DescribeDetectorCommand = async (input, context) =>
210
210
  if (labelValue.length <= 0) {
211
211
  throw new Error("Empty value provided for input HTTP label: detectorModelName.");
212
212
  }
213
- resolvedPath = resolvedPath.replace("{detectorModelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
213
+ resolvedPath = resolvedPath.replace("{detectorModelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
214
214
  }
215
215
  else {
216
216
  throw new Error("No value provided for input HTTP label: detectorModelName.");
@@ -240,7 +240,7 @@ const serializeAws_restJson1ListAlarmsCommand = async (input, context) => {
240
240
  if (labelValue.length <= 0) {
241
241
  throw new Error("Empty value provided for input HTTP label: alarmModelName.");
242
242
  }
243
- resolvedPath = resolvedPath.replace("{alarmModelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
243
+ resolvedPath = resolvedPath.replace("{alarmModelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
244
244
  }
245
245
  else {
246
246
  throw new Error("No value provided for input HTTP label: alarmModelName.");
@@ -271,7 +271,7 @@ const serializeAws_restJson1ListDetectorsCommand = async (input, context) => {
271
271
  if (labelValue.length <= 0) {
272
272
  throw new Error("Empty value provided for input HTTP label: detectorModelName.");
273
273
  }
274
- resolvedPath = resolvedPath.replace("{detectorModelName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
274
+ resolvedPath = resolvedPath.replace("{detectorModelName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
275
275
  }
276
276
  else {
277
277
  throw new Error("No value provided for input HTTP label: detectorModelName.");
@@ -302,7 +302,7 @@ const deserializeAws_restJson1BatchAcknowledgeAlarmCommand = async (output, cont
302
302
  $metadata: deserializeMetadata(output),
303
303
  errorEntries: undefined,
304
304
  };
305
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
305
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
306
306
  if (data.errorEntries !== undefined && data.errorEntries !== null) {
307
307
  contents.errorEntries = deserializeAws_restJson1BatchAlarmActionErrorEntries(data.errorEntries, context);
308
308
  }
@@ -337,7 +337,7 @@ const deserializeAws_restJson1BatchAcknowledgeAlarmCommandError = async (output,
337
337
  $fault: "client",
338
338
  $metadata: deserializeMetadata(output),
339
339
  });
340
- throw smithy_client_1.decorateServiceException(response, parsedBody);
340
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
341
341
  }
342
342
  };
343
343
  const deserializeAws_restJson1BatchDisableAlarmCommand = async (output, context) => {
@@ -348,7 +348,7 @@ const deserializeAws_restJson1BatchDisableAlarmCommand = async (output, context)
348
348
  $metadata: deserializeMetadata(output),
349
349
  errorEntries: undefined,
350
350
  };
351
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
351
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
352
352
  if (data.errorEntries !== undefined && data.errorEntries !== null) {
353
353
  contents.errorEntries = deserializeAws_restJson1BatchAlarmActionErrorEntries(data.errorEntries, context);
354
354
  }
@@ -383,7 +383,7 @@ const deserializeAws_restJson1BatchDisableAlarmCommandError = async (output, con
383
383
  $fault: "client",
384
384
  $metadata: deserializeMetadata(output),
385
385
  });
386
- throw smithy_client_1.decorateServiceException(response, parsedBody);
386
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
387
387
  }
388
388
  };
389
389
  const deserializeAws_restJson1BatchEnableAlarmCommand = async (output, context) => {
@@ -394,7 +394,7 @@ const deserializeAws_restJson1BatchEnableAlarmCommand = async (output, context)
394
394
  $metadata: deserializeMetadata(output),
395
395
  errorEntries: undefined,
396
396
  };
397
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
397
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
398
398
  if (data.errorEntries !== undefined && data.errorEntries !== null) {
399
399
  contents.errorEntries = deserializeAws_restJson1BatchAlarmActionErrorEntries(data.errorEntries, context);
400
400
  }
@@ -429,7 +429,7 @@ const deserializeAws_restJson1BatchEnableAlarmCommandError = async (output, cont
429
429
  $fault: "client",
430
430
  $metadata: deserializeMetadata(output),
431
431
  });
432
- throw smithy_client_1.decorateServiceException(response, parsedBody);
432
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
433
433
  }
434
434
  };
435
435
  const deserializeAws_restJson1BatchPutMessageCommand = async (output, context) => {
@@ -440,7 +440,7 @@ const deserializeAws_restJson1BatchPutMessageCommand = async (output, context) =
440
440
  $metadata: deserializeMetadata(output),
441
441
  BatchPutMessageErrorEntries: undefined,
442
442
  };
443
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
443
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
444
444
  if (data.BatchPutMessageErrorEntries !== undefined && data.BatchPutMessageErrorEntries !== null) {
445
445
  contents.BatchPutMessageErrorEntries = deserializeAws_restJson1BatchPutMessageErrorEntries(data.BatchPutMessageErrorEntries, context);
446
446
  }
@@ -475,7 +475,7 @@ const deserializeAws_restJson1BatchPutMessageCommandError = async (output, conte
475
475
  $fault: "client",
476
476
  $metadata: deserializeMetadata(output),
477
477
  });
478
- throw smithy_client_1.decorateServiceException(response, parsedBody);
478
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
479
479
  }
480
480
  };
481
481
  const deserializeAws_restJson1BatchResetAlarmCommand = async (output, context) => {
@@ -486,7 +486,7 @@ const deserializeAws_restJson1BatchResetAlarmCommand = async (output, context) =
486
486
  $metadata: deserializeMetadata(output),
487
487
  errorEntries: undefined,
488
488
  };
489
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
489
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
490
490
  if (data.errorEntries !== undefined && data.errorEntries !== null) {
491
491
  contents.errorEntries = deserializeAws_restJson1BatchAlarmActionErrorEntries(data.errorEntries, context);
492
492
  }
@@ -521,7 +521,7 @@ const deserializeAws_restJson1BatchResetAlarmCommandError = async (output, conte
521
521
  $fault: "client",
522
522
  $metadata: deserializeMetadata(output),
523
523
  });
524
- throw smithy_client_1.decorateServiceException(response, parsedBody);
524
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
525
525
  }
526
526
  };
527
527
  const deserializeAws_restJson1BatchSnoozeAlarmCommand = async (output, context) => {
@@ -532,7 +532,7 @@ const deserializeAws_restJson1BatchSnoozeAlarmCommand = async (output, context)
532
532
  $metadata: deserializeMetadata(output),
533
533
  errorEntries: undefined,
534
534
  };
535
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
535
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
536
536
  if (data.errorEntries !== undefined && data.errorEntries !== null) {
537
537
  contents.errorEntries = deserializeAws_restJson1BatchAlarmActionErrorEntries(data.errorEntries, context);
538
538
  }
@@ -567,7 +567,7 @@ const deserializeAws_restJson1BatchSnoozeAlarmCommandError = async (output, cont
567
567
  $fault: "client",
568
568
  $metadata: deserializeMetadata(output),
569
569
  });
570
- throw smithy_client_1.decorateServiceException(response, parsedBody);
570
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
571
571
  }
572
572
  };
573
573
  const deserializeAws_restJson1BatchUpdateDetectorCommand = async (output, context) => {
@@ -578,7 +578,7 @@ const deserializeAws_restJson1BatchUpdateDetectorCommand = async (output, contex
578
578
  $metadata: deserializeMetadata(output),
579
579
  batchUpdateDetectorErrorEntries: undefined,
580
580
  };
581
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
581
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
582
582
  if (data.batchUpdateDetectorErrorEntries !== undefined && data.batchUpdateDetectorErrorEntries !== null) {
583
583
  contents.batchUpdateDetectorErrorEntries = deserializeAws_restJson1BatchUpdateDetectorErrorEntries(data.batchUpdateDetectorErrorEntries, context);
584
584
  }
@@ -613,7 +613,7 @@ const deserializeAws_restJson1BatchUpdateDetectorCommandError = async (output, c
613
613
  $fault: "client",
614
614
  $metadata: deserializeMetadata(output),
615
615
  });
616
- throw smithy_client_1.decorateServiceException(response, parsedBody);
616
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
617
617
  }
618
618
  };
619
619
  const deserializeAws_restJson1DescribeAlarmCommand = async (output, context) => {
@@ -624,7 +624,7 @@ const deserializeAws_restJson1DescribeAlarmCommand = async (output, context) =>
624
624
  $metadata: deserializeMetadata(output),
625
625
  alarm: undefined,
626
626
  };
627
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
627
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
628
628
  if (data.alarm !== undefined && data.alarm !== null) {
629
629
  contents.alarm = deserializeAws_restJson1Alarm(data.alarm, context);
630
630
  }
@@ -662,7 +662,7 @@ const deserializeAws_restJson1DescribeAlarmCommandError = async (output, context
662
662
  $fault: "client",
663
663
  $metadata: deserializeMetadata(output),
664
664
  });
665
- throw smithy_client_1.decorateServiceException(response, parsedBody);
665
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
666
666
  }
667
667
  };
668
668
  const deserializeAws_restJson1DescribeDetectorCommand = async (output, context) => {
@@ -673,7 +673,7 @@ const deserializeAws_restJson1DescribeDetectorCommand = async (output, context)
673
673
  $metadata: deserializeMetadata(output),
674
674
  detector: undefined,
675
675
  };
676
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
676
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
677
677
  if (data.detector !== undefined && data.detector !== null) {
678
678
  contents.detector = deserializeAws_restJson1Detector(data.detector, context);
679
679
  }
@@ -711,7 +711,7 @@ const deserializeAws_restJson1DescribeDetectorCommandError = async (output, cont
711
711
  $fault: "client",
712
712
  $metadata: deserializeMetadata(output),
713
713
  });
714
- throw smithy_client_1.decorateServiceException(response, parsedBody);
714
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
715
715
  }
716
716
  };
717
717
  const deserializeAws_restJson1ListAlarmsCommand = async (output, context) => {
@@ -723,12 +723,12 @@ const deserializeAws_restJson1ListAlarmsCommand = async (output, context) => {
723
723
  alarmSummaries: undefined,
724
724
  nextToken: undefined,
725
725
  };
726
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
726
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
727
727
  if (data.alarmSummaries !== undefined && data.alarmSummaries !== null) {
728
728
  contents.alarmSummaries = deserializeAws_restJson1AlarmSummaries(data.alarmSummaries, context);
729
729
  }
730
730
  if (data.nextToken !== undefined && data.nextToken !== null) {
731
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
731
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
732
732
  }
733
733
  return Promise.resolve(contents);
734
734
  };
@@ -764,7 +764,7 @@ const deserializeAws_restJson1ListAlarmsCommandError = async (output, context) =
764
764
  $fault: "client",
765
765
  $metadata: deserializeMetadata(output),
766
766
  });
767
- throw smithy_client_1.decorateServiceException(response, parsedBody);
767
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
768
768
  }
769
769
  };
770
770
  const deserializeAws_restJson1ListDetectorsCommand = async (output, context) => {
@@ -776,12 +776,12 @@ const deserializeAws_restJson1ListDetectorsCommand = async (output, context) =>
776
776
  detectorSummaries: undefined,
777
777
  nextToken: undefined,
778
778
  };
779
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
779
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
780
780
  if (data.detectorSummaries !== undefined && data.detectorSummaries !== null) {
781
781
  contents.detectorSummaries = deserializeAws_restJson1DetectorSummaries(data.detectorSummaries, context);
782
782
  }
783
783
  if (data.nextToken !== undefined && data.nextToken !== null) {
784
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
784
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
785
785
  }
786
786
  return Promise.resolve(contents);
787
787
  };
@@ -817,68 +817,68 @@ const deserializeAws_restJson1ListDetectorsCommandError = async (output, context
817
817
  $fault: "client",
818
818
  $metadata: deserializeMetadata(output),
819
819
  });
820
- throw smithy_client_1.decorateServiceException(response, parsedBody);
820
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
821
821
  }
822
822
  };
823
823
  const deserializeAws_restJson1InternalFailureExceptionResponse = async (parsedOutput, context) => {
824
824
  const contents = {};
825
825
  const data = parsedOutput.body;
826
826
  if (data.message !== undefined && data.message !== null) {
827
- contents.message = smithy_client_1.expectString(data.message);
827
+ contents.message = (0, smithy_client_1.expectString)(data.message);
828
828
  }
829
829
  const exception = new models_0_1.InternalFailureException({
830
830
  $metadata: deserializeMetadata(parsedOutput),
831
831
  ...contents,
832
832
  });
833
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
833
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
834
834
  };
835
835
  const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
836
836
  const contents = {};
837
837
  const data = parsedOutput.body;
838
838
  if (data.message !== undefined && data.message !== null) {
839
- contents.message = smithy_client_1.expectString(data.message);
839
+ contents.message = (0, smithy_client_1.expectString)(data.message);
840
840
  }
841
841
  const exception = new models_0_1.InvalidRequestException({
842
842
  $metadata: deserializeMetadata(parsedOutput),
843
843
  ...contents,
844
844
  });
845
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
845
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
846
846
  };
847
847
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
848
848
  const contents = {};
849
849
  const data = parsedOutput.body;
850
850
  if (data.message !== undefined && data.message !== null) {
851
- contents.message = smithy_client_1.expectString(data.message);
851
+ contents.message = (0, smithy_client_1.expectString)(data.message);
852
852
  }
853
853
  const exception = new models_0_1.ResourceNotFoundException({
854
854
  $metadata: deserializeMetadata(parsedOutput),
855
855
  ...contents,
856
856
  });
857
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
857
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
858
858
  };
859
859
  const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
860
860
  const contents = {};
861
861
  const data = parsedOutput.body;
862
862
  if (data.message !== undefined && data.message !== null) {
863
- contents.message = smithy_client_1.expectString(data.message);
863
+ contents.message = (0, smithy_client_1.expectString)(data.message);
864
864
  }
865
865
  const exception = new models_0_1.ServiceUnavailableException({
866
866
  $metadata: deserializeMetadata(parsedOutput),
867
867
  ...contents,
868
868
  });
869
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
869
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
870
870
  };
871
871
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
872
872
  const contents = {};
873
873
  const data = parsedOutput.body;
874
874
  if (data.message !== undefined && data.message !== null) {
875
- contents.message = smithy_client_1.expectString(data.message);
875
+ contents.message = (0, smithy_client_1.expectString)(data.message);
876
876
  }
877
877
  const exception = new models_0_1.ThrottlingException({
878
878
  $metadata: deserializeMetadata(parsedOutput),
879
879
  ...contents,
880
880
  });
881
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
881
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
882
882
  };
883
883
  const serializeAws_restJson1AcknowledgeAlarmActionRequest = (input, context) => {
884
884
  return {
@@ -1064,24 +1064,24 @@ const serializeAws_restJson1VariableDefinitions = (input, context) => {
1064
1064
  };
1065
1065
  const deserializeAws_restJson1AcknowledgeActionConfiguration = (output, context) => {
1066
1066
  return {
1067
- note: smithy_client_1.expectString(output.note),
1067
+ note: (0, smithy_client_1.expectString)(output.note),
1068
1068
  };
1069
1069
  };
1070
1070
  const deserializeAws_restJson1Alarm = (output, context) => {
1071
1071
  return {
1072
- alarmModelName: smithy_client_1.expectString(output.alarmModelName),
1073
- alarmModelVersion: smithy_client_1.expectString(output.alarmModelVersion),
1072
+ alarmModelName: (0, smithy_client_1.expectString)(output.alarmModelName),
1073
+ alarmModelVersion: (0, smithy_client_1.expectString)(output.alarmModelVersion),
1074
1074
  alarmState: output.alarmState !== undefined && output.alarmState !== null
1075
1075
  ? deserializeAws_restJson1AlarmState(output.alarmState, context)
1076
1076
  : undefined,
1077
1077
  creationTime: output.creationTime !== undefined && output.creationTime !== null
1078
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
1078
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
1079
1079
  : undefined,
1080
- keyValue: smithy_client_1.expectString(output.keyValue),
1080
+ keyValue: (0, smithy_client_1.expectString)(output.keyValue),
1081
1081
  lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
1082
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdateTime)))
1082
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
1083
1083
  : undefined,
1084
- severity: smithy_client_1.expectInt32(output.severity),
1084
+ severity: (0, smithy_client_1.expectInt32)(output.severity),
1085
1085
  };
1086
1086
  };
1087
1087
  const deserializeAws_restJson1AlarmState = (output, context) => {
@@ -1092,7 +1092,7 @@ const deserializeAws_restJson1AlarmState = (output, context) => {
1092
1092
  ruleEvaluation: output.ruleEvaluation !== undefined && output.ruleEvaluation !== null
1093
1093
  ? deserializeAws_restJson1RuleEvaluation(output.ruleEvaluation, context)
1094
1094
  : undefined,
1095
- stateName: smithy_client_1.expectString(output.stateName),
1095
+ stateName: (0, smithy_client_1.expectString)(output.stateName),
1096
1096
  systemEvent: output.systemEvent !== undefined && output.systemEvent !== null
1097
1097
  ? deserializeAws_restJson1SystemEvent(output.systemEvent, context)
1098
1098
  : undefined,
@@ -1111,16 +1111,16 @@ const deserializeAws_restJson1AlarmSummaries = (output, context) => {
1111
1111
  };
1112
1112
  const deserializeAws_restJson1AlarmSummary = (output, context) => {
1113
1113
  return {
1114
- alarmModelName: smithy_client_1.expectString(output.alarmModelName),
1115
- alarmModelVersion: smithy_client_1.expectString(output.alarmModelVersion),
1114
+ alarmModelName: (0, smithy_client_1.expectString)(output.alarmModelName),
1115
+ alarmModelVersion: (0, smithy_client_1.expectString)(output.alarmModelVersion),
1116
1116
  creationTime: output.creationTime !== undefined && output.creationTime !== null
1117
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
1117
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
1118
1118
  : undefined,
1119
- keyValue: smithy_client_1.expectString(output.keyValue),
1119
+ keyValue: (0, smithy_client_1.expectString)(output.keyValue),
1120
1120
  lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
1121
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdateTime)))
1121
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
1122
1122
  : undefined,
1123
- stateName: smithy_client_1.expectString(output.stateName),
1123
+ stateName: (0, smithy_client_1.expectString)(output.stateName),
1124
1124
  };
1125
1125
  };
1126
1126
  const deserializeAws_restJson1BatchAlarmActionErrorEntries = (output, context) => {
@@ -1136,9 +1136,9 @@ const deserializeAws_restJson1BatchAlarmActionErrorEntries = (output, context) =
1136
1136
  };
1137
1137
  const deserializeAws_restJson1BatchAlarmActionErrorEntry = (output, context) => {
1138
1138
  return {
1139
- errorCode: smithy_client_1.expectString(output.errorCode),
1140
- errorMessage: smithy_client_1.expectString(output.errorMessage),
1141
- requestId: smithy_client_1.expectString(output.requestId),
1139
+ errorCode: (0, smithy_client_1.expectString)(output.errorCode),
1140
+ errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
1141
+ requestId: (0, smithy_client_1.expectString)(output.requestId),
1142
1142
  };
1143
1143
  };
1144
1144
  const deserializeAws_restJson1BatchPutMessageErrorEntries = (output, context) => {
@@ -1154,9 +1154,9 @@ const deserializeAws_restJson1BatchPutMessageErrorEntries = (output, context) =>
1154
1154
  };
1155
1155
  const deserializeAws_restJson1BatchPutMessageErrorEntry = (output, context) => {
1156
1156
  return {
1157
- errorCode: smithy_client_1.expectString(output.errorCode),
1158
- errorMessage: smithy_client_1.expectString(output.errorMessage),
1159
- messageId: smithy_client_1.expectString(output.messageId),
1157
+ errorCode: (0, smithy_client_1.expectString)(output.errorCode),
1158
+ errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
1159
+ messageId: (0, smithy_client_1.expectString)(output.messageId),
1160
1160
  };
1161
1161
  };
1162
1162
  const deserializeAws_restJson1BatchUpdateDetectorErrorEntries = (output, context) => {
@@ -1172,9 +1172,9 @@ const deserializeAws_restJson1BatchUpdateDetectorErrorEntries = (output, context
1172
1172
  };
1173
1173
  const deserializeAws_restJson1BatchUpdateDetectorErrorEntry = (output, context) => {
1174
1174
  return {
1175
- errorCode: smithy_client_1.expectString(output.errorCode),
1176
- errorMessage: smithy_client_1.expectString(output.errorMessage),
1177
- messageId: smithy_client_1.expectString(output.messageId),
1175
+ errorCode: (0, smithy_client_1.expectString)(output.errorCode),
1176
+ errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
1177
+ messageId: (0, smithy_client_1.expectString)(output.messageId),
1178
1178
  };
1179
1179
  };
1180
1180
  const deserializeAws_restJson1CustomerAction = (output, context) => {
@@ -1182,7 +1182,7 @@ const deserializeAws_restJson1CustomerAction = (output, context) => {
1182
1182
  acknowledgeActionConfiguration: output.acknowledgeActionConfiguration !== undefined && output.acknowledgeActionConfiguration !== null
1183
1183
  ? deserializeAws_restJson1AcknowledgeActionConfiguration(output.acknowledgeActionConfiguration, context)
1184
1184
  : undefined,
1185
- actionName: smithy_client_1.expectString(output.actionName),
1185
+ actionName: (0, smithy_client_1.expectString)(output.actionName),
1186
1186
  disableActionConfiguration: output.disableActionConfiguration !== undefined && output.disableActionConfiguration !== null
1187
1187
  ? deserializeAws_restJson1DisableActionConfiguration(output.disableActionConfiguration, context)
1188
1188
  : undefined,
@@ -1200,13 +1200,13 @@ const deserializeAws_restJson1CustomerAction = (output, context) => {
1200
1200
  const deserializeAws_restJson1Detector = (output, context) => {
1201
1201
  return {
1202
1202
  creationTime: output.creationTime !== undefined && output.creationTime !== null
1203
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
1203
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
1204
1204
  : undefined,
1205
- detectorModelName: smithy_client_1.expectString(output.detectorModelName),
1206
- detectorModelVersion: smithy_client_1.expectString(output.detectorModelVersion),
1207
- keyValue: smithy_client_1.expectString(output.keyValue),
1205
+ detectorModelName: (0, smithy_client_1.expectString)(output.detectorModelName),
1206
+ detectorModelVersion: (0, smithy_client_1.expectString)(output.detectorModelVersion),
1207
+ keyValue: (0, smithy_client_1.expectString)(output.keyValue),
1208
1208
  lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
1209
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdateTime)))
1209
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
1210
1210
  : undefined,
1211
1211
  state: output.state !== undefined && output.state !== null
1212
1212
  ? deserializeAws_restJson1DetectorState(output.state, context)
@@ -1215,7 +1215,7 @@ const deserializeAws_restJson1Detector = (output, context) => {
1215
1215
  };
1216
1216
  const deserializeAws_restJson1DetectorState = (output, context) => {
1217
1217
  return {
1218
- stateName: smithy_client_1.expectString(output.stateName),
1218
+ stateName: (0, smithy_client_1.expectString)(output.stateName),
1219
1219
  timers: output.timers !== undefined && output.timers !== null
1220
1220
  ? deserializeAws_restJson1Timers(output.timers, context)
1221
1221
  : undefined,
@@ -1226,7 +1226,7 @@ const deserializeAws_restJson1DetectorState = (output, context) => {
1226
1226
  };
1227
1227
  const deserializeAws_restJson1DetectorStateSummary = (output, context) => {
1228
1228
  return {
1229
- stateName: smithy_client_1.expectString(output.stateName),
1229
+ stateName: (0, smithy_client_1.expectString)(output.stateName),
1230
1230
  };
1231
1231
  };
1232
1232
  const deserializeAws_restJson1DetectorSummaries = (output, context) => {
@@ -1243,13 +1243,13 @@ const deserializeAws_restJson1DetectorSummaries = (output, context) => {
1243
1243
  const deserializeAws_restJson1DetectorSummary = (output, context) => {
1244
1244
  return {
1245
1245
  creationTime: output.creationTime !== undefined && output.creationTime !== null
1246
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
1246
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
1247
1247
  : undefined,
1248
- detectorModelName: smithy_client_1.expectString(output.detectorModelName),
1249
- detectorModelVersion: smithy_client_1.expectString(output.detectorModelVersion),
1250
- keyValue: smithy_client_1.expectString(output.keyValue),
1248
+ detectorModelName: (0, smithy_client_1.expectString)(output.detectorModelName),
1249
+ detectorModelVersion: (0, smithy_client_1.expectString)(output.detectorModelVersion),
1250
+ keyValue: (0, smithy_client_1.expectString)(output.keyValue),
1251
1251
  lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
1252
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdateTime)))
1252
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
1253
1253
  : undefined,
1254
1254
  state: output.state !== undefined && output.state !== null
1255
1255
  ? deserializeAws_restJson1DetectorStateSummary(output.state, context)
@@ -1258,17 +1258,17 @@ const deserializeAws_restJson1DetectorSummary = (output, context) => {
1258
1258
  };
1259
1259
  const deserializeAws_restJson1DisableActionConfiguration = (output, context) => {
1260
1260
  return {
1261
- note: smithy_client_1.expectString(output.note),
1261
+ note: (0, smithy_client_1.expectString)(output.note),
1262
1262
  };
1263
1263
  };
1264
1264
  const deserializeAws_restJson1EnableActionConfiguration = (output, context) => {
1265
1265
  return {
1266
- note: smithy_client_1.expectString(output.note),
1266
+ note: (0, smithy_client_1.expectString)(output.note),
1267
1267
  };
1268
1268
  };
1269
1269
  const deserializeAws_restJson1ResetActionConfiguration = (output, context) => {
1270
1270
  return {
1271
- note: smithy_client_1.expectString(output.note),
1271
+ note: (0, smithy_client_1.expectString)(output.note),
1272
1272
  };
1273
1273
  };
1274
1274
  const deserializeAws_restJson1RuleEvaluation = (output, context) => {
@@ -1280,25 +1280,25 @@ const deserializeAws_restJson1RuleEvaluation = (output, context) => {
1280
1280
  };
1281
1281
  const deserializeAws_restJson1SimpleRuleEvaluation = (output, context) => {
1282
1282
  return {
1283
- inputPropertyValue: smithy_client_1.expectString(output.inputPropertyValue),
1284
- operator: smithy_client_1.expectString(output.operator),
1285
- thresholdValue: smithy_client_1.expectString(output.thresholdValue),
1283
+ inputPropertyValue: (0, smithy_client_1.expectString)(output.inputPropertyValue),
1284
+ operator: (0, smithy_client_1.expectString)(output.operator),
1285
+ thresholdValue: (0, smithy_client_1.expectString)(output.thresholdValue),
1286
1286
  };
1287
1287
  };
1288
1288
  const deserializeAws_restJson1SnoozeActionConfiguration = (output, context) => {
1289
1289
  return {
1290
- note: smithy_client_1.expectString(output.note),
1291
- snoozeDuration: smithy_client_1.expectInt32(output.snoozeDuration),
1290
+ note: (0, smithy_client_1.expectString)(output.note),
1291
+ snoozeDuration: (0, smithy_client_1.expectInt32)(output.snoozeDuration),
1292
1292
  };
1293
1293
  };
1294
1294
  const deserializeAws_restJson1StateChangeConfiguration = (output, context) => {
1295
1295
  return {
1296
- triggerType: smithy_client_1.expectString(output.triggerType),
1296
+ triggerType: (0, smithy_client_1.expectString)(output.triggerType),
1297
1297
  };
1298
1298
  };
1299
1299
  const deserializeAws_restJson1SystemEvent = (output, context) => {
1300
1300
  return {
1301
- eventType: smithy_client_1.expectString(output.eventType),
1301
+ eventType: (0, smithy_client_1.expectString)(output.eventType),
1302
1302
  stateChangeConfiguration: output.stateChangeConfiguration !== undefined && output.stateChangeConfiguration !== null
1303
1303
  ? deserializeAws_restJson1StateChangeConfiguration(output.stateChangeConfiguration, context)
1304
1304
  : undefined,
@@ -1306,9 +1306,9 @@ const deserializeAws_restJson1SystemEvent = (output, context) => {
1306
1306
  };
1307
1307
  const deserializeAws_restJson1Timer = (output, context) => {
1308
1308
  return {
1309
- name: smithy_client_1.expectString(output.name),
1309
+ name: (0, smithy_client_1.expectString)(output.name),
1310
1310
  timestamp: output.timestamp !== undefined && output.timestamp !== null
1311
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.timestamp)))
1311
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.timestamp)))
1312
1312
  : undefined,
1313
1313
  };
1314
1314
  };
@@ -1325,8 +1325,8 @@ const deserializeAws_restJson1Timers = (output, context) => {
1325
1325
  };
1326
1326
  const deserializeAws_restJson1Variable = (output, context) => {
1327
1327
  return {
1328
- name: smithy_client_1.expectString(output.name),
1329
- value: smithy_client_1.expectString(output.value),
1328
+ name: (0, smithy_client_1.expectString)(output.name),
1329
+ value: (0, smithy_client_1.expectString)(output.value),
1330
1330
  };
1331
1331
  };
1332
1332
  const deserializeAws_restJson1Variables = (output, context) => {
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
17
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
18
18
  const getRuntimeConfig = (config) => {
19
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
- const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
20
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
21
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
22
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
29
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
31
  credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
34
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
35
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
36
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const getRuntimeConfig = (config) => {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
- const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  return {
26
26
  ...clientSharedValues,
27
27
  ...config,
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
30
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
33
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
34
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
34
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
39
39
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
40
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
41
  }),
42
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
43
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
44
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
46
46
  utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
47
47
  utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
48
48
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,