@aws-sdk/client-iot-events 3.54.1 → 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 (38) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/IoTEventsClient.js +13 -13
  3. package/dist-cjs/commands/CreateAlarmModelCommand.js +3 -3
  4. package/dist-cjs/commands/CreateDetectorModelCommand.js +3 -3
  5. package/dist-cjs/commands/CreateInputCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteAlarmModelCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteDetectorModelCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteInputCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeAlarmModelCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeDetectorModelAnalysisCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeDetectorModelCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeInputCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeLoggingOptionsCommand.js +3 -3
  14. package/dist-cjs/commands/GetDetectorModelAnalysisResultsCommand.js +3 -3
  15. package/dist-cjs/commands/ListAlarmModelVersionsCommand.js +3 -3
  16. package/dist-cjs/commands/ListAlarmModelsCommand.js +3 -3
  17. package/dist-cjs/commands/ListDetectorModelVersionsCommand.js +3 -3
  18. package/dist-cjs/commands/ListDetectorModelsCommand.js +3 -3
  19. package/dist-cjs/commands/ListInputRoutingsCommand.js +3 -3
  20. package/dist-cjs/commands/ListInputsCommand.js +3 -3
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  22. package/dist-cjs/commands/PutLoggingOptionsCommand.js +3 -3
  23. package/dist-cjs/commands/StartDetectorModelAnalysisCommand.js +3 -3
  24. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  25. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  26. package/dist-cjs/commands/UpdateAlarmModelCommand.js +3 -3
  27. package/dist-cjs/commands/UpdateDetectorModelCommand.js +3 -3
  28. package/dist-cjs/commands/UpdateInputCommand.js +3 -3
  29. package/dist-cjs/endpoints.js +1 -1
  30. package/dist-cjs/protocols/Aws_restJson1.js +225 -225
  31. package/dist-cjs/runtimeConfig.browser.js +4 -4
  32. package/dist-cjs/runtimeConfig.js +9 -9
  33. package/dist-cjs/runtimeConfig.native.js +1 -1
  34. package/dist-es/IoTEvents.js +26 -26
  35. package/dist-es/protocols/Aws_restJson1.js +26 -26
  36. package/dist-types/runtimeConfig.native.d.ts +2 -2
  37. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  38. package/package.json +34 -34
