@aws-sdk/client-healthlake 3.721.0 → 3.726.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 CHANGED
@@ -155,7 +155,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
155
155
  }, "resolveRuntimeExtensions");
156
156
 
157
157
  // src/HealthLakeClient.ts
158
- var _HealthLakeClient = class _HealthLakeClient extends import_smithy_client.Client {
158
+ var HealthLakeClient = class extends import_smithy_client.Client {
159
+ static {
160
+ __name(this, "HealthLakeClient");
161
+ }
162
+ /**
163
+ * The resolved configuration of HealthLakeClient class. This is resolved and normalized from the {@link HealthLakeClientConfig | constructor configuration interface}.
164
+ */
165
+ config;
159
166
  constructor(...[configuration]) {
160
167
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
161
168
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -165,7 +172,7 @@ var _HealthLakeClient = class _HealthLakeClient extends import_smithy_client.Cli
165
172
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
166
173
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
167
174
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
168
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
175
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
169
176
  super(_config_8);
170
177
  this.config = _config_8;
171
178
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -193,8 +200,6 @@ var _HealthLakeClient = class _HealthLakeClient extends import_smithy_client.Cli
193
200
  super.destroy();
194
201
  }
195
202
  };
196
- __name(_HealthLakeClient, "HealthLakeClient");
197
- var HealthLakeClient = _HealthLakeClient;
198
203
 
199
204
  // src/HealthLake.ts
200
205
 
@@ -212,7 +217,10 @@ var import_uuid = require("uuid");
212
217
 
213
218
  // src/models/HealthLakeServiceException.ts
214
219
 
215
- var _HealthLakeServiceException = class _HealthLakeServiceException extends import_smithy_client.ServiceException {
220
+ var HealthLakeServiceException = class _HealthLakeServiceException extends import_smithy_client.ServiceException {
221
+ static {
222
+ __name(this, "HealthLakeServiceException");
223
+ }
216
224
  /**
217
225
  * @internal
218
226
  */
@@ -221,11 +229,15 @@ var _HealthLakeServiceException = class _HealthLakeServiceException extends impo
221
229
  Object.setPrototypeOf(this, _HealthLakeServiceException.prototype);
222
230
  }
223
231
  };
224
- __name(_HealthLakeServiceException, "HealthLakeServiceException");
225
- var HealthLakeServiceException = _HealthLakeServiceException;
226
232
 
227
233
  // src/models/models_0.ts
228
- var _AccessDeniedException = class _AccessDeniedException extends HealthLakeServiceException {
234
+ var AccessDeniedException = class _AccessDeniedException extends HealthLakeServiceException {
235
+ static {
236
+ __name(this, "AccessDeniedException");
237
+ }
238
+ name = "AccessDeniedException";
239
+ $fault = "client";
240
+ Message;
229
241
  /**
230
242
  * @internal
231
243
  */
@@ -235,14 +247,10 @@ var _AccessDeniedException = class _AccessDeniedException extends HealthLakeServ
235
247
  $fault: "client",
236
248
  ...opts
237
249
  });
238
- this.name = "AccessDeniedException";
239
- this.$fault = "client";
240
250
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
241
251
  this.Message = opts.Message;
242
252
  }
243
253
  };
244
- __name(_AccessDeniedException, "AccessDeniedException");
245
- var AccessDeniedException = _AccessDeniedException;
246
254
  var AuthorizationStrategy = {
247
255
  AWS_AUTH: "AWS_AUTH",
248
256
  SMARTV1: "SMART_ON_FHIR_V1"
@@ -251,7 +259,13 @@ var CmkType = {
251
259
  AO_CMK: "AWS_OWNED_KMS_KEY",
252
260
  CM_CMK: "CUSTOMER_MANAGED_KMS_KEY"
253
261
  };
254
- var _ConflictException = class _ConflictException extends HealthLakeServiceException {
262
+ var ConflictException = class _ConflictException extends HealthLakeServiceException {
263
+ static {
264
+ __name(this, "ConflictException");
265
+ }
266
+ name = "ConflictException";
267
+ $fault = "client";
268
+ Message;
255
269
  /**
256
270
  * @internal
257
271
  */
@@ -261,14 +275,10 @@ var _ConflictException = class _ConflictException extends HealthLakeServiceExcep
261
275
  $fault: "client",
262
276
  ...opts
263
277
  });
264
- this.name = "ConflictException";
265
- this.$fault = "client";
266
278
  Object.setPrototypeOf(this, _ConflictException.prototype);
267
279
  this.Message = opts.Message;
268
280
  }
