@aws-sdk/client-iot-events-data 3.716.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
@@ -147,7 +147,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
147
147
  }, "resolveRuntimeExtensions");
148
148
 
149
149
  // src/IoTEventsDataClient.ts
150
- var _IoTEventsDataClient = class _IoTEventsDataClient extends import_smithy_client.Client {
150
+ var IoTEventsDataClient = class extends import_smithy_client.Client {
151
+ static {
152
+ __name(this, "IoTEventsDataClient");
153
+ }
154
+ /**
155
+ * The resolved configuration of IoTEventsDataClient class. This is resolved and normalized from the {@link IoTEventsDataClientConfig | constructor configuration interface}.
156
+ */
157
+ config;
151
158
  constructor(...[configuration]) {
152
159
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
153
160
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -157,7 +164,7 @@ var _IoTEventsDataClient = class _IoTEventsDataClient extends import_smithy_clie
157
164
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
158
165
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
159
166
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
160
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
167
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
161
168
  super(_config_8);
162
169
  this.config = _config_8;
163
170
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -185,8 +192,6 @@ var _IoTEventsDataClient = class _IoTEventsDataClient extends import_smithy_clie
185
192
  super.destroy();
186
193
  }
187
194
  };
188
- __name(_IoTEventsDataClient, "IoTEventsDataClient");
189
- var IoTEventsDataClient = _IoTEventsDataClient;
190
195
 
191
196
  // src/IoTEventsData.ts
192
197
 
@@ -203,7 +208,10 @@ var import_core2 = require("@aws-sdk/core");
203
208
 
204
209
  // src/models/IoTEventsDataServiceException.ts
205
210
 
206
- var _IoTEventsDataServiceException = class _IoTEventsDataServiceException extends import_smithy_client.ServiceException {
211
+ var IoTEventsDataServiceException = class _IoTEventsDataServiceException extends import_smithy_client.ServiceException {
212
+ static {
213
+ __name(this, "IoTEventsDataServiceException");
214
+ }
207
215
  /**
208
216
  * @internal
209
217
  */
@@ -212,8 +220,6 @@ var _IoTEventsDataServiceException = class _IoTEventsDataServiceException extend
212
220
  Object.setPrototypeOf(this, _IoTEventsDataServiceException.prototype);
213
221
  }
214
222
  };
215
- __name(_IoTEventsDataServiceException, "IoTEventsDataServiceException");
216
- var IoTEventsDataServiceException = _IoTEventsDataServiceException;
217
223
 
218
224
  // src/models/models_0.ts
219
225
  var CustomerActionName = {
@@ -252,7 +258,12 @@ var ErrorCode = {
252
258
  ServiceUnavailableException: "ServiceUnavailableException",
253
259
  ThrottlingException: "ThrottlingException"
254
260
  };
255
- var _InternalFailureException = class _InternalFailureException extends IoTEventsDataServiceException {
261
+ var InternalFailureException = class _InternalFailureException extends IoTEventsDataServiceException {
262
+ static {
263
+ __name(this, "InternalFailureException");
264
+ }
265
+ name = "InternalFailureException";
266
+ $fault = "server";
256
267
  /**
257
268
  * @internal
258
269
  */
@@ -262,14 +273,15 @@ var _InternalFailureException = class _InternalFailureException extends IoTEvent
262
273
  $fault: "server",
263
274
  ...opts
264
275
  });
265
- this.name = "InternalFailureException";
266
- this.$fault = "server";
267
276
  Object.setPrototypeOf(this, _InternalFailureException.prototype);
268
277
  }
269
278
  };
270
- __name(_InternalFailureException, "InternalFailureException");
271
- var InternalFailureException = _InternalFailureException;
272
- var _InvalidRequestException = class _InvalidRequestException extends IoTEventsDataServiceException {
279
+ var InvalidRequestException = class _InvalidRequestException extends IoTEventsDataServiceException {
280
+ static {
281
+ __name(this, "InvalidRequestException");
282
+ }
283
+ name = "InvalidRequestException";
284
+ $fault = "client";
273
285
  /**
274
286
  * @internal
275
287
  */
@@ -279,14 +291,15 @@ var _InvalidRequestException = class _InvalidRequestException extends IoTEventsD
279
291
  $fault: "client",
280
292
  ...opts
281
293
  });
282
- this.name = "InvalidRequestException";
283
- this.$fault = "client";
284
294
  Object.setPrototypeOf(this, _InvalidRequestException.prototype);