@@ -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,
@@ -38,7 +38,7 @@ var IoTEvents = (function (_super) {
38
38
  }
39
39
  else if (typeof cb === "function") {
40
40
  if (typeof optionsOrCb !== "object")
41
- throw new Error("Expect http options but get " + typeof optionsOrCb);
41
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
42
42
  this.send(command, optionsOrCb || {}, cb);
43
43
  }
44
44
  else {
@@ -52,7 +52,7 @@ var IoTEvents = (function (_super) {
52
52
  }
53
53
  else if (typeof cb === "function") {
54
54
  if (typeof optionsOrCb !== "object")
55
- throw new Error("Expect http options but get " + typeof optionsOrCb);
55
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
56
56
  this.send(command, optionsOrCb || {}, cb);
57
57
  }
58
58
  else {
@@ -66,7 +66,7 @@ var IoTEvents = (function (_super) {
66
66
  }
67
67
  else if (typeof cb === "function") {
68
68
  if (typeof optionsOrCb !== "object")
69
- throw new Error("Expect http options but get " + typeof optionsOrCb);
69
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
70
70
  this.send(command, optionsOrCb || {}, cb);
71
71
  }
72
72
  else {
@@ -80,7 +80,7 @@ var IoTEvents = (function (_super) {
80
80
  }
81
81
  else if (typeof cb === "function") {
82
82
  if (typeof optionsOrCb !== "object")
83
- throw new Error("Expect http options but get " + typeof optionsOrCb);
83
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
84
84
  this.send(command, optionsOrCb || {}, cb);
85
85
  }
86
86
  else {
@@ -94,7 +94,7 @@ var IoTEvents = (function (_super) {
94
94
  }
95
95
  else if (typeof cb === "function") {
96
96
  if (typeof optionsOrCb !== "object")
97
- throw new Error("Expect http options but get " + typeof optionsOrCb);
97
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
98
98
  this.send(command, optionsOrCb || {}, cb);
99
99
  }
100
100
  else {
@@ -108,7 +108,7 @@ var IoTEvents = (function (_super) {
108
108
  }
109
109
  else if (typeof cb === "function") {
110
110
  if (typeof optionsOrCb !== "object")
111
- throw new Error("Expect http options but get " + typeof optionsOrCb);
111
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
112
112
  this.send(command, optionsOrCb || {}, cb);
113
113
  }
114
114
  else {
@@ -122,7 +122,7 @@ var IoTEvents = (function (_super) {
122
122
  }
123
123
  else if (typeof cb === "function") {
124
124
  if (typeof optionsOrCb !== "object")
125
- throw new Error("Expect http options but get " + typeof optionsOrCb);
125
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
126
126
  this.send(command, optionsOrCb || {}, cb);
127
127
  }
128
128
  else {
@@ -136,7 +136,7 @@ var IoTEvents = (function (_super) {
136
136
  }
137
137
  else if (typeof cb === "function") {
138
138
  if (typeof optionsOrCb !== "object")
139
- throw new Error("Expect http options but get " + typeof optionsOrCb);
139
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
140
140
  this.send(command, optionsOrCb || {}, cb);
141
141
  }
142
142
  else {
@@ -150,7 +150,7 @@ var IoTEvents = (function (_super) {
150
150
  }
151
151
  else if (typeof cb === "function") {
152
152
  if (typeof optionsOrCb !== "object")
153
- throw new Error("Expect http options but get " + typeof optionsOrCb);
153
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
154
154
  this.send(command, optionsOrCb || {}, cb);
155
155
  }
156
156
  else {
@@ -164,7 +164,7 @@ var IoTEvents = (function (_super) {
164
164
  }
165
165
  else if (typeof cb === "function") {
166
166
  if (typeof optionsOrCb !== "object")
167
- throw new Error("Expect http options but get " + typeof optionsOrCb);
167
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
168
168
  this.send(command, optionsOrCb || {}, cb);
169
169
  }
170
170
  else {
@@ -178,7 +178,7 @@ var IoTEvents = (function (_super) {
178
178
  }
179
179
  else if (typeof cb === "function") {
180
180
  if (typeof optionsOrCb !== "object")
181
- throw new Error("Expect http options but get " + typeof optionsOrCb);
181
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
182
182
  this.send(command, optionsOrCb || {}, cb);
183
183
  }
184
184
  else {
@@ -192,7 +192,7 @@ var IoTEvents = (function (_super) {
192
192
  }
193
193
  else if (typeof cb === "function") {
194
194
  if (typeof optionsOrCb !== "object")
195
- throw new Error("Expect http options but get " + typeof optionsOrCb);
195
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
196
196
  this.send(command, optionsOrCb || {}, cb);
197
197
  }
198
198
  else {
@@ -206,7 +206,7 @@ var IoTEvents = (function (_super) {
206
206
  }
207
207
  else if (typeof cb === "function") {
208
208
  if (typeof optionsOrCb !== "object")
209
- throw new Error("Expect http options but get " + typeof optionsOrCb);
209
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
210
210
  this.send(command, optionsOrCb || {}, cb);
211
211
  }
212
212
  else {
@@ -220,7 +220,7 @@ var IoTEvents = (function (_super) {
220
220
  }
221
221
  else if (typeof cb === "function") {
222
222
  if (typeof optionsOrCb !== "object")
223
- throw new Error("Expect http options but get " + typeof optionsOrCb);
223
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
224
224
  this.send(command, optionsOrCb || {}, cb);
225
225
  }
226
226
  else {
@@ -234,7 +234,7 @@ var IoTEvents = (function (_super) {
234
234
  }
235
235
  else if (typeof cb === "function") {
236
236
  if (typeof optionsOrCb !== "object")
237
- throw new Error("Expect http options but get " + typeof optionsOrCb);
237
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
238
238
  this.send(command, optionsOrCb || {}, cb);
239
239
  }
240
240
  else {
@@ -248,7 +248,7 @@ var IoTEvents = (function (_super) {
248
248
  }
249
249
  else if (typeof cb === "function") {
250
250
  if (typeof optionsOrCb !== "object")
251
- throw new Error("Expect http options but get " + typeof optionsOrCb);
251
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
252
252
  this.send(command, optionsOrCb || {}, cb);
253
253
  }
254
254
  else {
@@ -262,7 +262,7 @@ var IoTEvents = (function (_super) {
262
262
  }
263
263
  else if (typeof cb === "function") {
264
264
  if (typeof optionsOrCb !== "object")
265
- throw new Error("Expect http options but get " + typeof optionsOrCb);
265
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
266
266
  this.send(command, optionsOrCb || {}, cb);
267
267
  }
268
268
  else {
@@ -276,7 +276,7 @@ var IoTEvents = (function (_super) {
276
276
  }
277
277
  else if (typeof cb === "function") {
278
278
  if (typeof optionsOrCb !== "object")
279
- throw new Error("Expect http options but get " + typeof optionsOrCb);
279
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
280
280
  this.send(command, optionsOrCb || {}, cb);
281
281
  }
282
282
  else {
@@ -290,7 +290,7 @@ var IoTEvents = (function (_super) {
290
290
  }
291
291
  else if (typeof cb === "function") {
292
292
  if (typeof optionsOrCb !== "object")
293
- throw new Error("Expect http options but get " + typeof optionsOrCb);
293
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
294
294
  this.send(command, optionsOrCb || {}, cb);
295
295
  }
296
296
  else {
@@ -304,7 +304,7 @@ var IoTEvents = (function (_super) {
304
304
  }
305
305
  else if (typeof cb === "function") {
306
306
  if (typeof optionsOrCb !== "object")
307
- throw new Error("Expect http options but get " + typeof optionsOrCb);
307
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
308
308
  this.send(command, optionsOrCb || {}, cb);
309
309
  }
310
310
  else {
@@ -318,7 +318,7 @@ var IoTEvents = (function (_super) {
318
318
  }
319
319
  else if (typeof cb === "function") {
320
320
  if (typeof optionsOrCb !== "object")
321
- throw new Error("Expect http options but get " + typeof optionsOrCb);
321
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
322
322
  this.send(command, optionsOrCb || {}, cb);
323
323
  }
324
324
  else {
@@ -332,7 +332,7 @@ var IoTEvents = (function (_super) {
332
332
  }
333
333
  else if (typeof cb === "function") {
334
334
  if (typeof optionsOrCb !== "object")
335
- throw new Error("Expect http options but get " + typeof optionsOrCb);
335
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
336
336
  this.send(command, optionsOrCb || {}, cb);
337
337
  }
338
338
  else {
@@ -346,7 +346,7 @@ var IoTEvents = (function (_super) {
346
346
  }
347
347
  else if (typeof cb === "function") {
348
348
  if (typeof optionsOrCb !== "object")
349
- throw new Error("Expect http options but get " + typeof optionsOrCb);
349
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
350
350
  this.send(command, optionsOrCb || {}, cb);
351
351
  }
352
352
  else {
@@ -360,7 +360,7 @@ var IoTEvents = (function (_super) {
360
360
  }
361
361
  else if (typeof cb === "function") {
362
362
  if (typeof optionsOrCb !== "object")
363
- throw new Error("Expect http options but get " + typeof optionsOrCb);
363
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
364
364
  this.send(command, optionsOrCb || {}, cb);
365
365
  }
366
366
  else {
@@ -374,7 +374,7 @@ var IoTEvents = (function (_super) {
374
374
  }
375
375
  else if (typeof cb === "function") {
376
376
  if (typeof optionsOrCb !== "object")
377
- throw new Error("Expect http options but get " + typeof optionsOrCb);
377
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
378
378
  this.send(command, optionsOrCb || {}, cb);
379
379
  }
380
380
  else {
@@ -388,7 +388,7 @@ var IoTEvents = (function (_super) {
388
388
  }
389
389
  else if (typeof cb === "function") {
390
390
  if (typeof optionsOrCb !== "object")
391
- throw new Error("Expect http options but get " + typeof optionsOrCb);
391
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
392
392
  this.send(command, optionsOrCb || {}, cb);
393
393
  }
394
394
  else {
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CreateAlarmModelCommand = function (input, cont
13
13
  headers = {
14
14
  "content-type": "application/json",
15
15
  };
16
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models";
16
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models";
17
17
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.alarmCapabilities !== undefined &&
18
18
  input.alarmCapabilities !== null && {
19
19
  alarmCapabilities: serializeAws_restJson1AlarmCapabilities(input.alarmCapabilities, context),
@@ -49,7 +49,7 @@ export var serializeAws_restJson1CreateDetectorModelCommand = function (input, c
49
49
  headers = {
50
50
  "content-type": "application/json",
51
51
  };
52
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector-models";
52
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector-models";
53
53
  body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.detectorModelDefinition !== undefined &&
54
54
  input.detectorModelDefinition !== null && {
55
55
  detectorModelDefinition: serializeAws_restJson1DetectorModelDefinition(input.detectorModelDefinition, context),
@@ -79,7 +79,7 @@ export var serializeAws_restJson1CreateInputCommand = function (input, context)
79
79
  headers = {
80
80
  "content-type": "application/json",
81
81
  };
82
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/inputs";
82
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/inputs";
83
83
  body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.inputDefinition !== undefined &&
84
84
  input.inputDefinition !== null && {
85
85
  inputDefinition: serializeAws_restJson1InputDefinition(input.inputDefinition, context),
@@ -105,7 +105,7 @@ export var serializeAws_restJson1DeleteAlarmModelCommand = function (input, cont
105
105
  case 1:
106
106
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
107
107
  headers = {};
108
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models/{alarmModelName}";
108
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models/{alarmModelName}";
109
109
  if (input.alarmModelName !== undefined) {
110
110
  labelValue = input.alarmModelName;
111
111
  if (labelValue.length <= 0) {
@@ -136,7 +136,7 @@ export var serializeAws_restJson1DeleteDetectorModelCommand = function (input, c
136
136
  case 1:
137
137
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
138
138
  headers = {};
139
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector-models/{detectorModelName}";
139
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector-models/{detectorModelName}";
140
140
  if (input.detectorModelName !== undefined) {
141
141
  labelValue = input.detectorModelName;
142
142
  if (labelValue.length <= 0) {
@@ -167,7 +167,7 @@ export var serializeAws_restJson1DeleteInputCommand = function (input, context)
167
167
  case 1:
168
168
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
169
169
  headers = {};
170
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/inputs/{inputName}";
170
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/inputs/{inputName}";
171
171
  if (input.inputName !== undefined) {
172
172
  labelValue = input.inputName;
173
173
  if (labelValue.length <= 0) {
@@ -198,7 +198,7 @@ export var serializeAws_restJson1DescribeAlarmModelCommand = function (input, co
198
198
  case 1:
199
199
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
200
200
  headers = {};
201
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models/{alarmModelName}";
201
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models/{alarmModelName}";
202
202
  if (input.alarmModelName !== undefined) {
203
203
  labelValue = input.alarmModelName;
204
204
  if (labelValue.length <= 0) {
@@ -231,7 +231,7 @@ export var serializeAws_restJson1DescribeDetectorModelCommand = function (input,
231
231
  case 1:
232
232
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
233
233
  headers = {};
234
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector-models/{detectorModelName}";
234
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector-models/{detectorModelName}";
235
235
  if (input.detectorModelName !== undefined) {
236
236
  labelValue = input.detectorModelName;
237
237
  if (labelValue.length <= 0) {
@@ -264,7 +264,7 @@ export var serializeAws_restJson1DescribeDetectorModelAnalysisCommand = function
264
264
  case 1:
265
265
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
266
266
  headers = {};
267
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analysis/detector-models/{analysisId}";
267
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analysis/detector-models/{analysisId}";
268
268
  if (input.analysisId !== undefined) {
269
269
  labelValue = input.analysisId;
270
270
  if (labelValue.length <= 0) {
@@ -295,7 +295,7 @@ export var serializeAws_restJson1DescribeInputCommand = function (input, context
295
295
  case 1:
296
296
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
297
297
  headers = {};
298
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/inputs/{inputName}";
298
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/inputs/{inputName}";
299
299
  if (input.inputName !== undefined) {
300
300
  labelValue = input.inputName;
301
301
  if (labelValue.length <= 0) {
@@ -328,7 +328,7 @@ export var serializeAws_restJson1DescribeLoggingOptionsCommand = function (input
328
328
  headers = {
329
329
  "content-type": "application/json",
330
330
  };
331
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/logging";
331
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/logging";
332
332
  body = "";
333
333
  return [2, new __HttpRequest({
334
334
  protocol: protocol,
@@ -350,7 +350,7 @@ export var serializeAws_restJson1GetDetectorModelAnalysisResultsCommand = functi
350
350
  case 1:
351
351
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
352
352
  headers = {};
353
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
353
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
354
354
  "/analysis/detector-models/{analysisId}/results";
355
355
  if (input.analysisId !== undefined) {
356
356
  labelValue = input.analysisId;
@@ -384,7 +384,7 @@ export var serializeAws_restJson1ListAlarmModelsCommand = function (input, conte
384
384
  case 1:
385
385
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
386
386
  headers = {};
387
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models";
387
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models";
388
388
  query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
389
389
  return [2, new __HttpRequest({
390
390
  protocol: protocol,
@@ -407,7 +407,7 @@ export var serializeAws_restJson1ListAlarmModelVersionsCommand = function (input
407
407
  case 1:
408
408
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
409
409
  headers = {};
410
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models/{alarmModelName}/versions";
410
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models/{alarmModelName}/versions";
411
411
  if (input.alarmModelName !== undefined) {
412
412
  labelValue = input.alarmModelName;
413
413
  if (labelValue.length <= 0) {
@@ -440,7 +440,7 @@ export var serializeAws_restJson1ListDetectorModelsCommand = function (input, co
440
440
  case 1:
441
441
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
442
442
  headers = {};
443
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector-models";
443
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector-models";
444
444
  query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
445
445
  return [2, new __HttpRequest({
446
446
  protocol: protocol,
@@ -463,7 +463,7 @@ export var serializeAws_restJson1ListDetectorModelVersionsCommand = function (in
463
463
  case 1:
464
464
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
465
465
  headers = {};
466
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
466
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
467
467
  "/detector-models/{detectorModelName}/versions";
468
468
  if (input.detectorModelName !== undefined) {
469
469
  labelValue = input.detectorModelName;
@@ -499,7 +499,7 @@ export var serializeAws_restJson1ListInputRoutingsCommand = function (input, con
499
499
  headers = {
500
500
  "content-type": "application/json",
501
501
  };
502
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/input-routings";
502
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/input-routings";
503
503
  body = JSON.stringify(__assign(__assign(__assign({}, (input.inputIdentifier !== undefined &&
504
504
  input.inputIdentifier !== null && {
505
505
  inputIdentifier: serializeAws_restJson1InputIdentifier(input.inputIdentifier, context),
@@ -524,7 +524,7 @@ export var serializeAws_restJson1ListInputsCommand = function (input, context) {
524
524
  case 1:
525
525
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
526
526
  headers = {};
527
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/inputs";
527
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/inputs";
528
528
  query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
529
529
  return [2, new __HttpRequest({
530
530
  protocol: protocol,
@@ -547,7 +547,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
547
547
  case 1:
548
548
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
549
549
  headers = {};
550
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
550
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
551
551
  query = __assign({}, (input.resourceArn !== undefined && { resourceArn: input.resourceArn }));
552
552
  return [2, new __HttpRequest({
553
553
  protocol: protocol,
@@ -572,7 +572,7 @@ export var serializeAws_restJson1PutLoggingOptionsCommand = function (input, con
572
572
  headers = {
573
573
  "content-type": "application/json",
574
574
  };
575
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/logging";
575
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/logging";
576
576
  body = JSON.stringify(__assign({}, (input.loggingOptions !== undefined &&
577
577
  input.loggingOptions !== null && {
578
578
  loggingOptions: serializeAws_restJson1LoggingOptions(input.loggingOptions, context),
@@ -599,7 +599,7 @@ export var serializeAws_restJson1StartDetectorModelAnalysisCommand = function (i
599
599
  headers = {
600
600
  "content-type": "application/json",
601
601
  };
602
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analysis/detector-models";
602
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/analysis/detector-models";
603
603
  body = JSON.stringify(__assign({}, (input.detectorModelDefinition !== undefined &&
604
604
  input.detectorModelDefinition !== null && {
605
605
  detectorModelDefinition: serializeAws_restJson1DetectorModelDefinition(input.detectorModelDefinition, context),
@@ -626,7 +626,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
626
626
  headers = {
627
627
  "content-type": "application/json",
628
628
  };
629
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
629
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
630
630
  query = __assign({}, (input.resourceArn !== undefined && { resourceArn: input.resourceArn }));
631
631
  body = JSON.stringify(__assign({}, (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) })));
632
632
  return [2, new __HttpRequest({
@@ -650,7 +650,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
650
650
  case 1:
651
651
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
652
652
  headers = {};
653
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
653
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
654
654
  query = __assign(__assign({}, (input.resourceArn !== undefined && { resourceArn: input.resourceArn })), (input.tagKeys !== undefined && { tagKeys: (input.tagKeys || []).map(function (_entry) { return _entry; }) }));
655
655
  return [2, new __HttpRequest({
656
656
  protocol: protocol,
@@ -675,7 +675,7 @@ export var serializeAws_restJson1UpdateAlarmModelCommand = function (input, cont
675
675
  headers = {
676
676
  "content-type": "application/json",
677
677
  };
678
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models/{alarmModelName}";
678
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/alarm-models/{alarmModelName}";
679
679
  if (input.alarmModelName !== undefined) {
680
680
  labelValue = input.alarmModelName;
681
681
  if (labelValue.length <= 0) {
@@ -720,7 +720,7 @@ export var serializeAws_restJson1UpdateDetectorModelCommand = function (input, c
720
720
  headers = {
721
721
  "content-type": "application/json",
722
722
  };
723
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector-models/{detectorModelName}";
723
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector-models/{detectorModelName}";
724
724
  if (input.detectorModelName !== undefined) {
725
725
  labelValue = input.detectorModelName;
726
726
  if (labelValue.length <= 0) {
@@ -759,7 +759,7 @@ export var serializeAws_restJson1UpdateInputCommand = function (input, context)
759
759
  headers = {
760
760
  "content-type": "application/json",
761
761
  };
762
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/inputs/{inputName}";
762
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/inputs/{inputName}";
763
763
  if (input.inputName !== undefined) {
764
764
  labelValue = input.inputName;
765
765
  if (labelValue.length <= 0) {
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: IoTEventsClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: IoTEventsClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;