@aws-sdk/client-iotdeviceadvisor 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.
@@ -3,3 +3,4 @@ export * from "./IotDeviceAdvisorClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { IotDeviceAdvisorServiceException } from "./models/IotDeviceAdvisorServiceException";
@@ -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 IotDeviceAdvisor service.
4
+ */
5
+ export declare class IotDeviceAdvisorServiceException 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 { IotDeviceAdvisorServiceException as __BaseException } from "./IotDeviceAdvisorServiceException";
2
3
  /**
3
4
  * <p>Sends a Conflict Exception.</p>
4
5
  */
5
- export interface ConflictException extends __SmithyException, $MetadataBearer {
6
- name: "ConflictException";
7
- $fault: "client";
6
+ export declare class ConflictException extends __BaseException {
7
+ readonly name: "ConflictException";
8
+ readonly $fault: "client";
8
9
  /**
9
- * <p>Sends a Conflict Exception message.</p>
10
+ * @internal
10
11
  */
11
- message?: string;
12
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
12
13
  }
13
14
  /**
14
15
  * <p>Information of a test device. A thing ARN or a certificate ARN is required.</p>
@@ -105,24 +106,24 @@ export declare namespace CreateSuiteDefinitionResponse {
105
106
  /**
106
107
  * <p>Sends an Internal Failure exception.</p>
107
108
  */
108
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
109
- name: "InternalServerException";
110
- $fault: "server";
109
+ export declare class InternalServerException extends __BaseException {
110
+ readonly name: "InternalServerException";
111
+ readonly $fault: "server";
111
112
  /**
112
- * <p>Sends an Internal Failure Exception message.</p>
113
+ * @internal
113
114
  */
114
- message?: string;
115
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
115
116
  }
116
117
  /**
117
118
  * <p>Sends a validation exception.</p>
118
119
  */
119
- export interface ValidationException extends __SmithyException, $MetadataBearer {
120
- name: "ValidationException";
121
- $fault: "client";
120
+ export declare class ValidationException extends __BaseException {
121
+ readonly name: "ValidationException";
122
+ readonly $fault: "client";
122
123
  /**
123
- * <p>Sends a Validation Exception message.</p>
124
+ * @internal
124
125
  */
125
- message?: string;
126
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
126
127
  }
127
128
  export interface DeleteSuiteDefinitionRequest {
128
129
  /**
@@ -175,13 +176,13 @@ export declare namespace GetEndpointResponse {
175
176
  /**
176
177
  * <p>Sends a Resource Not Found exception.</p>
177
178
  */
178
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
179
- name: "ResourceNotFoundException";
180
- $fault: "client";
179
+ export declare class ResourceNotFoundException extends __BaseException {
180
+ readonly name: "ResourceNotFoundException";
181
+ readonly $fault: "client";
181
182
  /**
182
- * <p>Sends a Resource Not Found Exception message.</p>
183
+ * @internal
183
184
  */
184
- message?: string;
185
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
185
186
  }
186
187
  export interface GetSuiteDefinitionRequest {
187
188
  /**
@@ -3,3 +3,4 @@ export * from "./IotDeviceAdvisorClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { IotDeviceAdvisorServiceException } from "./models/IotDeviceAdvisorServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class IotDeviceAdvisorServiceException 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 { IotDeviceAdvisorServiceException as __BaseException } from "./IotDeviceAdvisorServiceException";
2
3
 
3
- export interface ConflictException extends __SmithyException, $MetadataBearer {
4
- name: "ConflictException";
5
- $fault: "client";
4
+ export declare class ConflictException extends __BaseException {
5
+ readonly name: "ConflictException";
6
+ readonly $fault: "client";
6
7
 
7
- message?: string;
8
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
8
9
  }
9
10
 
10
11
  export interface DeviceUnderTest {
@@ -61,18 +62,18 @@ export declare namespace CreateSuiteDefinitionResponse {
61
62
  const filterSensitiveLog: (obj: CreateSuiteDefinitionResponse) => any;
62
63
  }
63
64
 
64
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
65
- name: "InternalServerException";
66
- $fault: "server";
65
+ export declare class InternalServerException extends __BaseException {
66
+ readonly name: "InternalServerException";
67
+ readonly $fault: "server";
67
68
 
68
- message?: string;
69
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
69
70
  }
70
71
 
71
- export interface ValidationException extends __SmithyException, $MetadataBearer {
72
- name: "ValidationException";
73
- $fault: "client";
72
+ export declare class ValidationException extends __BaseException {
73
+ readonly name: "ValidationException";
74
+ readonly $fault: "client";
74
75
 
75
- message?: string;
76
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
76
77
  }
77
78
  export interface DeleteSuiteDefinitionRequest {
78
79
 
@@ -107,11 +108,11 @@ export declare namespace GetEndpointResponse {
107
108
  const filterSensitiveLog: (obj: GetEndpointResponse) => any;
108
109
  }
109
110
 
110
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
111
- name: "ResourceNotFoundException";
112
- $fault: "client";
111
+ export declare class ResourceNotFoundException extends __BaseException {
112
+ readonly name: "ResourceNotFoundException";
113
+ readonly $fault: "client";
113
114
 
114
- message?: string;
115
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
115
116
  }
116
117
  export interface GetSuiteDefinitionRequest {
117
118
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotdeviceadvisor",
3
3
  "description": "AWS SDK for JavaScript Iotdeviceadvisor 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"