285
295
  }
286
296
  };
287
- __name(_InvalidRequestException, "InvalidRequestException");
288
- var InvalidRequestException = _InvalidRequestException;
289
- var _ServiceUnavailableException = class _ServiceUnavailableException extends IoTEventsDataServiceException {
297
+ var ServiceUnavailableException = class _ServiceUnavailableException extends IoTEventsDataServiceException {
298
+ static {
299
+ __name(this, "ServiceUnavailableException");
300
+ }
301
+ name = "ServiceUnavailableException";
302
+ $fault = "server";
290
303
  /**
291
304
  * @internal
292
305
  */
@@ -296,14 +309,15 @@ var _ServiceUnavailableException = class _ServiceUnavailableException extends Io
296
309
  $fault: "server",
297
310
  ...opts
298
311
  });
299
- this.name = "ServiceUnavailableException";
300
- this.$fault = "server";
301
312
  Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
302
313
  }
303
314
  };
304
- __name(_ServiceUnavailableException, "ServiceUnavailableException");
305
- var ServiceUnavailableException = _ServiceUnavailableException;
306
- var _ThrottlingException = class _ThrottlingException extends IoTEventsDataServiceException {
315
+ var ThrottlingException = class _ThrottlingException extends IoTEventsDataServiceException {
316
+ static {
317
+ __name(this, "ThrottlingException");
318
+ }
319
+ name = "ThrottlingException";
320
+ $fault = "client";
307
321
  /**
308
322
  * @internal
309
323
  */
@@ -313,14 +327,15 @@ var _ThrottlingException = class _ThrottlingException extends IoTEventsDataServi
313
327
  $fault: "client",
314
328
  ...opts
315
329
  });
316
- this.name = "ThrottlingException";
317
- this.$fault = "client";
318
330
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
319
331
  }
320
332
  };
321
- __name(_ThrottlingException, "ThrottlingException");
322
- var ThrottlingException = _ThrottlingException;
323
- var _ResourceNotFoundException = class _ResourceNotFoundException extends IoTEventsDataServiceException {
333
+ var ResourceNotFoundException = class _ResourceNotFoundException extends IoTEventsDataServiceException {
334
+ static {
335
+ __name(this, "ResourceNotFoundException");
336
+ }
337
+ name = "ResourceNotFoundException";
338
+ $fault = "client";
324
339
  /**
325
340
  * @internal
326
341
  */
@@ -330,13 +345,9 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends IoTEve
330
345
  $fault: "client",
331
346
  ...opts
332
347
  });
333
- this.name = "ResourceNotFoundException";
334
- this.$fault = "client";
335
348
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
336
349
  }
337
350
  };
338
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
339
- var ResourceNotFoundException = _ResourceNotFoundException;
340
351
 
341
352
  // src/protocols/Aws_restJson1.ts
342
353
  var se_BatchAcknowledgeAlarmCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -874,169 +885,181 @@ var _nT = "nextToken";
874
885
  var _sN = "stateName";
875
886
 
876
887
  // src/commands/BatchAcknowledgeAlarmCommand.ts
877
- var _BatchAcknowledgeAlarmCommand = class _BatchAcknowledgeAlarmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
888
+ var BatchAcknowledgeAlarmCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
878
889
  return [
879
890
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
880
891
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
881
892
  ];
882
893
  }).s("IotColumboDataService", "BatchAcknowledgeAlarm", {}).n("IoTEventsDataClient", "BatchAcknowledgeAlarmCommand").f(void 0, void 0).ser(se_BatchAcknowledgeAlarmCommand).de(de_BatchAcknowledgeAlarmCommand).build() {
894
+ static {
895
+ __name(this, "BatchAcknowledgeAlarmCommand");
896
+ }
883
897
  };
884
- __name(_BatchAcknowledgeAlarmCommand, "BatchAcknowledgeAlarmCommand");
885
- var BatchAcknowledgeAlarmCommand = _BatchAcknowledgeAlarmCommand;
886
898
 
887
899
  // src/commands/BatchDeleteDetectorCommand.ts
888
900
 
889
901
 
890
902
 
891
- var _BatchDeleteDetectorCommand = class _BatchDeleteDetectorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
903
+ var BatchDeleteDetectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
892
904
  return [
893
905
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
894
906
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
895
907
  ];
