@aws-sdk/client-iot-jobs-data-plane 3.721.0 → 3.726.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
@@ -141,7 +141,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
141
141
  }, "resolveRuntimeExtensions");
142
142
 
143
143
  // src/IoTJobsDataPlaneClient.ts
144
- var _IoTJobsDataPlaneClient = class _IoTJobsDataPlaneClient extends import_smithy_client.Client {
144
+ var IoTJobsDataPlaneClient = class extends import_smithy_client.Client {
145
+ static {
146
+ __name(this, "IoTJobsDataPlaneClient");
147
+ }
148
+ /**
149
+ * The resolved configuration of IoTJobsDataPlaneClient class. This is resolved and normalized from the {@link IoTJobsDataPlaneClientConfig | constructor configuration interface}.
150
+ */
151
+ config;
145
152
  constructor(...[configuration]) {
146
153
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
147
154
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -151,7 +158,7 @@ var _IoTJobsDataPlaneClient = class _IoTJobsDataPlaneClient extends import_smith
151
158
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
152
159
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
153
160
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
154
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
161
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
155
162
  super(_config_8);
156
163
  this.config = _config_8;
157
164
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -179,8 +186,6 @@ var _IoTJobsDataPlaneClient = class _IoTJobsDataPlaneClient extends import_smith
179
186
  super.destroy();
180
187
  }
181
188
  };
182
- __name(_IoTJobsDataPlaneClient, "IoTJobsDataPlaneClient");
183
- var IoTJobsDataPlaneClient = _IoTJobsDataPlaneClient;
184
189
 
185
190
  // src/IoTJobsDataPlane.ts
186
191
 
@@ -198,7 +203,10 @@ var import_uuid = require("uuid");
198
203
 
199
204
  // src/models/IoTJobsDataPlaneServiceException.ts
200
205
 
201
- var _IoTJobsDataPlaneServiceException = class _IoTJobsDataPlaneServiceException extends import_smithy_client.ServiceException {
206
+ var IoTJobsDataPlaneServiceException = class _IoTJobsDataPlaneServiceException extends import_smithy_client.ServiceException {
207
+ static {
208
+ __name(this, "IoTJobsDataPlaneServiceException");
209
+ }
202
210
  /**
203
211
  * @internal
204
212
  */
@@ -207,11 +215,14 @@ var _IoTJobsDataPlaneServiceException = class _IoTJobsDataPlaneServiceException
207
215
  Object.setPrototypeOf(this, _IoTJobsDataPlaneServiceException.prototype);
208
216
  }
209
217
  };
210
- __name(_IoTJobsDataPlaneServiceException, "IoTJobsDataPlaneServiceException");
211
- var IoTJobsDataPlaneServiceException = _IoTJobsDataPlaneServiceException;
212
218
 
213
219
  // src/models/models_0.ts
214
- var _CertificateValidationException = class _CertificateValidationException extends IoTJobsDataPlaneServiceException {
220
+ var CertificateValidationException = class _CertificateValidationException extends IoTJobsDataPlaneServiceException {
221
+ static {
222
+ __name(this, "CertificateValidationException");
223
+ }
224
+ name = "CertificateValidationException";
225
+ $fault = "client";
215
226
  /**
216
227
  * @internal
217
228
  */
@@ -221,14 +232,20 @@ var _CertificateValidationException = class _CertificateValidationException exte
221
232
  $fault: "client",
222
233
  ...opts
223
234
  });
224
- this.name = "CertificateValidationException";
225
- this.$fault = "client";
226
235
  Object.setPrototypeOf(this, _CertificateValidationException.prototype);
227
236
  }
228
237
  };
229
- __name(_CertificateValidationException, "CertificateValidationException");
230
- var CertificateValidationException = _CertificateValidationException;
231
- var _ConflictException = class _ConflictException extends IoTJobsDataPlaneServiceException {
238
+ var ConflictException = class _ConflictException extends IoTJobsDataPlaneServiceException {
239
+ static {
240
+ __name(this, "ConflictException");
241
+ }
242
+ name = "ConflictException";
243
+ $fault = "client";
244
+ /**
245
+ * <p>A conflict occurred while performing the API request on the resource ID.</p>
246
+ * @public
247
+ */
248
+ resourceId;
232
249
  /**
233
250
  * @internal
234
251
  */
@@ -238,14 +255,10 @@ var _ConflictException = class _ConflictException extends IoTJobsDataPlaneServic
238
255
  $fault: "client",
239
256
  ...opts
240
257
  });
