@aws-sdk/client-iot-jobs-data-plane 3.300.0 → 3.303.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +10 -11
- package/dist-es/models/models_0.js +10 -11
- package/dist-types/commands/DescribeJobExecutionCommand.d.ts +1 -1
- package/dist-types/commands/GetPendingJobExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/StartNextPendingJobExecutionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateJobExecutionCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +15 -10
- package/dist-types/ts3.4/models/models_0.d.ts +12 -10
- package/package.json +34 -34
|
@@ -15,17 +15,16 @@ class CertificateValidationException extends IoTJobsDataPlaneServiceException_1.
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.CertificateValidationException = CertificateValidationException;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
})(JobExecutionStatus = exports.JobExecutionStatus || (exports.JobExecutionStatus = {}));
|
|
18
|
+
exports.JobExecutionStatus = {
|
|
19
|
+
CANCELED: "CANCELED",
|
|
20
|
+
FAILED: "FAILED",
|
|
21
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
22
|
+
QUEUED: "QUEUED",
|
|
23
|
+
REJECTED: "REJECTED",
|
|
24
|
+
REMOVED: "REMOVED",
|
|
25
|
+
SUCCEEDED: "SUCCEEDED",
|
|
26
|
+
TIMED_OUT: "TIMED_OUT",
|
|
27
|
+
};
|
|
29
28
|
class InvalidRequestException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
30
29
|
constructor(opts) {
|
|
31
30
|
super({
|
|
@@ -11,17 +11,16 @@ export class CertificateValidationException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, CertificateValidationException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
})(JobExecutionStatus || (JobExecutionStatus = {}));
|
|
14
|
+
export const JobExecutionStatus = {
|
|
15
|
+
CANCELED: "CANCELED",
|
|
16
|
+
FAILED: "FAILED",
|
|
17
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
18
|
+
QUEUED: "QUEUED",
|
|
19
|
+
REJECTED: "REJECTED",
|
|
20
|
+
REMOVED: "REMOVED",
|
|
21
|
+
SUCCEEDED: "SUCCEEDED",
|
|
22
|
+
TIMED_OUT: "TIMED_OUT",
|
|
23
|
+
};
|
|
25
24
|
export class InvalidRequestException extends __BaseException {
|
|
26
25
|
constructor(opts) {
|
|
27
26
|
super({
|
|
@@ -26,7 +26,7 @@ export interface DescribeJobExecutionCommandOutput extends DescribeJobExecutionR
|
|
|
26
26
|
* import { IoTJobsDataPlaneClient, DescribeJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
|
|
27
27
|
* // const { IoTJobsDataPlaneClient, DescribeJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
|
|
28
28
|
* const client = new IoTJobsDataPlaneClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeJobExecutionRequest
|
|
30
30
|
* jobId: "STRING_VALUE", // required
|
|
31
31
|
* thingName: "STRING_VALUE", // required
|
|
32
32
|
* includeJobDocument: true || false,
|
|
@@ -26,7 +26,7 @@ export interface GetPendingJobExecutionsCommandOutput extends GetPendingJobExecu
|
|
|
26
26
|
* import { IoTJobsDataPlaneClient, GetPendingJobExecutionsCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
|
|
27
27
|
* // const { IoTJobsDataPlaneClient, GetPendingJobExecutionsCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
|
|
28
28
|
* const client = new IoTJobsDataPlaneClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetPendingJobExecutionsRequest
|
|
30
30
|
* thingName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetPendingJobExecutionsCommand(input);
|
|
@@ -26,9 +26,9 @@ export interface StartNextPendingJobExecutionCommandOutput extends StartNextPend
|
|
|
26
26
|
* import { IoTJobsDataPlaneClient, StartNextPendingJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
|
|
27
27
|
* // const { IoTJobsDataPlaneClient, StartNextPendingJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
|
|
28
28
|
* const client = new IoTJobsDataPlaneClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StartNextPendingJobExecutionRequest
|
|
30
30
|
* thingName: "STRING_VALUE", // required
|
|
31
|
-
* statusDetails: {
|
|
31
|
+
* statusDetails: { // DetailsMap
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* stepTimeoutInMinutes: Number("long"),
|
|
@@ -26,11 +26,11 @@ export interface UpdateJobExecutionCommandOutput extends UpdateJobExecutionRespo
|
|
|
26
26
|
* import { IoTJobsDataPlaneClient, UpdateJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
|
|
27
27
|
* // const { IoTJobsDataPlaneClient, UpdateJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
|
|
28
28
|
* const client = new IoTJobsDataPlaneClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateJobExecutionRequest
|
|
30
30
|
* jobId: "STRING_VALUE", // required
|
|
31
31
|
* thingName: "STRING_VALUE", // required
|
|
32
32
|
* status: "STRING_VALUE", // required
|
|
33
|
-
* statusDetails: {
|
|
33
|
+
* statusDetails: { // DetailsMap
|
|
34
34
|
* "<keys>": "STRING_VALUE",
|
|
35
35
|
* },
|
|
36
36
|
* stepTimeoutInMinutes: Number("long"),
|
|
@@ -36,17 +36,22 @@ export interface DescribeJobExecutionRequest {
|
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* @public
|
|
39
|
+
* @enum
|
|
39
40
|
*/
|
|
40
|
-
export declare
|
|
41
|
-
CANCELED
|
|
42
|
-
FAILED
|
|
43
|
-
IN_PROGRESS
|
|
44
|
-
QUEUED
|
|
45
|
-
REJECTED
|
|
46
|
-
REMOVED
|
|
47
|
-
SUCCEEDED
|
|
48
|
-
TIMED_OUT
|
|
49
|
-
}
|
|
41
|
+
export declare const JobExecutionStatus: {
|
|
42
|
+
readonly CANCELED: "CANCELED";
|
|
43
|
+
readonly FAILED: "FAILED";
|
|
44
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
45
|
+
readonly QUEUED: "QUEUED";
|
|
46
|
+
readonly REJECTED: "REJECTED";
|
|
47
|
+
readonly REMOVED: "REMOVED";
|
|
48
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
49
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export type JobExecutionStatus = (typeof JobExecutionStatus)[keyof typeof JobExecutionStatus];
|
|
50
55
|
/**
|
|
51
56
|
* @public
|
|
52
57
|
* <p>Contains data about a job execution.</p>
|
|
@@ -13,16 +13,18 @@ export interface DescribeJobExecutionRequest {
|
|
|
13
13
|
includeJobDocument?: boolean;
|
|
14
14
|
executionNumber?: number;
|
|
15
15
|
}
|
|
16
|
-
export declare
|
|
17
|
-
CANCELED
|
|
18
|
-
FAILED
|
|
19
|
-
IN_PROGRESS
|
|
20
|
-
QUEUED
|
|
21
|
-
REJECTED
|
|
22
|
-
REMOVED
|
|
23
|
-
SUCCEEDED
|
|
24
|
-
TIMED_OUT
|
|
25
|
-
}
|
|
16
|
+
export declare const JobExecutionStatus: {
|
|
17
|
+
readonly CANCELED: "CANCELED";
|
|
18
|
+
readonly FAILED: "FAILED";
|
|
19
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
20
|
+
readonly QUEUED: "QUEUED";
|
|
21
|
+
readonly REJECTED: "REJECTED";
|
|
22
|
+
readonly REMOVED: "REMOVED";
|
|
23
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
24
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
25
|
+
};
|
|
26
|
+
export type JobExecutionStatus =
|
|
27
|
+
(typeof JobExecutionStatus)[keyof typeof JobExecutionStatus];
|
|
26
28
|
export interface JobExecution {
|
|
27
29
|
jobId?: string;
|
|
28
30
|
thingName?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot-jobs-data-plane",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Jobs Data Plane Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|