269
281
  };
270
- __name(_ConflictException, "ConflictException");
271
- var ConflictException = _ConflictException;
272
282
  var FHIRVersion = {
273
283
  R4: "R4"
274
284
  };
@@ -282,7 +292,13 @@ var DatastoreStatus = {
282
292
  DELETED: "DELETED",
283
293
  DELETING: "DELETING"
284
294
  };
285
- var _InternalServerException = class _InternalServerException extends HealthLakeServiceException {
295
+ var InternalServerException = class _InternalServerException extends HealthLakeServiceException {
296
+ static {
297
+ __name(this, "InternalServerException");
298
+ }
299
+ name = "InternalServerException";
300
+ $fault = "server";
301
+ Message;
286
302
  /**
287
303
  * @internal
288
304
  */
@@ -292,15 +308,17 @@ var _InternalServerException = class _InternalServerException extends HealthLake
292
308
  $fault: "server",
293
309
  ...opts
294
310
  });
295
- this.name = "InternalServerException";
296
- this.$fault = "server";
297
311
  Object.setPrototypeOf(this, _InternalServerException.prototype);
298
312
  this.Message = opts.Message;
299
313
  }
300
314
  };
301
- __name(_InternalServerException, "InternalServerException");
302
- var InternalServerException = _InternalServerException;
303
- var _ThrottlingException = class _ThrottlingException extends HealthLakeServiceException {
315
+ var ThrottlingException = class _ThrottlingException extends HealthLakeServiceException {
316
+ static {
317
+ __name(this, "ThrottlingException");
318
+ }
319
+ name = "ThrottlingException";
320
+ $fault = "client";
321
+ Message;
304
322
  /**
305
323
  * @internal
306
324
  */
@@ -310,15 +328,17 @@ var _ThrottlingException = class _ThrottlingException extends HealthLakeServiceE
310
328
  $fault: "client",
311
329
  ...opts
312
330
  });
313
- this.name = "ThrottlingException";
314
- this.$fault = "client";
315
331
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
316
332
  this.Message = opts.Message;
317
333
  }
318
334
  };
319
- __name(_ThrottlingException, "ThrottlingException");
320
- var ThrottlingException = _ThrottlingException;
321
- var _ValidationException = class _ValidationException extends HealthLakeServiceException {
335
+ var ValidationException = class _ValidationException extends HealthLakeServiceException {
336
+ static {
337
+ __name(this, "ValidationException");
338
+ }
339
+ name = "ValidationException";
340
+ $fault = "client";
341
+ Message;
322
342
  /**
323
343
  * @internal
324
344
  */
@@ -328,19 +348,21 @@ var _ValidationException = class _ValidationException extends HealthLakeServiceE
328
348
  $fault: "client",
329
349
  ...opts
330
350
  });
331
- this.name = "ValidationException";
332
- this.$fault = "client";
333
351
  Object.setPrototypeOf(this, _ValidationException.prototype);
334
352
  this.Message = opts.Message;
335
353
  }
336
354
  };
337
- __name(_ValidationException, "ValidationException");
338
- var ValidationException = _ValidationException;
339
355
  var ErrorCategory = {
340
356
  NON_RETRYABLE_ERROR: "NON_RETRYABLE_ERROR",
341
357
  RETRYABLE_ERROR: "RETRYABLE_ERROR"
342
358
  };
343
- var _ResourceNotFoundException = class _ResourceNotFoundException extends HealthLakeServiceException {
359
+ var ResourceNotFoundException = class _ResourceNotFoundException extends HealthLakeServiceException {
360
+ static {
361
+ __name(this, "ResourceNotFoundException");
362
+ }
363
+ name = "ResourceNotFoundException";
364
+ $fault = "client";
365
+ Message;
344
366
  /**
345
367
  * @internal
346
368
  */
@@ -350,14 +372,10 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Health
350
372
  $fault: "client",
351
373
  ...opts
352
374
  });
