@aws-sdk/client-iot-jobs-data-plane 3.52.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.
@@ -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
  /**
@@ -2,3 +2,4 @@ export * from "./IoTJobsDataPlane";
2
2
  export * from "./IoTJobsDataPlaneClient";
3
3
  export * from "./commands";
4
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
+ }
@@ -1,10 +1,11 @@
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
- export interface CertificateValidationException extends __SmithyException, $MetadataBearer {
4
- name: "CertificateValidationException";
5
- $fault: "client";
4
+ export declare class CertificateValidationException extends __BaseException {
5
+ readonly name: "CertificateValidationException";
6
+ readonly $fault: "client";
6
7
 
7
- message?: string;
8
+ constructor(opts: __ExceptionOptionType<CertificateValidationException, __BaseException>);
8
9
  }
9
10
  export interface DescribeJobExecutionRequest {
10
11
 
@@ -70,40 +71,41 @@ export declare namespace DescribeJobExecutionResponse {
70
71
  const filterSensitiveLog: (obj: DescribeJobExecutionResponse) => any;
71
72
  }
72
73
 
73
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
74
- name: "InvalidRequestException";
75
- $fault: "client";
74
+ export declare class InvalidRequestException extends __BaseException {
75
+ readonly name: "InvalidRequestException";
76
+ readonly $fault: "client";
76
77
 
77
- message?: string;
78
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
78
79
  }
79
80
 
80
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
81
- name: "ResourceNotFoundException";
82
- $fault: "client";
81
+ export declare class ResourceNotFoundException extends __BaseException {
82
+ readonly name: "ResourceNotFoundException";
83
+ readonly $fault: "client";
83
84
 
84
- message?: string;
85
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
85
86
  }
86
87
 
87
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
88
- name: "ServiceUnavailableException";
89
- $fault: "server";
88
+ export declare class ServiceUnavailableException extends __BaseException {
89
+ readonly name: "ServiceUnavailableException";
90
+ readonly $fault: "server";
90
91
 
91
- message?: string;
92
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
92
93
  }
93
94
 
94
- export interface TerminalStateException extends __SmithyException, $MetadataBearer {
95
- name: "TerminalStateException";
96
- $fault: "client";
97
- message?: string;
95
+ export declare class TerminalStateException extends __BaseException {
96
+ readonly name: "TerminalStateException";
97
+ readonly $fault: "client";
98
+
99
+ constructor(opts: __ExceptionOptionType<TerminalStateException, __BaseException>);
98
100
  }
99
101
 
100
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
101
- name: "ThrottlingException";
102
- $fault: "client";
103
-
104
- message?: string;
102
+ export declare class ThrottlingException extends __BaseException {
103
+ readonly name: "ThrottlingException";
104
+ readonly $fault: "client";
105
105
 
106
106
  payload?: Uint8Array;
107
+
108
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
107
109
  }
108
110
  export interface GetPendingJobExecutionsRequest {
109
111
 
@@ -143,10 +145,11 @@ export declare namespace GetPendingJobExecutionsResponse {
143
145
  const filterSensitiveLog: (obj: GetPendingJobExecutionsResponse) => any;
144
146
  }
145
147
 
146
- export interface InvalidStateTransitionException extends __SmithyException, $MetadataBearer {
147
- name: "InvalidStateTransitionException";
148
- $fault: "client";
149
- message?: string;
148
+ export declare class InvalidStateTransitionException extends __BaseException {
149
+ readonly name: "InvalidStateTransitionException";
150
+ readonly $fault: "client";
151
+
152
+ constructor(opts: __ExceptionOptionType<InvalidStateTransitionException, __BaseException>);
150
153
  }
151
154
  export interface StartNextPendingJobExecutionRequest {
152
155
 
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.52.0",
4
+ "version": "3.53.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,34 +18,34 @@
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.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"