241
- this.name = "ConflictException";
242
- this.$fault = "client";
243
258
  Object.setPrototypeOf(this, _ConflictException.prototype);
244
259
  this.resourceId = opts.resourceId;
245
260
  }
246
261
  };
247
- __name(_ConflictException, "ConflictException");
248
- var ConflictException = _ConflictException;
249
262
  var JobExecutionStatus = {
250
263
  CANCELED: "CANCELED",
251
264
  FAILED: "FAILED",
@@ -256,7 +269,12 @@ var JobExecutionStatus = {
256
269
  SUCCEEDED: "SUCCEEDED",
257
270
  TIMED_OUT: "TIMED_OUT"
258
271
  };
259
- var _InvalidRequestException = class _InvalidRequestException extends IoTJobsDataPlaneServiceException {
272
+ var InvalidRequestException = class _InvalidRequestException extends IoTJobsDataPlaneServiceException {
273
+ static {
274
+ __name(this, "InvalidRequestException");
275
+ }
276
+ name = "InvalidRequestException";
277
+ $fault = "client";
260
278
  /**
261
279
  * @internal
262
280
  */
@@ -266,14 +284,15 @@ var _InvalidRequestException = class _InvalidRequestException extends IoTJobsDat
266
284
  $fault: "client",
267
285
  ...opts
268
286
  });
269
- this.name = "InvalidRequestException";
270
- this.$fault = "client";
271
287
  Object.setPrototypeOf(this, _InvalidRequestException.prototype);
272
288
  }
273
289
  };
274
- __name(_InvalidRequestException, "InvalidRequestException");
275
- var InvalidRequestException = _InvalidRequestException;
276
- var _ResourceNotFoundException = class _ResourceNotFoundException extends IoTJobsDataPlaneServiceException {
290
+ var ResourceNotFoundException = class _ResourceNotFoundException extends IoTJobsDataPlaneServiceException {
291
+ static {
292
+ __name(this, "ResourceNotFoundException");
293
+ }
294
+ name = "ResourceNotFoundException";
295
+ $fault = "client";
277
296
  /**
278
297
  * @internal
279
298
  */
@@ -283,14 +302,15 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends IoTJob
283
302
  $fault: "client",
284
303
  ...opts
285
304
  });
286
- this.name = "ResourceNotFoundException";
287
- this.$fault = "client";
288
305
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
289
306
  }
290
307
  };
291
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
292
- var ResourceNotFoundException = _ResourceNotFoundException;
293
- var _ServiceUnavailableException = class _ServiceUnavailableException extends IoTJobsDataPlaneServiceException {
308
+ var ServiceUnavailableException = class _ServiceUnavailableException extends IoTJobsDataPlaneServiceException {
309
+ static {
310
+ __name(this, "ServiceUnavailableException");
311
+ }
312
+ name = "ServiceUnavailableException";
313
+ $fault = "server";
294
314
  /**
295
315
  * @internal
296
316
  */
@@ -300,14 +320,15 @@ var _ServiceUnavailableException = class _ServiceUnavailableException extends Io
300
320
  $fault: "server",
301
321
  ...opts
302
322
  });
303
- this.name = "ServiceUnavailableException";
304
- this.$fault = "server";
305
323
  Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
306
324
  }
307
325
  };
308
- __name(_ServiceUnavailableException, "ServiceUnavailableException");
309
- var ServiceUnavailableException = _ServiceUnavailableException;
310
- var _TerminalStateException = class _TerminalStateException extends IoTJobsDataPlaneServiceException {
326
+ var TerminalStateException = class _TerminalStateException extends IoTJobsDataPlaneServiceException {
327
+ static {
328
+ __name(this, "TerminalStateException");
329
+ }
330
+ name = "TerminalStateException";
331
+ $fault = "client";
311
332
  /**
312
333
  * @internal
313
334
  */
@@ -317,14 +338,20 @@ var _TerminalStateException = class _TerminalStateException extends IoTJobsDataP
317
338
  $fault: "client",
318
339
  ...opts
319
340
  });