353
- this.name = "ResourceNotFoundException";
354
- this.$fault = "client";
355
375
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
356
376
  this.Message = opts.Message;
357
377
  }
358
378
  };
359
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
360
- var ResourceNotFoundException = _ResourceNotFoundException;
361
379
  var JobStatus = {
362
380
  CANCEL_COMPLETED: "CANCEL_COMPLETED",
363
381
  CANCEL_FAILED: "CANCEL_FAILED",
@@ -929,183 +947,196 @@ function sharedHeaders(operation) {
929
947
  __name(sharedHeaders, "sharedHeaders");
930
948
 
931
949
  // src/commands/CreateFHIRDatastoreCommand.ts
932
- var _CreateFHIRDatastoreCommand = class _CreateFHIRDatastoreCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
950
+ var CreateFHIRDatastoreCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
933
951
  return [
934
952
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
935
953
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
936
954
  ];
937
955
  }).s("HealthLake", "CreateFHIRDatastore", {}).n("HealthLakeClient", "CreateFHIRDatastoreCommand").f(void 0, void 0).ser(se_CreateFHIRDatastoreCommand).de(de_CreateFHIRDatastoreCommand).build() {
956
+ static {
957
+ __name(this, "CreateFHIRDatastoreCommand");
958
+ }
938
959
  };
939
- __name(_CreateFHIRDatastoreCommand, "CreateFHIRDatastoreCommand");
940
- var CreateFHIRDatastoreCommand = _CreateFHIRDatastoreCommand;
941
960
 
942
961
  // src/commands/DeleteFHIRDatastoreCommand.ts
943
962
 
944
963
 
945
964
 
946
- var _DeleteFHIRDatastoreCommand = class _DeleteFHIRDatastoreCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
965
+ var DeleteFHIRDatastoreCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
947
966
  return [
948
967
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
949
968
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
950
969
  ];
951
970
  }).s("HealthLake", "DeleteFHIRDatastore", {}).n("HealthLakeClient", "DeleteFHIRDatastoreCommand").f(void 0, void 0).ser(se_DeleteFHIRDatastoreCommand).de(de_DeleteFHIRDatastoreCommand).build() {
971
+ static {
972
+ __name(this, "DeleteFHIRDatastoreCommand");
973
+ }
952
974
  };
953
- __name(_DeleteFHIRDatastoreCommand, "DeleteFHIRDatastoreCommand");
954
- var DeleteFHIRDatastoreCommand = _DeleteFHIRDatastoreCommand;
955
975
 
956
976
  // src/commands/DescribeFHIRDatastoreCommand.ts
957
977
 
958
978
 
959
979
 
960
- var _DescribeFHIRDatastoreCommand = class _DescribeFHIRDatastoreCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
980
+ var DescribeFHIRDatastoreCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
961
981
  return [
962
982
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
963
983
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
964
984
  ];
965
985
  }).s("HealthLake", "DescribeFHIRDatastore", {}).n("HealthLakeClient", "DescribeFHIRDatastoreCommand").f(void 0, void 0).ser(se_DescribeFHIRDatastoreCommand).de(de_DescribeFHIRDatastoreCommand).build() {
986
+ static {
987
+ __name(this, "DescribeFHIRDatastoreCommand");
988
+ }
966
989
  };
967
- __name(_DescribeFHIRDatastoreCommand, "DescribeFHIRDatastoreCommand");
968
- var DescribeFHIRDatastoreCommand = _DescribeFHIRDatastoreCommand;
969
990
 
970
991
  // src/commands/DescribeFHIRExportJobCommand.ts
971
992
 
972
993
 
973
994
 
974
- var _DescribeFHIRExportJobCommand = class _DescribeFHIRExportJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
995
+ var DescribeFHIRExportJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
975
996
  return [
976
997
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
977
998
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
978
999
  ];
979
1000
  }).s("HealthLake", "DescribeFHIRExportJob", {}).n("HealthLakeClient", "DescribeFHIRExportJobCommand").f(void 0, void 0).ser(se_DescribeFHIRExportJobCommand).de(de_DescribeFHIRExportJobCommand).build() {
1001
+ static {
1002
+ __name(this, "DescribeFHIRExportJobCommand");
1003
+ }
980
1004
  };
981
- __name(_DescribeFHIRExportJobCommand, "DescribeFHIRExportJobCommand");
982
- var DescribeFHIRExportJobCommand = _DescribeFHIRExportJobCommand;
983
1005
 
984
1006
  // src/commands/DescribeFHIRImportJobCommand.ts
985
1007
 
986
1008
 
987
1009
 
988
- var _DescribeFHIRImportJobCommand = class _DescribeFHIRImportJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1010
+ var DescribeFHIRImportJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
989
1011
  return [
990
1012
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
991
1013
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
992
1014
  ];
993
1015
  }).s("HealthLake", "DescribeFHIRImportJob", {}).n("HealthLakeClient", "DescribeFHIRImportJobCommand").f(void 0, void 0).ser(se_DescribeFHIRImportJobCommand).de(de_DescribeFHIRImportJobCommand).build() {
1016
+ static {
1017
+ __name(this, "DescribeFHIRImportJobCommand");
1018
+ }
994
1019
  };
995
- __name(_DescribeFHIRImportJobCommand, "DescribeFHIRImportJobCommand");
996
- var DescribeFHIRImportJobCommand = _DescribeFHIRImportJobCommand;
997
1020
 
998
1021
  // src/commands/ListFHIRDatastoresCommand.ts
999
1022
 
1000
1023
 
1001
1024
 
1002
- var _ListFHIRDatastoresCommand = class _ListFHIRDatastoresCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1025
+ var ListFHIRDatastoresCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1003
1026
  return [
1004
1027
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1005
1028
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1006
1029
  ];
1007
1030
  }).s("HealthLake", "ListFHIRDatastores", {}).n("HealthLakeClient", "ListFHIRDatastoresCommand").f(void 0, void 0).ser(se_ListFHIRDatastoresCommand).de(de_ListFHIRDatastoresCommand).build() {
1031
+ static {
1032
+ __name(this, "ListFHIRDatastoresCommand");
1033
+ }
1008
1034
  };
1009
- __name(_ListFHIRDatastoresCommand, "ListFHIRDatastoresCommand");
1010
- var ListFHIRDatastoresCommand = _ListFHIRDatastoresCommand;
1011
1035
 
1012
1036
  // src/commands/ListFHIRExportJobsCommand.ts
1013
1037
 
1014
1038
 
1015
1039
 
1016
- var _ListFHIRExportJobsCommand = class _ListFHIRExportJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1040
+ var ListFHIRExportJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1017
1041
  return [
1018
1042
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1019
1043
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1020
1044
  ];
1021
1045
  }).s("HealthLake", "ListFHIRExportJobs", {}).n("HealthLakeClient", "ListFHIRExportJobsCommand").f(void 0, void 0).ser(se_ListFHIRExportJobsCommand).de(de_ListFHIRExportJobsCommand).build() {
1046
+ static {
1047
+ __name(this, "ListFHIRExportJobsCommand");
1048
+ }
1022
1049
  };
1023
- __name(_ListFHIRExportJobsCommand, "ListFHIRExportJobsCommand");
1024
- var ListFHIRExportJobsCommand = _ListFHIRExportJobsCommand;
1025
1050
 
1026
1051
  // src/commands/ListFHIRImportJobsCommand.ts
1027
1052
 
1028
1053
 
1029
1054
 
1030
- var _ListFHIRImportJobsCommand = class _ListFHIRImportJobsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1055
+ var ListFHIRImportJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1031
1056
  return [
1032
1057
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1033
1058
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1034
1059
  ];
1035
1060
  }).s("HealthLake", "ListFHIRImportJobs", {}).n("HealthLakeClient", "ListFHIRImportJobsCommand").f(void 0, void 0).ser(se_ListFHIRImportJobsCommand).de(de_ListFHIRImportJobsCommand).build() {
1061
+ static {
1062
+ __name(this, "ListFHIRImportJobsCommand");
1063
+ }
1036
1064
  };
1037
- __name(_ListFHIRImportJobsCommand, "ListFHIRImportJobsCommand");
1038
- var ListFHIRImportJobsCommand = _ListFHIRImportJobsCommand;
1039
1065
 
1040
1066
  // src/commands/ListTagsForResourceCommand.ts
1041
1067
 
1042
1068
 
1043
1069
 
1044
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1070
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1045
1071
  return [
1046
1072
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1047
1073
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1048
1074
  ];
1049
1075
  }).s("HealthLake", "ListTagsForResource", {}).n("HealthLakeClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1076
+ static {
1077
+ __name(this, "ListTagsForResourceCommand");
1078
+ }
1050
1079
  };
1051
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1052
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1053
1080
 
1054
1081
  // src/commands/StartFHIRExportJobCommand.ts
1055
1082
 
1056
1083
 
1057
1084
 
1058
- var _StartFHIRExportJobCommand = class _StartFHIRExportJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1085
+ var StartFHIRExportJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1059
1086
  return [
1060
1087
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1061
1088
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1062
1089
  ];
1063
1090
  }).s("HealthLake", "StartFHIRExportJob", {}).n("HealthLakeClient", "StartFHIRExportJobCommand").f(void 0, void 0).ser(se_StartFHIRExportJobCommand).de(de_StartFHIRExportJobCommand).build() {
1091
+ static {
1092
+ __name(this, "StartFHIRExportJobCommand");
1093
+ }
1064
1094
  };
1065
- __name(_StartFHIRExportJobCommand, "StartFHIRExportJobCommand");
1066
- var StartFHIRExportJobCommand = _StartFHIRExportJobCommand;
1067
1095
 
1068
1096
  // src/commands/StartFHIRImportJobCommand.ts
1069
1097
 
1070
1098
 
1071
1099
 
1072
- var _StartFHIRImportJobCommand = class _StartFHIRImportJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1100
+ var StartFHIRImportJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1073
1101
  return [
1074
1102
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1075
1103
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1076
1104
  ];
1077
1105
  }).s("HealthLake", "StartFHIRImportJob", {}).n("HealthLakeClient", "StartFHIRImportJobCommand").f(void 0, void 0).ser(se_StartFHIRImportJobCommand).de(de_StartFHIRImportJobCommand).build() {
1106
+ static {
1107
+ __name(this, "StartFHIRImportJobCommand");
1108
+ }
1078
1109
  };
1079
- __name(_StartFHIRImportJobCommand, "StartFHIRImportJobCommand");
1080
- var StartFHIRImportJobCommand = _StartFHIRImportJobCommand;
1081
1110
 
1082
1111
  // src/commands/TagResourceCommand.ts
1083
1112
 
1084
1113
 
1085
1114
 
1086
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1115
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1087
1116
  return [
1088
1117
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1089
1118
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1090
1119
  ];
1091
1120
  }).s("HealthLake", "TagResource", {}).n("HealthLakeClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1121
+ static {
1122
+ __name(this, "TagResourceCommand");
1123
+ }
1092
1124
  };
1093
- __name(_TagResourceCommand, "TagResourceCommand");
1094
- var TagResourceCommand = _TagResourceCommand;
1095
1125
 
1096
1126
  // src/commands/UntagResourceCommand.ts
1097
1127
 
1098
1128
 
1099
1129
 
1100
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1130
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1101
1131
  return [
1102
1132
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1103
1133
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1104
1134
  ];
1105
1135
  }).s("HealthLake", "UntagResource", {}).n("HealthLakeClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1136
+ static {
1137
+ __name(this, "UntagResourceCommand");
1138
+ }
1106
1139
  };
1107
- __name(_UntagResourceCommand, "UntagResourceCommand");
1108
- var UntagResourceCommand = _UntagResourceCommand;
1109
1140
 
1110
1141
  // src/HealthLake.ts
1111
1142
  var commands = {
@@ -1123,10 +1154,11 @@ var commands = {
1123
1154
  TagResourceCommand,
1124
1155
  UntagResourceCommand
1125
1156
  };
1126
- var _HealthLake = class _HealthLake extends HealthLakeClient {
1157
+ var HealthLake = class extends HealthLakeClient {
1158
+ static {
1159
+ __name(this, "HealthLake");
1160
+ }
1127
1161
  };
1128
- __name(_HealthLake, "HealthLake");
1129
- var HealthLake = _HealthLake;
1130
1162
  (0, import_smithy_client.createAggregatedClient)(commands, HealthLake);
1131
1163
 
1132
1164
  // src/pagination/ListFHIRDatastoresPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class HealthLakeClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,13 +1,14 @@
1
1
  import { HealthLakeServiceException as __BaseException } from "./HealthLakeServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
3
6
  constructor(opts) {
4
7
  super({
5
8
  name: "AccessDeniedException",
6
9
  $fault: "client",
7
10
  ...opts,
8
11
  });
9
- this.name = "AccessDeniedException";
10
- this.$fault = "client";
11
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
13
  this.Message = opts.Message;
13
14
  }
@@ -21,14 +22,15 @@ export const CmkType = {
21
22
  CM_CMK: "CUSTOMER_MANAGED_KMS_KEY",
22
23
  };
23
24
  export class ConflictException extends __BaseException {
25
+ name = "ConflictException";
26
+ $fault = "client";
27
+ Message;
24
28
  constructor(opts) {
25
29
  super({
26
30
  name: "ConflictException",
27
31
  $fault: "client",
28
32
  ...opts,
29
33
  });
30
- this.name = "ConflictException";
31
- this.$fault = "client";
32
34
  Object.setPrototypeOf(this, ConflictException.prototype);
33
35
  this.Message = opts.Message;
34
36
  }
@@ -47,40 +49,43 @@ export const DatastoreStatus = {
47
49
  DELETING: "DELETING",
48
50
  };
49
51
  export class InternalServerException extends __BaseException {
52
+ name = "InternalServerException";
53
+ $fault = "server";
54
+ Message;
50
55
  constructor(opts) {
51
56
  super({
52
57
  name: "InternalServerException",
53
58
  $fault: "server",
54
59
  ...opts,
55
60
  });
56
- this.name = "InternalServerException";
57
- this.$fault = "server";
58
61
  Object.setPrototypeOf(this, InternalServerException.prototype);
59
62
  this.Message = opts.Message;
60
63
  }
61
64
  }
62
65
  export class ThrottlingException extends __BaseException {
66
+ name = "ThrottlingException";
67
+ $fault = "client";
68
+ Message;
63
69
  constructor(opts) {
64
70
  super({
65
71
  name: "ThrottlingException",
66
72
  $fault: "client",
67
73
  ...opts,
68
74
  });
69
- this.name = "ThrottlingException";
70
- this.$fault = "client";
71
75
  Object.setPrototypeOf(this, ThrottlingException.prototype);
72
76
  this.Message = opts.Message;
73
77
  }
74
78
  }
75
79
  export class ValidationException extends __BaseException {
80
+ name = "ValidationException";
81
+ $fault = "client";
82
+ Message;
76
83
  constructor(opts) {
77
84
  super({
78
85
  name: "ValidationException",
79
86
  $fault: "client",
80
87
  ...opts,
81
88
  });
82
- this.name = "ValidationException";
83
- this.$fault = "client";
84
89
  Object.setPrototypeOf(this, ValidationException.prototype);
85
90
  this.Message = opts.Message;
86
91
  }
@@ -90,14 +95,15 @@ export const ErrorCategory = {
90
95
  RETRYABLE_ERROR: "RETRYABLE_ERROR",
91
96
  };
92
97
  export class ResourceNotFoundException extends __BaseException {
98
+ name = "ResourceNotFoundException";
99
+ $fault = "client";
100
+ Message;
93
101
  constructor(opts) {
94
102
  super({
95
103
  name: "ResourceNotFoundException",
96
104
  $fault: "client",
97
105
  ...opts,
98
106
  });
99
- this.name = "ResourceNotFoundException";
100
- this.$fault = "client";
101
107
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
102
108
  this.Message = opts.Message;
103
109
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: HealthLakeClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: HealthLakeClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: HealthLakeClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: HealthLakeClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: HealthLakeClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: HealthLakeClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: HealthLakeClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: HealthLakeClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
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.721.0",
4
+ "version": "3.726.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,58 +20,58 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {