@aws-sdk/client-healthlake 3.554.0 → 3.556.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.
- package/dist-cjs/index.js +8 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_json1_0.js +1 -0
- package/dist-types/commands/CreateFHIRDatastoreCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFHIRDatastoreCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFHIRDatastoreCommand.d.ts +5 -1
- package/dist-types/commands/ListFHIRDatastoresCommand.d.ts +6 -2
- package/dist-types/models/models_0.d.ts +34 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -31,6 +31,7 @@ __export(src_exports, {
|
|
|
31
31
|
DescribeFHIRDatastoreCommand: () => DescribeFHIRDatastoreCommand,
|
|
32
32
|
DescribeFHIRExportJobCommand: () => DescribeFHIRExportJobCommand,
|
|
33
33
|
DescribeFHIRImportJobCommand: () => DescribeFHIRImportJobCommand,
|
|
34
|
+
ErrorCategory: () => ErrorCategory,
|
|
34
35
|
FHIRVersion: () => FHIRVersion,
|
|
35
36
|
HealthLake: () => HealthLake,
|
|
36
37
|
HealthLakeClient: () => HealthLakeClient,
|
|
@@ -283,6 +284,7 @@ var PreloadDataType = {
|
|
|
283
284
|
};
|
|
284
285
|
var DatastoreStatus = {
|
|
285
286
|
ACTIVE: "ACTIVE",
|
|
287
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
286
288
|
CREATING: "CREATING",
|
|
287
289
|
DELETED: "DELETED",
|
|
288
290
|
DELETING: "DELETING"
|
|
@@ -341,6 +343,10 @@ var _ValidationException = class _ValidationException extends HealthLakeServiceE
|
|
|
341
343
|
};
|
|
342
344
|
__name(_ValidationException, "ValidationException");
|
|
343
345
|
var ValidationException = _ValidationException;
|
|
346
|
+
var ErrorCategory = {
|
|
347
|
+
NON_RETRYABLE_ERROR: "NON_RETRYABLE_ERROR",
|
|
348
|
+
RETRYABLE_ERROR: "RETRYABLE_ERROR"
|
|
349
|
+
};
|
|
344
350
|
var _ResourceNotFoundException = class _ResourceNotFoundException extends HealthLakeServiceException {
|
|
345
351
|
/**
|
|
346
352
|
* @internal
|
|
@@ -799,6 +805,7 @@ var de_DatastoreProperties = /* @__PURE__ */ __name((output, context) => {
|
|
|
799
805
|
DatastoreName: import_smithy_client.expectString,
|
|
800
806
|
DatastoreStatus: import_smithy_client.expectString,
|
|
801
807
|
DatastoreTypeVersion: import_smithy_client.expectString,
|
|
808
|
+
ErrorCause: import_smithy_client._json,
|
|
802
809
|
IdentityProviderConfiguration: import_smithy_client._json,
|
|
803
810
|
PreloadDataConfig: import_smithy_client._json,
|
|
804
811
|
SseConfiguration: import_smithy_client._json
|
|
@@ -1212,6 +1219,7 @@ var paginateListFHIRImportJobs = (0, import_core.createPaginator)(HealthLakeClie
|
|
|
1212
1219
|
InternalServerException,
|
|
1213
1220
|
ThrottlingException,
|
|
1214
1221
|
ValidationException,
|
|
1222
|
+
ErrorCategory,
|
|
1215
1223
|
ResourceNotFoundException,
|
|
1216
1224
|
JobStatus,
|
|
1217
1225
|
OutputDataConfig,
|
|
@@ -41,6 +41,7 @@ export const PreloadDataType = {
|
|
|
41
41
|
};
|
|
42
42
|
export const DatastoreStatus = {
|
|
43
43
|
ACTIVE: "ACTIVE",
|
|
44
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
44
45
|
CREATING: "CREATING",
|
|
45
46
|
DELETED: "DELETED",
|
|
46
47
|
DELETING: "DELETING",
|
|
@@ -84,6 +85,10 @@ export class ValidationException extends __BaseException {
|
|
|
84
85
|
this.Message = opts.Message;
|
|
85
86
|
}
|
|
86
87
|
}
|
|
88
|
+
export const ErrorCategory = {
|
|
89
|
+
NON_RETRYABLE_ERROR: "NON_RETRYABLE_ERROR",
|
|
90
|
+
RETRYABLE_ERROR: "RETRYABLE_ERROR",
|
|
91
|
+
};
|
|
87
92
|
export class ResourceNotFoundException extends __BaseException {
|
|
88
93
|
constructor(opts) {
|
|
89
94
|
super({
|
|
@@ -415,6 +415,7 @@ const de_DatastoreProperties = (output, context) => {
|
|
|
415
415
|
DatastoreName: __expectString,
|
|
416
416
|
DatastoreStatus: __expectString,
|
|
417
417
|
DatastoreTypeVersion: __expectString,
|
|
418
|
+
ErrorCause: _json,
|
|
418
419
|
IdentityProviderConfiguration: _json,
|
|
419
420
|
PreloadDataConfig: _json,
|
|
420
421
|
SseConfiguration: _json,
|
|
@@ -64,7 +64,7 @@ declare const CreateFHIRDatastoreCommand_base: {
|
|
|
64
64
|
* // { // CreateFHIRDatastoreResponse
|
|
65
65
|
* // DatastoreId: "STRING_VALUE", // required
|
|
66
66
|
* // DatastoreArn: "STRING_VALUE", // required
|
|
67
|
-
* // DatastoreStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED", // required
|
|
67
|
+
* // DatastoreStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "CREATE_FAILED", // required
|
|
68
68
|
* // DatastoreEndpoint: "STRING_VALUE", // required
|
|
69
69
|
* // };
|
|
70
70
|
*
|
|
@@ -41,7 +41,7 @@ declare const DeleteFHIRDatastoreCommand_base: {
|
|
|
41
41
|
* // { // DeleteFHIRDatastoreResponse
|
|
42
42
|
* // DatastoreId: "STRING_VALUE", // required
|
|
43
43
|
* // DatastoreArn: "STRING_VALUE", // required
|
|
44
|
-
* // DatastoreStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED", // required
|
|
44
|
+
* // DatastoreStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "CREATE_FAILED", // required
|
|
45
45
|
* // DatastoreEndpoint: "STRING_VALUE", // required
|
|
46
46
|
* // };
|
|
47
47
|
*
|
|
@@ -44,7 +44,7 @@ declare const DescribeFHIRDatastoreCommand_base: {
|
|
|
44
44
|
* // DatastoreId: "STRING_VALUE", // required
|
|
45
45
|
* // DatastoreArn: "STRING_VALUE", // required
|
|
46
46
|
* // DatastoreName: "STRING_VALUE",
|
|
47
|
-
* // DatastoreStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED", // required
|
|
47
|
+
* // DatastoreStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "CREATE_FAILED", // required
|
|
48
48
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
49
49
|
* // DatastoreTypeVersion: "R4", // required
|
|
50
50
|
* // DatastoreEndpoint: "STRING_VALUE", // required
|
|
@@ -63,6 +63,10 @@ declare const DescribeFHIRDatastoreCommand_base: {
|
|
|
63
63
|
* // Metadata: "STRING_VALUE",
|
|
64
64
|
* // IdpLambdaArn: "STRING_VALUE",
|
|
65
65
|
* // },
|
|
66
|
+
* // ErrorCause: { // ErrorCause
|
|
67
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
68
|
+
* // ErrorCategory: "RETRYABLE_ERROR" || "NON_RETRYABLE_ERROR",
|
|
69
|
+
* // },
|
|
66
70
|
* // },
|
|
67
71
|
* // };
|
|
68
72
|
*
|
|
@@ -36,7 +36,7 @@ declare const ListFHIRDatastoresCommand_base: {
|
|
|
36
36
|
* const input = { // ListFHIRDatastoresRequest
|
|
37
37
|
* Filter: { // DatastoreFilter
|
|
38
38
|
* DatastoreName: "STRING_VALUE",
|
|
39
|
-
* DatastoreStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED",
|
|
39
|
+
* DatastoreStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "CREATE_FAILED",
|
|
40
40
|
* CreatedBefore: new Date("TIMESTAMP"),
|
|
41
41
|
* CreatedAfter: new Date("TIMESTAMP"),
|
|
42
42
|
* },
|
|
@@ -51,7 +51,7 @@ declare const ListFHIRDatastoresCommand_base: {
|
|
|
51
51
|
* // DatastoreId: "STRING_VALUE", // required
|
|
52
52
|
* // DatastoreArn: "STRING_VALUE", // required
|
|
53
53
|
* // DatastoreName: "STRING_VALUE",
|
|
54
|
-
* // DatastoreStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED", // required
|
|
54
|
+
* // DatastoreStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "CREATE_FAILED", // required
|
|
55
55
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
56
56
|
* // DatastoreTypeVersion: "R4", // required
|
|
57
57
|
* // DatastoreEndpoint: "STRING_VALUE", // required
|
|
@@ -70,6 +70,10 @@ declare const ListFHIRDatastoresCommand_base: {
|
|
|
70
70
|
* // Metadata: "STRING_VALUE",
|
|
71
71
|
* // IdpLambdaArn: "STRING_VALUE",
|
|
72
72
|
* // },
|
|
73
|
+
* // ErrorCause: { // ErrorCause
|
|
74
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
75
|
+
* // ErrorCategory: "RETRYABLE_ERROR" || "NON_RETRYABLE_ERROR",
|
|
76
|
+
* // },
|
|
73
77
|
* // },
|
|
74
78
|
* // ],
|
|
75
79
|
* // NextToken: "STRING_VALUE",
|
|
@@ -229,6 +229,7 @@ export interface CreateFHIRDatastoreRequest {
|
|
|
229
229
|
*/
|
|
230
230
|
export declare const DatastoreStatus: {
|
|
231
231
|
readonly ACTIVE: "ACTIVE";
|
|
232
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
232
233
|
readonly CREATING: "CREATING";
|
|
233
234
|
readonly DELETED: "DELETED";
|
|
234
235
|
readonly DELETING: "DELETING";
|
|
@@ -331,6 +332,34 @@ export interface DatastoreFilter {
|
|
|
331
332
|
*/
|
|
332
333
|
CreatedAfter?: Date;
|
|
333
334
|
}
|
|
335
|
+
/**
|
|
336
|
+
* @public
|
|
337
|
+
* @enum
|
|
338
|
+
*/
|
|
339
|
+
export declare const ErrorCategory: {
|
|
340
|
+
readonly NON_RETRYABLE_ERROR: "NON_RETRYABLE_ERROR";
|
|
341
|
+
readonly RETRYABLE_ERROR: "RETRYABLE_ERROR";
|
|
342
|
+
};
|
|
343
|
+
/**
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
export type ErrorCategory = (typeof ErrorCategory)[keyof typeof ErrorCategory];
|
|
347
|
+
/**
|
|
348
|
+
* <p>The error info of the create/delete data store operation.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
export interface ErrorCause {
|
|
352
|
+
/**
|
|
353
|
+
* <p>The text of the error message.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
ErrorMessage?: string;
|
|
357
|
+
/**
|
|
358
|
+
* <p>The error category of the create/delete data store operation. Possible statuses are RETRYABLE_ERROR or NON_RETRYABLE_ERROR.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
ErrorCategory?: ErrorCategory;
|
|
362
|
+
}
|
|
334
363
|
/**
|
|
335
364
|
* <p>Displays the properties of the data store, including the ID, ARN, name, and the status of the data store.</p>
|
|
336
365
|
* @public
|
|
@@ -388,6 +417,11 @@ export interface DatastoreProperties {
|
|
|
388
417
|
* @public
|
|
389
418
|
*/
|
|
390
419
|
IdentityProviderConfiguration?: IdentityProviderConfiguration;
|
|
420
|
+
/**
|
|
421
|
+
* <p>The error cause for the current data store operation.</p>
|
|
422
|
+
* @public
|
|
423
|
+
*/
|
|
424
|
+
ErrorCause?: ErrorCause;
|
|
391
425
|
}
|
|
392
426
|
/**
|
|
393
427
|
* @public
|
|
@@ -65,6 +65,7 @@ export interface CreateFHIRDatastoreRequest {
|
|
|
65
65
|
}
|
|
66
66
|
export declare const DatastoreStatus: {
|
|
67
67
|
readonly ACTIVE: "ACTIVE";
|
|
68
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
68
69
|
readonly CREATING: "CREATING";
|
|
69
70
|
readonly DELETED: "DELETED";
|
|
70
71
|
readonly DELETING: "DELETING";
|
|
@@ -107,6 +108,15 @@ export interface DatastoreFilter {
|
|
|
107
108
|
CreatedBefore?: Date;
|
|
108
109
|
CreatedAfter?: Date;
|
|
109
110
|
}
|
|
111
|
+
export declare const ErrorCategory: {
|
|
112
|
+
readonly NON_RETRYABLE_ERROR: "NON_RETRYABLE_ERROR";
|
|
113
|
+
readonly RETRYABLE_ERROR: "RETRYABLE_ERROR";
|
|
114
|
+
};
|
|
115
|
+
export type ErrorCategory = (typeof ErrorCategory)[keyof typeof ErrorCategory];
|
|
116
|
+
export interface ErrorCause {
|
|
117
|
+
ErrorMessage?: string;
|
|
118
|
+
ErrorCategory?: ErrorCategory;
|
|
119
|
+
}
|
|
110
120
|
export interface DatastoreProperties {
|
|
111
121
|
DatastoreId: string | undefined;
|
|
112
122
|
DatastoreArn: string | undefined;
|
|
@@ -118,6 +128,7 @@ export interface DatastoreProperties {
|
|
|
118
128
|
SseConfiguration?: SseConfiguration;
|
|
119
129
|
PreloadDataConfig?: PreloadDataConfig;
|
|
120
130
|
IdentityProviderConfiguration?: IdentityProviderConfiguration;
|
|
131
|
+
ErrorCause?: ErrorCause;
|
|
121
132
|
}
|
|
122
133
|
export interface DeleteFHIRDatastoreRequest {
|
|
123
134
|
DatastoreId: string | undefined;
|
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.
|
|
4
|
+
"version": "3.556.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-healthlake",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.556.0",
|
|
24
|
+
"@aws-sdk/core": "3.556.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.556.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|