896
908
  }).s("IotColumboDataService", "BatchDeleteDetector", {}).n("IoTEventsDataClient", "BatchDeleteDetectorCommand").f(void 0, void 0).ser(se_BatchDeleteDetectorCommand).de(de_BatchDeleteDetectorCommand).build() {
909
+ static {
910
+ __name(this, "BatchDeleteDetectorCommand");
911
+ }
897
912
  };
898
- __name(_BatchDeleteDetectorCommand, "BatchDeleteDetectorCommand");
899
- var BatchDeleteDetectorCommand = _BatchDeleteDetectorCommand;
900
913
 
901
914
  // src/commands/BatchDisableAlarmCommand.ts
902
915
 
903
916
 
904
917
 
905
- var _BatchDisableAlarmCommand = class _BatchDisableAlarmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
918
+ var BatchDisableAlarmCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
906
919
  return [
907
920
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
908
921
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
909
922
  ];
910
923
  }).s("IotColumboDataService", "BatchDisableAlarm", {}).n("IoTEventsDataClient", "BatchDisableAlarmCommand").f(void 0, void 0).ser(se_BatchDisableAlarmCommand).de(de_BatchDisableAlarmCommand).build() {
924
+ static {
925
+ __name(this, "BatchDisableAlarmCommand");
926
+ }
911
927
  };
912
- __name(_BatchDisableAlarmCommand, "BatchDisableAlarmCommand");
913
- var BatchDisableAlarmCommand = _BatchDisableAlarmCommand;
914
928
 
915
929
  // src/commands/BatchEnableAlarmCommand.ts
916
930
 
917
931
 
918
932
 
919
- var _BatchEnableAlarmCommand = class _BatchEnableAlarmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
933
+ var BatchEnableAlarmCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
920
934
  return [
921
935
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
922
936
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
923
937
  ];
924
938
  }).s("IotColumboDataService", "BatchEnableAlarm", {}).n("IoTEventsDataClient", "BatchEnableAlarmCommand").f(void 0, void 0).ser(se_BatchEnableAlarmCommand).de(de_BatchEnableAlarmCommand).build() {
939
+ static {
940
+ __name(this, "BatchEnableAlarmCommand");
941
+ }
925
942
  };
926
- __name(_BatchEnableAlarmCommand, "BatchEnableAlarmCommand");
927
- var BatchEnableAlarmCommand = _BatchEnableAlarmCommand;
928
943
 
929
944
  // src/commands/BatchPutMessageCommand.ts
930
945
 
931
946
 
932
947
 
933
- var _BatchPutMessageCommand = class _BatchPutMessageCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
948
+ var BatchPutMessageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
934
949
  return [
935
950
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
936
951
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
937
952
  ];
938
953
  }).s("IotColumboDataService", "BatchPutMessage", {}).n("IoTEventsDataClient", "BatchPutMessageCommand").f(void 0, void 0).ser(se_BatchPutMessageCommand).de(de_BatchPutMessageCommand).build() {
954
+ static {
955
+ __name(this, "BatchPutMessageCommand");
956
+ }
939
957
  };
940
- __name(_BatchPutMessageCommand, "BatchPutMessageCommand");
941
- var BatchPutMessageCommand = _BatchPutMessageCommand;
942
958
 
943
959
  // src/commands/BatchResetAlarmCommand.ts
944
960
 
945
961
 
946
962
 
947
- var _BatchResetAlarmCommand = class _BatchResetAlarmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
963
+ var BatchResetAlarmCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
948
964
  return [
949
965
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
950
966
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
951
967
  ];
952
968
  }).s("IotColumboDataService", "BatchResetAlarm", {}).n("IoTEventsDataClient", "BatchResetAlarmCommand").f(void 0, void 0).ser(se_BatchResetAlarmCommand).de(de_BatchResetAlarmCommand).build() {
969
+ static {
970
+ __name(this, "BatchResetAlarmCommand");
971
+ }
953
972
  };
954
- __name(_BatchResetAlarmCommand, "BatchResetAlarmCommand");
955
- var BatchResetAlarmCommand = _BatchResetAlarmCommand;
956
973
 
957
974
  // src/commands/BatchSnoozeAlarmCommand.ts
958
975
 
959
976
 
960
977
 
961
- var _BatchSnoozeAlarmCommand = class _BatchSnoozeAlarmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
978
+ var BatchSnoozeAlarmCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
962
979
  return [
963
980
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
964
981
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
965
982
  ];
