@aws-sdk/client-iot-jobs-data-plane 3.50.0 → 3.53.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.
Files changed (30) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/IoTJobsDataPlaneServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +94 -1
  5. package/dist-cjs/protocols/Aws_restJson1.js +84 -223
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/IoTJobsDataPlaneServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +87 -1
  9. package/dist-es/protocols/Aws_restJson1.js +125 -247
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/IoTJobsDataPlaneServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +43 -36
  13. package/dist-types/ts3.4/IoTJobsDataPlane.d.ts +25 -0
  14. package/dist-types/ts3.4/IoTJobsDataPlaneClient.d.ts +77 -0
  15. package/dist-types/ts3.4/commands/DescribeJobExecutionCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/GetPendingJobExecutionsCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/StartNextPendingJobExecutionCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/UpdateJobExecutionCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  20. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  21. package/dist-types/ts3.4/index.d.ts +5 -0
  22. package/dist-types/ts3.4/models/IoTJobsDataPlaneServiceException.d.ts +6 -0
  23. package/dist-types/ts3.4/models/index.d.ts +1 -0
  24. package/dist-types/ts3.4/models/models_0.d.ts +226 -0
  25. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +14 -0
  26. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  27. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  28. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  29. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  30. package/package.json +33 -33
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from IoTJobsDataPlane service.
4
+ */
5
+ export declare class IoTJobsDataPlaneServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,14 +1,15 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { IoTJobsDataPlaneServiceException as __BaseException } from "./IoTJobsDataPlaneServiceException";
2
3
  /**
3
4
  * <p>The certificate is invalid.</p>
4
5
  */
