@aws-sdk/client-iot-jobs-data-plane 3.50.0 → 3.51.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/CHANGELOG.md +8 -0
- package/dist-types/ts3.4/IoTJobsDataPlane.d.ts +25 -0
- package/dist-types/ts3.4/IoTJobsDataPlaneClient.d.ts +77 -0
- package/dist-types/ts3.4/commands/DescribeJobExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPendingJobExecutionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartNextPendingJobExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateJobExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +4 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +223 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +14 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-iot-jobs-data-plane
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-iot-jobs-data-plane
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
|
|
3
|
+
import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "./commands/GetPendingJobExecutionsCommand";
|
|
4
|
+
import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "./commands/StartNextPendingJobExecutionCommand";
|
|
5
|
+
import { UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput } from "./commands/UpdateJobExecutionCommand";
|
|
6
|
+
import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
|
|
7
|
+
|
|
8
|
+
export declare class IoTJobsDataPlane extends IoTJobsDataPlaneClient {
|
|
9
|
+
|
|
10
|
+
describeJobExecution(args: DescribeJobExecutionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobExecutionCommandOutput>;
|
|
11
|
+
describeJobExecution(args: DescribeJobExecutionCommandInput, cb: (err: any, data?: DescribeJobExecutionCommandOutput) => void): void;
|
|
12
|
+
describeJobExecution(args: DescribeJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobExecutionCommandOutput) => void): void;
|
|
13
|
+
|
|
14
|
+
getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<GetPendingJobExecutionsCommandOutput>;
|
|
15
|
+
getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void): void;
|
|
16
|
+
getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void): void;
|
|
17
|
+
|
|
18
|
+
startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartNextPendingJobExecutionCommandOutput>;
|
|
19
|
+
startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void): void;
|
|
20
|
+
startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void): void;
|
|
21
|
+
|
|
22
|
+
updateJobExecution(args: UpdateJobExecutionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobExecutionCommandOutput>;
|
|
23
|
+
updateJobExecution(args: UpdateJobExecutionCommandInput, cb: (err: any, data?: UpdateJobExecutionCommandOutput) => void): void;
|
|
24
|
+
updateJobExecution(args: UpdateJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobExecutionCommandOutput) => void): void;
|
|
25
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
|
|
10
|
+
import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "./commands/GetPendingJobExecutionsCommand";
|
|
11
|
+
import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "./commands/StartNextPendingJobExecutionCommand";
|
|
12
|
+
import { UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput } from "./commands/UpdateJobExecutionCommand";
|
|
13
|
+
export declare type ServiceInputTypes = DescribeJobExecutionCommandInput | GetPendingJobExecutionsCommandInput | StartNextPendingJobExecutionCommandInput | UpdateJobExecutionCommandInput;
|
|
14
|
+
export declare type ServiceOutputTypes = DescribeJobExecutionCommandOutput | GetPendingJobExecutionsCommandOutput | StartNextPendingJobExecutionCommandOutput | UpdateJobExecutionCommandOutput;
|
|
15
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
16
|
+
|
|
17
|
+
requestHandler?: __HttpHandler;
|
|
18
|
+
|
|
19
|
+
sha256?: __HashConstructor;
|
|
20
|
+
|
|
21
|
+
urlParser?: __UrlParser;
|
|
22
|
+
|
|
23
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
24
|
+
|
|
25
|
+
streamCollector?: __StreamCollector;
|
|
26
|
+
|
|
27
|
+
base64Decoder?: __Decoder;
|
|
28
|
+
|
|
29
|
+
base64Encoder?: __Encoder;
|
|
30
|
+
|
|
31
|
+
utf8Decoder?: __Decoder;
|
|
32
|
+
|
|
33
|
+
utf8Encoder?: __Encoder;
|
|
34
|
+
|
|
35
|
+
runtime?: string;
|
|
36
|
+
|
|
37
|
+
disableHostPrefix?: boolean;
|
|
38
|
+
|
|
39
|
+
maxAttempts?: number | __Provider<number>;
|
|
40
|
+
|
|
41
|
+
retryMode?: string | __Provider<string>;
|
|
42
|
+
|
|
43
|
+
logger?: __Logger;
|
|
44
|
+
|
|
45
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
46
|
+
|
|
47
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
48
|
+
|
|
49
|
+
serviceId?: string;
|
|
50
|
+
|
|
51
|
+
region?: string | __Provider<string>;
|
|
52
|
+
|
|
53
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
54
|
+
|
|
55
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
56
|
+
|
|
57
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
58
|
+
|
|
59
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
60
|
+
}
|
|
61
|
+
declare type IoTJobsDataPlaneClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
62
|
+
|
|
63
|
+
export interface IoTJobsDataPlaneClientConfig extends IoTJobsDataPlaneClientConfigType {
|
|
64
|
+
}
|
|
65
|
+
declare type IoTJobsDataPlaneClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
66
|
+
|
|
67
|
+
export interface IoTJobsDataPlaneClientResolvedConfig extends IoTJobsDataPlaneClientResolvedConfigType {
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export declare class IoTJobsDataPlaneClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IoTJobsDataPlaneClientResolvedConfig> {
|
|
71
|
+
|
|
72
|
+
readonly config: IoTJobsDataPlaneClientResolvedConfig;
|
|
73
|
+
constructor(configuration: IoTJobsDataPlaneClientConfig);
|
|
74
|
+
|
|
75
|
+
destroy(): void;
|
|
76
|
+
}
|
|
77
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
|
|
4
|
+
import { DescribeJobExecutionRequest, DescribeJobExecutionResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeJobExecutionCommandInput extends DescribeJobExecutionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeJobExecutionCommandOutput extends DescribeJobExecutionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DescribeJobExecutionCommand extends $Command<DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput, IoTJobsDataPlaneClientResolvedConfig> {
|
|
11
|
+
readonly input: DescribeJobExecutionCommandInput;
|
|
12
|
+
constructor(input: DescribeJobExecutionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
|
|
4
|
+
import { GetPendingJobExecutionsRequest, GetPendingJobExecutionsResponse } from "../models/models_0";
|
|
5
|
+
export interface GetPendingJobExecutionsCommandInput extends GetPendingJobExecutionsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetPendingJobExecutionsCommandOutput extends GetPendingJobExecutionsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetPendingJobExecutionsCommand extends $Command<GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput, IoTJobsDataPlaneClientResolvedConfig> {
|
|
11
|
+
readonly input: GetPendingJobExecutionsCommandInput;
|
|
12
|
+
constructor(input: GetPendingJobExecutionsCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
|
|
4
|
+
import { StartNextPendingJobExecutionRequest, StartNextPendingJobExecutionResponse } from "../models/models_0";
|
|
5
|
+
export interface StartNextPendingJobExecutionCommandInput extends StartNextPendingJobExecutionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartNextPendingJobExecutionCommandOutput extends StartNextPendingJobExecutionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class StartNextPendingJobExecutionCommand extends $Command<StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput, IoTJobsDataPlaneClientResolvedConfig> {
|
|
11
|
+
readonly input: StartNextPendingJobExecutionCommandInput;
|
|
12
|
+
constructor(input: StartNextPendingJobExecutionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
|
|
4
|
+
import { UpdateJobExecutionRequest, UpdateJobExecutionResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateJobExecutionCommandInput extends UpdateJobExecutionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateJobExecutionCommandOutput extends UpdateJobExecutionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class UpdateJobExecutionCommand extends $Command<UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput, IoTJobsDataPlaneClientResolvedConfig> {
|
|
11
|
+
readonly input: UpdateJobExecutionCommandInput;
|
|
12
|
+
constructor(input: UpdateJobExecutionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
export interface CertificateValidationException extends __SmithyException, $MetadataBearer {
|
|
4
|
+
name: "CertificateValidationException";
|
|
5
|
+
$fault: "client";
|
|
6
|
+
|
|
7
|
+
message?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface DescribeJobExecutionRequest {
|
|
10
|
+
|
|
11
|
+
jobId: string | undefined;
|
|
12
|
+
|
|
13
|
+
thingName: string | undefined;
|
|
14
|
+
|
|
15
|
+
includeJobDocument?: boolean;
|
|
16
|
+
|
|
17
|
+
executionNumber?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace DescribeJobExecutionRequest {
|
|
20
|
+
|
|
21
|
+
const filterSensitiveLog: (obj: DescribeJobExecutionRequest) => any;
|
|
22
|
+
}
|
|
23
|
+
export declare enum JobExecutionStatus {
|
|
24
|
+
CANCELED = "CANCELED",
|
|
25
|
+
FAILED = "FAILED",
|
|
26
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
27
|
+
QUEUED = "QUEUED",
|
|
28
|
+
REJECTED = "REJECTED",
|
|
29
|
+
REMOVED = "REMOVED",
|
|
30
|
+
SUCCEEDED = "SUCCEEDED",
|
|
31
|
+
TIMED_OUT = "TIMED_OUT"
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface JobExecution {
|
|
35
|
+
|
|
36
|
+
jobId?: string;
|
|
37
|
+
|
|
38
|
+
thingName?: string;
|
|
39
|
+
|
|
40
|
+
status?: JobExecutionStatus | string;
|
|
41
|
+
|
|
42
|
+
statusDetails?: {
|
|
43
|
+
[key: string]: string;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
queuedAt?: number;
|
|
47
|
+
|
|
48
|
+
startedAt?: number;
|
|
49
|
+
|
|
50
|
+
lastUpdatedAt?: number;
|
|
51
|
+
|
|
52
|
+
approximateSecondsBeforeTimedOut?: number;
|
|
53
|
+
|
|
54
|
+
versionNumber?: number;
|
|
55
|
+
|
|
56
|
+
executionNumber?: number;
|
|
57
|
+
|
|
58
|
+
jobDocument?: string;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace JobExecution {
|
|
61
|
+
|
|
62
|
+
const filterSensitiveLog: (obj: JobExecution) => any;
|
|
63
|
+
}
|
|
64
|
+
export interface DescribeJobExecutionResponse {
|
|
65
|
+
|
|
66
|
+
execution?: JobExecution;
|
|
67
|
+
}
|
|
68
|
+
export declare namespace DescribeJobExecutionResponse {
|
|
69
|
+
|
|
70
|
+
const filterSensitiveLog: (obj: DescribeJobExecutionResponse) => any;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
74
|
+
name: "InvalidRequestException";
|
|
75
|
+
$fault: "client";
|
|
76
|
+
|
|
77
|
+
message?: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
81
|
+
name: "ResourceNotFoundException";
|
|
82
|
+
$fault: "client";
|
|
83
|
+
|
|
84
|
+
message?: string;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
88
|
+
name: "ServiceUnavailableException";
|
|
89
|
+
$fault: "server";
|
|
90
|
+
|
|
91
|
+
message?: string;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface TerminalStateException extends __SmithyException, $MetadataBearer {
|
|
95
|
+
name: "TerminalStateException";
|
|
96
|
+
$fault: "client";
|
|
97
|
+
message?: string;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
101
|
+
name: "ThrottlingException";
|
|
102
|
+
$fault: "client";
|
|
103
|
+
|
|
104
|
+
message?: string;
|
|
105
|
+
|
|
106
|
+
payload?: Uint8Array;
|
|
107
|
+
}
|
|
108
|
+
export interface GetPendingJobExecutionsRequest {
|
|
109
|
+
|
|
110
|
+
thingName: string | undefined;
|
|
111
|
+
}
|
|
112
|
+
export declare namespace GetPendingJobExecutionsRequest {
|
|
113
|
+
|
|
114
|
+
const filterSensitiveLog: (obj: GetPendingJobExecutionsRequest) => any;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export interface JobExecutionSummary {
|
|
118
|
+
|
|
119
|
+
jobId?: string;
|
|
120
|
+
|
|
121
|
+
queuedAt?: number;
|
|
122
|
+
|
|
123
|
+
startedAt?: number;
|
|
124
|
+
|
|
125
|
+
lastUpdatedAt?: number;
|
|
126
|
+
|
|
127
|
+
versionNumber?: number;
|
|
128
|
+
|
|
129
|
+
executionNumber?: number;
|
|
130
|
+
}
|
|
131
|
+
export declare namespace JobExecutionSummary {
|
|
132
|
+
|
|
133
|
+
const filterSensitiveLog: (obj: JobExecutionSummary) => any;
|
|
134
|
+
}
|
|
135
|
+
export interface GetPendingJobExecutionsResponse {
|
|
136
|
+
|
|
137
|
+
inProgressJobs?: JobExecutionSummary[];
|
|
138
|
+
|
|
139
|
+
queuedJobs?: JobExecutionSummary[];
|
|
140
|
+
}
|
|
141
|
+
export declare namespace GetPendingJobExecutionsResponse {
|
|
142
|
+
|
|
143
|
+
const filterSensitiveLog: (obj: GetPendingJobExecutionsResponse) => any;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export interface InvalidStateTransitionException extends __SmithyException, $MetadataBearer {
|
|
147
|
+
name: "InvalidStateTransitionException";
|
|
148
|
+
$fault: "client";
|
|
149
|
+
message?: string;
|
|
150
|
+
}
|
|
151
|
+
export interface StartNextPendingJobExecutionRequest {
|
|
152
|
+
|
|
153
|
+
thingName: string | undefined;
|
|
154
|
+
|
|
155
|
+
statusDetails?: {
|
|
156
|
+
[key: string]: string;
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
stepTimeoutInMinutes?: number;
|
|
160
|
+
}
|
|
161
|
+
export declare namespace StartNextPendingJobExecutionRequest {
|
|
162
|
+
|
|
163
|
+
const filterSensitiveLog: (obj: StartNextPendingJobExecutionRequest) => any;
|
|
164
|
+
}
|
|
165
|
+
export interface StartNextPendingJobExecutionResponse {
|
|
166
|
+
|
|
167
|
+
execution?: JobExecution;
|
|
168
|
+
}
|
|
169
|
+
export declare namespace StartNextPendingJobExecutionResponse {
|
|
170
|
+
|
|
171
|
+
const filterSensitiveLog: (obj: StartNextPendingJobExecutionResponse) => any;
|
|
172
|
+
}
|
|
173
|
+
export interface UpdateJobExecutionRequest {
|
|
174
|
+
|
|
175
|
+
jobId: string | undefined;
|
|
176
|
+
|
|
177
|
+
thingName: string | undefined;
|
|
178
|
+
|
|
179
|
+
status: JobExecutionStatus | string | undefined;
|
|
180
|
+
|
|
181
|
+
statusDetails?: {
|
|
182
|
+
[key: string]: string;
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
stepTimeoutInMinutes?: number;
|
|
186
|
+
|
|
187
|
+
expectedVersion?: number;
|
|
188
|
+
|
|
189
|
+
includeJobExecutionState?: boolean;
|
|
190
|
+
|
|
191
|
+
includeJobDocument?: boolean;
|
|
192
|
+
|
|
193
|
+
executionNumber?: number;
|
|
194
|
+
}
|
|
195
|
+
export declare namespace UpdateJobExecutionRequest {
|
|
196
|
+
|
|
197
|
+
const filterSensitiveLog: (obj: UpdateJobExecutionRequest) => any;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export interface JobExecutionState {
|
|
201
|
+
|
|
202
|
+
status?: JobExecutionStatus | string;
|
|
203
|
+
|
|
204
|
+
statusDetails?: {
|
|
205
|
+
[key: string]: string;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
versionNumber?: number;
|
|
209
|
+
}
|
|
210
|
+
export declare namespace JobExecutionState {
|
|
211
|
+
|
|
212
|
+
const filterSensitiveLog: (obj: JobExecutionState) => any;
|
|
213
|
+
}
|
|
214
|
+
export interface UpdateJobExecutionResponse {
|
|
215
|
+
|
|
216
|
+
executionState?: JobExecutionState;
|
|
217
|
+
|
|
218
|
+
jobDocument?: string;
|
|
219
|
+
}
|
|
220
|
+
export declare namespace UpdateJobExecutionResponse {
|
|
221
|
+
|
|
222
|
+
const filterSensitiveLog: (obj: UpdateJobExecutionResponse) => any;
|
|
223
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "../commands/DescribeJobExecutionCommand";
|
|
4
|
+
import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "../commands/GetPendingJobExecutionsCommand";
|
|
5
|
+
import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "../commands/StartNextPendingJobExecutionCommand";
|
|
6
|
+
import { UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput } from "../commands/UpdateJobExecutionCommand";
|
|
7
|
+
export declare const serializeAws_restJson1DescribeJobExecutionCommand: (input: DescribeJobExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
8
|
+
export declare const serializeAws_restJson1GetPendingJobExecutionsCommand: (input: GetPendingJobExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
9
|
+
export declare const serializeAws_restJson1StartNextPendingJobExecutionCommand: (input: StartNextPendingJobExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
|
+
export declare const serializeAws_restJson1UpdateJobExecutionCommand: (input: UpdateJobExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
|
+
export declare const deserializeAws_restJson1DescribeJobExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobExecutionCommandOutput>;
|
|
12
|
+
export declare const deserializeAws_restJson1GetPendingJobExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPendingJobExecutionsCommandOutput>;
|
|
13
|
+
export declare const deserializeAws_restJson1StartNextPendingJobExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartNextPendingJobExecutionCommandOutput>;
|
|
14
|
+
export declare const deserializeAws_restJson1UpdateJobExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateJobExecutionCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { IoTJobsDataPlaneClientConfig } from "./IoTJobsDataPlaneClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { IoTJobsDataPlaneClientConfig } from "./IoTJobsDataPlaneClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IoTJobsDataPlaneClientConfig } from "./IoTJobsDataPlaneClient";
|
|
2
|
+
|
|
3
|
+
export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
6
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
disableHostPrefix: boolean;
|
|
16
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { IoTJobsDataPlaneClientConfig } from "./IoTJobsDataPlaneClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) => {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
logger: __Logger;
|
|
8
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
9
|
+
serviceId: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
};
|
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.51.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",
|
|
@@ -18,21 +18,21 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.51.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.51.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.51.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.50.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.50.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.50.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.50.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.50.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.50.0",
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.51.0",
|
|
31
31
|
"@aws-sdk/middleware-serde": "3.50.0",
|
|
32
32
|
"@aws-sdk/middleware-signing": "3.50.0",
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.50.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.50.0",
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.51.0",
|
|
36
36
|
"@aws-sdk/node-http-handler": "3.50.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.50.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.50.0",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.49.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.49.0",
|
|
45
45
|
"@aws-sdk/util-defaults-mode-browser": "3.50.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.51.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.50.0",
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.51.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.49.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.49.0",
|
|
51
51
|
"tslib": "^2.3.0"
|