@aws-sdk/client-healthlake 3.301.0 → 3.303.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.
@@ -16,11 +16,10 @@ class AccessDeniedException extends HealthLakeServiceException_1.HealthLakeServi
16
16
  }
17
17
  }
18
18
  exports.AccessDeniedException = AccessDeniedException;
19
- var CmkType;
20
- (function (CmkType) {
21
- CmkType["AO_CMK"] = "AWS_OWNED_KMS_KEY";
22
- CmkType["CM_CMK"] = "CUSTOMER_MANAGED_KMS_KEY";
23
- })(CmkType = exports.CmkType || (exports.CmkType = {}));
19
+ exports.CmkType = {
20
+ AO_CMK: "AWS_OWNED_KMS_KEY",
21
+ CM_CMK: "CUSTOMER_MANAGED_KMS_KEY",
22
+ };
24
23
  class ConflictException extends HealthLakeServiceException_1.HealthLakeServiceException {
25
24
  constructor(opts) {
26
25
  super({
@@ -35,21 +34,18 @@ class ConflictException extends HealthLakeServiceException_1.HealthLakeServiceEx
35
34
  }
36
35
  }
37
36
  exports.ConflictException = ConflictException;
38
- var FHIRVersion;
39
- (function (FHIRVersion) {
40
- FHIRVersion["R4"] = "R4";
41
- })(FHIRVersion = exports.FHIRVersion || (exports.FHIRVersion = {}));
42
- var PreloadDataType;
43
- (function (PreloadDataType) {
44
- PreloadDataType["SYNTHEA"] = "SYNTHEA";
45
- })(PreloadDataType = exports.PreloadDataType || (exports.PreloadDataType = {}));
46
- var DatastoreStatus;
47
- (function (DatastoreStatus) {
48
- DatastoreStatus["ACTIVE"] = "ACTIVE";
49
- DatastoreStatus["CREATING"] = "CREATING";
50
- DatastoreStatus["DELETED"] = "DELETED";
51
- DatastoreStatus["DELETING"] = "DELETING";
52
- })(DatastoreStatus = exports.DatastoreStatus || (exports.DatastoreStatus = {}));
37
+ exports.FHIRVersion = {
38
+ R4: "R4",
39
+ };
40
+ exports.PreloadDataType = {
41
+ SYNTHEA: "SYNTHEA",
42
+ };
43
+ exports.DatastoreStatus = {
44
+ ACTIVE: "ACTIVE",
45
+ CREATING: "CREATING",
46
+ DELETED: "DELETED",
47
+ DELETING: "DELETING",
48
+ };
53
49
  class InternalServerException extends HealthLakeServiceException_1.HealthLakeServiceException {
54
50
  constructor(opts) {
55
51
  super({
@@ -106,14 +102,13 @@ class ResourceNotFoundException extends HealthLakeServiceException_1.HealthLakeS
106
102
  }
107
103
  }
108
104
  exports.ResourceNotFoundException = ResourceNotFoundException;
109
- var JobStatus;
110
- (function (JobStatus) {
111
- JobStatus["COMPLETED"] = "COMPLETED";
112
- JobStatus["COMPLETED_WITH_ERRORS"] = "COMPLETED_WITH_ERRORS";
113
- JobStatus["FAILED"] = "FAILED";
114
- JobStatus["IN_PROGRESS"] = "IN_PROGRESS";
115
- JobStatus["SUBMITTED"] = "SUBMITTED";
116
- })(JobStatus = exports.JobStatus || (exports.JobStatus = {}));
105
+ exports.JobStatus = {
106
+ COMPLETED: "COMPLETED",
107
+ COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
108
+ FAILED: "FAILED",
109
+ IN_PROGRESS: "IN_PROGRESS",
110
+ SUBMITTED: "SUBMITTED",
111
+ };
117
112
  var OutputDataConfig;
118
113
  (function (OutputDataConfig) {
119
114
  OutputDataConfig.visit = (value, visitor) => {
@@ -12,11 +12,10 @@ export class AccessDeniedException extends __BaseException {
12
12
  this.Message = opts.Message;
13
13
  }
14
14
  }
15
- export var CmkType;
16
- (function (CmkType) {
17
- CmkType["AO_CMK"] = "AWS_OWNED_KMS_KEY";
18
- CmkType["CM_CMK"] = "CUSTOMER_MANAGED_KMS_KEY";
19
- })(CmkType || (CmkType = {}));
15
+ export const CmkType = {
16
+ AO_CMK: "AWS_OWNED_KMS_KEY",
17
+ CM_CMK: "CUSTOMER_MANAGED_KMS_KEY",
18
+ };
20
19
  export class ConflictException extends __BaseException {
21
20
  constructor(opts) {
22
21
  super({
@@ -30,21 +29,18 @@ export class ConflictException extends __BaseException {
30
29
  this.Message = opts.Message;
31
30
  }
32
31
  }
33
- export var FHIRVersion;
34
- (function (FHIRVersion) {
35
- FHIRVersion["R4"] = "R4";
36
- })(FHIRVersion || (FHIRVersion = {}));
37
- export var PreloadDataType;
38
- (function (PreloadDataType) {
39
- PreloadDataType["SYNTHEA"] = "SYNTHEA";
40
- })(PreloadDataType || (PreloadDataType = {}));
41
- export var DatastoreStatus;
42
- (function (DatastoreStatus) {
43
- DatastoreStatus["ACTIVE"] = "ACTIVE";
44
- DatastoreStatus["CREATING"] = "CREATING";
45
- DatastoreStatus["DELETED"] = "DELETED";
46
- DatastoreStatus["DELETING"] = "DELETING";
47
- })(DatastoreStatus || (DatastoreStatus = {}));
32
+ export const FHIRVersion = {
33
+ R4: "R4",
34
+ };
35
+ export const PreloadDataType = {
36
+ SYNTHEA: "SYNTHEA",
37
+ };
38
+ export const DatastoreStatus = {
39
+ ACTIVE: "ACTIVE",
40
+ CREATING: "CREATING",
41
+ DELETED: "DELETED",
42
+ DELETING: "DELETING",
43
+ };
48
44
  export class InternalServerException extends __BaseException {
49
45
  constructor(opts) {
50
46
  super({
@@ -97,14 +93,13 @@ export class ResourceNotFoundException extends __BaseException {
97
93
  this.Message = opts.Message;
98
94
  }
99
95
  }
100
- export var JobStatus;
101
- (function (JobStatus) {
102
- JobStatus["COMPLETED"] = "COMPLETED";
103
- JobStatus["COMPLETED_WITH_ERRORS"] = "COMPLETED_WITH_ERRORS";
104
- JobStatus["FAILED"] = "FAILED";
105
- JobStatus["IN_PROGRESS"] = "IN_PROGRESS";
106
- JobStatus["SUBMITTED"] = "SUBMITTED";
107
- })(JobStatus || (JobStatus = {}));
96
+ export const JobStatus = {
97
+ COMPLETED: "COMPLETED",
98
+ COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
99
+ FAILED: "FAILED",
100
+ IN_PROGRESS: "IN_PROGRESS",
101
+ SUBMITTED: "SUBMITTED",
102
+ };
108
103
  export var OutputDataConfig;
109
104
  (function (OutputDataConfig) {
110
105
  OutputDataConfig.visit = (value, visitor) => {
@@ -15,11 +15,16 @@ export declare class AccessDeniedException extends __BaseException {
15
15
  }
16
16
  /**
17
17
  * @public
18
+ * @enum
18
19
  */
19
- export declare enum CmkType {
20
- AO_CMK = "AWS_OWNED_KMS_KEY",
21
- CM_CMK = "CUSTOMER_MANAGED_KMS_KEY"
22
- }
20
+ export declare const CmkType: {
21
+ readonly AO_CMK: "AWS_OWNED_KMS_KEY";
22
+ readonly CM_CMK: "CUSTOMER_MANAGED_KMS_KEY";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type CmkType = (typeof CmkType)[keyof typeof CmkType];
23
28
  /**
24
29
  * @public
25
30
  * <p>The Data Store is in a transition state and the user requested action can not be performed.</p>
@@ -35,16 +40,26 @@ export declare class ConflictException extends __BaseException {
35
40
  }
36
41
  /**
37
42
  * @public
43
+ * @enum
38
44
  */
39
- export declare enum FHIRVersion {
40
- R4 = "R4"
41
- }
45
+ export declare const FHIRVersion: {
46
+ readonly R4: "R4";
47
+ };
42
48
  /**
43
49
  * @public
44
50
  */
45
- export declare enum PreloadDataType {
46
- SYNTHEA = "SYNTHEA"
47
- }
51
+ export type FHIRVersion = (typeof FHIRVersion)[keyof typeof FHIRVersion];
52
+ /**
53
+ * @public
54
+ * @enum
55
+ */
56
+ export declare const PreloadDataType: {
57
+ readonly SYNTHEA: "SYNTHEA";
58
+ };
59
+ /**
60
+ * @public
61
+ */
62
+ export type PreloadDataType = (typeof PreloadDataType)[keyof typeof PreloadDataType];
48
63
  /**
49
64
  * @public
50
65
  * <p> The input properties for the preloaded Data Store. Only data preloaded from Synthea is supported.</p>
@@ -145,13 +160,18 @@ export interface CreateFHIRDatastoreRequest {
145
160
  }
146
161
  /**
147
162
  * @public
163
+ * @enum
148
164
  */
149
- export declare enum DatastoreStatus {
150
- ACTIVE = "ACTIVE",
151
- CREATING = "CREATING",
152
- DELETED = "DELETED",
153
- DELETING = "DELETING"
154
- }
165
+ export declare const DatastoreStatus: {
166
+ readonly ACTIVE: "ACTIVE";
167
+ readonly CREATING: "CREATING";
168
+ readonly DELETED: "DELETED";
169
+ readonly DELETING: "DELETING";
170
+ };
171
+ /**
172
+ * @public
173
+ */
174
+ export type DatastoreStatus = (typeof DatastoreStatus)[keyof typeof DatastoreStatus];
155
175
  /**
156
176
  * @public
157
177
  */
@@ -363,14 +383,19 @@ export interface DescribeFHIRExportJobRequest {
363
383
  }
364
384
  /**
365
385
  * @public
386
+ * @enum
366
387
  */
367
- export declare enum JobStatus {
368
- COMPLETED = "COMPLETED",
369
- COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
370
- FAILED = "FAILED",
371
- IN_PROGRESS = "IN_PROGRESS",
372
- SUBMITTED = "SUBMITTED"
373
- }
388
+ export declare const JobStatus: {
389
+ readonly COMPLETED: "COMPLETED";
390
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
391
+ readonly FAILED: "FAILED";
392
+ readonly IN_PROGRESS: "IN_PROGRESS";
393
+ readonly SUBMITTED: "SUBMITTED";
394
+ };
395
+ /**
396
+ * @public
397
+ */
398
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
374
399
  /**
375
400
  * @public
376
401
  * <p>
@@ -8,22 +8,26 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
- export declare enum CmkType {
12
- AO_CMK = "AWS_OWNED_KMS_KEY",
13
- CM_CMK = "CUSTOMER_MANAGED_KMS_KEY",
14
- }
11
+ export declare const CmkType: {
12
+ readonly AO_CMK: "AWS_OWNED_KMS_KEY";
13
+ readonly CM_CMK: "CUSTOMER_MANAGED_KMS_KEY";
14
+ };
15
+ export type CmkType = (typeof CmkType)[keyof typeof CmkType];
15
16
  export declare class ConflictException extends __BaseException {
16
17
  readonly name: "ConflictException";
17
18
  readonly $fault: "client";
18
19
  Message?: string;
19
20
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
20
21
  }
21
- export declare enum FHIRVersion {
22
- R4 = "R4",
23
- }
24
- export declare enum PreloadDataType {
25
- SYNTHEA = "SYNTHEA",
26
- }
22
+ export declare const FHIRVersion: {
23
+ readonly R4: "R4";
24
+ };
25
+ export type FHIRVersion = (typeof FHIRVersion)[keyof typeof FHIRVersion];
26
+ export declare const PreloadDataType: {
27
+ readonly SYNTHEA: "SYNTHEA";
28
+ };
29
+ export type PreloadDataType =
30
+ (typeof PreloadDataType)[keyof typeof PreloadDataType];
27
31
  export interface PreloadDataConfig {
28
32
  PreloadDataType: PreloadDataType | string | undefined;
29
33
  }
@@ -46,12 +50,14 @@ export interface CreateFHIRDatastoreRequest {
46
50
  ClientToken?: string;
47
51
  Tags?: Tag[];
48
52
  }
49
- export declare enum DatastoreStatus {
50
- ACTIVE = "ACTIVE",
51
- CREATING = "CREATING",
52
- DELETED = "DELETED",
53
- DELETING = "DELETING",
54
- }
53
+ export declare const DatastoreStatus: {
54
+ readonly ACTIVE: "ACTIVE";
55
+ readonly CREATING: "CREATING";
56
+ readonly DELETED: "DELETED";
57
+ readonly DELETING: "DELETING";
58
+ };
59
+ export type DatastoreStatus =
60
+ (typeof DatastoreStatus)[keyof typeof DatastoreStatus];
55
61
  export interface CreateFHIRDatastoreResponse {
56
62
  DatastoreId: string | undefined;
57
63
  DatastoreArn: string | undefined;
@@ -126,13 +132,14 @@ export interface DescribeFHIRExportJobRequest {
126
132
  DatastoreId: string | undefined;
127
133
  JobId: string | undefined;
128
134
  }
129
- export declare enum JobStatus {
130
- COMPLETED = "COMPLETED",
131
- COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
132
- FAILED = "FAILED",
133
- IN_PROGRESS = "IN_PROGRESS",
134
- SUBMITTED = "SUBMITTED",
135
- }
135
+ export declare const JobStatus: {
136
+ readonly COMPLETED: "COMPLETED";
137
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
138
+ readonly FAILED: "FAILED";
139
+ readonly IN_PROGRESS: "IN_PROGRESS";
140
+ readonly SUBMITTED: "SUBMITTED";
141
+ };
142
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
136
143
  export interface S3Configuration {
137
144
  S3Uri: string | undefined;
138
145
  KmsKeyId: 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.301.0",
4
+ "version": "3.303.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",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",