320
- this.name = "TerminalStateException";
321
- this.$fault = "client";
322
341
  Object.setPrototypeOf(this, _TerminalStateException.prototype);
323
342
  }
324
343
  };
325
- __name(_TerminalStateException, "TerminalStateException");
326
- var TerminalStateException = _TerminalStateException;
327
- var _ThrottlingException = class _ThrottlingException extends IoTJobsDataPlaneServiceException {
344
+ var ThrottlingException = class _ThrottlingException extends IoTJobsDataPlaneServiceException {
345
+ static {
346
+ __name(this, "ThrottlingException");
347
+ }
348
+ name = "ThrottlingException";
349
+ $fault = "client";
350
+ /**
351
+ * <p>The payload associated with the exception.</p>
352
+ * @public
353
+ */
354
+ payload;
328
355
  /**
329
356
  * @internal
330
357
  */
@@ -334,15 +361,16 @@ var _ThrottlingException = class _ThrottlingException extends IoTJobsDataPlaneSe
334
361
  $fault: "client",
335
362
  ...opts
336
363
  });
337
- this.name = "ThrottlingException";
338
- this.$fault = "client";
339
364
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
340
365
  this.payload = opts.payload;
341
366
  }
342
367
  };
343
- __name(_ThrottlingException, "ThrottlingException");
344
- var ThrottlingException = _ThrottlingException;
345
- var _InternalServerException = class _InternalServerException extends IoTJobsDataPlaneServiceException {
368
+ var InternalServerException = class _InternalServerException extends IoTJobsDataPlaneServiceException {
369
+ static {
370
+ __name(this, "InternalServerException");
371
+ }
372
+ name = "InternalServerException";
373
+ $fault = "server";
346
374
  /**
347
375
  * @internal
348
376
  */
@@ -352,14 +380,15 @@ var _InternalServerException = class _InternalServerException extends IoTJobsDat
352
380
  $fault: "server",
353
381
  ...opts
354
382
  });
355
- this.name = "InternalServerException";
356
- this.$fault = "server";
357
383
  Object.setPrototypeOf(this, _InternalServerException.prototype);
358
384
  }
359
385
  };
360
- __name(_InternalServerException, "InternalServerException");
361
- var InternalServerException = _InternalServerException;
362
- var _InvalidStateTransitionException = class _InvalidStateTransitionException extends IoTJobsDataPlaneServiceException {
386
+ var InvalidStateTransitionException = class _InvalidStateTransitionException extends IoTJobsDataPlaneServiceException {
387
+ static {
388
+ __name(this, "InvalidStateTransitionException");
389
+ }
390
+ name = "InvalidStateTransitionException";
391
+ $fault = "client";
363
392
  /**
364
393
  * @internal
365
394
  */
@@ -369,14 +398,15 @@ var _InvalidStateTransitionException = class _InvalidStateTransitionException ex
369
398
  $fault: "client",
370
399
  ...opts
371
400
  });
372
- this.name = "InvalidStateTransitionException";
373
- this.$fault = "client";
374
401
  Object.setPrototypeOf(this, _InvalidStateTransitionException.prototype);
375
402
  }
376
403
  };
377
- __name(_InvalidStateTransitionException, "InvalidStateTransitionException");
378
- var InvalidStateTransitionException = _InvalidStateTransitionException;
379
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends IoTJobsDataPlaneServiceException {
404
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends IoTJobsDataPlaneServiceException {
405
+ static {
406
+ __name(this, "ServiceQuotaExceededException");
407
+ }
408
+ name = "ServiceQuotaExceededException";
409
+ $fault = "client";
380
410
  /**
381
411
  * @internal
382
412
  */
@@ -386,14 +416,15 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
386
416
  $fault: "client",
387
417
  ...opts
388
418
  });
389
- this.name = "ServiceQuotaExceededException";
390
- this.$fault = "client";
391
419
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
392
420
  }
393
421
  };