5
- export interface CertificateValidationException extends __SmithyException, $MetadataBearer {
6
- name: "CertificateValidationException";
7
- $fault: "client";
6
+ export declare class CertificateValidationException extends __BaseException {
7
+ readonly name: "CertificateValidationException";
8
+ readonly $fault: "client";
8
9
  /**
9
- * <p>Additional information about the exception.</p>
10
+ * @internal
10
11
  */
11
- message?: string;
12
+ constructor(opts: __ExceptionOptionType<CertificateValidationException, __BaseException>);
12
13
  }
13
14
  export interface DescribeJobExecutionRequest {
14
15
  /**
@@ -121,58 +122,61 @@ export declare namespace DescribeJobExecutionResponse {
121
122
  /**
122
123
  * <p>The contents of the request were invalid. For example, this code is returned when an UpdateJobExecution request contains invalid status details. The message contains details about the error.</p>
123
124
  */
124
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
125
- name: "InvalidRequestException";
126
- $fault: "client";
125
+ export declare class InvalidRequestException extends __BaseException {
126
+ readonly name: "InvalidRequestException";
127
+ readonly $fault: "client";
127
128
  /**
128
- * <p>The message for the exception.</p>
129
+ * @internal
129
130
  */
130
- message?: string;
131
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
131
132
  }
132
133
  /**
133
134
  * <p>The specified resource does not exist.</p>
134
135
  */
135
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
136
- name: "ResourceNotFoundException";
137
- $fault: "client";
136
+ export declare class ResourceNotFoundException extends __BaseException {
137
+ readonly name: "ResourceNotFoundException";
138
+ readonly $fault: "client";
138
139
  /**
139
- * <p>The message for the exception.</p>
140
+ * @internal
140
141
  */
141
- message?: string;
142
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
142
143
  }
143
144
  /**
144
145
  * <p>The service is temporarily unavailable.</p>
145
146
  */
146
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
147
- name: "ServiceUnavailableException";
148
- $fault: "server";
147
+ export declare class ServiceUnavailableException extends __BaseException {
148
+ readonly name: "ServiceUnavailableException";
149
+ readonly $fault: "server";
149
150
  /**
150
- * <p>The message for the exception.</p>
151
+ * @internal
151
152
  */
152
- message?: string;
153
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
153
154
  }
154
155
  /**
155
156
  * <p>The job is in a terminal state.</p>
156
157
  */
157
- export interface TerminalStateException extends __SmithyException, $MetadataBearer {
158
- name: "TerminalStateException";
159
- $fault: "client";
160
- message?: string;
158
+ export declare class TerminalStateException extends __BaseException {
159
+ readonly name: "TerminalStateException";
160
+ readonly $fault: "client";
161
+ /**
162
+ * @internal
163
+ */
164
+ constructor(opts: __ExceptionOptionType<TerminalStateException, __BaseException>);
161
165
  }
162
166
  /**
163
167
  * <p>The rate exceeds the limit.</p>
164
168
  */
165
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
166
- name: "ThrottlingException";
167
- $fault: "client";
168
- /**
169
- * <p>The message associated with the exception.</p>
170
- */
171
- message?: string;
169
+ export declare class ThrottlingException extends __BaseException {
170
+ readonly name: "ThrottlingException";
171
+ readonly $fault: "client";
172
172
  /**
173
173
  * <p>The payload associated with the exception.</p>
174
174
  */
175
175
  payload?: Uint8Array;
176
+ /**
177
+ * @internal
178
+ */
179
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
176
180
  }
177
181
  export interface GetPendingJobExecutionsRequest {
178
182
  /**
@@ -243,10 +247,13 @@ export declare namespace GetPendingJobExecutionsResponse {
243
247
  * current state (for example, an attempt to change a request in state SUCCESS to state IN_PROGRESS). In this
244
248
  * case, the body of the error message also contains the executionState field.</p>
245
249
  */
246
- export interface InvalidStateTransitionException extends __SmithyException, $MetadataBearer {
247
- name: "InvalidStateTransitionException";
248
- $fault: "client";
249
- message?: string;
250
+ export declare class InvalidStateTransitionException extends __BaseException {
251
+ readonly name: "InvalidStateTransitionException";
252
+ readonly $fault: "client";
253
+ /**
254
+ * @internal
255
+ */
256
+ constructor(opts: __ExceptionOptionType<InvalidStateTransitionException, __BaseException>);
250
257
  }
251
258
  export interface StartNextPendingJobExecutionRequest {
252
259
  /**
@@ -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,4 @@
1
+ export * from "./DescribeJobExecutionCommand";
2
+ export * from "./GetPendingJobExecutionsCommand";
3
+ export * from "./StartNextPendingJobExecutionCommand";
4
+ export * from "./UpdateJobExecutionCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,5 @@
1
+ export * from "./IoTJobsDataPlane";
2
+ export * from "./IoTJobsDataPlaneClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export { IoTJobsDataPlaneServiceException } from "./models/IoTJobsDataPlaneServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class IoTJobsDataPlaneServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,226 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { IoTJobsDataPlaneServiceException as __BaseException } from "./IoTJobsDataPlaneServiceException";
3
+
4
+ export declare class CertificateValidationException extends __BaseException {
5
+ readonly name: "CertificateValidationException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(opts: __ExceptionOptionType<CertificateValidationException, __BaseException>);
9
+ }
10
+ export interface DescribeJobExecutionRequest {
11
+
12
+ jobId: string | undefined;
13
+
14
+ thingName: string | undefined;
15
+
16
+ includeJobDocument?: boolean;
17
+
18
+ executionNumber?: number;
19
+ }
20
+ export declare namespace DescribeJobExecutionRequest {
21
+
22
+ const filterSensitiveLog: (obj: DescribeJobExecutionRequest) => any;
23
+ }
24
+ export declare enum JobExecutionStatus {
25
+ CANCELED = "CANCELED",
26
+ FAILED = "FAILED",
27
+ IN_PROGRESS = "IN_PROGRESS",
28
+ QUEUED = "QUEUED",
29
+ REJECTED = "REJECTED",
30
+ REMOVED = "REMOVED",
31
+ SUCCEEDED = "SUCCEEDED",
32
+ TIMED_OUT = "TIMED_OUT"
33
+ }
34
+
35
+ export interface JobExecution {
36
+
37
+ jobId?: string;
38
+
39
+ thingName?: string;
40
+
41
+ status?: JobExecutionStatus | string;
42
+
43
+ statusDetails?: {
44
+ [key: string]: string;
45
+ };
46
+
47
+ queuedAt?: number;
48
+
49
+ startedAt?: number;
50
+
51
+ lastUpdatedAt?: number;
52
+
53
+ approximateSecondsBeforeTimedOut?: number;
54
+
55
+ versionNumber?: number;
56
+
57
+ executionNumber?: number;
58
+
59
+ jobDocument?: string;
60
+ }
61
+ export declare namespace JobExecution {
62
+
63
+ const filterSensitiveLog: (obj: JobExecution) => any;
64
+ }
65
+ export interface DescribeJobExecutionResponse {
66
+
67
+ execution?: JobExecution;
68
+ }
69
+ export declare namespace DescribeJobExecutionResponse {
70
+
71
+ const filterSensitiveLog: (obj: DescribeJobExecutionResponse) => any;
72
+ }
73
+
74
+ export declare class InvalidRequestException extends __BaseException {
75
+ readonly name: "InvalidRequestException";
76
+ readonly $fault: "client";
77
+
78
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
79
+ }
80
+
81
+ export declare class ResourceNotFoundException extends __BaseException {
82
+ readonly name: "ResourceNotFoundException";
83
+ readonly $fault: "client";
84
+
85
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
86
+ }
87
+
88
+ export declare class ServiceUnavailableException extends __BaseException {
89
+ readonly name: "ServiceUnavailableException";
90
+ readonly $fault: "server";
91
+
92
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
93
+ }
94
+
95
+ export declare class TerminalStateException extends __BaseException {
96
+ readonly name: "TerminalStateException";
97
+ readonly $fault: "client";
98
+
99
+ constructor(opts: __ExceptionOptionType<TerminalStateException, __BaseException>);
100
+ }
101
+
102
+ export declare class ThrottlingException extends __BaseException {
103
+ readonly name: "ThrottlingException";
104
+ readonly $fault: "client";
105
+
106
+ payload?: Uint8Array;
107
+
108
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
109
+ }
110
+ export interface GetPendingJobExecutionsRequest {
111
+
112
+ thingName: string | undefined;
113
+ }
114
+ export declare namespace GetPendingJobExecutionsRequest {
115
+
116
+ const filterSensitiveLog: (obj: GetPendingJobExecutionsRequest) => any;
117
+ }
118
+
119
+ export interface JobExecutionSummary {
120
+
121
+ jobId?: string;
122
+
123
+ queuedAt?: number;
124
+
125
+ startedAt?: number;
126
+
127
+ lastUpdatedAt?: number;
128
+
129
+ versionNumber?: number;
130
+
131
+ executionNumber?: number;
132
+ }
133
+ export declare namespace JobExecutionSummary {
134
+
135
+ const filterSensitiveLog: (obj: JobExecutionSummary) => any;
136
+ }
137
+ export interface GetPendingJobExecutionsResponse {
138
+
139
+ inProgressJobs?: JobExecutionSummary[];
140
+
141
+ queuedJobs?: JobExecutionSummary[];
142
+ }
143
+ export declare namespace GetPendingJobExecutionsResponse {
144
+
145
+ const filterSensitiveLog: (obj: GetPendingJobExecutionsResponse) => any;
146
+ }
147
+
148
+ export declare class InvalidStateTransitionException extends __BaseException {
149
+ readonly name: "InvalidStateTransitionException";
150
+ readonly $fault: "client";
151
+
152
+ constructor(opts: __ExceptionOptionType<InvalidStateTransitionException, __BaseException>);
153
+ }
154
+ export interface StartNextPendingJobExecutionRequest {
155
+
156
+ thingName: string | undefined;
157
+
158
+ statusDetails?: {
159
+ [key: string]: string;
160
+ };
161
+
162
+ stepTimeoutInMinutes?: number;
163
+ }
164
+ export declare namespace StartNextPendingJobExecutionRequest {
165
+
166
+ const filterSensitiveLog: (obj: StartNextPendingJobExecutionRequest) => any;
167
+ }
168
+ export interface StartNextPendingJobExecutionResponse {
169
+
170
+ execution?: JobExecution;
171
+ }
172
+ export declare namespace StartNextPendingJobExecutionResponse {
173
+
174
+ const filterSensitiveLog: (obj: StartNextPendingJobExecutionResponse) => any;
175
+ }
176
+ export interface UpdateJobExecutionRequest {
177
+
178
+ jobId: string | undefined;
179
+
180
+ thingName: string | undefined;
181
+
182
+ status: JobExecutionStatus | string | undefined;
183
+
184
+ statusDetails?: {
185
+ [key: string]: string;
186
+ };
187
+
188
+ stepTimeoutInMinutes?: number;
189
+
190
+ expectedVersion?: number;
191
+
192
+ includeJobExecutionState?: boolean;
193
+
194
+ includeJobDocument?: boolean;
195
+
196
+ executionNumber?: number;
197
+ }
198
+ export declare namespace UpdateJobExecutionRequest {
199
+
200
+ const filterSensitiveLog: (obj: UpdateJobExecutionRequest) => any;
201
+ }
202
+
203
+ export interface JobExecutionState {
204
+
205
+ status?: JobExecutionStatus | string;
206
+
207
+ statusDetails?: {
208
+ [key: string]: string;
209
+ };
210
+
211
+ versionNumber?: number;
212
+ }
213
+ export declare namespace JobExecutionState {
214
+
215
+ const filterSensitiveLog: (obj: JobExecutionState) => any;
216
+ }
217
+ export interface UpdateJobExecutionResponse {
218
+
219
+ executionState?: JobExecutionState;
220
+
221
+ jobDocument?: string;
222
+ }
223
+ export declare namespace UpdateJobExecutionResponse {
224
+
225
+ const filterSensitiveLog: (obj: UpdateJobExecutionResponse) => any;
226
+ }
@@ -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
+ };