966
983
  }).s("IotColumboDataService", "BatchSnoozeAlarm", {}).n("IoTEventsDataClient", "BatchSnoozeAlarmCommand").f(void 0, void 0).ser(se_BatchSnoozeAlarmCommand).de(de_BatchSnoozeAlarmCommand).build() {
984
+ static {
985
+ __name(this, "BatchSnoozeAlarmCommand");
986
+ }
967
987
  };
968
- __name(_BatchSnoozeAlarmCommand, "BatchSnoozeAlarmCommand");
969
- var BatchSnoozeAlarmCommand = _BatchSnoozeAlarmCommand;
970
988
 
971
989
  // src/commands/BatchUpdateDetectorCommand.ts
972
990
 
973
991
 
974
992
 
975
- var _BatchUpdateDetectorCommand = class _BatchUpdateDetectorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
993
+ var BatchUpdateDetectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
976
994
  return [
977
995
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
978
996
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
979
997
  ];
980
998
  }).s("IotColumboDataService", "BatchUpdateDetector", {}).n("IoTEventsDataClient", "BatchUpdateDetectorCommand").f(void 0, void 0).ser(se_BatchUpdateDetectorCommand).de(de_BatchUpdateDetectorCommand).build() {
999
+ static {
1000
+ __name(this, "BatchUpdateDetectorCommand");
1001
+ }
981
1002
  };
982
- __name(_BatchUpdateDetectorCommand, "BatchUpdateDetectorCommand");
983
- var BatchUpdateDetectorCommand = _BatchUpdateDetectorCommand;
984
1003
 
985
1004
  // src/commands/DescribeAlarmCommand.ts
986
1005
 
987
1006
 
988
1007
 
989
- var _DescribeAlarmCommand = class _DescribeAlarmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1008
+ var DescribeAlarmCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
990
1009
  return [
991
1010
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
992
1011
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
993
1012
  ];
994
1013
  }).s("IotColumboDataService", "DescribeAlarm", {}).n("IoTEventsDataClient", "DescribeAlarmCommand").f(void 0, void 0).ser(se_DescribeAlarmCommand).de(de_DescribeAlarmCommand).build() {
1014
+ static {
1015
+ __name(this, "DescribeAlarmCommand");
1016
+ }
995
1017
  };
996
- __name(_DescribeAlarmCommand, "DescribeAlarmCommand");
997
- var DescribeAlarmCommand = _DescribeAlarmCommand;
998
1018
 
999
1019
  // src/commands/DescribeDetectorCommand.ts
1000
1020
 
1001
1021
 
1002
1022
 
1003
- var _DescribeDetectorCommand = class _DescribeDetectorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1023
+ var DescribeDetectorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1004
1024
  return [
1005
1025
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1006
1026
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1007
1027
  ];
1008
1028
  }).s("IotColumboDataService", "DescribeDetector", {}).n("IoTEventsDataClient", "DescribeDetectorCommand").f(void 0, void 0).ser(se_DescribeDetectorCommand).de(de_DescribeDetectorCommand).build() {
1029
+ static {
1030
+ __name(this, "DescribeDetectorCommand");
1031
+ }
1009
1032
  };
1010
- __name(_DescribeDetectorCommand, "DescribeDetectorCommand");
1011
- var DescribeDetectorCommand = _DescribeDetectorCommand;
1012
1033
 
1013
1034
  // src/commands/ListAlarmsCommand.ts
1014
1035
 
1015
1036
 
1016
1037
 
1017
- var _ListAlarmsCommand = class _ListAlarmsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1038
+ var ListAlarmsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1018
1039
  return [
1019
1040
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1020
1041
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1021
1042
  ];
1022
1043
  }).s("IotColumboDataService", "ListAlarms", {}).n("IoTEventsDataClient", "ListAlarmsCommand").f(void 0, void 0).ser(se_ListAlarmsCommand).de(de_ListAlarmsCommand).build() {
1044
+ static {
1045
+ __name(this, "ListAlarmsCommand");
1046
+ }
1023
1047
  };
1024
- __name(_ListAlarmsCommand, "ListAlarmsCommand");
1025
- var ListAlarmsCommand = _ListAlarmsCommand;
1026
1048
 
1027
1049
  // src/commands/ListDetectorsCommand.ts
1028
1050
 
1029
1051
 
1030
1052
 
1031
- var _ListDetectorsCommand = class _ListDetectorsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1053
+ var ListDetectorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1032
1054
  return [
1033
1055
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1034
1056
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1035
1057
  ];