394
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
395
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
396
- var _ValidationException = class _ValidationException extends IoTJobsDataPlaneServiceException {
422
+ var ValidationException = class _ValidationException extends IoTJobsDataPlaneServiceException {
423
+ static {
424
+ __name(this, "ValidationException");
425
+ }
426
+ name = "ValidationException";
427
+ $fault = "client";
397
428
  /**
398
429
  * @internal
399
430
  */
@@ -403,13 +434,9 @@ var _ValidationException = class _ValidationException extends IoTJobsDataPlaneSe
403
434
  $fault: "client",
404
435
  ...opts
405
436
  });
406
- this.name = "ValidationException";
407
- this.$fault = "client";
408
437
  Object.setPrototypeOf(this, _ValidationException.prototype);
409
438
  }
410
439
  };
411
- __name(_ValidationException, "ValidationException");
412
- var ValidationException = _ValidationException;
413
440
 
414
441
  // src/protocols/Aws_restJson1.ts
415
442
  var se_DescribeJobExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -791,71 +818,76 @@ var _eN = "executionNumber";
791
818
  var _iJD = "includeJobDocument";
792
819
 
793
820
  // src/commands/DescribeJobExecutionCommand.ts
794
- var _DescribeJobExecutionCommand = class _DescribeJobExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
821
+ var DescribeJobExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
795
822
  return [
796
823
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
797
824
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
798
825
  ];
799
826
  }).s("IotLaserThingJobManagerExternalService", "DescribeJobExecution", {}).n("IoTJobsDataPlaneClient", "DescribeJobExecutionCommand").f(void 0, void 0).ser(se_DescribeJobExecutionCommand).de(de_DescribeJobExecutionCommand).build() {
827
+ static {
828
+ __name(this, "DescribeJobExecutionCommand");
829
+ }
800
830
  };
801
- __name(_DescribeJobExecutionCommand, "DescribeJobExecutionCommand");
802
- var DescribeJobExecutionCommand = _DescribeJobExecutionCommand;
803
831
 
804
832
  // src/commands/GetPendingJobExecutionsCommand.ts
805
833
 
806
834
 
807
835
 
808
- var _GetPendingJobExecutionsCommand = class _GetPendingJobExecutionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
836
+ var GetPendingJobExecutionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
809
837
  return [
810
838
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
811
839
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
812
840
  ];
813
841
  }).s("IotLaserThingJobManagerExternalService", "GetPendingJobExecutions", {}).n("IoTJobsDataPlaneClient", "GetPendingJobExecutionsCommand").f(void 0, void 0).ser(se_GetPendingJobExecutionsCommand).de(de_GetPendingJobExecutionsCommand).build() {
842
+ static {
843
+ __name(this, "GetPendingJobExecutionsCommand");
844
+ }
814
845
  };
815
- __name(_GetPendingJobExecutionsCommand, "GetPendingJobExecutionsCommand");
816
- var GetPendingJobExecutionsCommand = _GetPendingJobExecutionsCommand;
817
846
 
818
847
  // src/commands/StartCommandExecutionCommand.ts
819
848
 
820
849
 
821
850
 
822
- var _StartCommandExecutionCommand = class _StartCommandExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
851
+ var StartCommandExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
823
852
  return [
824
853
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
825
854
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
826
855
  ];
827
856
  }).s("IotLaserThingJobManagerExternalService", "StartCommandExecution", {}).n("IoTJobsDataPlaneClient", "StartCommandExecutionCommand").f(void 0, void 0).ser(se_StartCommandExecutionCommand).de(de_StartCommandExecutionCommand).build() {
857
+ static {
858
+ __name(this, "StartCommandExecutionCommand");
859
+ }
828
860
  };
829
- __name(_StartCommandExecutionCommand, "StartCommandExecutionCommand");
830
- var StartCommandExecutionCommand = _StartCommandExecutionCommand;
831
861
 
832
862
  // src/commands/StartNextPendingJobExecutionCommand.ts
833
863
 
834
864
 
835
865
 
836
- var _StartNextPendingJobExecutionCommand = class _StartNextPendingJobExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
866
+ var StartNextPendingJobExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
837
867
  return [
838
868
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
839
869
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
840
870
  ];
841
871
  }).s("IotLaserThingJobManagerExternalService", "StartNextPendingJobExecution", {}).n("IoTJobsDataPlaneClient", "StartNextPendingJobExecutionCommand").f(void 0, void 0).ser(se_StartNextPendingJobExecutionCommand).de(de_StartNextPendingJobExecutionCommand).build() {
872
+ static {
873
+ __name(this, "StartNextPendingJobExecutionCommand");
874
+ }
842
875
  };
843
- __name(_StartNextPendingJobExecutionCommand, "StartNextPendingJobExecutionCommand");
844
- var StartNextPendingJobExecutionCommand = _StartNextPendingJobExecutionCommand;
845
876
 
846
877
  // src/commands/UpdateJobExecutionCommand.ts
847
878
 
848
879
 
849
880
 
850
- var _UpdateJobExecutionCommand = class _UpdateJobExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
881
+ var UpdateJobExecutionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
851
882
  return [
852
883
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
853
884
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
854
885
  ];
855
886
  }).s("IotLaserThingJobManagerExternalService", "UpdateJobExecution", {}).n("IoTJobsDataPlaneClient", "UpdateJobExecutionCommand").f(void 0, void 0).ser(se_UpdateJobExecutionCommand).de(de_UpdateJobExecutionCommand).build() {
887
+ static {
888
+ __name(this, "UpdateJobExecutionCommand");
889
+ }
856
890
  };
857
- __name(_UpdateJobExecutionCommand, "UpdateJobExecutionCommand");
858
- var UpdateJobExecutionCommand = _UpdateJobExecutionCommand;
859
891
 
860
892
  // src/IoTJobsDataPlane.ts
