@aws-sdk/client-iot-jobs-data-plane 3.1137.0 → 3.1139.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/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1138.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -350,10 +350,10 @@ const _tA = "targetArn";
|
|
|
350
350
|
const _tN = "thingName";
|
|
351
351
|
const _vN = "versionNumber";
|
|
352
352
|
const n0 = "com.amazonaws.iotjobsdataplane";
|
|
353
|
-
const _s_registry = TypeRegistry
|
|
353
|
+
const _s_registry = new TypeRegistry(_s);
|
|
354
354
|
var IoTJobsDataPlaneServiceException$ = [-3, _s, "IoTJobsDataPlaneServiceException", 0, [], []];
|
|
355
355
|
_s_registry.registerError(IoTJobsDataPlaneServiceException$, IoTJobsDataPlaneServiceException);
|
|
356
|
-
const n0_registry = TypeRegistry
|
|
356
|
+
const n0_registry = new TypeRegistry(n0);
|
|
357
357
|
var CertificateValidationException$ = [-3, n0, _CVE,
|
|
358
358
|
{ [_e]: _c, [_hE]: 400 },
|
|
359
359
|
[_m],
|
|
@@ -76,10 +76,10 @@ const n0 = "com.amazonaws.iotjobsdataplane";
|
|
|
76
76
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
77
77
|
import { CertificateValidationException, ConflictException, InternalServerException, InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, TerminalStateException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
78
78
|
import { IoTJobsDataPlaneServiceException } from "../models/IoTJobsDataPlaneServiceException";
|
|
79
|
-
const _s_registry = TypeRegistry
|
|
79
|
+
const _s_registry = new TypeRegistry(_s);
|
|
80
80
|
export var IoTJobsDataPlaneServiceException$ = [-3, _s, "IoTJobsDataPlaneServiceException", 0, [], []];
|
|
81
81
|
_s_registry.registerError(IoTJobsDataPlaneServiceException$, IoTJobsDataPlaneServiceException);
|
|
82
|
-
const n0_registry = TypeRegistry
|
|
82
|
+
const n0_registry = new TypeRegistry(n0);
|
|
83
83
|
export var CertificateValidationException$ = [-3, n0, _CVE,
|
|
84
84
|
{ [_e]: _c, [_hE]: 400 },
|
|
85
85
|
[_m],
|
|
@@ -1,41 +1,47 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type DescribeJobExecutionCommandInput, type DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
|
|
3
3
|
import { type GetPendingJobExecutionsCommandInput, type GetPendingJobExecutionsCommandOutput } from "./commands/GetPendingJobExecutionsCommand";
|
|
4
4
|
import { type StartCommandExecutionCommandInput, type StartCommandExecutionCommandOutput } from "./commands/StartCommandExecutionCommand";
|
|
5
5
|
import { type StartNextPendingJobExecutionCommandInput, type StartNextPendingJobExecutionCommandOutput } from "./commands/StartNextPendingJobExecutionCommand";
|
|
6
6
|
import { type UpdateJobExecutionCommandInput, type UpdateJobExecutionCommandOutput } from "./commands/UpdateJobExecutionCommand";
|
|
7
7
|
import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface IoTJobsDataPlaneRequestOptions extends __HttpHandlerOptions {
|
|
12
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
13
|
+
}
|
|
8
14
|
export interface IoTJobsDataPlane {
|
|
9
15
|
/**
|
|
10
16
|
* @see {@link DescribeJobExecutionCommand}
|
|
11
17
|
*/
|
|
12
|
-
describeJobExecution(args: DescribeJobExecutionCommandInput, options?:
|
|
18
|
+
describeJobExecution(args: DescribeJobExecutionCommandInput, options?: IoTJobsDataPlaneRequestOptions): Promise<DescribeJobExecutionCommandOutput>;
|
|
13
19
|
describeJobExecution(args: DescribeJobExecutionCommandInput, cb: (err: any, data?: DescribeJobExecutionCommandOutput) => void): void;
|
|
14
|
-
describeJobExecution(args: DescribeJobExecutionCommandInput, options:
|
|
20
|
+
describeJobExecution(args: DescribeJobExecutionCommandInput, options: IoTJobsDataPlaneRequestOptions, cb: (err: any, data?: DescribeJobExecutionCommandOutput) => void): void;
|
|
15
21
|
/**
|
|
16
22
|
* @see {@link GetPendingJobExecutionsCommand}
|
|
17
23
|
*/
|
|
18
|
-
getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, options?:
|
|
24
|
+
getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, options?: IoTJobsDataPlaneRequestOptions): Promise<GetPendingJobExecutionsCommandOutput>;
|
|
19
25
|
getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void): void;
|
|
20
|
-
getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, options:
|
|
26
|
+
getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, options: IoTJobsDataPlaneRequestOptions, cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void): void;
|
|
21
27
|
/**
|
|
22
28
|
* @see {@link StartCommandExecutionCommand}
|
|
23
29
|
*/
|
|
24
|
-
startCommandExecution(args: StartCommandExecutionCommandInput, options?:
|
|
30
|
+
startCommandExecution(args: StartCommandExecutionCommandInput, options?: IoTJobsDataPlaneRequestOptions): Promise<StartCommandExecutionCommandOutput>;
|
|
25
31
|
startCommandExecution(args: StartCommandExecutionCommandInput, cb: (err: any, data?: StartCommandExecutionCommandOutput) => void): void;
|
|
26
|
-
startCommandExecution(args: StartCommandExecutionCommandInput, options:
|
|
32
|
+
startCommandExecution(args: StartCommandExecutionCommandInput, options: IoTJobsDataPlaneRequestOptions, cb: (err: any, data?: StartCommandExecutionCommandOutput) => void): void;
|
|
27
33
|
/**
|
|
28
34
|
* @see {@link StartNextPendingJobExecutionCommand}
|
|
29
35
|
*/
|
|
30
|
-
startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, options?:
|
|
36
|
+
startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, options?: IoTJobsDataPlaneRequestOptions): Promise<StartNextPendingJobExecutionCommandOutput>;
|
|
31
37
|
startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void): void;
|
|
32
|
-
startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, options:
|
|
38
|
+
startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, options: IoTJobsDataPlaneRequestOptions, cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void): void;
|
|
33
39
|
/**
|
|
34
40
|
* @see {@link UpdateJobExecutionCommand}
|
|
35
41
|
*/
|
|
36
|
-
updateJobExecution(args: UpdateJobExecutionCommandInput, options?:
|
|
42
|
+
updateJobExecution(args: UpdateJobExecutionCommandInput, options?: IoTJobsDataPlaneRequestOptions): Promise<UpdateJobExecutionCommandOutput>;
|
|
37
43
|
updateJobExecution(args: UpdateJobExecutionCommandInput, cb: (err: any, data?: UpdateJobExecutionCommandOutput) => void): void;
|
|
38
|
-
updateJobExecution(args: UpdateJobExecutionCommandInput, options:
|
|
44
|
+
updateJobExecution(args: UpdateJobExecutionCommandInput, options: IoTJobsDataPlaneRequestOptions, cb: (err: any, data?: UpdateJobExecutionCommandOutput) => void): void;
|
|
39
45
|
}
|
|
40
46
|
/**
|
|
41
47
|
* <p>IoT Jobs is a service that allows you to define a set of jobs — remote operations
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
DescribeJobExecutionCommandInput,
|
|
4
7
|
DescribeJobExecutionCommandOutput,
|
|
@@ -20,10 +23,13 @@ import {
|
|
|
20
23
|
UpdateJobExecutionCommandOutput,
|
|
21
24
|
} from "./commands/UpdateJobExecutionCommand";
|
|
22
25
|
import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
|
|
26
|
+
export interface IoTJobsDataPlaneRequestOptions extends __HttpHandlerOptions {
|
|
27
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
28
|
+
}
|
|
23
29
|
export interface IoTJobsDataPlane {
|
|
24
30
|
describeJobExecution(
|
|
25
31
|
args: DescribeJobExecutionCommandInput,
|
|
26
|
-
options?:
|
|
32
|
+
options?: IoTJobsDataPlaneRequestOptions,
|
|
27
33
|
): Promise<DescribeJobExecutionCommandOutput>;
|
|
28
34
|
describeJobExecution(
|
|
29
35
|
args: DescribeJobExecutionCommandInput,
|
|
@@ -31,12 +37,12 @@ export interface IoTJobsDataPlane {
|
|
|
31
37
|
): void;
|
|
32
38
|
describeJobExecution(
|
|
33
39
|
args: DescribeJobExecutionCommandInput,
|
|
34
|
-
options:
|
|
40
|
+
options: IoTJobsDataPlaneRequestOptions,
|
|
35
41
|
cb: (err: any, data?: DescribeJobExecutionCommandOutput) => void,
|
|
36
42
|
): void;
|
|
37
43
|
getPendingJobExecutions(
|
|
38
44
|
args: GetPendingJobExecutionsCommandInput,
|
|
39
|
-
options?:
|
|
45
|
+
options?: IoTJobsDataPlaneRequestOptions,
|
|
40
46
|
): Promise<GetPendingJobExecutionsCommandOutput>;
|
|
41
47
|
getPendingJobExecutions(
|
|
42
48
|
args: GetPendingJobExecutionsCommandInput,
|
|
@@ -44,12 +50,12 @@ export interface IoTJobsDataPlane {
|
|
|
44
50
|
): void;
|
|
45
51
|
getPendingJobExecutions(
|
|
46
52
|
args: GetPendingJobExecutionsCommandInput,
|
|
47
|
-
options:
|
|
53
|
+
options: IoTJobsDataPlaneRequestOptions,
|
|
48
54
|
cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void,
|
|
49
55
|
): void;
|
|
50
56
|
startCommandExecution(
|
|
51
57
|
args: StartCommandExecutionCommandInput,
|
|
52
|
-
options?:
|
|
58
|
+
options?: IoTJobsDataPlaneRequestOptions,
|
|
53
59
|
): Promise<StartCommandExecutionCommandOutput>;
|
|
54
60
|
startCommandExecution(
|
|
55
61
|
args: StartCommandExecutionCommandInput,
|
|
@@ -57,12 +63,12 @@ export interface IoTJobsDataPlane {
|
|
|
57
63
|
): void;
|
|
58
64
|
startCommandExecution(
|
|
59
65
|
args: StartCommandExecutionCommandInput,
|
|
60
|
-
options:
|
|
66
|
+
options: IoTJobsDataPlaneRequestOptions,
|
|
61
67
|
cb: (err: any, data?: StartCommandExecutionCommandOutput) => void,
|
|
62
68
|
): void;
|
|
63
69
|
startNextPendingJobExecution(
|
|
64
70
|
args: StartNextPendingJobExecutionCommandInput,
|
|
65
|
-
options?:
|
|
71
|
+
options?: IoTJobsDataPlaneRequestOptions,
|
|
66
72
|
): Promise<StartNextPendingJobExecutionCommandOutput>;
|
|
67
73
|
startNextPendingJobExecution(
|
|
68
74
|
args: StartNextPendingJobExecutionCommandInput,
|
|
@@ -70,12 +76,12 @@ export interface IoTJobsDataPlane {
|
|
|
70
76
|
): void;
|
|
71
77
|
startNextPendingJobExecution(
|
|
72
78
|
args: StartNextPendingJobExecutionCommandInput,
|
|
73
|
-
options:
|
|
79
|
+
options: IoTJobsDataPlaneRequestOptions,
|
|
74
80
|
cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void,
|
|
75
81
|
): void;
|
|
76
82
|
updateJobExecution(
|
|
77
83
|
args: UpdateJobExecutionCommandInput,
|
|
78
|
-
options?:
|
|
84
|
+
options?: IoTJobsDataPlaneRequestOptions,
|
|
79
85
|
): Promise<UpdateJobExecutionCommandOutput>;
|
|
80
86
|
updateJobExecution(
|
|
81
87
|
args: UpdateJobExecutionCommandInput,
|
|
@@ -83,7 +89,7 @@ export interface IoTJobsDataPlane {
|
|
|
83
89
|
): void;
|
|
84
90
|
updateJobExecution(
|
|
85
91
|
args: UpdateJobExecutionCommandInput,
|
|
86
|
-
options:
|
|
92
|
+
options: IoTJobsDataPlaneRequestOptions,
|
|
87
93
|
cb: (err: any, data?: UpdateJobExecutionCommandOutput) => void,
|
|
88
94
|
): void;
|
|
89
95
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot-jobs-data-plane",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1139.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Iot Jobs Data Plane Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iot-jobs-data-plane",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|