@aws-sdk/client-iot-jobs-data-plane 3.36.0 → 3.36.1

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,17 @@
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.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
18
 
8
19
 
@@ -6,19 +6,6 @@ const GetPendingJobExecutionsCommand_1 = require("./commands/GetPendingJobExecut
6
6
  const StartNextPendingJobExecutionCommand_1 = require("./commands/StartNextPendingJobExecutionCommand");
7
7
  const UpdateJobExecutionCommand_1 = require("./commands/UpdateJobExecutionCommand");
8
8
  const IoTJobsDataPlaneClient_1 = require("./IoTJobsDataPlaneClient");
9
- /**
10
- * <p>AWS IoT Jobs is a service that allows you to define a set of jobs — remote operations that are sent to
11
- * and executed on one or more devices connected to AWS IoT. For example, you can define a job that instructs a
12
- * set of devices to download and install application or firmware updates, reboot, rotate certificates, or perform
13
- * remote troubleshooting operations.</p>
14
- * <p> To create a job, you make a job document which is a description of the remote operations to be
15
- * performed, and you specify a list of targets that should perform the operations. The targets can be individual
16
- * things, thing groups or both.</p>
17
- * <p> AWS IoT Jobs sends a message to inform the targets that a job is available. The target starts the
18
- * execution of the job by downloading the job document, performing the operations it specifies, and reporting its
19
- * progress to AWS IoT. The Jobs service provides commands to track the progress of a job on a specific target and
20
- * for all the targets of the job</p>
21
- */
22
9
  class IoTJobsDataPlane extends IoTJobsDataPlaneClient_1.IoTJobsDataPlaneClient {
23
10
  describeJobExecution(args, optionsOrCb, cb) {
24
11
  const command = new DescribeJobExecutionCommand_1.DescribeJobExecutionCommand(args);
@@ -10,19 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <p>AWS IoT Jobs is a service that allows you to define a set of jobs — remote operations that are sent to
15
- * and executed on one or more devices connected to AWS IoT. For example, you can define a job that instructs a
16
- * set of devices to download and install application or firmware updates, reboot, rotate certificates, or perform
17
- * remote troubleshooting operations.</p>
18
- * <p> To create a job, you make a job document which is a description of the remote operations to be
19
- * performed, and you specify a list of targets that should perform the operations. The targets can be individual
20
- * things, thing groups or both.</p>
21
- * <p> AWS IoT Jobs sends a message to inform the targets that a job is available. The target starts the
22
- * execution of the job by downloading the job document, performing the operations it specifies, and reporting its
23
- * progress to AWS IoT. The Jobs service provides commands to track the progress of a job on a specific target and
24
- * for all the targets of the job</p>
25
- */
26
13
  class IoTJobsDataPlaneClient extends smithy_client_1.Client {
27
14
  constructor(configuration) {
28
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -41,11 +28,6 @@ class IoTJobsDataPlaneClient extends smithy_client_1.Client {
41
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
42
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
43
30
  }
44
- /**
45
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
46
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
47
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
48
- */
49
31
  destroy() {
50
32
  super.destroy();
51
33
  }
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets details of a job execution.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { IoTJobsDataPlaneClient, DescribeJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
14
- * // const { IoTJobsDataPlaneClient, DescribeJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
15
- * const client = new IoTJobsDataPlaneClient(config);
16
- * const command = new DescribeJobExecutionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeJobExecutionCommandInput} for command's `input` shape.
21
- * @see {@link DescribeJobExecutionCommandOutput} for command's `response` shape.
22
- * @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeJobExecutionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets the list of all jobs for a thing that are not in a terminal status.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { IoTJobsDataPlaneClient, GetPendingJobExecutionsCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
14
- * // const { IoTJobsDataPlaneClient, GetPendingJobExecutionsCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
15
- * const client = new IoTJobsDataPlaneClient(config);
16
- * const command = new GetPendingJobExecutionsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetPendingJobExecutionsCommandInput} for command's `input` shape.
21
- * @see {@link GetPendingJobExecutionsCommandOutput} for command's `response` shape.
22
- * @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetPendingJobExecutionsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { IoTJobsDataPlaneClient, StartNextPendingJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
14
- * // const { IoTJobsDataPlaneClient, StartNextPendingJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
15
- * const client = new IoTJobsDataPlaneClient(config);
16
- * const command = new StartNextPendingJobExecutionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StartNextPendingJobExecutionCommandInput} for command's `input` shape.
21
- * @see {@link StartNextPendingJobExecutionCommandOutput} for command's `response` shape.
22
- * @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class StartNextPendingJobExecutionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates the status of a job execution.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { IoTJobsDataPlaneClient, UpdateJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
14
- * // const { IoTJobsDataPlaneClient, UpdateJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
15
- * const client = new IoTJobsDataPlaneClient(config);
16
- * const command = new UpdateJobExecutionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateJobExecutionCommandInput} for command's `input` shape.
21
- * @see {@link UpdateJobExecutionCommandOutput} for command's `response` shape.
22
- * @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateJobExecutionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -3,18 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateJobExecutionResponse = exports.JobExecutionState = exports.UpdateJobExecutionRequest = exports.StartNextPendingJobExecutionResponse = exports.StartNextPendingJobExecutionRequest = exports.InvalidStateTransitionException = exports.GetPendingJobExecutionsResponse = exports.JobExecutionSummary = exports.GetPendingJobExecutionsRequest = exports.ThrottlingException = exports.TerminalStateException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.DescribeJobExecutionResponse = exports.JobExecution = exports.JobExecutionStatus = exports.DescribeJobExecutionRequest = exports.CertificateValidationException = void 0;
4
4
  var CertificateValidationException;
5
5
  (function (CertificateValidationException) {
6
- /**
7
- * @internal
8
- */
9
6
  CertificateValidationException.filterSensitiveLog = (obj) => ({
10
7
  ...obj,
11
8
  });
12
9
  })(CertificateValidationException = exports.CertificateValidationException || (exports.CertificateValidationException = {}));
13
10
  var DescribeJobExecutionRequest;
14
11
  (function (DescribeJobExecutionRequest) {
15
- /**
16
- * @internal
17
- */
18
12
  DescribeJobExecutionRequest.filterSensitiveLog = (obj) => ({
19
13
  ...obj,
20
14
  });
@@ -32,144 +26,96 @@ var JobExecutionStatus;
32
26
  })(JobExecutionStatus = exports.JobExecutionStatus || (exports.JobExecutionStatus = {}));
33
27
  var JobExecution;
34
28
  (function (JobExecution) {
35
- /**
36
- * @internal
37
- */
38
29
  JobExecution.filterSensitiveLog = (obj) => ({
39
30
  ...obj,
40
31
  });
41
32
  })(JobExecution = exports.JobExecution || (exports.JobExecution = {}));
42
33
  var DescribeJobExecutionResponse;
43
34
  (function (DescribeJobExecutionResponse) {
44
- /**
45
- * @internal
46
- */
47
35
  DescribeJobExecutionResponse.filterSensitiveLog = (obj) => ({
48
36
  ...obj,
49
37
  });
50
38
  })(DescribeJobExecutionResponse = exports.DescribeJobExecutionResponse || (exports.DescribeJobExecutionResponse = {}));
51
39
  var InvalidRequestException;
52
40
  (function (InvalidRequestException) {
53
- /**
54
- * @internal
55
- */
56
41
  InvalidRequestException.filterSensitiveLog = (obj) => ({
57
42
  ...obj,
58
43
  });
59
44
  })(InvalidRequestException = exports.InvalidRequestException || (exports.InvalidRequestException = {}));
60
45
  var ResourceNotFoundException;
61
46
  (function (ResourceNotFoundException) {
62
- /**
63
- * @internal
64
- */
65
47
  ResourceNotFoundException.filterSensitiveLog = (obj) => ({
66
48
  ...obj,
67
49
  });
68
50
  })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
69
51
  var ServiceUnavailableException;
70
52
  (function (ServiceUnavailableException) {
71
- /**
72
- * @internal
73
- */
74
53
  ServiceUnavailableException.filterSensitiveLog = (obj) => ({
75
54
  ...obj,
76
55
  });
77
56
  })(ServiceUnavailableException = exports.ServiceUnavailableException || (exports.ServiceUnavailableException = {}));
78
57
  var TerminalStateException;
79
58
  (function (TerminalStateException) {
80
- /**
81
- * @internal
82
- */
83
59
  TerminalStateException.filterSensitiveLog = (obj) => ({
84
60
  ...obj,
85
61
  });
86
62
  })(TerminalStateException = exports.TerminalStateException || (exports.TerminalStateException = {}));
87
63
  var ThrottlingException;
88
64
  (function (ThrottlingException) {
89
- /**
90
- * @internal
91
- */
92
65
  ThrottlingException.filterSensitiveLog = (obj) => ({
93
66
  ...obj,
94
67
  });
95
68
  })(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
96
69
  var GetPendingJobExecutionsRequest;
97
70
  (function (GetPendingJobExecutionsRequest) {
98
- /**
99
- * @internal
100
- */
101
71
  GetPendingJobExecutionsRequest.filterSensitiveLog = (obj) => ({
102
72
  ...obj,
103
73
  });
104
74
  })(GetPendingJobExecutionsRequest = exports.GetPendingJobExecutionsRequest || (exports.GetPendingJobExecutionsRequest = {}));
105
75
  var JobExecutionSummary;
106
76
  (function (JobExecutionSummary) {
107
- /**
108
- * @internal
109
- */
110
77
  JobExecutionSummary.filterSensitiveLog = (obj) => ({
111
78
  ...obj,
112
79
  });
113
80
  })(JobExecutionSummary = exports.JobExecutionSummary || (exports.JobExecutionSummary = {}));
114
81
  var GetPendingJobExecutionsResponse;
115
82
  (function (GetPendingJobExecutionsResponse) {
116
- /**
117
- * @internal
118
- */
119
83
  GetPendingJobExecutionsResponse.filterSensitiveLog = (obj) => ({
120
84
  ...obj,
121
85
  });
122
86
  })(GetPendingJobExecutionsResponse = exports.GetPendingJobExecutionsResponse || (exports.GetPendingJobExecutionsResponse = {}));
123
87
  var InvalidStateTransitionException;
124
88
  (function (InvalidStateTransitionException) {
125
- /**
126
- * @internal
127
- */
128
89
  InvalidStateTransitionException.filterSensitiveLog = (obj) => ({
129
90
  ...obj,
130
91
  });
131
92
  })(InvalidStateTransitionException = exports.InvalidStateTransitionException || (exports.InvalidStateTransitionException = {}));
132
93
  var StartNextPendingJobExecutionRequest;
133
94
  (function (StartNextPendingJobExecutionRequest) {
134
- /**
135
- * @internal
136
- */
137
95
  StartNextPendingJobExecutionRequest.filterSensitiveLog = (obj) => ({
138
96
  ...obj,
139
97
  });
140
98
  })(StartNextPendingJobExecutionRequest = exports.StartNextPendingJobExecutionRequest || (exports.StartNextPendingJobExecutionRequest = {}));
141
99
  var StartNextPendingJobExecutionResponse;
142
100
  (function (StartNextPendingJobExecutionResponse) {
143
- /**
144
- * @internal
145
- */
146
101
  StartNextPendingJobExecutionResponse.filterSensitiveLog = (obj) => ({
147
102
  ...obj,
148
103
  });
149
104
  })(StartNextPendingJobExecutionResponse = exports.StartNextPendingJobExecutionResponse || (exports.StartNextPendingJobExecutionResponse = {}));
150
105
  var UpdateJobExecutionRequest;
151
106
  (function (UpdateJobExecutionRequest) {
152
- /**
153
- * @internal
154
- */
155
107
  UpdateJobExecutionRequest.filterSensitiveLog = (obj) => ({
156
108
  ...obj,
157
109
  });
158
110
  })(UpdateJobExecutionRequest = exports.UpdateJobExecutionRequest || (exports.UpdateJobExecutionRequest = {}));
159
111
  var JobExecutionState;
160
112
  (function (JobExecutionState) {
161
- /**
162
- * @internal
163
- */
164
113
  JobExecutionState.filterSensitiveLog = (obj) => ({
165
114
  ...obj,
166
115
  });
167
116
  })(JobExecutionState = exports.JobExecutionState || (exports.JobExecutionState = {}));
168
117
  var UpdateJobExecutionResponse;
169
118
  (function (UpdateJobExecutionResponse) {
170
- /**
171
- * @internal
172
- */
173
119
  UpdateJobExecutionResponse.filterSensitiveLog = (obj) => ({
174
120
  ...obj,
175
121
  });
@@ -677,14 +677,12 @@ const deserializeMetadata = (output) => {
677
677
  cfId: output.headers["x-amz-cf-id"],
678
678
  });
679
679
  };
680
- // Collect low-level response body stream to Uint8Array.
681
680
  const collectBody = (streamBody = new Uint8Array(), context) => {
682
681
  if (streamBody instanceof Uint8Array) {
683
682
  return Promise.resolve(streamBody);
684
683
  }
685
684
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
686
685
  };
687
- // Encode Uint8Array data into string with utf-8.
688
686
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
689
687
  const isSerializableHeaderValue = (value) => value !== undefined &&
690
688
  value !== null &&
@@ -697,9 +695,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
697
695
  }
698
696
  return {};
699
697
  });
700
- /**
701
- * Load an error code for the aws.rest-json-1.1 protocol.
702
- */
703
698
  const loadRestJsonErrorCode = (output, data) => {
704
699
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
705
700
  const sanitizeErrorCode = (rawValue) => {
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
8
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -2,8 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- // @ts-ignore: package.json will be imported from dist folders
6
- const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
7
6
  const client_sts_1 = require("@aws-sdk/client-sts");
8
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
9
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
17
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
18
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
20
- /**
21
- * @internal
22
- */
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpoints_1 = require("./endpoints");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -4,41 +4,21 @@ import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutp
4
4
  import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "./commands/StartNextPendingJobExecutionCommand";
5
5
  import { UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput } from "./commands/UpdateJobExecutionCommand";
6
6
  import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
7
- /**
8
- * <p>AWS IoT Jobs is a service that allows you to define a set of jobs — remote operations that are sent to
9
- * and executed on one or more devices connected to AWS IoT. For example, you can define a job that instructs a
10
- * set of devices to download and install application or firmware updates, reboot, rotate certificates, or perform
11
- * remote troubleshooting operations.</p>
12
- * <p> To create a job, you make a job document which is a description of the remote operations to be
13
- * performed, and you specify a list of targets that should perform the operations. The targets can be individual
14
- * things, thing groups or both.</p>
15
- * <p> AWS IoT Jobs sends a message to inform the targets that a job is available. The target starts the
16
- * execution of the job by downloading the job document, performing the operations it specifies, and reporting its
17
- * progress to AWS IoT. The Jobs service provides commands to track the progress of a job on a specific target and
18
- * for all the targets of the job</p>
19
- */
7
+
20
8
  export declare class IoTJobsDataPlane extends IoTJobsDataPlaneClient {
21
- /**
22
- * <p>Gets details of a job execution.</p>
23
- */
9
+
24
10
  describeJobExecution(args: DescribeJobExecutionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobExecutionCommandOutput>;
25
11
  describeJobExecution(args: DescribeJobExecutionCommandInput, cb: (err: any, data?: DescribeJobExecutionCommandOutput) => void): void;
26
12
  describeJobExecution(args: DescribeJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobExecutionCommandOutput) => void): void;
27
- /**
28
- * <p>Gets the list of all jobs for a thing that are not in a terminal status.</p>
29
- */
13
+
30
14
  getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<GetPendingJobExecutionsCommandOutput>;
31
15
  getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void): void;
32
16
  getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void): void;
33
- /**
34
- * <p>Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.</p>
35
- */
17
+
36
18
  startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartNextPendingJobExecutionCommandOutput>;
37
19
  startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void): void;
38
20
  startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void): void;
39
- /**
40
- * <p>Updates the status of a job execution.</p>
41
- */
21
+
42
22
  updateJobExecution(args: UpdateJobExecutionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobExecutionCommandOutput>;
43
23
  updateJobExecution(args: UpdateJobExecutionCommandInput, cb: (err: any, data?: UpdateJobExecutionCommandOutput) => void): void;
44
24
  updateJobExecution(args: UpdateJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobExecutionCommandOutput) => void): void;