@aws-sdk/client-iot-jobs-data-plane 3.33.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 +47 -0
- package/{dist/cjs → dist-cjs}/IoTJobsDataPlane.js +1 -15
- package/dist-cjs/IoTJobsDataPlaneClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeJobExecutionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetPendingJobExecutionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartNextPendingJobExecutionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateJobExecutionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -55
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/IoTJobsDataPlane.js +2 -16
- package/{dist/es → dist-es}/IoTJobsDataPlaneClient.js +2 -21
- package/{dist/es → dist-es}/commands/DescribeJobExecutionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetPendingJobExecutionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/StartNextPendingJobExecutionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateJobExecutionCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -55
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +127 -133
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/IoTJobsDataPlane.d.ts +2 -2
- package/{dist/types → dist-types}/IoTJobsDataPlaneClient.d.ts +5 -5
- package/{dist/types → dist-types}/commands/DescribeJobExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetPendingJobExecutionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartNextPendingJobExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateJobExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/IoTJobsDataPlane.d.ts +7 -27
- package/dist-types/ts3.4/IoTJobsDataPlaneClient.d.ts +71 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeJobExecutionCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetPendingJobExecutionsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/StartNextPendingJobExecutionCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateJobExecutionCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +251 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/IoTJobsDataPlane.ts +0 -165
- package/IoTJobsDataPlaneClient.ts +0 -266
- package/commands/DescribeJobExecutionCommand.ts +0 -94
- package/commands/GetPendingJobExecutionsCommand.ts +0 -94
- package/commands/StartNextPendingJobExecutionCommand.ts +0 -99
- package/commands/UpdateJobExecutionCommand.ts +0 -94
- package/dist/cjs/IoTJobsDataPlane.js.map +0 -1
- package/dist/cjs/IoTJobsDataPlaneClient.js +0 -54
- package/dist/cjs/IoTJobsDataPlaneClient.js.map +0 -1
- package/dist/cjs/commands/DescribeJobExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/GetPendingJobExecutionsCommand.js.map +0 -1
- package/dist/cjs/commands/StartNextPendingJobExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateJobExecutionCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/IoTJobsDataPlane.js.map +0 -1
- package/dist/es/IoTJobsDataPlaneClient.js.map +0 -1
- package/dist/es/commands/DescribeJobExecutionCommand.js.map +0 -1
- package/dist/es/commands/GetPendingJobExecutionsCommand.js.map +0 -1
- package/dist/es/commands/StartNextPendingJobExecutionCommand.js.map +0 -1
- package/dist/es/commands/UpdateJobExecutionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -8
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/IoTJobsDataPlaneClient.d.ts +0 -146
- package/dist/types/ts3.4/models/models_0.d.ts +0 -435
- package/endpoints.ts +0 -91
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -533
- package/protocols/Aws_restJson1.ts +0 -848
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
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
|
+
|
|
17
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
23
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
24
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
|
|
36
|
+
* **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
* **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
|
|
7
54
|
|
|
8
55
|
**Note:** Version bump only for package @aws-sdk/client-iot-jobs-data-plane
|
|
@@ -1,24 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IoTJobsDataPlane = void 0;
|
|
4
|
-
const IoTJobsDataPlaneClient_1 = require("./IoTJobsDataPlaneClient");
|
|
5
4
|
const DescribeJobExecutionCommand_1 = require("./commands/DescribeJobExecutionCommand");
|
|
6
5
|
const GetPendingJobExecutionsCommand_1 = require("./commands/GetPendingJobExecutionsCommand");
|
|
7
6
|
const StartNextPendingJobExecutionCommand_1 = require("./commands/StartNextPendingJobExecutionCommand");
|
|
8
7
|
const UpdateJobExecutionCommand_1 = require("./commands/UpdateJobExecutionCommand");
|
|
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
|
-
*/
|
|
8
|
+
const IoTJobsDataPlaneClient_1 = require("./IoTJobsDataPlaneClient");
|
|
22
9
|
class IoTJobsDataPlane extends IoTJobsDataPlaneClient_1.IoTJobsDataPlaneClient {
|
|
23
10
|
describeJobExecution(args, optionsOrCb, cb) {
|
|
24
11
|
const command = new DescribeJobExecutionCommand_1.DescribeJobExecutionCommand(args);
|
|
@@ -78,4 +65,3 @@ class IoTJobsDataPlane extends IoTJobsDataPlaneClient_1.IoTJobsDataPlaneClient {
|
|
|
78
65
|
}
|
|
79
66
|
}
|
|
80
67
|
exports.IoTJobsDataPlane = IoTJobsDataPlane;
|
|
81
|
-
//# sourceMappingURL=IoTJobsDataPlane.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IoTJobsDataPlaneClient = void 0;
|
|
4
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
+
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
|
+
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
|
+
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
|
+
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
+
class IoTJobsDataPlaneClient extends smithy_client_1.Client {
|
|
14
|
+
constructor(configuration) {
|
|
15
|
+
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
+
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
+
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
+
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
+
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
+
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
+
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
22
|
+
super(_config_6);
|
|
23
|
+
this.config = _config_6;
|
|
24
|
+
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
+
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
30
|
+
}
|
|
31
|
+
destroy() {
|
|
32
|
+
super.destroy();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.IoTJobsDataPlaneClient = IoTJobsDataPlaneClient;
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeJobExecutionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
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);
|
|
@@ -58,4 +34,3 @@ class DescribeJobExecutionCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DescribeJobExecutionCommand = DescribeJobExecutionCommand;
|
|
61
|
-
//# sourceMappingURL=DescribeJobExecutionCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetPendingJobExecutionsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
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);
|
|
@@ -58,4 +34,3 @@ class GetPendingJobExecutionsCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetPendingJobExecutionsCommand = GetPendingJobExecutionsCommand;
|
|
61
|
-
//# sourceMappingURL=GetPendingJobExecutionsCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StartNextPendingJobExecutionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
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);
|
|
@@ -58,4 +34,3 @@ class StartNextPendingJobExecutionCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.StartNextPendingJobExecutionCommand = StartNextPendingJobExecutionCommand;
|
|
61
|
-
//# sourceMappingURL=StartNextPendingJobExecutionCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateJobExecutionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
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);
|
|
@@ -58,4 +34,3 @@ class UpdateJobExecutionCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateJobExecutionCommand = UpdateJobExecutionCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateJobExecutionCommand.js.map
|
|
@@ -8,4 +8,3 @@ tslib_1.__exportStar(require("./commands/GetPendingJobExecutionsCommand"), expor
|
|
|
8
8
|
tslib_1.__exportStar(require("./commands/StartNextPendingJobExecutionCommand"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./commands/UpdateJobExecutionCommand"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./models/index"), exports);
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -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,146 +26,97 @@ 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
|
});
|
|
176
122
|
})(UpdateJobExecutionResponse = exports.UpdateJobExecutionResponse || (exports.UpdateJobExecutionResponse = {}));
|
|
177
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -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) => {
|
|
@@ -724,4 +719,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
724
719
|
}
|
|
725
720
|
return "";
|
|
726
721
|
};
|
|
727
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
15
|
const getRuntimeConfig = (config) => {
|
|
19
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
35
|
};
|
|
39
36
|
};
|
|
40
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const package_json_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
19
|
const getRuntimeConfig = (config) => {
|
|
23
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
24
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
40
|
};
|
|
44
41
|
};
|
|
45
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -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);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
|
-
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,23 +1,10 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
|
|
3
2
|
import { DescribeJobExecutionCommand, } from "./commands/DescribeJobExecutionCommand";
|
|
4
3
|
import { GetPendingJobExecutionsCommand, } from "./commands/GetPendingJobExecutionsCommand";
|
|
5
4
|
import { StartNextPendingJobExecutionCommand, } from "./commands/StartNextPendingJobExecutionCommand";
|
|
6
5
|
import { UpdateJobExecutionCommand, } from "./commands/UpdateJobExecutionCommand";
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
*/
|
|
20
|
-
var IoTJobsDataPlane = /** @class */ (function (_super) {
|
|
6
|
+
import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
|
|
7
|
+
var IoTJobsDataPlane = (function (_super) {
|
|
21
8
|
__extends(IoTJobsDataPlane, _super);
|
|
22
9
|
function IoTJobsDataPlane() {
|
|
23
10
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -81,4 +68,3 @@ var IoTJobsDataPlane = /** @class */ (function (_super) {
|
|
|
81
68
|
return IoTJobsDataPlane;
|
|
82
69
|
}(IoTJobsDataPlaneClient));
|
|
83
70
|
export { IoTJobsDataPlane };
|
|
84
|
-
//# sourceMappingURL=IoTJobsDataPlane.js.map
|