@aws-sdk/client-healthlake 3.315.0 → 3.316.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HealthLake = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const CreateFHIRDatastoreCommand_1 = require("./commands/CreateFHIRDatastoreCommand");
5
6
  const DeleteFHIRDatastoreCommand_1 = require("./commands/DeleteFHIRDatastoreCommand");
6
7
  const DescribeFHIRDatastoreCommand_1 = require("./commands/DescribeFHIRDatastoreCommand");
@@ -15,188 +16,22 @@ const StartFHIRImportJobCommand_1 = require("./commands/StartFHIRImportJobComman
15
16
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
16
17
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
17
18
  const HealthLakeClient_1 = require("./HealthLakeClient");
19
+ const commands = {
20
+ CreateFHIRDatastoreCommand: CreateFHIRDatastoreCommand_1.CreateFHIRDatastoreCommand,
21
+ DeleteFHIRDatastoreCommand: DeleteFHIRDatastoreCommand_1.DeleteFHIRDatastoreCommand,
22
+ DescribeFHIRDatastoreCommand: DescribeFHIRDatastoreCommand_1.DescribeFHIRDatastoreCommand,
23
+ DescribeFHIRExportJobCommand: DescribeFHIRExportJobCommand_1.DescribeFHIRExportJobCommand,
24
+ DescribeFHIRImportJobCommand: DescribeFHIRImportJobCommand_1.DescribeFHIRImportJobCommand,
25
+ ListFHIRDatastoresCommand: ListFHIRDatastoresCommand_1.ListFHIRDatastoresCommand,
26
+ ListFHIRExportJobsCommand: ListFHIRExportJobsCommand_1.ListFHIRExportJobsCommand,
27
+ ListFHIRImportJobsCommand: ListFHIRImportJobsCommand_1.ListFHIRImportJobsCommand,
28
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
29
+ StartFHIRExportJobCommand: StartFHIRExportJobCommand_1.StartFHIRExportJobCommand,
30
+ StartFHIRImportJobCommand: StartFHIRImportJobCommand_1.StartFHIRImportJobCommand,
31
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
32
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
33
+ };
18
34
  class HealthLake extends HealthLakeClient_1.HealthLakeClient {
19
- createFHIRDatastore(args, optionsOrCb, cb) {
20
- const command = new CreateFHIRDatastoreCommand_1.CreateFHIRDatastoreCommand(args);
21
- if (typeof optionsOrCb === "function") {
22
- this.send(command, optionsOrCb);
23
- }
24
- else if (typeof cb === "function") {
25
- if (typeof optionsOrCb !== "object")
26
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
27
- this.send(command, optionsOrCb || {}, cb);
28
- }
29
- else {
30
- return this.send(command, optionsOrCb);
31
- }
32
- }
33
- deleteFHIRDatastore(args, optionsOrCb, cb) {
34
- const command = new DeleteFHIRDatastoreCommand_1.DeleteFHIRDatastoreCommand(args);
35
- if (typeof optionsOrCb === "function") {
36
- this.send(command, optionsOrCb);
37
- }
38
- else if (typeof cb === "function") {
39
- if (typeof optionsOrCb !== "object")
40
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
41
- this.send(command, optionsOrCb || {}, cb);
42
- }
43
- else {
44
- return this.send(command, optionsOrCb);
45
- }
46
- }
47
- describeFHIRDatastore(args, optionsOrCb, cb) {
48
- const command = new DescribeFHIRDatastoreCommand_1.DescribeFHIRDatastoreCommand(args);
49
- if (typeof optionsOrCb === "function") {
50
- this.send(command, optionsOrCb);
51
- }
52
- else if (typeof cb === "function") {
53
- if (typeof optionsOrCb !== "object")
54
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
55
- this.send(command, optionsOrCb || {}, cb);
56
- }
57
- else {
58
- return this.send(command, optionsOrCb);
59
- }
60
- }
61
- describeFHIRExportJob(args, optionsOrCb, cb) {
62
- const command = new DescribeFHIRExportJobCommand_1.DescribeFHIRExportJobCommand(args);
63
- if (typeof optionsOrCb === "function") {
64
- this.send(command, optionsOrCb);
65
- }
66
- else if (typeof cb === "function") {
67
- if (typeof optionsOrCb !== "object")
68
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
69
- this.send(command, optionsOrCb || {}, cb);
70
- }
71
- else {
72
- return this.send(command, optionsOrCb);
73
- }
74
- }
75
- describeFHIRImportJob(args, optionsOrCb, cb) {
76
- const command = new DescribeFHIRImportJobCommand_1.DescribeFHIRImportJobCommand(args);
77
- if (typeof optionsOrCb === "function") {
78
- this.send(command, optionsOrCb);
79
- }
80
- else if (typeof cb === "function") {
81
- if (typeof optionsOrCb !== "object")
82
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
83
- this.send(command, optionsOrCb || {}, cb);
84
- }
85
- else {
86
- return this.send(command, optionsOrCb);
87
- }
88
- }
89
- listFHIRDatastores(args, optionsOrCb, cb) {
90
- const command = new ListFHIRDatastoresCommand_1.ListFHIRDatastoresCommand(args);
91
- if (typeof optionsOrCb === "function") {
92
- this.send(command, optionsOrCb);
93
- }
94
- else if (typeof cb === "function") {
95
- if (typeof optionsOrCb !== "object")
96
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
97
- this.send(command, optionsOrCb || {}, cb);
98
- }
99
- else {
100
- return this.send(command, optionsOrCb);
101
- }
102
- }
103
- listFHIRExportJobs(args, optionsOrCb, cb) {
104
- const command = new ListFHIRExportJobsCommand_1.ListFHIRExportJobsCommand(args);
105
- if (typeof optionsOrCb === "function") {
106
- this.send(command, optionsOrCb);
107
- }
108
- else if (typeof cb === "function") {
109
- if (typeof optionsOrCb !== "object")
110
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
111
- this.send(command, optionsOrCb || {}, cb);
112
- }
113
- else {
114
- return this.send(command, optionsOrCb);
115
- }
116
- }
117
- listFHIRImportJobs(args, optionsOrCb, cb) {
118
- const command = new ListFHIRImportJobsCommand_1.ListFHIRImportJobsCommand(args);
119
- if (typeof optionsOrCb === "function") {
120
- this.send(command, optionsOrCb);
121
- }
122
- else if (typeof cb === "function") {
123
- if (typeof optionsOrCb !== "object")
124
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
125
- this.send(command, optionsOrCb || {}, cb);
126
- }
127
- else {
128
- return this.send(command, optionsOrCb);
129
- }
130
- }
131
- listTagsForResource(args, optionsOrCb, cb) {
132
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
133
- if (typeof optionsOrCb === "function") {
134
- this.send(command, optionsOrCb);
135
- }
136
- else if (typeof cb === "function") {
137
- if (typeof optionsOrCb !== "object")
138
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
139
- this.send(command, optionsOrCb || {}, cb);
140
- }
141
- else {
142
- return this.send(command, optionsOrCb);
143
- }
144
- }
145
- startFHIRExportJob(args, optionsOrCb, cb) {
146
- const command = new StartFHIRExportJobCommand_1.StartFHIRExportJobCommand(args);
147
- if (typeof optionsOrCb === "function") {
148
- this.send(command, optionsOrCb);
149
- }
150
- else if (typeof cb === "function") {
151
- if (typeof optionsOrCb !== "object")
152
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
153
- this.send(command, optionsOrCb || {}, cb);
154
- }
155
- else {
156
- return this.send(command, optionsOrCb);
157
- }
158
- }
159
- startFHIRImportJob(args, optionsOrCb, cb) {
160
- const command = new StartFHIRImportJobCommand_1.StartFHIRImportJobCommand(args);
161
- if (typeof optionsOrCb === "function") {
162
- this.send(command, optionsOrCb);
163
- }
164
- else if (typeof cb === "function") {
165
- if (typeof optionsOrCb !== "object")
166
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
167
- this.send(command, optionsOrCb || {}, cb);
168
- }
169
- else {
170
- return this.send(command, optionsOrCb);
171
- }
172
- }
173
- tagResource(args, optionsOrCb, cb) {
174
- const command = new TagResourceCommand_1.TagResourceCommand(args);
175
- if (typeof optionsOrCb === "function") {
176
- this.send(command, optionsOrCb);
177
- }
178
- else if (typeof cb === "function") {
179
- if (typeof optionsOrCb !== "object")
180
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
181
- this.send(command, optionsOrCb || {}, cb);
182
- }
183
- else {
184
- return this.send(command, optionsOrCb);
185
- }
186
- }
187
- untagResource(args, optionsOrCb, cb) {
188
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
189
- if (typeof optionsOrCb === "function") {
190
- this.send(command, optionsOrCb);
191
- }
192
- else if (typeof cb === "function") {
193
- if (typeof optionsOrCb !== "object")
194
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
195
- this.send(command, optionsOrCb || {}, cb);
196
- }
197
- else {
198
- return this.send(command, optionsOrCb);
199
- }
200
- }
201
35
  }
202
36
  exports.HealthLake = HealthLake;
37
+ (0, smithy_client_1.createAggregatedClient)(commands, HealthLake);
@@ -696,7 +696,7 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
696
696
  };
697
697
  const se_CreateFHIRDatastoreRequest = (input, context) => {
698
698
  return (0, smithy_client_1.take)(input, {
699
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
699
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
700
700
  DatastoreName: [],
701
701
  DatastoreTypeVersion: [],
702
702
  PreloadDataConfig: smithy_client_1._json,
@@ -743,7 +743,7 @@ const se_ListFHIRImportJobsRequest = (input, context) => {
743
743
  };
744
744
  const se_StartFHIRExportJobRequest = (input, context) => {
745
745
  return (0, smithy_client_1.take)(input, {
746
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
746
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
747
747
  DataAccessRoleArn: [],
748
748
  DatastoreId: [],
749
749
  JobName: [],
@@ -752,7 +752,7 @@ const se_StartFHIRExportJobRequest = (input, context) => {
752
752
  };
753
753
  const se_StartFHIRImportJobRequest = (input, context) => {
754
754
  return (0, smithy_client_1.take)(input, {
755
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
755
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
756
756
  DataAccessRoleArn: [],
757
757
  DatastoreId: [],
758
758
  InputDataConfig: smithy_client_1._json,
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { CreateFHIRDatastoreCommand, } from "./commands/CreateFHIRDatastoreCommand";
2
3
  import { DeleteFHIRDatastoreCommand, } from "./commands/DeleteFHIRDatastoreCommand";
3
4
  import { DescribeFHIRDatastoreCommand, } from "./commands/DescribeFHIRDatastoreCommand";
@@ -12,187 +13,21 @@ import { StartFHIRImportJobCommand, } from "./commands/StartFHIRImportJobCommand
12
13
  import { TagResourceCommand } from "./commands/TagResourceCommand";
13
14
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
14
15
  import { HealthLakeClient } from "./HealthLakeClient";
16
+ const commands = {
17
+ CreateFHIRDatastoreCommand,
18
+ DeleteFHIRDatastoreCommand,
19
+ DescribeFHIRDatastoreCommand,
20
+ DescribeFHIRExportJobCommand,
21
+ DescribeFHIRImportJobCommand,
22
+ ListFHIRDatastoresCommand,
23
+ ListFHIRExportJobsCommand,
24
+ ListFHIRImportJobsCommand,
25
+ ListTagsForResourceCommand,
26
+ StartFHIRExportJobCommand,
27
+ StartFHIRImportJobCommand,
28
+ TagResourceCommand,
29
+ UntagResourceCommand,
30
+ };
15
31
  export class HealthLake extends HealthLakeClient {
16
- createFHIRDatastore(args, optionsOrCb, cb) {
17
- const command = new CreateFHIRDatastoreCommand(args);
18
- if (typeof optionsOrCb === "function") {
19
- this.send(command, optionsOrCb);
20
- }
21
- else if (typeof cb === "function") {
22
- if (typeof optionsOrCb !== "object")
23
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
24
- this.send(command, optionsOrCb || {}, cb);
25
- }
26
- else {
27
- return this.send(command, optionsOrCb);
28
- }
29
- }
30
- deleteFHIRDatastore(args, optionsOrCb, cb) {
31
- const command = new DeleteFHIRDatastoreCommand(args);
32
- if (typeof optionsOrCb === "function") {
33
- this.send(command, optionsOrCb);
34
- }
35
- else if (typeof cb === "function") {
36
- if (typeof optionsOrCb !== "object")
37
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
38
- this.send(command, optionsOrCb || {}, cb);
39
- }
40
- else {
41
- return this.send(command, optionsOrCb);
42
- }
43
- }
44
- describeFHIRDatastore(args, optionsOrCb, cb) {
45
- const command = new DescribeFHIRDatastoreCommand(args);
46
- if (typeof optionsOrCb === "function") {
47
- this.send(command, optionsOrCb);
48
- }
49
- else if (typeof cb === "function") {
50
- if (typeof optionsOrCb !== "object")
51
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
52
- this.send(command, optionsOrCb || {}, cb);
53
- }
54
- else {
55
- return this.send(command, optionsOrCb);
56
- }
57
- }
58
- describeFHIRExportJob(args, optionsOrCb, cb) {
59
- const command = new DescribeFHIRExportJobCommand(args);
60
- if (typeof optionsOrCb === "function") {
61
- this.send(command, optionsOrCb);
62
- }
63
- else if (typeof cb === "function") {
64
- if (typeof optionsOrCb !== "object")
65
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
66
- this.send(command, optionsOrCb || {}, cb);
67
- }
68
- else {
69
- return this.send(command, optionsOrCb);
70
- }
71
- }
72
- describeFHIRImportJob(args, optionsOrCb, cb) {
73
- const command = new DescribeFHIRImportJobCommand(args);
74
- if (typeof optionsOrCb === "function") {
75
- this.send(command, optionsOrCb);
76
- }
77
- else if (typeof cb === "function") {
78
- if (typeof optionsOrCb !== "object")
79
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
80
- this.send(command, optionsOrCb || {}, cb);
81
- }
82
- else {
83
- return this.send(command, optionsOrCb);
84
- }
85
- }
86
- listFHIRDatastores(args, optionsOrCb, cb) {
87
- const command = new ListFHIRDatastoresCommand(args);
88
- if (typeof optionsOrCb === "function") {
89
- this.send(command, optionsOrCb);
90
- }
91
- else if (typeof cb === "function") {
92
- if (typeof optionsOrCb !== "object")
93
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
94
- this.send(command, optionsOrCb || {}, cb);
95
- }
96
- else {
97
- return this.send(command, optionsOrCb);
98
- }
99
- }
100
- listFHIRExportJobs(args, optionsOrCb, cb) {
101
- const command = new ListFHIRExportJobsCommand(args);
102
- if (typeof optionsOrCb === "function") {
103
- this.send(command, optionsOrCb);
104
- }
105
- else if (typeof cb === "function") {
106
- if (typeof optionsOrCb !== "object")
107
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
108
- this.send(command, optionsOrCb || {}, cb);
109
- }
110
- else {
111
- return this.send(command, optionsOrCb);
112
- }
113
- }
114
- listFHIRImportJobs(args, optionsOrCb, cb) {
115
- const command = new ListFHIRImportJobsCommand(args);
116
- if (typeof optionsOrCb === "function") {
117
- this.send(command, optionsOrCb);
118
- }
119
- else if (typeof cb === "function") {
120
- if (typeof optionsOrCb !== "object")
121
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
122
- this.send(command, optionsOrCb || {}, cb);
123
- }
124
- else {
125
- return this.send(command, optionsOrCb);
126
- }
127
- }
128
- listTagsForResource(args, optionsOrCb, cb) {
129
- const command = new ListTagsForResourceCommand(args);
130
- if (typeof optionsOrCb === "function") {
131
- this.send(command, optionsOrCb);
132
- }
133
- else if (typeof cb === "function") {
134
- if (typeof optionsOrCb !== "object")
135
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
136
- this.send(command, optionsOrCb || {}, cb);
137
- }
138
- else {
139
- return this.send(command, optionsOrCb);
140
- }
141
- }
142
- startFHIRExportJob(args, optionsOrCb, cb) {
143
- const command = new StartFHIRExportJobCommand(args);
144
- if (typeof optionsOrCb === "function") {
145
- this.send(command, optionsOrCb);
146
- }
147
- else if (typeof cb === "function") {
148
- if (typeof optionsOrCb !== "object")
149
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
150
- this.send(command, optionsOrCb || {}, cb);
151
- }
152
- else {
153
- return this.send(command, optionsOrCb);
154
- }
155
- }
156
- startFHIRImportJob(args, optionsOrCb, cb) {
157
- const command = new StartFHIRImportJobCommand(args);
158
- if (typeof optionsOrCb === "function") {
159
- this.send(command, optionsOrCb);
160
- }
161
- else if (typeof cb === "function") {
162
- if (typeof optionsOrCb !== "object")
163
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
164
- this.send(command, optionsOrCb || {}, cb);
165
- }
166
- else {
167
- return this.send(command, optionsOrCb);
168
- }
169
- }
170
- tagResource(args, optionsOrCb, cb) {
171
- const command = new TagResourceCommand(args);
172
- if (typeof optionsOrCb === "function") {
173
- this.send(command, optionsOrCb);
174
- }
175
- else if (typeof cb === "function") {
176
- if (typeof optionsOrCb !== "object")
177
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
178
- this.send(command, optionsOrCb || {}, cb);
179
- }
180
- else {
181
- return this.send(command, optionsOrCb);
182
- }
183
- }
184
- untagResource(args, optionsOrCb, cb) {
185
- const command = new UntagResourceCommand(args);
186
- if (typeof optionsOrCb === "function") {
187
- this.send(command, optionsOrCb);
188
- }
189
- else if (typeof cb === "function") {
190
- if (typeof optionsOrCb !== "object")
191
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
192
- this.send(command, optionsOrCb || {}, cb);
193
- }
194
- else {
195
- return this.send(command, optionsOrCb);
196
- }
197
- }
198
32
  }
33
+ createAggregatedClient(commands, HealthLake);
@@ -667,7 +667,7 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
667
667
  };
668
668
  const se_CreateFHIRDatastoreRequest = (input, context) => {
669
669
  return take(input, {
670
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
670
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
671
671
  DatastoreName: [],
672
672
  DatastoreTypeVersion: [],
673
673
  PreloadDataConfig: _json,
@@ -714,7 +714,7 @@ const se_ListFHIRImportJobsRequest = (input, context) => {
714
714
  };
715
715
  const se_StartFHIRExportJobRequest = (input, context) => {
716
716
  return take(input, {
717
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
717
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
718
718
  DataAccessRoleArn: [],
719
719
  DatastoreId: [],
720
720
  JobName: [],
@@ -723,7 +723,7 @@ const se_StartFHIRExportJobRequest = (input, context) => {
723
723
  };
724
724
  const se_StartFHIRImportJobRequest = (input, context) => {
725
725
  return take(input, {
726
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
726
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
727
727
  DataAccessRoleArn: [],
728
728
  DatastoreId: [],
729
729
  InputDataConfig: _json,
@@ -13,114 +13,90 @@ import { StartFHIRImportJobCommandInput, StartFHIRImportJobCommandOutput } from
13
13
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
14
14
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
15
15
  import { HealthLakeClient } from "./HealthLakeClient";
16
- /**
17
- * @public
18
- * <p>Amazon HealthLake is a HIPAA eligibile service that allows customers to store,
19
- * transform, query, and analyze their FHIR-formatted data in a consistent fashion in the cloud.</p>
20
- */
21
- export declare class HealthLake extends HealthLakeClient {
16
+ export interface HealthLake {
22
17
  /**
23
- * @public
24
- * <p>Creates a Data Store that can ingest and export FHIR formatted data.</p>
18
+ * @see {@link CreateFHIRDatastoreCommand}
25
19
  */
26
20
  createFHIRDatastore(args: CreateFHIRDatastoreCommandInput, options?: __HttpHandlerOptions): Promise<CreateFHIRDatastoreCommandOutput>;
27
21
  createFHIRDatastore(args: CreateFHIRDatastoreCommandInput, cb: (err: any, data?: CreateFHIRDatastoreCommandOutput) => void): void;
28
22
  createFHIRDatastore(args: CreateFHIRDatastoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFHIRDatastoreCommandOutput) => void): void;
29
23
  /**
30
- * @public
31
- * <p>Deletes a Data Store. </p>
24
+ * @see {@link DeleteFHIRDatastoreCommand}
32
25
  */
33
26
  deleteFHIRDatastore(args: DeleteFHIRDatastoreCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFHIRDatastoreCommandOutput>;
34
27
  deleteFHIRDatastore(args: DeleteFHIRDatastoreCommandInput, cb: (err: any, data?: DeleteFHIRDatastoreCommandOutput) => void): void;
35
28
  deleteFHIRDatastore(args: DeleteFHIRDatastoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFHIRDatastoreCommandOutput) => void): void;
36
29
  /**
37
- * @public
38
- * <p>Gets the properties associated with the FHIR Data Store, including the Data Store ID,
39
- * Data Store ARN, Data Store name, Data Store status, created at, Data Store type version, and
40
- * Data Store endpoint.</p>
30
+ * @see {@link DescribeFHIRDatastoreCommand}
41
31
  */
42
32
  describeFHIRDatastore(args: DescribeFHIRDatastoreCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFHIRDatastoreCommandOutput>;
43
33
  describeFHIRDatastore(args: DescribeFHIRDatastoreCommandInput, cb: (err: any, data?: DescribeFHIRDatastoreCommandOutput) => void): void;
44
34
  describeFHIRDatastore(args: DescribeFHIRDatastoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFHIRDatastoreCommandOutput) => void): void;
45
35
  /**
46
- * @public
47
- * <p>Displays the properties of a FHIR export job, including the ID, ARN, name, and the status of the job.</p>
36
+ * @see {@link DescribeFHIRExportJobCommand}
48
37
  */
49
38
  describeFHIRExportJob(args: DescribeFHIRExportJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFHIRExportJobCommandOutput>;
50
39
  describeFHIRExportJob(args: DescribeFHIRExportJobCommandInput, cb: (err: any, data?: DescribeFHIRExportJobCommandOutput) => void): void;
51
40
  describeFHIRExportJob(args: DescribeFHIRExportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFHIRExportJobCommandOutput) => void): void;
52
41
  /**
53
- * @public
54
- * <p>Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job. </p>
42
+ * @see {@link DescribeFHIRImportJobCommand}
55
43
  */
56
44
  describeFHIRImportJob(args: DescribeFHIRImportJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFHIRImportJobCommandOutput>;
57
45
  describeFHIRImportJob(args: DescribeFHIRImportJobCommandInput, cb: (err: any, data?: DescribeFHIRImportJobCommandOutput) => void): void;
58
46
  describeFHIRImportJob(args: DescribeFHIRImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFHIRImportJobCommandOutput) => void): void;
59
47
  /**
60
- * @public
61
- * <p>Lists all FHIR Data Stores that are in the user’s account, regardless of Data Store
62
- * status.</p>
48
+ * @see {@link ListFHIRDatastoresCommand}
63
49
  */
64
50
  listFHIRDatastores(args: ListFHIRDatastoresCommandInput, options?: __HttpHandlerOptions): Promise<ListFHIRDatastoresCommandOutput>;
65
51
  listFHIRDatastores(args: ListFHIRDatastoresCommandInput, cb: (err: any, data?: ListFHIRDatastoresCommandOutput) => void): void;
66
52
  listFHIRDatastores(args: ListFHIRDatastoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFHIRDatastoresCommandOutput) => void): void;
67
53
  /**
68
- * @public
69
- * <p>
70
- * Lists all FHIR export jobs associated with an account and their statuses.
71
- * </p>
54
+ * @see {@link ListFHIRExportJobsCommand}
72
55
  */
73
56
  listFHIRExportJobs(args: ListFHIRExportJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListFHIRExportJobsCommandOutput>;
74
57
  listFHIRExportJobs(args: ListFHIRExportJobsCommandInput, cb: (err: any, data?: ListFHIRExportJobsCommandOutput) => void): void;
75
58
  listFHIRExportJobs(args: ListFHIRExportJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFHIRExportJobsCommandOutput) => void): void;
76
59
  /**
77
- * @public
78
- * <p>
79
- * Lists all FHIR import jobs associated with an account and their statuses.
80
- * </p>
60
+ * @see {@link ListFHIRImportJobsCommand}
81
61
  */
82
62
  listFHIRImportJobs(args: ListFHIRImportJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListFHIRImportJobsCommandOutput>;
83
63
  listFHIRImportJobs(args: ListFHIRImportJobsCommandInput, cb: (err: any, data?: ListFHIRImportJobsCommandOutput) => void): void;
84
64
  listFHIRImportJobs(args: ListFHIRImportJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFHIRImportJobsCommandOutput) => void): void;
85
65
  /**
86
- * @public
87
- * <p>
88
- * Returns a list of all existing tags associated with a Data Store.
89
- * </p>
66
+ * @see {@link ListTagsForResourceCommand}
90
67
  */
91
68
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
92
69
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
93
70
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
94
71
  /**
95
- * @public
96
- * <p>Begins a FHIR export job.</p>
72
+ * @see {@link StartFHIRExportJobCommand}
97
73
  */
98
74
  startFHIRExportJob(args: StartFHIRExportJobCommandInput, options?: __HttpHandlerOptions): Promise<StartFHIRExportJobCommandOutput>;
99
75
  startFHIRExportJob(args: StartFHIRExportJobCommandInput, cb: (err: any, data?: StartFHIRExportJobCommandOutput) => void): void;
100
76
  startFHIRExportJob(args: StartFHIRExportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartFHIRExportJobCommandOutput) => void): void;
101
77
  /**
102
- * @public
103
- * <p>Begins a FHIR Import job.</p>
78
+ * @see {@link StartFHIRImportJobCommand}
104
79
  */
105
80
  startFHIRImportJob(args: StartFHIRImportJobCommandInput, options?: __HttpHandlerOptions): Promise<StartFHIRImportJobCommandOutput>;
106
81
  startFHIRImportJob(args: StartFHIRImportJobCommandInput, cb: (err: any, data?: StartFHIRImportJobCommandOutput) => void): void;
107
82
  startFHIRImportJob(args: StartFHIRImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartFHIRImportJobCommandOutput) => void): void;
108
83
  /**
109
- * @public
110
- * <p>
111
- * Adds a user specifed key and value tag to a Data Store.
112
- * </p>
84
+ * @see {@link TagResourceCommand}
113
85
  */
114
86
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
115
87
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
116
88
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
117
89
  /**
118
- * @public
119
- * <p>
120
- * Removes tags from a Data Store.
121
- * </p>
90
+ * @see {@link UntagResourceCommand}
122
91
  */
123
92
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
124
93
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
125
94
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
126
95
  }
96
+ /**
97
+ * @public
98
+ * <p>Amazon HealthLake is a HIPAA eligibile service that allows customers to store,
99
+ * transform, query, and analyze their FHIR-formatted data in a consistent fashion in the cloud.</p>
100
+ */
101
+ export declare class HealthLake extends HealthLakeClient implements HealthLake {
102
+ }
@@ -52,7 +52,7 @@ import {
52
52
  UntagResourceCommandOutput,
53
53
  } from "./commands/UntagResourceCommand";
54
54
  import { HealthLakeClient } from "./HealthLakeClient";
55
- export declare class HealthLake extends HealthLakeClient {
55
+ export interface HealthLake {
56
56
  createFHIRDatastore(
57
57
  args: CreateFHIRDatastoreCommandInput,
58
58
  options?: __HttpHandlerOptions
@@ -223,3 +223,6 @@ export declare class HealthLake extends HealthLakeClient {
223
223
  cb: (err: any, data?: UntagResourceCommandOutput) => void
224
224
  ): void;
225
225
  }
226
+ export declare class HealthLake
227
+ extends HealthLakeClient
228
+ implements HealthLake {}
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.315.0",
4
+ "version": "3.316.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,9 +21,9 @@
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.315.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.315.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",