861
893
  var commands = {
@@ -865,10 +897,11 @@ var commands = {
865
897
  StartNextPendingJobExecutionCommand,
866
898
  UpdateJobExecutionCommand
867
899
  };
868
- var _IoTJobsDataPlane = class _IoTJobsDataPlane extends IoTJobsDataPlaneClient {
900
+ var IoTJobsDataPlane = class extends IoTJobsDataPlaneClient {
901
+ static {
902
+ __name(this, "IoTJobsDataPlane");
903
+ }
869
904
  };
870
- __name(_IoTJobsDataPlane, "IoTJobsDataPlane");
871
- var IoTJobsDataPlane = _IoTJobsDataPlane;
872
905
  (0, import_smithy_client.createAggregatedClient)(commands, IoTJobsDataPlane);
873
906
  // Annotate the CommonJS export names for ESM import in node:
874
907
 
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class IoTJobsDataPlaneClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,25 +1,26 @@
1
1
  import { IoTJobsDataPlaneServiceException as __BaseException } from "./IoTJobsDataPlaneServiceException";
2
2
  export class CertificateValidationException extends __BaseException {
3
+ name = "CertificateValidationException";
4
+ $fault = "client";
3
5
  constructor(opts) {
4
6
  super({
5
7
  name: "CertificateValidationException",
6
8
  $fault: "client",
7
9
  ...opts,
8
10
  });
9
- this.name = "CertificateValidationException";
10
- this.$fault = "client";
11
11
  Object.setPrototypeOf(this, CertificateValidationException.prototype);
12
12
  }
13
13
  }
14
14
  export class ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ resourceId;
15
18
  constructor(opts) {
16
19
  super({
17
20
  name: "ConflictException",
18
21
  $fault: "client",
19
22
  ...opts,
20
23
  });
21
- this.name = "ConflictException";
22
- this.$fault = "client";
23
24
  Object.setPrototypeOf(this, ConflictException.prototype);
24
25
  this.resourceId = opts.resourceId;
25
26
  }
@@ -35,111 +36,112 @@ export const JobExecutionStatus = {
35
36
  TIMED_OUT: "TIMED_OUT",
36
37
  };
37
38
  export class InvalidRequestException extends __BaseException {
39
+ name = "InvalidRequestException";
40
+ $fault = "client";
38
41
  constructor(opts) {
39
42
  super({
40
43
  name: "InvalidRequestException",
41
44
  $fault: "client",
42
45
  ...opts,
43
46
  });
44
- this.name = "InvalidRequestException";
45
- this.$fault = "client";
46
47
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
47
48
  }
48
49
  }
49
50
  export class ResourceNotFoundException extends __BaseException {
51
+ name = "ResourceNotFoundException";
52
+ $fault = "client";
50
53
  constructor(opts) {
51
54
  super({
52
55
  name: "ResourceNotFoundException",
53
56
  $fault: "client",
54
57
  ...opts,
55
58
  });
56
- this.name = "ResourceNotFoundException";
57
- this.$fault = "client";
58
59
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
59
60
  }
60
61
  }
61
62
  export class ServiceUnavailableException extends __BaseException {
63
+ name = "ServiceUnavailableException";
64
+ $fault = "server";
62
65
  constructor(opts) {
63
66
  super({
64
67
  name: "ServiceUnavailableException",
65
68
  $fault: "server",
66
69
  ...opts,
67
70
  });
68
- this.name = "ServiceUnavailableException";
69
- this.$fault = "server";
70
71
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
71
72
  }
72
73
  }
73
74
  export class TerminalStateException extends __BaseException {
75
+ name = "TerminalStateException";
76
+ $fault = "client";
74
77
  constructor(opts) {
75
78
  super({
76
79
  name: "TerminalStateException",
77
80
  $fault: "client",
78
81
  ...opts,
79
82
  });
80
- this.name = "TerminalStateException";
81
- this.$fault = "client";
82
83
  Object.setPrototypeOf(this, TerminalStateException.prototype);
83
84
  }
84
85
  }
85
86
  export class ThrottlingException extends __BaseException {
87
+ name = "ThrottlingException";
88
+ $fault = "client";
89
+ payload;
86
90
  constructor(opts) {
87
91
  super({
88
92
  name: "ThrottlingException",
89
93
  $fault: "client",
90
94
  ...opts,
91
95
  });
92
- this.name = "ThrottlingException";
93
- this.$fault = "client";
94
96
  Object.setPrototypeOf(this, ThrottlingException.prototype);
95
97
  this.payload = opts.payload;
96
98
  }
97
99
  }
98
100
  export class InternalServerException extends __BaseException {
101
+ name = "InternalServerException";
102
+ $fault = "server";
99
103
  constructor(opts) {
100
104
  super({
101
105
  name: "InternalServerException",
102
106
  $fault: "server",
103
107
  ...opts,
104
108
  });
105
- this.name = "InternalServerException";
106
- this.$fault = "server";
107
109
  Object.setPrototypeOf(this, InternalServerException.prototype);
108
110
  }
109
111
  }
110
112
  export class InvalidStateTransitionException extends __BaseException {
113
+ name = "InvalidStateTransitionException";
114
+ $fault = "client";
111
115
  constructor(opts) {
112
116
  super({
113
117
  name: "InvalidStateTransitionException",
114
118
  $fault: "client",
115
119
  ...opts,
116
120
  });
117
- this.name = "InvalidStateTransitionException";
118
- this.$fault = "client";
119
121
  Object.setPrototypeOf(this, InvalidStateTransitionException.prototype);
120
122
  }
121
123
  }
122
124
  export class ServiceQuotaExceededException extends __BaseException {
125
+ name = "ServiceQuotaExceededException";
126
+ $fault = "client";
123
127
  constructor(opts) {
124
128
  super({
125
129
  name: "ServiceQuotaExceededException",
126
130
  $fault: "client",
127
131
  ...opts,
128
132
  });
129
- this.name = "ServiceQuotaExceededException";
130
- this.$fault = "client";
131
133
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
132
134
  }
133
135
  }
134
136
  export class ValidationException extends __BaseException {
137
+ name = "ValidationException";
138
+ $fault = "client";
135
139
  constructor(opts) {
136
140
  super({
137
141
  name: "ValidationException",
138
142
  $fault: "client",
139
143
  ...opts,
140
144
  });
141
- this.name = "ValidationException";
142
- this.$fault = "client";
143
145
  Object.setPrototypeOf(this, ValidationException.prototype);
144
146
  }
145
147
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) =>
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: IoTJobsDataPlaneClientConfig) =>
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: IoTJobsDataPlaneClientConfig) =>
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: IoTJobsDataPlaneClientConfig) =>
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;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-jobs-data-plane",
3
3
  "description": "AWS SDK for JavaScript Iot Jobs Data Plane Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.726.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-jobs-data-plane",
@@ -20,58 +20,58 @@
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.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.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.721.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.721.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.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.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.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.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
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {