@aws-sdk/client-iot-jobs-data-plane 3.183.0 → 3.186.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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-iot-jobs-data-plane
9
+
10
+
11
+
12
+
13
+
14
+ # [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
20
+
21
+
22
+
23
+
24
+
6
25
  # [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
7
26
 
8
27
  **Note:** Version bump only for package @aws-sdk/client-iot-jobs-data-plane
@@ -451,10 +451,10 @@ const deserializeAws_restJson1JobExecutionSummaryList = (output, context) => {
451
451
  return retVal;
452
452
  };
453
453
  const deserializeMetadata = (output) => {
454
- var _a;
454
+ var _a, _b;
455
455
  return ({
456
456
  httpStatusCode: output.statusCode,
457
- requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
457
+ requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
458
458
  extendedRequestId: output.headers["x-amz-id-2"],
459
459
  cfId: output.headers["x-amz-cf-id"],
460
460
  });
@@ -1,63 +1,70 @@
1
+ import { __extends } from "tslib";
1
2
  import { DescribeJobExecutionCommand, } from "./commands/DescribeJobExecutionCommand";
2
3
  import { GetPendingJobExecutionsCommand, } from "./commands/GetPendingJobExecutionsCommand";
3
4
  import { StartNextPendingJobExecutionCommand, } from "./commands/StartNextPendingJobExecutionCommand";
4
5
  import { UpdateJobExecutionCommand, } from "./commands/UpdateJobExecutionCommand";
5
6
  import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
6
- export class IoTJobsDataPlane extends IoTJobsDataPlaneClient {
7
- describeJobExecution(args, optionsOrCb, cb) {
8
- const command = new DescribeJobExecutionCommand(args);
7
+ var IoTJobsDataPlane = (function (_super) {
8
+ __extends(IoTJobsDataPlane, _super);
9
+ function IoTJobsDataPlane() {
10
+ return _super !== null && _super.apply(this, arguments) || this;
11
+ }
12
+ IoTJobsDataPlane.prototype.describeJobExecution = function (args, optionsOrCb, cb) {
13
+ var command = new DescribeJobExecutionCommand(args);
9
14
  if (typeof optionsOrCb === "function") {
10
15
  this.send(command, optionsOrCb);
11
16
  }
12
17
  else if (typeof cb === "function") {
13
18
  if (typeof optionsOrCb !== "object")
14
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
19
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
15
20
  this.send(command, optionsOrCb || {}, cb);
16
21
  }
17
22
  else {
18
23
  return this.send(command, optionsOrCb);
19
24
  }
20
- }
21
- getPendingJobExecutions(args, optionsOrCb, cb) {
22
- const command = new GetPendingJobExecutionsCommand(args);
25
+ };
26
+ IoTJobsDataPlane.prototype.getPendingJobExecutions = function (args, optionsOrCb, cb) {
27
+ var command = new GetPendingJobExecutionsCommand(args);
23
28
  if (typeof optionsOrCb === "function") {
24
29
  this.send(command, optionsOrCb);
25
30
  }
26
31
  else if (typeof cb === "function") {
27
32
  if (typeof optionsOrCb !== "object")
28
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
33
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
29
34
  this.send(command, optionsOrCb || {}, cb);
30
35
  }
31
36
  else {
32
37
  return this.send(command, optionsOrCb);
33
38
  }
34
- }
35
- startNextPendingJobExecution(args, optionsOrCb, cb) {
36
- const command = new StartNextPendingJobExecutionCommand(args);
39
+ };
40
+ IoTJobsDataPlane.prototype.startNextPendingJobExecution = function (args, optionsOrCb, cb) {
41
+ var command = new StartNextPendingJobExecutionCommand(args);
37
42
  if (typeof optionsOrCb === "function") {
38
43
  this.send(command, optionsOrCb);
39
44
  }
40
45
  else if (typeof cb === "function") {
41
46
  if (typeof optionsOrCb !== "object")
42
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
47
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
43
48
  this.send(command, optionsOrCb || {}, cb);
44
49
  }
45
50
  else {
46
51
  return this.send(command, optionsOrCb);
47
52
  }
48
- }
49
- updateJobExecution(args, optionsOrCb, cb) {
50
- const command = new UpdateJobExecutionCommand(args);
53
+ };
54
+ IoTJobsDataPlane.prototype.updateJobExecution = function (args, optionsOrCb, cb) {
55
+ var command = new UpdateJobExecutionCommand(args);
51
56
  if (typeof optionsOrCb === "function") {
52
57
  this.send(command, optionsOrCb);
53
58
  }
54
59
  else if (typeof cb === "function") {
55
60
  if (typeof optionsOrCb !== "object")
56
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
61
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
57
62
  this.send(command, optionsOrCb || {}, cb);
58
63
  }
59
64
  else {
60
65
  return this.send(command, optionsOrCb);
61
66
  }
62
- }
63
- }
67
+ };
68
+ return IoTJobsDataPlane;
69
+ }(IoTJobsDataPlaneClient));
70
+ export { IoTJobsDataPlane };
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class IoTJobsDataPlaneClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var IoTJobsDataPlaneClient = (function (_super) {
13
+ __extends(IoTJobsDataPlaneClient, _super);
14
+ function IoTJobsDataPlaneClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ IoTJobsDataPlaneClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return IoTJobsDataPlaneClient;
38
+ }(__Client));
39
+ export { IoTJobsDataPlaneClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeJobExecutionRequestFilterSensitiveLog, DescribeJobExecutionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeJobExecutionCommand, serializeAws_restJson1DescribeJobExecutionCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeJobExecutionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeJobExecutionCommand = (function (_super) {
7
+ __extends(DescribeJobExecutionCommand, _super);
8
+ function DescribeJobExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeJobExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTJobsDataPlaneClient";
15
- const commandName = "DescribeJobExecutionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTJobsDataPlaneClient";
18
+ var commandName = "DescribeJobExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeJobExecutionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeJobExecutionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeJobExecutionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeJobExecutionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeJobExecutionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeJobExecutionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeJobExecutionCommand;
38
+ }($Command));
39
+ export { DescribeJobExecutionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetPendingJobExecutionsRequestFilterSensitiveLog, GetPendingJobExecutionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPendingJobExecutionsCommand, serializeAws_restJson1GetPendingJobExecutionsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPendingJobExecutionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPendingJobExecutionsCommand = (function (_super) {
7
+ __extends(GetPendingJobExecutionsCommand, _super);
8
+ function GetPendingJobExecutionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPendingJobExecutionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTJobsDataPlaneClient";
15
- const commandName = "GetPendingJobExecutionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTJobsDataPlaneClient";
18
+ var commandName = "GetPendingJobExecutionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPendingJobExecutionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPendingJobExecutionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetPendingJobExecutionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPendingJobExecutionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPendingJobExecutionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPendingJobExecutionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPendingJobExecutionsCommand;
38
+ }($Command));
39
+ export { GetPendingJobExecutionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartNextPendingJobExecutionRequestFilterSensitiveLog, StartNextPendingJobExecutionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartNextPendingJobExecutionCommand, serializeAws_restJson1StartNextPendingJobExecutionCommand, } from "../protocols/Aws_restJson1";
5
- export class StartNextPendingJobExecutionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartNextPendingJobExecutionCommand = (function (_super) {
7
+ __extends(StartNextPendingJobExecutionCommand, _super);
8
+ function StartNextPendingJobExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartNextPendingJobExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTJobsDataPlaneClient";
15
- const commandName = "StartNextPendingJobExecutionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTJobsDataPlaneClient";
18
+ var commandName = "StartNextPendingJobExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartNextPendingJobExecutionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartNextPendingJobExecutionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartNextPendingJobExecutionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartNextPendingJobExecutionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartNextPendingJobExecutionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartNextPendingJobExecutionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartNextPendingJobExecutionCommand;
38
+ }($Command));
39
+ export { StartNextPendingJobExecutionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateJobExecutionRequestFilterSensitiveLog, UpdateJobExecutionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateJobExecutionCommand, serializeAws_restJson1UpdateJobExecutionCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateJobExecutionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateJobExecutionCommand = (function (_super) {
7
+ __extends(UpdateJobExecutionCommand, _super);
8
+ function UpdateJobExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateJobExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTJobsDataPlaneClient";
15
- const commandName = "UpdateJobExecutionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTJobsDataPlaneClient";
18
+ var commandName = "UpdateJobExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateJobExecutionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateJobExecutionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateJobExecutionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateJobExecutionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateJobExecutionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateJobExecutionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateJobExecutionCommand;
38
+ }($Command));
39
+ export { UpdateJobExecutionCommand };
@@ -1,5 +1,6 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
+ var regionHash = {
3
4
  "ca-central-1": {
4
5
  variants: [
5
6
  {
@@ -57,7 +58,7 @@ const regionHash = {
57
58
  ],
58
59
  },
59
60
  };
60
- const partitionHash = {
61
+ var partitionHash = {
61
62
  aws: {
62
63
  regions: [
63
64
  "af-south-1",
@@ -182,9 +183,8 @@ const partitionHash = {
182
183
  ],
183
184
  },
184
185
  };
185
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
186
- ...options,
187
- signingService: "iot-jobs-data",
188
- regionHash,
189
- partitionHash,
190
- });
186
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
187
+ return __generator(this, function (_a) {
188
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "iot-jobs-data", regionHash: regionHash, partitionHash: partitionHash }))];
189
+ });
190
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class IoTJobsDataPlaneServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, IoTJobsDataPlaneServiceException.prototype);
3
+ var IoTJobsDataPlaneServiceException = (function (_super) {
4
+ __extends(IoTJobsDataPlaneServiceException, _super);
5
+ function IoTJobsDataPlaneServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, IoTJobsDataPlaneServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return IoTJobsDataPlaneServiceException;
11
+ }(__ServiceException));
12
+ export { IoTJobsDataPlaneServiceException };