1036
1058
  }).s("IotColumboDataService", "ListDetectors", {}).n("IoTEventsDataClient", "ListDetectorsCommand").f(void 0, void 0).ser(se_ListDetectorsCommand).de(de_ListDetectorsCommand).build() {
1059
+ static {
1060
+ __name(this, "ListDetectorsCommand");
1061
+ }
1037
1062
  };
1038
- __name(_ListDetectorsCommand, "ListDetectorsCommand");
1039
- var ListDetectorsCommand = _ListDetectorsCommand;
1040
1063
 
1041
1064
  // src/IoTEventsData.ts
1042
1065
  var commands = {
@@ -1053,10 +1076,11 @@ var commands = {
1053
1076
  ListAlarmsCommand,
1054
1077
  ListDetectorsCommand
1055
1078
  };
1056
- var _IoTEventsData = class _IoTEventsData extends IoTEventsDataClient {
1079
+ var IoTEventsData = class extends IoTEventsDataClient {
1080
+ static {
1081
+ __name(this, "IoTEventsData");
1082
+ }
1057
1083
  };
1058
- __name(_IoTEventsData, "IoTEventsData");
1059
- var IoTEventsData = _IoTEventsData;
1060
1084
  (0, import_smithy_client.createAggregatedClient)(commands, IoTEventsData);
1061
1085
  // Annotate the CommonJS export names for ESM import in node:
1062
1086
 
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class IoTEventsDataClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -36,62 +36,62 @@ export const ErrorCode = {
36
36
  ThrottlingException: "ThrottlingException",
37
37
  };
38
38
  export class InternalFailureException extends __BaseException {
39
+ name = "InternalFailureException";
40
+ $fault = "server";
39
41
  constructor(opts) {
40
42
  super({
41
43
  name: "InternalFailureException",
42
44
  $fault: "server",
43
45
  ...opts,
44
46
  });
45
- this.name = "InternalFailureException";
46
- this.$fault = "server";
47
47
  Object.setPrototypeOf(this, InternalFailureException.prototype);
48
48
  }
49
49
  }
50
50
  export class InvalidRequestException extends __BaseException {
51
+ name = "InvalidRequestException";
52
+ $fault = "client";
51
53
  constructor(opts) {
52
54
  super({
53
55
  name: "InvalidRequestException",
54
56
  $fault: "client",
55
57
  ...opts,
56
58
  });
57
- this.name = "InvalidRequestException";
58
- this.$fault = "client";
59
59
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
60
60
  }
61
61
  }
62
62
  export class ServiceUnavailableException extends __BaseException {
63
+ name = "ServiceUnavailableException";
64
+ $fault = "server";
63
65
  constructor(opts) {
64
66
  super({
65
67
  name: "ServiceUnavailableException",
66
68
  $fault: "server",
67
69
  ...opts,
68
70
  });
69
- this.name = "ServiceUnavailableException";
70
- this.$fault = "server";
71
71
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
72
72
  }
73
73
  }
74
74
  export class ThrottlingException extends __BaseException {
75
+ name = "ThrottlingException";
76
+ $fault = "client";
75
77
  constructor(opts) {
76
78
  super({
77
79
  name: "ThrottlingException",
78
80
  $fault: "client",
79
81
  ...opts,
80
82
  });
81
- this.name = "ThrottlingException";
82
- this.$fault = "client";
83
83
  Object.setPrototypeOf(this, ThrottlingException.prototype);
84
84
  }
85
85
  }
86
86
  export class ResourceNotFoundException extends __BaseException {
87
+ name = "ResourceNotFoundException";
88
+ $fault = "client";
87
89
  constructor(opts) {
88
90
  super({
89
91
  name: "ResourceNotFoundException",
90
92
  $fault: "client",
91
93
  ...opts,
92
94
  });
93
- this.name = "ResourceNotFoundException";
94
- this.$fault = "client";
95
95
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
96
96
  }
97
97
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: IoTEventsDataClientConfig) => {
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: IoTEventsDataClientConfig) => {
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: IoTEventsDataClientConfig) => {
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: IoTEventsDataClientConfig) => {
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: IoTEventsDataClientConfig) => {
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: IoTEventsDataClientConfig) => {
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: IoTEventsDataClientConfig) => {
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: IoTEventsDataClientConfig) => {
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-data",
3
3
  "description": "AWS SDK for JavaScript Iot Events Data Client for Node.js, Browser and React Native",
4
- "version": "3.716.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-data",
@@ -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.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.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.716.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.716.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": {