@aws-sdk/client-finspace-data 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 "./FinspaceDataClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { FinspaceDataServiceException } from "./models/FinspaceDataServiceException";
@@ -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 FinspaceData service.
4
+ */
5
+ export declare class FinspaceDataServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,19 +1,26 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { FinspaceDataServiceException as __BaseException } from "./FinspaceDataServiceException";
2
3
  /**
3
4
  * <p>You do not have sufficient access to perform this action.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
8
- message?: string;
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
13
  }
10
14
  /**
11
15
  * <p>The request conflicts with an existing resource.</p>
12
16
  */
13
- export interface ConflictException extends __SmithyException, $MetadataBearer {
14
- name: "ConflictException";
15
- $fault: "client";
16
- message?: string;
17
+ export declare class ConflictException extends __BaseException {
18
+ readonly name: "ConflictException";
19
+ readonly $fault: "client";
20
+ /**
21
+ * @internal
22
+ */
23
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
17
24
  }
18
25
  export declare enum ChangeType {
19
26
  APPEND = "APPEND",
@@ -152,41 +159,57 @@ export declare namespace CreateChangesetResponse {
152
159
  * <p>The request processing has failed because of an unknown error, exception or
153
160
  * failure.</p>
154
161
  */
155
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
156
- name: "InternalServerException";
157
- $fault: "server";
158
- message?: string;
162
+ export declare class InternalServerException extends __BaseException {
163
+ readonly name: "InternalServerException";
164
+ readonly $fault: "server";
165
+ /**
166
+ * @internal
167
+ */
168
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
159
169
  }
160
170
  /**
161
171
  * <p>A limit has exceeded.</p>
162
172
  */
163
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
164
- name: "LimitExceededException";
165
- $fault: "client";
166
- message?: string;
173
+ export declare class LimitExceededException extends __BaseException {
174
+ readonly name: "LimitExceededException";
175
+ readonly $fault: "client";
176
+ /**
177
+ * @internal
178
+ */
179
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
167
180
  }
168
181
  /**
169
182
  * <p>One or more resources can't be found.</p>
170
183
  */
171
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
172
- name: "ResourceNotFoundException";
173
- $fault: "client";
174
- message?: string;
184
+ export declare class ResourceNotFoundException extends __BaseException {
185
+ readonly name: "ResourceNotFoundException";
186
+ readonly $fault: "client";
187
+ /**
188
+ * @internal
189
+ */
190
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
175
191
  }
176
192
  /**
177
193
  * <p>The request was denied due to request throttling.</p>
178
194
  */
179
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
180
- name: "ThrottlingException";
181
- $fault: "client";
195
+ export declare class ThrottlingException extends __BaseException {
196
+ readonly name: "ThrottlingException";
197
+ readonly $fault: "client";
198
+ /**
199
+ * @internal
200
+ */
201
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
182
202
  }
183
203
  /**
184
204
  * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
185
205
  */
186
- export interface ValidationException extends __SmithyException, $MetadataBearer {
187
- name: "ValidationException";
188
- $fault: "client";
189
- message?: string;
206
+ export declare class ValidationException extends __BaseException {
207
+ readonly name: "ValidationException";
208
+ readonly $fault: "client";
209
+ /**
210
+ * @internal
211
+ */
212
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
190
213
  }
191
214
  export declare enum DatasetKind {
192
215
  NON_TABULAR = "NON_TABULAR",
@@ -3,3 +3,4 @@ export * from "./FinspaceDataClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { FinspaceDataServiceException } from "./models/FinspaceDataServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class FinspaceDataServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,15 +1,18 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { FinspaceDataServiceException as __BaseException } from "./FinspaceDataServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
6
- message?: string;
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
9
  }
8
10
 
9
- export interface ConflictException extends __SmithyException, $MetadataBearer {
10
- name: "ConflictException";
11
- $fault: "client";
12
- message?: string;
11
+ export declare class ConflictException extends __BaseException {
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+
15
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
13
16
  }
14
17
  export declare enum ChangeType {
15
18
  APPEND = "APPEND",
@@ -49,33 +52,39 @@ export declare namespace CreateChangesetResponse {
49
52
  const filterSensitiveLog: (obj: CreateChangesetResponse) => any;
50
53
  }
51
54
 
52
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
53
- name: "InternalServerException";
54
- $fault: "server";
55
- message?: string;
55
+ export declare class InternalServerException extends __BaseException {
56
+ readonly name: "InternalServerException";
57
+ readonly $fault: "server";
58
+
59
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
56
60
  }
57
61
 
58
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
59
- name: "LimitExceededException";
60
- $fault: "client";
61
- message?: string;
62
+ export declare class LimitExceededException extends __BaseException {
63
+ readonly name: "LimitExceededException";
64
+ readonly $fault: "client";
65
+
66
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
62
67
  }
63
68
 
64
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
65
- name: "ResourceNotFoundException";
66
- $fault: "client";
67
- message?: string;
69
+ export declare class ResourceNotFoundException extends __BaseException {
70
+ readonly name: "ResourceNotFoundException";
71
+ readonly $fault: "client";
72
+
73
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
68
74
  }
69
75
 
70
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
71
- name: "ThrottlingException";
72
- $fault: "client";
76
+ export declare class ThrottlingException extends __BaseException {
77
+ readonly name: "ThrottlingException";
78
+ readonly $fault: "client";
79
+
80
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
73
81
  }
74
82
 
75
- export interface ValidationException extends __SmithyException, $MetadataBearer {
76
- name: "ValidationException";
77
- $fault: "client";
78
- message?: string;
83
+ export declare class ValidationException extends __BaseException {
84
+ readonly name: "ValidationException";
85
+ readonly $fault: "client";
86
+
87
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
79
88
  }
80
89
  export declare enum DatasetKind {
81
90
  NON_TABULAR = "NON_TABULAR",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-finspace-data",
3
3
  "description": "AWS SDK for JavaScript Finspace Data 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",