@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
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,20 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* and executed on one or more devices connected to AWS IoT. For example, you can define a job that instructs a
|
|
14
|
-
* set of devices to download and install application or firmware updates, reboot, rotate certificates, or perform
|
|
15
|
-
* remote troubleshooting operations.</p>
|
|
16
|
-
* <p> To create a job, you make a job document which is a description of the remote operations to be
|
|
17
|
-
* performed, and you specify a list of targets that should perform the operations. The targets can be individual
|
|
18
|
-
* things, thing groups or both.</p>
|
|
19
|
-
* <p> AWS IoT Jobs sends a message to inform the targets that a job is available. The target starts the
|
|
20
|
-
* execution of the job by downloading the job document, performing the operations it specifies, and reporting its
|
|
21
|
-
* progress to AWS IoT. The Jobs service provides commands to track the progress of a job on a specific target and
|
|
22
|
-
* for all the targets of the job</p>
|
|
23
|
-
*/
|
|
24
|
-
var IoTJobsDataPlaneClient = /** @class */ (function (_super) {
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
+
var IoTJobsDataPlaneClient = (function (_super) {
|
|
25
12
|
__extends(IoTJobsDataPlaneClient, _super);
|
|
26
13
|
function IoTJobsDataPlaneClient(configuration) {
|
|
27
14
|
var _this = this;
|
|
@@ -42,15 +29,9 @@ var IoTJobsDataPlaneClient = /** @class */ (function (_super) {
|
|
|
42
29
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
43
30
|
return _this;
|
|
44
31
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
47
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
48
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
49
|
-
*/
|
|
50
32
|
IoTJobsDataPlaneClient.prototype.destroy = function () {
|
|
51
33
|
_super.prototype.destroy.call(this);
|
|
52
34
|
};
|
|
53
35
|
return IoTJobsDataPlaneClient;
|
|
54
36
|
}(__Client));
|
|
55
37
|
export { IoTJobsDataPlaneClient };
|
|
56
|
-
//# sourceMappingURL=IoTJobsDataPlaneClient.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { DescribeJobExecutionRequest, DescribeJobExecutionResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1DescribeJobExecutionCommand, serializeAws_restJson1DescribeJobExecutionCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { IoTJobsDataPlaneClient, DescribeJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
|
|
12
|
-
* // const { IoTJobsDataPlaneClient, DescribeJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
|
|
13
|
-
* const client = new IoTJobsDataPlaneClient(config);
|
|
14
|
-
* const command = new DescribeJobExecutionCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DescribeJobExecutionCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DescribeJobExecutionCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DescribeJobExecutionCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { DescribeJobExecutionRequest, DescribeJobExecutionResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeJobExecutionCommand, serializeAws_restJson1DescribeJobExecutionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeJobExecutionCommand = (function (_super) {
|
|
24
7
|
__extends(DescribeJobExecutionCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DescribeJobExecutionCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
DescribeJobExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var DescribeJobExecutionCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return DescribeJobExecutionCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { DescribeJobExecutionCommand };
|
|
65
|
-
//# sourceMappingURL=DescribeJobExecutionCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { GetPendingJobExecutionsRequest, GetPendingJobExecutionsResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetPendingJobExecutionsCommand, serializeAws_restJson1GetPendingJobExecutionsCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { IoTJobsDataPlaneClient, GetPendingJobExecutionsCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
|
|
12
|
-
* // const { IoTJobsDataPlaneClient, GetPendingJobExecutionsCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
|
|
13
|
-
* const client = new IoTJobsDataPlaneClient(config);
|
|
14
|
-
* const command = new GetPendingJobExecutionsCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link GetPendingJobExecutionsCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link GetPendingJobExecutionsCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var GetPendingJobExecutionsCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { GetPendingJobExecutionsRequest, GetPendingJobExecutionsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetPendingJobExecutionsCommand, serializeAws_restJson1GetPendingJobExecutionsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetPendingJobExecutionsCommand = (function (_super) {
|
|
24
7
|
__extends(GetPendingJobExecutionsCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function GetPendingJobExecutionsCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
GetPendingJobExecutionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var GetPendingJobExecutionsCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return GetPendingJobExecutionsCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { GetPendingJobExecutionsCommand };
|
|
65
|
-
//# sourceMappingURL=GetPendingJobExecutionsCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { StartNextPendingJobExecutionRequest, StartNextPendingJobExecutionResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1StartNextPendingJobExecutionCommand, serializeAws_restJson1StartNextPendingJobExecutionCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { IoTJobsDataPlaneClient, StartNextPendingJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
|
|
12
|
-
* // const { IoTJobsDataPlaneClient, StartNextPendingJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
|
|
13
|
-
* const client = new IoTJobsDataPlaneClient(config);
|
|
14
|
-
* const command = new StartNextPendingJobExecutionCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link StartNextPendingJobExecutionCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link StartNextPendingJobExecutionCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var StartNextPendingJobExecutionCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { StartNextPendingJobExecutionRequest, StartNextPendingJobExecutionResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1StartNextPendingJobExecutionCommand, serializeAws_restJson1StartNextPendingJobExecutionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var StartNextPendingJobExecutionCommand = (function (_super) {
|
|
24
7
|
__extends(StartNextPendingJobExecutionCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function StartNextPendingJobExecutionCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
StartNextPendingJobExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var StartNextPendingJobExecutionCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return StartNextPendingJobExecutionCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { StartNextPendingJobExecutionCommand };
|
|
65
|
-
//# sourceMappingURL=StartNextPendingJobExecutionCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { UpdateJobExecutionRequest, UpdateJobExecutionResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1UpdateJobExecutionCommand, serializeAws_restJson1UpdateJobExecutionCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { IoTJobsDataPlaneClient, UpdateJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
|
|
12
|
-
* // const { IoTJobsDataPlaneClient, UpdateJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
|
|
13
|
-
* const client = new IoTJobsDataPlaneClient(config);
|
|
14
|
-
* const command = new UpdateJobExecutionCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateJobExecutionCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateJobExecutionCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateJobExecutionCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { UpdateJobExecutionRequest, UpdateJobExecutionResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateJobExecutionCommand, serializeAws_restJson1UpdateJobExecutionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateJobExecutionCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateJobExecutionCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateJobExecutionCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateJobExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var UpdateJobExecutionCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return UpdateJobExecutionCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { UpdateJobExecutionCommand };
|
|
65
|
-
//# sourceMappingURL=UpdateJobExecutionCommand.js.map
|
|
@@ -81,7 +81,6 @@ var partitionHash = {
|
|
|
81
81
|
};
|
|
82
82
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
83
83
|
return __generator(this, function (_a) {
|
|
84
|
-
return [2
|
|
84
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "iot-jobs-data", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
85
85
|
});
|
|
86
86
|
}); };
|
|
87
|
-
//# sourceMappingURL=endpoints.js.map
|
|
File without changes
|
|
File without changes
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
export var CertificateValidationException;
|
|
3
3
|
(function (CertificateValidationException) {
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
4
|
CertificateValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
8
5
|
})(CertificateValidationException || (CertificateValidationException = {}));
|
|
9
6
|
export var DescribeJobExecutionRequest;
|
|
10
7
|
(function (DescribeJobExecutionRequest) {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
8
|
DescribeJobExecutionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
15
9
|
})(DescribeJobExecutionRequest || (DescribeJobExecutionRequest = {}));
|
|
16
10
|
export var JobExecutionStatus;
|
|
@@ -26,114 +20,65 @@ export var JobExecutionStatus;
|
|
|
26
20
|
})(JobExecutionStatus || (JobExecutionStatus = {}));
|
|
27
21
|
export var JobExecution;
|
|
28
22
|
(function (JobExecution) {
|
|
29
|
-
/**
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
32
23
|
JobExecution.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
24
|
})(JobExecution || (JobExecution = {}));
|
|
34
25
|
export var DescribeJobExecutionResponse;
|
|
35
26
|
(function (DescribeJobExecutionResponse) {
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
27
|
DescribeJobExecutionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
40
28
|
})(DescribeJobExecutionResponse || (DescribeJobExecutionResponse = {}));
|
|
41
29
|
export var InvalidRequestException;
|
|
42
30
|
(function (InvalidRequestException) {
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
31
|
InvalidRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
47
32
|
})(InvalidRequestException || (InvalidRequestException = {}));
|
|
48
33
|
export var ResourceNotFoundException;
|
|
49
34
|
(function (ResourceNotFoundException) {
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
35
|
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
36
|
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
55
37
|
export var ServiceUnavailableException;
|
|
56
38
|
(function (ServiceUnavailableException) {
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
39
|
ServiceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
61
40
|
})(ServiceUnavailableException || (ServiceUnavailableException = {}));
|
|
62
41
|
export var TerminalStateException;
|
|
63
42
|
(function (TerminalStateException) {
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
43
|
TerminalStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
68
44
|
})(TerminalStateException || (TerminalStateException = {}));
|
|
69
45
|
export var ThrottlingException;
|
|
70
46
|
(function (ThrottlingException) {
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
47
|
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
75
48
|
})(ThrottlingException || (ThrottlingException = {}));
|
|
76
49
|
export var GetPendingJobExecutionsRequest;
|
|
77
50
|
(function (GetPendingJobExecutionsRequest) {
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
51
|
GetPendingJobExecutionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
82
52
|
})(GetPendingJobExecutionsRequest || (GetPendingJobExecutionsRequest = {}));
|
|
83
53
|
export var JobExecutionSummary;
|
|
84
54
|
(function (JobExecutionSummary) {
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
55
|
JobExecutionSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
56
|
})(JobExecutionSummary || (JobExecutionSummary = {}));
|
|
90
57
|
export var GetPendingJobExecutionsResponse;
|
|
91
58
|
(function (GetPendingJobExecutionsResponse) {
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
59
|
GetPendingJobExecutionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
96
60
|
})(GetPendingJobExecutionsResponse || (GetPendingJobExecutionsResponse = {}));
|
|
97
61
|
export var InvalidStateTransitionException;
|
|
98
62
|
(function (InvalidStateTransitionException) {
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
63
|
InvalidStateTransitionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
103
64
|
})(InvalidStateTransitionException || (InvalidStateTransitionException = {}));
|
|
104
65
|
export var StartNextPendingJobExecutionRequest;
|
|
105
66
|
(function (StartNextPendingJobExecutionRequest) {
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
67
|
StartNextPendingJobExecutionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
68
|
})(StartNextPendingJobExecutionRequest || (StartNextPendingJobExecutionRequest = {}));
|
|
111
69
|
export var StartNextPendingJobExecutionResponse;
|
|
112
70
|
(function (StartNextPendingJobExecutionResponse) {
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
71
|
StartNextPendingJobExecutionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
72
|
})(StartNextPendingJobExecutionResponse || (StartNextPendingJobExecutionResponse = {}));
|
|
118
73
|
export var UpdateJobExecutionRequest;
|
|
119
74
|
(function (UpdateJobExecutionRequest) {
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
75
|
UpdateJobExecutionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
124
76
|
})(UpdateJobExecutionRequest || (UpdateJobExecutionRequest = {}));
|
|
125
77
|
export var JobExecutionState;
|
|
126
78
|
(function (JobExecutionState) {
|
|
127
|
-
/**
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
130
79
|
JobExecutionState.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
80
|
})(JobExecutionState || (JobExecutionState = {}));
|
|
132
81
|
export var UpdateJobExecutionResponse;
|
|
133
82
|
(function (UpdateJobExecutionResponse) {
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
83
|
UpdateJobExecutionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
138
84
|
})(UpdateJobExecutionResponse || (UpdateJobExecutionResponse = {}));
|
|
139
|
-
//# sourceMappingURL=models_0.js.map
|