@aws-sdk/client-healthlake 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 "./HealthLakeClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { HealthLakeServiceException } from "./models/HealthLakeServiceException";
@@ -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 HealthLake service.
4
+ */
5
+ export declare class HealthLakeServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { HealthLakeServiceException as __BaseException } from "./HealthLakeServiceException";
2
3
  /**
3
4
  * <p>Access is denied. Your account is not authorized to perform this operation.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  Message?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
14
  }
10
15
  export declare enum CmkType {
11
16
  AO_CMK = "AWS_OWNED_KMS_KEY",
@@ -14,10 +19,14 @@ export declare enum CmkType {
14
19
  /**
15
20
  * <p>The Data Store is in a transition state and the user requested action can not be performed.</p>
16
21
  */
17
- export interface ConflictException extends __SmithyException, $MetadataBearer {
18
- name: "ConflictException";
19
- $fault: "client";
22
+ export declare class ConflictException extends __BaseException {
23
+ readonly name: "ConflictException";
24
+ readonly $fault: "client";
20
25
  Message?: string;
26
+ /**
27
+ * @internal
28
+ */
29
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
21
30
  }
22
31
  export declare enum FHIRVersion {
23
32
  R4 = "R4"
@@ -183,26 +192,38 @@ export declare namespace CreateFHIRDatastoreResponse {
183
192
  /**
184
193
  * <p>Unknown error occurs in the service.</p>
185
194
  */
186
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
187
- name: "InternalServerException";
188
- $fault: "server";
195
+ export declare class InternalServerException extends __BaseException {
196
+ readonly name: "InternalServerException";
197
+ readonly $fault: "server";
189
198
  Message?: string;
199
+ /**
200
+ * @internal
201
+ */
202
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
190
203
  }
191
204
  /**
192
205
  * <p>The user has exceeded their maximum number of allowed calls to the given API. </p>
193
206
  */
194
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
195
- name: "ThrottlingException";
196
- $fault: "client";
207
+ export declare class ThrottlingException extends __BaseException {
208
+ readonly name: "ThrottlingException";
209
+ readonly $fault: "client";
197
210
  Message?: string;
211
+ /**
212
+ * @internal
213
+ */
214
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
198
215
  }
199
216
  /**
200
217
  * <p>The user input parameter was invalid.</p>
201
218
  */
202
- export interface ValidationException extends __SmithyException, $MetadataBearer {
203
- name: "ValidationException";
204
- $fault: "client";
219
+ export declare class ValidationException extends __BaseException {
220
+ readonly name: "ValidationException";
221
+ readonly $fault: "client";
205
222
  Message?: string;
223
+ /**
224
+ * @internal
225
+ */
226
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
206
227
  }
207
228
  /**
208
229
  * <p>The filters applied to Data Store query.</p>
@@ -322,10 +343,14 @@ export declare namespace DeleteFHIRDatastoreResponse {
322
343
  /**
323
344
  * <p> The requested Data Store was not found.</p>
324
345
  */
325
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
326
- name: "ResourceNotFoundException";
327
- $fault: "client";
346
+ export declare class ResourceNotFoundException extends __BaseException {
347
+ readonly name: "ResourceNotFoundException";
348
+ readonly $fault: "client";
328
349
  Message?: string;
350
+ /**
351
+ * @internal
352
+ */
353
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
329
354
  }
330
355
  export interface DescribeFHIRDatastoreRequest {
331
356
  /**
@@ -3,3 +3,4 @@ export * from "./HealthLakeClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { HealthLakeServiceException } from "./models/HealthLakeServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class HealthLakeServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,19 +1,24 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { HealthLakeServiceException as __BaseException } from "./HealthLakeServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
6
7
  Message?: string;
8
+
9
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
10
  }
8
11
  export declare enum CmkType {
9
12
  AO_CMK = "AWS_OWNED_KMS_KEY",
10
13
  CM_CMK = "CUSTOMER_MANAGED_KMS_KEY"
11
14
  }
12
15
 
13
- export interface ConflictException extends __SmithyException, $MetadataBearer {
14
- name: "ConflictException";
15
- $fault: "client";
16
+ export declare class ConflictException extends __BaseException {
17
+ readonly name: "ConflictException";
18
+ readonly $fault: "client";
16
19
  Message?: string;
20
+
21
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
17
22
  }
18
23
  export declare enum FHIRVersion {
19
24
  R4 = "R4"
@@ -100,22 +105,28 @@ export declare namespace CreateFHIRDatastoreResponse {
100
105
  const filterSensitiveLog: (obj: CreateFHIRDatastoreResponse) => any;
101
106
  }
102
107
 
103
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
104
- name: "InternalServerException";
105
- $fault: "server";
108
+ export declare class InternalServerException extends __BaseException {
109
+ readonly name: "InternalServerException";
110
+ readonly $fault: "server";
106
111
  Message?: string;
112
+
113
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
107
114
  }
108
115
 
109
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
110
- name: "ThrottlingException";
111
- $fault: "client";
116
+ export declare class ThrottlingException extends __BaseException {
117
+ readonly name: "ThrottlingException";
118
+ readonly $fault: "client";
112
119
  Message?: string;
120
+
121
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
113
122
  }
114
123
 
115
- export interface ValidationException extends __SmithyException, $MetadataBearer {
116
- name: "ValidationException";
117
- $fault: "client";
124
+ export declare class ValidationException extends __BaseException {
125
+ readonly name: "ValidationException";
126
+ readonly $fault: "client";
118
127
  Message?: string;
128
+
129
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
119
130
  }
120
131
 
121
132
  export interface DatastoreFilter {
@@ -180,10 +191,12 @@ export declare namespace DeleteFHIRDatastoreResponse {
180
191
  const filterSensitiveLog: (obj: DeleteFHIRDatastoreResponse) => any;
181
192
  }
182
193
 
183
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
184
- name: "ResourceNotFoundException";
185
- $fault: "client";
194
+ export declare class ResourceNotFoundException extends __BaseException {
195
+ readonly name: "ResourceNotFoundException";
196
+ readonly $fault: "client";
186
197
  Message?: string;
198
+
199
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
187
200
  }
188
201
  export interface DescribeFHIRDatastoreRequest {
189
202
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-healthlake",
3
3
  "description": "AWS SDK for JavaScript Healthlake 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",