@aws-sdk/client-healthlake 3.927.0 → 3.929.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.
Files changed (34) hide show
  1. package/dist-cjs/index.js +525 -659
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/HealthLakeClient.js +2 -0
  4. package/dist-es/commands/CreateFHIRDatastoreCommand.js +3 -9
  5. package/dist-es/commands/DeleteFHIRDatastoreCommand.js +3 -9
  6. package/dist-es/commands/DescribeFHIRDatastoreCommand.js +3 -9
  7. package/dist-es/commands/DescribeFHIRExportJobCommand.js +3 -9
  8. package/dist-es/commands/DescribeFHIRImportJobCommand.js +3 -9
  9. package/dist-es/commands/ListFHIRDatastoresCommand.js +3 -9
  10. package/dist-es/commands/ListFHIRExportJobsCommand.js +3 -9
  11. package/dist-es/commands/ListFHIRImportJobsCommand.js +3 -9
  12. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  13. package/dist-es/commands/StartFHIRExportJobCommand.js +3 -9
  14. package/dist-es/commands/StartFHIRImportJobCommand.js +3 -9
  15. package/dist-es/commands/TagResourceCommand.js +3 -9
  16. package/dist-es/commands/UntagResourceCommand.js +3 -9
  17. package/dist-es/runtimeConfig.shared.js +7 -0
  18. package/dist-es/schemas/schemas_0.js +481 -0
  19. package/dist-types/HealthLakeClient.d.ts +10 -1
  20. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  21. package/dist-types/runtimeConfig.d.ts +1 -0
  22. package/dist-types/runtimeConfig.native.d.ts +1 -0
  23. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  24. package/dist-types/schemas/schemas_0.d.ts +67 -0
  25. package/dist-types/ts3.4/HealthLakeClient.d.ts +4 -0
  26. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  27. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  30. package/dist-types/ts3.4/schemas/schemas_0.d.ts +72 -0
  31. package/package.json +5 -6
  32. package/dist-es/protocols/Aws_json1_0.js +0 -554
  33. package/dist-types/protocols/Aws_json1_0.d.ts +0 -119
  34. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -161
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
  var utilWaiter = require('@smithy/util-waiter');
21
19
 
22
20
  const resolveClientEndpointParameters = (options) => {
@@ -93,6 +91,7 @@ class HealthLakeClient extends smithyClient.Client {
93
91
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
93
  this.config = _config_8;
94
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
96
95
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
98
97
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -112,14 +111,14 @@ class HealthLakeClient extends smithyClient.Client {
112
111
  }
113
112
  }
114
113
 
115
- class HealthLakeServiceException extends smithyClient.ServiceException {
114
+ let HealthLakeServiceException$1 = class HealthLakeServiceException extends smithyClient.ServiceException {
116
115
  constructor(options) {
117
116
  super(options);
118
117
  Object.setPrototypeOf(this, HealthLakeServiceException.prototype);
119
118
  }
120
- }
119
+ };
121
120
 
122
- class AccessDeniedException extends HealthLakeServiceException {
121
+ let AccessDeniedException$1 = class AccessDeniedException extends HealthLakeServiceException$1 {
123
122
  name = "AccessDeniedException";
124
123
  $fault = "client";
125
124
  Message;
@@ -132,7 +131,7 @@ class AccessDeniedException extends HealthLakeServiceException {
132
131
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
133
132
  this.Message = opts.Message;
134
133
  }
135
- }
134
+ };
136
135
  const AuthorizationStrategy = {
137
136
  AWS_AUTH: "AWS_AUTH",
138
137
  SMARTV1: "SMART_ON_FHIR_V1",
@@ -142,7 +141,7 @@ const CmkType = {
142
141
  AO_CMK: "AWS_OWNED_KMS_KEY",
143
142
  CM_CMK: "CUSTOMER_MANAGED_KMS_KEY",
144
143
  };
145
- class ConflictException extends HealthLakeServiceException {
144
+ let ConflictException$1 = class ConflictException extends HealthLakeServiceException$1 {
146
145
  name = "ConflictException";
147
146
  $fault = "client";
148
147
  Message;
@@ -155,7 +154,7 @@ class ConflictException extends HealthLakeServiceException {
155
154
  Object.setPrototypeOf(this, ConflictException.prototype);
156
155
  this.Message = opts.Message;
157
156
  }
158
- }
157
+ };
159
158
  const FHIRVersion = {
160
159
  R4: "R4",
161
160
  };
@@ -169,7 +168,7 @@ const DatastoreStatus = {
169
168
  DELETED: "DELETED",
170
169
  DELETING: "DELETING",
171
170
  };
172
- class InternalServerException extends HealthLakeServiceException {
171
+ let InternalServerException$1 = class InternalServerException extends HealthLakeServiceException$1 {
173
172
  name = "InternalServerException";
174
173
  $fault = "server";
175
174
  Message;
@@ -182,8 +181,8 @@ class InternalServerException extends HealthLakeServiceException {
182
181
  Object.setPrototypeOf(this, InternalServerException.prototype);
183
182
  this.Message = opts.Message;
184
183
  }
185
- }
186
- class ThrottlingException extends HealthLakeServiceException {
184
+ };
185
+ let ThrottlingException$1 = class ThrottlingException extends HealthLakeServiceException$1 {
187
186
  name = "ThrottlingException";
188
187
  $fault = "client";
189
188
  Message;
@@ -196,8 +195,8 @@ class ThrottlingException extends HealthLakeServiceException {
196
195
  Object.setPrototypeOf(this, ThrottlingException.prototype);
197
196
  this.Message = opts.Message;
198
197
  }
199
- }
200
- class ValidationException extends HealthLakeServiceException {
198
+ };
199
+ let ValidationException$1 = class ValidationException extends HealthLakeServiceException$1 {
201
200
  name = "ValidationException";
202
201
  $fault = "client";
203
202
  Message;
@@ -210,12 +209,12 @@ class ValidationException extends HealthLakeServiceException {
210
209
  Object.setPrototypeOf(this, ValidationException.prototype);
211
210
  this.Message = opts.Message;
212
211
  }
213
- }
212
+ };
214
213
  const ErrorCategory = {
215
214
  NON_RETRYABLE_ERROR: "NON_RETRYABLE_ERROR",
216
215
  RETRYABLE_ERROR: "RETRYABLE_ERROR",
217
216
  };
218
- class ResourceNotFoundException extends HealthLakeServiceException {
217
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends HealthLakeServiceException$1 {
219
218
  name = "ResourceNotFoundException";
220
219
  $fault = "client";
221
220
  Message;
@@ -228,7 +227,7 @@ class ResourceNotFoundException extends HealthLakeServiceException {
228
227
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
229
228
  this.Message = opts.Message;
230
229
  }
231
- }
230
+ };
232
231
  const JobStatus = {
233
232
  CANCEL_COMPLETED: "CANCEL_COMPLETED",
234
233
  CANCEL_FAILED: "CANCEL_FAILED",
@@ -263,565 +262,492 @@ const ValidationLevel = {
263
262
  STRUCTURE_ONLY: "structure-only",
264
263
  };
265
264
 
266
- const se_CreateFHIRDatastoreCommand = async (input, context) => {
267
- const headers = sharedHeaders("CreateFHIRDatastore");
268
- let body;
269
- body = JSON.stringify(se_CreateFHIRDatastoreRequest(input));
270
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
271
- };
272
- const se_DeleteFHIRDatastoreCommand = async (input, context) => {
273
- const headers = sharedHeaders("DeleteFHIRDatastore");
274
- let body;
275
- body = JSON.stringify(smithyClient._json(input));
276
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
277
- };
278
- const se_DescribeFHIRDatastoreCommand = async (input, context) => {
279
- const headers = sharedHeaders("DescribeFHIRDatastore");
280
- let body;
281
- body = JSON.stringify(smithyClient._json(input));
282
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
283
- };
284
- const se_DescribeFHIRExportJobCommand = async (input, context) => {
285
- const headers = sharedHeaders("DescribeFHIRExportJob");
286
- let body;
287
- body = JSON.stringify(smithyClient._json(input));
288
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
289
- };
290
- const se_DescribeFHIRImportJobCommand = async (input, context) => {
291
- const headers = sharedHeaders("DescribeFHIRImportJob");
292
- let body;
293
- body = JSON.stringify(smithyClient._json(input));
294
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
295
- };
296
- const se_ListFHIRDatastoresCommand = async (input, context) => {
297
- const headers = sharedHeaders("ListFHIRDatastores");
298
- let body;
299
- body = JSON.stringify(se_ListFHIRDatastoresRequest(input));
300
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
301
- };
302
- const se_ListFHIRExportJobsCommand = async (input, context) => {
303
- const headers = sharedHeaders("ListFHIRExportJobs");
304
- let body;
305
- body = JSON.stringify(se_ListFHIRExportJobsRequest(input));
306
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
307
- };
308
- const se_ListFHIRImportJobsCommand = async (input, context) => {
309
- const headers = sharedHeaders("ListFHIRImportJobs");
310
- let body;
311
- body = JSON.stringify(se_ListFHIRImportJobsRequest(input));
312
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
313
- };
314
- const se_ListTagsForResourceCommand = async (input, context) => {
315
- const headers = sharedHeaders("ListTagsForResource");
316
- let body;
317
- body = JSON.stringify(smithyClient._json(input));
318
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
319
- };
320
- const se_StartFHIRExportJobCommand = async (input, context) => {
321
- const headers = sharedHeaders("StartFHIRExportJob");
322
- let body;
323
- body = JSON.stringify(se_StartFHIRExportJobRequest(input));
324
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
325
- };
326
- const se_StartFHIRImportJobCommand = async (input, context) => {
327
- const headers = sharedHeaders("StartFHIRImportJob");
328
- let body;
329
- body = JSON.stringify(se_StartFHIRImportJobRequest(input));
330
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
331
- };
332
- const se_TagResourceCommand = async (input, context) => {
333
- const headers = sharedHeaders("TagResource");
334
- let body;
335
- body = JSON.stringify(smithyClient._json(input));
336
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
337
- };
338
- const se_UntagResourceCommand = async (input, context) => {
339
- const headers = sharedHeaders("UntagResource");
340
- let body;
341
- body = JSON.stringify(smithyClient._json(input));
342
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
343
- };
344
- const de_CreateFHIRDatastoreCommand = async (output, context) => {
345
- if (output.statusCode >= 300) {
346
- return de_CommandError(output, context);
347
- }
348
- const data = await core$1.parseJsonBody(output.body, context);
349
- let contents = {};
350
- contents = smithyClient._json(data);
351
- const response = {
352
- $metadata: deserializeMetadata(output),
353
- ...contents,
354
- };
355
- return response;
356
- };
357
- const de_DeleteFHIRDatastoreCommand = async (output, context) => {
358
- if (output.statusCode >= 300) {
359
- return de_CommandError(output, context);
360
- }
361
- const data = await core$1.parseJsonBody(output.body, context);
362
- let contents = {};
363
- contents = smithyClient._json(data);
364
- const response = {
365
- $metadata: deserializeMetadata(output),
366
- ...contents,
367
- };
368
- return response;
369
- };
370
- const de_DescribeFHIRDatastoreCommand = async (output, context) => {
371
- if (output.statusCode >= 300) {
372
- return de_CommandError(output, context);
373
- }
374
- const data = await core$1.parseJsonBody(output.body, context);
375
- let contents = {};
376
- contents = de_DescribeFHIRDatastoreResponse(data);
377
- const response = {
378
- $metadata: deserializeMetadata(output),
379
- ...contents,
380
- };
381
- return response;
382
- };
383
- const de_DescribeFHIRExportJobCommand = async (output, context) => {
384
- if (output.statusCode >= 300) {
385
- return de_CommandError(output, context);
386
- }
387
- const data = await core$1.parseJsonBody(output.body, context);
388
- let contents = {};
389
- contents = de_DescribeFHIRExportJobResponse(data);
390
- const response = {
391
- $metadata: deserializeMetadata(output),
392
- ...contents,
393
- };
394
- return response;
395
- };
396
- const de_DescribeFHIRImportJobCommand = async (output, context) => {
397
- if (output.statusCode >= 300) {
398
- return de_CommandError(output, context);
399
- }
400
- const data = await core$1.parseJsonBody(output.body, context);
401
- let contents = {};
402
- contents = de_DescribeFHIRImportJobResponse(data);
403
- const response = {
404
- $metadata: deserializeMetadata(output),
405
- ...contents,
406
- };
407
- return response;
408
- };
409
- const de_ListFHIRDatastoresCommand = async (output, context) => {
410
- if (output.statusCode >= 300) {
411
- return de_CommandError(output, context);
412
- }
413
- const data = await core$1.parseJsonBody(output.body, context);
414
- let contents = {};
415
- contents = de_ListFHIRDatastoresResponse(data);
416
- const response = {
417
- $metadata: deserializeMetadata(output),
418
- ...contents,
419
- };
420
- return response;
421
- };
422
- const de_ListFHIRExportJobsCommand = async (output, context) => {
423
- if (output.statusCode >= 300) {
424
- return de_CommandError(output, context);
425
- }
426
- const data = await core$1.parseJsonBody(output.body, context);
427
- let contents = {};
428
- contents = de_ListFHIRExportJobsResponse(data);
429
- const response = {
430
- $metadata: deserializeMetadata(output),
431
- ...contents,
432
- };
433
- return response;
434
- };
435
- const de_ListFHIRImportJobsCommand = async (output, context) => {
436
- if (output.statusCode >= 300) {
437
- return de_CommandError(output, context);
438
- }
439
- const data = await core$1.parseJsonBody(output.body, context);
440
- let contents = {};
441
- contents = de_ListFHIRImportJobsResponse(data);
442
- const response = {
443
- $metadata: deserializeMetadata(output),
444
- ...contents,
445
- };
446
- return response;
447
- };
448
- const de_ListTagsForResourceCommand = async (output, context) => {
449
- if (output.statusCode >= 300) {
450
- return de_CommandError(output, context);
451
- }
452
- const data = await core$1.parseJsonBody(output.body, context);
453
- let contents = {};
454
- contents = smithyClient._json(data);
455
- const response = {
456
- $metadata: deserializeMetadata(output),
457
- ...contents,
458
- };
459
- return response;
460
- };
461
- const de_StartFHIRExportJobCommand = async (output, context) => {
462
- if (output.statusCode >= 300) {
463
- return de_CommandError(output, context);
464
- }
465
- const data = await core$1.parseJsonBody(output.body, context);
466
- let contents = {};
467
- contents = smithyClient._json(data);
468
- const response = {
469
- $metadata: deserializeMetadata(output),
470
- ...contents,
471
- };
472
- return response;
473
- };
474
- const de_StartFHIRImportJobCommand = async (output, context) => {
475
- if (output.statusCode >= 300) {
476
- return de_CommandError(output, context);
477
- }
478
- const data = await core$1.parseJsonBody(output.body, context);
479
- let contents = {};
480
- contents = smithyClient._json(data);
481
- const response = {
482
- $metadata: deserializeMetadata(output),
483
- ...contents,
484
- };
485
- return response;
486
- };
487
- const de_TagResourceCommand = async (output, context) => {
488
- if (output.statusCode >= 300) {
489
- return de_CommandError(output, context);
490
- }
491
- const data = await core$1.parseJsonBody(output.body, context);
492
- let contents = {};
493
- contents = smithyClient._json(data);
494
- const response = {
495
- $metadata: deserializeMetadata(output),
496
- ...contents,
497
- };
498
- return response;
499
- };
500
- const de_UntagResourceCommand = async (output, context) => {
501
- if (output.statusCode >= 300) {
502
- return de_CommandError(output, context);
503
- }
504
- const data = await core$1.parseJsonBody(output.body, context);
505
- let contents = {};
506
- contents = smithyClient._json(data);
507
- const response = {
508
- $metadata: deserializeMetadata(output),
509
- ...contents,
510
- };
511
- return response;
512
- };
513
- const de_CommandError = async (output, context) => {
514
- const parsedOutput = {
515
- ...output,
516
- body: await core$1.parseJsonErrorBody(output.body, context),
517
- };
518
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
519
- switch (errorCode) {
520
- case "AccessDeniedException":
521
- case "com.amazonaws.healthlake#AccessDeniedException":
522
- throw await de_AccessDeniedExceptionRes(parsedOutput);
523
- case "InternalServerException":
524
- case "com.amazonaws.healthlake#InternalServerException":
525
- throw await de_InternalServerExceptionRes(parsedOutput);
526
- case "ThrottlingException":
527
- case "com.amazonaws.healthlake#ThrottlingException":
528
- throw await de_ThrottlingExceptionRes(parsedOutput);
529
- case "ValidationException":
530
- case "com.amazonaws.healthlake#ValidationException":
531
- throw await de_ValidationExceptionRes(parsedOutput);
532
- case "ConflictException":
533
- case "com.amazonaws.healthlake#ConflictException":
534
- throw await de_ConflictExceptionRes(parsedOutput);
535
- case "ResourceNotFoundException":
536
- case "com.amazonaws.healthlake#ResourceNotFoundException":
537
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
538
- default:
539
- const parsedBody = parsedOutput.body;
540
- return throwDefaultError({
541
- output,
542
- parsedBody,
543
- errorCode,
544
- });
545
- }
546
- };
547
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
548
- const body = parsedOutput.body;
549
- const deserialized = smithyClient._json(body);
550
- const exception = new AccessDeniedException({
551
- $metadata: deserializeMetadata(parsedOutput),
552
- ...deserialized,
553
- });
554
- return smithyClient.decorateServiceException(exception, body);
555
- };
556
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
557
- const body = parsedOutput.body;
558
- const deserialized = smithyClient._json(body);
559
- const exception = new ConflictException({
560
- $metadata: deserializeMetadata(parsedOutput),
561
- ...deserialized,
562
- });
563
- return smithyClient.decorateServiceException(exception, body);
564
- };
565
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
566
- const body = parsedOutput.body;
567
- const deserialized = smithyClient._json(body);
568
- const exception = new InternalServerException({
569
- $metadata: deserializeMetadata(parsedOutput),
570
- ...deserialized,
571
- });
572
- return smithyClient.decorateServiceException(exception, body);
573
- };
574
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
575
- const body = parsedOutput.body;
576
- const deserialized = smithyClient._json(body);
577
- const exception = new ResourceNotFoundException({
578
- $metadata: deserializeMetadata(parsedOutput),
579
- ...deserialized,
580
- });
581
- return smithyClient.decorateServiceException(exception, body);
582
- };
583
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
584
- const body = parsedOutput.body;
585
- const deserialized = smithyClient._json(body);
586
- const exception = new ThrottlingException({
587
- $metadata: deserializeMetadata(parsedOutput),
588
- ...deserialized,
589
- });
590
- return smithyClient.decorateServiceException(exception, body);
591
- };
592
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
593
- const body = parsedOutput.body;
594
- const deserialized = smithyClient._json(body);
595
- const exception = new ValidationException({
596
- $metadata: deserializeMetadata(parsedOutput),
597
- ...deserialized,
598
- });
599
- return smithyClient.decorateServiceException(exception, body);
600
- };
601
- const se_CreateFHIRDatastoreRequest = (input, context) => {
602
- return smithyClient.take(input, {
603
- ClientToken: [true, (_) => _ ?? uuid.v4()],
604
- DatastoreName: [],
605
- DatastoreTypeVersion: [],
606
- IdentityProviderConfiguration: smithyClient._json,
607
- PreloadDataConfig: smithyClient._json,
608
- SseConfiguration: smithyClient._json,
609
- Tags: smithyClient._json,
610
- });
611
- };
612
- const se_DatastoreFilter = (input, context) => {
613
- return smithyClient.take(input, {
614
- CreatedAfter: (_) => _.getTime() / 1_000,
615
- CreatedBefore: (_) => _.getTime() / 1_000,
616
- DatastoreName: [],
617
- DatastoreStatus: [],
618
- });
619
- };
620
- const se_ListFHIRDatastoresRequest = (input, context) => {
621
- return smithyClient.take(input, {
622
- Filter: (_) => se_DatastoreFilter(_),
623
- MaxResults: [],
624
- NextToken: [],
625
- });
626
- };
627
- const se_ListFHIRExportJobsRequest = (input, context) => {
628
- return smithyClient.take(input, {
629
- DatastoreId: [],
630
- JobName: [],
631
- JobStatus: [],
632
- MaxResults: [],
633
- NextToken: [],
634
- SubmittedAfter: (_) => _.getTime() / 1_000,
635
- SubmittedBefore: (_) => _.getTime() / 1_000,
636
- });
637
- };
638
- const se_ListFHIRImportJobsRequest = (input, context) => {
639
- return smithyClient.take(input, {
640
- DatastoreId: [],
641
- JobName: [],
642
- JobStatus: [],
643
- MaxResults: [],
644
- NextToken: [],
645
- SubmittedAfter: (_) => _.getTime() / 1_000,
646
- SubmittedBefore: (_) => _.getTime() / 1_000,
647
- });
648
- };
649
- const se_StartFHIRExportJobRequest = (input, context) => {
650
- return smithyClient.take(input, {
651
- ClientToken: [true, (_) => _ ?? uuid.v4()],
652
- DataAccessRoleArn: [],
653
- DatastoreId: [],
654
- JobName: [],
655
- OutputDataConfig: smithyClient._json,
656
- });
657
- };
658
- const se_StartFHIRImportJobRequest = (input, context) => {
659
- return smithyClient.take(input, {
660
- ClientToken: [true, (_) => _ ?? uuid.v4()],
661
- DataAccessRoleArn: [],
662
- DatastoreId: [],
663
- InputDataConfig: smithyClient._json,
664
- JobName: [],
665
- JobOutputDataConfig: smithyClient._json,
666
- ValidationLevel: [],
667
- });
668
- };
669
- const de_DatastoreProperties = (output, context) => {
670
- return smithyClient.take(output, {
671
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
672
- DatastoreArn: smithyClient.expectString,
673
- DatastoreEndpoint: smithyClient.expectString,
674
- DatastoreId: smithyClient.expectString,
675
- DatastoreName: smithyClient.expectString,
676
- DatastoreStatus: smithyClient.expectString,
677
- DatastoreTypeVersion: smithyClient.expectString,
678
- ErrorCause: smithyClient._json,
679
- IdentityProviderConfiguration: smithyClient._json,
680
- PreloadDataConfig: smithyClient._json,
681
- SseConfiguration: smithyClient._json,
682
- });
683
- };
684
- const de_DatastorePropertiesList = (output, context) => {
685
- const retVal = (output || [])
686
- .filter((e) => e != null)
687
- .map((entry) => {
688
- return de_DatastoreProperties(entry);
689
- });
690
- return retVal;
691
- };
692
- const de_DescribeFHIRDatastoreResponse = (output, context) => {
693
- return smithyClient.take(output, {
694
- DatastoreProperties: (_) => de_DatastoreProperties(_),
695
- });
696
- };
697
- const de_DescribeFHIRExportJobResponse = (output, context) => {
698
- return smithyClient.take(output, {
699
- ExportJobProperties: (_) => de_ExportJobProperties(_),
700
- });
701
- };
702
- const de_DescribeFHIRImportJobResponse = (output, context) => {
703
- return smithyClient.take(output, {
704
- ImportJobProperties: (_) => de_ImportJobProperties(_),
705
- });
706
- };
707
- const de_ExportJobProperties = (output, context) => {
708
- return smithyClient.take(output, {
709
- DataAccessRoleArn: smithyClient.expectString,
710
- DatastoreId: smithyClient.expectString,
711
- EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
712
- JobId: smithyClient.expectString,
713
- JobName: smithyClient.expectString,
714
- JobStatus: smithyClient.expectString,
715
- Message: smithyClient.expectString,
716
- OutputDataConfig: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
717
- SubmitTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
718
- });
719
- };
720
- const de_ExportJobPropertiesList = (output, context) => {
721
- const retVal = (output || [])
722
- .filter((e) => e != null)
723
- .map((entry) => {
724
- return de_ExportJobProperties(entry);
725
- });
726
- return retVal;
727
- };
728
- const de_ImportJobProperties = (output, context) => {
729
- return smithyClient.take(output, {
730
- DataAccessRoleArn: smithyClient.expectString,
731
- DatastoreId: smithyClient.expectString,
732
- EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
733
- InputDataConfig: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
734
- JobId: smithyClient.expectString,
735
- JobName: smithyClient.expectString,
736
- JobOutputDataConfig: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
737
- JobProgressReport: (_) => de_JobProgressReport(_),
738
- JobStatus: smithyClient.expectString,
739
- Message: smithyClient.expectString,
740
- SubmitTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
741
- ValidationLevel: smithyClient.expectString,
742
- });
743
- };
744
- const de_ImportJobPropertiesList = (output, context) => {
745
- const retVal = (output || [])
746
- .filter((e) => e != null)
747
- .map((entry) => {
748
- return de_ImportJobProperties(entry);
749
- });
750
- return retVal;
751
- };
752
- const de_JobProgressReport = (output, context) => {
753
- return smithyClient.take(output, {
754
- Throughput: smithyClient.limitedParseDouble,
755
- TotalNumberOfFilesReadWithCustomerError: smithyClient.expectLong,
756
- TotalNumberOfImportedFiles: smithyClient.expectLong,
757
- TotalNumberOfResourcesImported: smithyClient.expectLong,
758
- TotalNumberOfResourcesScanned: smithyClient.expectLong,
759
- TotalNumberOfResourcesWithCustomerError: smithyClient.expectLong,
760
- TotalNumberOfScannedFiles: smithyClient.expectLong,
761
- TotalSizeOfScannedFilesInMB: smithyClient.limitedParseDouble,
762
- });
763
- };
764
- const de_ListFHIRDatastoresResponse = (output, context) => {
765
- return smithyClient.take(output, {
766
- DatastorePropertiesList: (_) => de_DatastorePropertiesList(_),
767
- NextToken: smithyClient.expectString,
768
- });
769
- };
770
- const de_ListFHIRExportJobsResponse = (output, context) => {
771
- return smithyClient.take(output, {
772
- ExportJobPropertiesList: (_) => de_ExportJobPropertiesList(_),
773
- NextToken: smithyClient.expectString,
774
- });
775
- };
776
- const de_ListFHIRImportJobsResponse = (output, context) => {
777
- return smithyClient.take(output, {
778
- ImportJobPropertiesList: (_) => de_ImportJobPropertiesList(_),
779
- NextToken: smithyClient.expectString,
780
- });
781
- };
782
- const deserializeMetadata = (output) => ({
783
- httpStatusCode: output.statusCode,
784
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
785
- extendedRequestId: output.headers["x-amz-id-2"],
786
- cfId: output.headers["x-amz-cf-id"],
787
- });
788
- const throwDefaultError = smithyClient.withBaseException(HealthLakeServiceException);
789
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
790
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
791
- const contents = {
792
- protocol,
793
- hostname,
794
- port,
795
- method: "POST",
796
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
797
- headers,
798
- };
799
- if (body !== undefined) {
800
- contents.body = body;
801
- }
802
- return new protocolHttp.HttpRequest(contents);
803
- };
804
- function sharedHeaders(operation) {
805
- return {
806
- "content-type": "application/x-amz-json-1.0",
807
- "x-amz-target": `HealthLake.${operation}`,
808
- };
809
- }
265
+ const _ADE = "AccessDeniedException";
266
+ const _AS = "AuthorizationStrategy";
267
+ const _CA = "CreatedAfter";
268
+ const _CAr = "CreatedAt";
269
+ const _CB = "CreatedBefore";
270
+ const _CE = "ConflictException";
271
+ const _CFHIRD = "CreateFHIRDatastore";
272
+ const _CFHIRDR = "CreateFHIRDatastoreRequest";
273
+ const _CFHIRDRr = "CreateFHIRDatastoreResponse";
274
+ const _CT = "ClientToken";
275
+ const _CTm = "CmkType";
276
+ const _DA = "DatastoreArn";
277
+ const _DARA = "DataAccessRoleArn";
278
+ const _DE = "DatastoreEndpoint";
279
+ const _DF = "DatastoreFilter";
280
+ const _DFHIRD = "DeleteFHIRDatastore";
281
+ const _DFHIRDR = "DeleteFHIRDatastoreRequest";
282
+ const _DFHIRDRe = "DeleteFHIRDatastoreResponse";
283
+ const _DFHIRDRes = "DescribeFHIRDatastoreRequest";
284
+ const _DFHIRDResc = "DescribeFHIRDatastoreResponse";
285
+ const _DFHIRDe = "DescribeFHIRDatastore";
286
+ const _DFHIREJ = "DescribeFHIRExportJob";
287
+ const _DFHIREJR = "DescribeFHIRExportJobRequest";
288
+ const _DFHIREJRe = "DescribeFHIRExportJobResponse";
289
+ const _DFHIRIJ = "DescribeFHIRImportJob";
290
+ const _DFHIRIJR = "DescribeFHIRImportJobRequest";
291
+ const _DFHIRIJRe = "DescribeFHIRImportJobResponse";
292
+ const _DI = "DatastoreId";
293
+ const _DN = "DatastoreName";
294
+ const _DP = "DatastoreProperties";
295
+ const _DPL = "DatastorePropertiesList";
296
+ const _DS = "DatastoreStatus";
297
+ const _DTV = "DatastoreTypeVersion";
298
+ const _EC = "ErrorCause";
299
+ const _ECr = "ErrorCategory";
300
+ const _EJP = "ExportJobProperties";
301
+ const _EJPL = "ExportJobPropertiesList";
302
+ const _EM = "ErrorMessage";
303
+ const _ET = "EndTime";
304
+ const _F = "Filter";
305
+ const _FGAE = "FineGrainedAuthorizationEnabled";
306
+ const _IDC = "InputDataConfig";
307
+ const _IJP = "ImportJobProperties";
308
+ const _IJPL = "ImportJobPropertiesList";
309
+ const _ILA = "IdpLambdaArn";
310
+ const _IPC = "IdentityProviderConfiguration";
311
+ const _ISE = "InternalServerException";
312
+ const _JI = "JobId";
313
+ const _JN = "JobName";
314
+ const _JODC = "JobOutputDataConfig";
315
+ const _JPR = "JobProgressReport";
316
+ const _JS = "JobStatus";
317
+ const _K = "Key";
318
+ const _KEC = "KmsEncryptionConfig";
319
+ const _KKI = "KmsKeyId";
320
+ const _LFHIRD = "ListFHIRDatastores";
321
+ const _LFHIRDR = "ListFHIRDatastoresRequest";
322
+ const _LFHIRDRi = "ListFHIRDatastoresResponse";
323
+ const _LFHIREJ = "ListFHIRExportJobs";
324
+ const _LFHIREJR = "ListFHIRExportJobsRequest";
325
+ const _LFHIREJRi = "ListFHIRExportJobsResponse";
326
+ const _LFHIRIJ = "ListFHIRImportJobs";
327
+ const _LFHIRIJR = "ListFHIRImportJobsRequest";
328
+ const _LFHIRIJRi = "ListFHIRImportJobsResponse";
329
+ const _LTFR = "ListTagsForResource";
330
+ const _LTFRR = "ListTagsForResourceRequest";
331
+ const _LTFRRi = "ListTagsForResourceResponse";
332
+ const _M = "Message";
333
+ const _MR = "MaxResults";
334
+ const _Me = "Metadata";
335
+ const _NT = "NextToken";
336
+ const _ODC = "OutputDataConfig";
337
+ const _PDC = "PreloadDataConfig";
338
+ const _PDT = "PreloadDataType";
339
+ const _RARN = "ResourceARN";
340
+ const _RNFE = "ResourceNotFoundException";
341
+ const _SA = "SubmittedAfter";
342
+ const _SB = "SubmittedBefore";
343
+ const _SC = "SseConfiguration";
344
+ const _SCo = "S3Configuration";
345
+ const _SFHIREJ = "StartFHIRExportJob";
346
+ const _SFHIREJR = "StartFHIRExportJobRequest";
347
+ const _SFHIREJRt = "StartFHIRExportJobResponse";
348
+ const _SFHIRIJ = "StartFHIRImportJob";
349
+ const _SFHIRIJR = "StartFHIRImportJobRequest";
350
+ const _SFHIRIJRt = "StartFHIRImportJobResponse";
351
+ const _ST = "SubmitTime";
352
+ const _SU = "S3Uri";
353
+ const _T = "Tags";
354
+ const _TE = "ThrottlingException";
355
+ const _TK = "TagKeys";
356
+ const _TL = "TagList";
357
+ const _TNOFRWCE = "TotalNumberOfFilesReadWithCustomerError";
358
+ const _TNOIF = "TotalNumberOfImportedFiles";
359
+ const _TNORI = "TotalNumberOfResourcesImported";
360
+ const _TNORS = "TotalNumberOfResourcesScanned";
361
+ const _TNORWCE = "TotalNumberOfResourcesWithCustomerError";
362
+ const _TNOSF = "TotalNumberOfScannedFiles";
363
+ const _TR = "TagResource";
364
+ const _TRR = "TagResourceRequest";
365
+ const _TRRa = "TagResourceResponse";
366
+ const _TSOSFIMB = "TotalSizeOfScannedFilesInMB";
367
+ const _Ta = "Tag";
368
+ const _Th = "Throughput";
369
+ const _UR = "UntagResource";
370
+ const _URR = "UntagResourceRequest";
371
+ const _URRn = "UntagResourceResponse";
372
+ const _V = "Value";
373
+ const _VE = "ValidationException";
374
+ const _VL = "ValidationLevel";
375
+ const _c = "client";
376
+ const _e = "error";
377
+ const _hE = "httpError";
378
+ const _s = "server";
379
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.healthlake";
380
+ const n0 = "com.amazonaws.healthlake";
381
+ var AccessDeniedException = [
382
+ -3,
383
+ n0,
384
+ _ADE,
385
+ {
386
+ [_e]: _c,
387
+ [_hE]: 403,
388
+ },
389
+ [_M],
390
+ [0],
391
+ ];
392
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
393
+ var ConflictException = [
394
+ -3,
395
+ n0,
396
+ _CE,
397
+ {
398
+ [_e]: _c,
399
+ [_hE]: 409,
400
+ },
401
+ [_M],
402
+ [0],
403
+ ];
404
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
405
+ var CreateFHIRDatastoreRequest = [
406
+ 3,
407
+ n0,
408
+ _CFHIRDR,
409
+ 0,
410
+ [_DN, _DTV, _SC, _PDC, _CT, _T, _IPC],
411
+ [0, 0, () => SseConfiguration, () => PreloadDataConfig, [0, 4], () => TagList, () => IdentityProviderConfiguration],
412
+ ];
413
+ var CreateFHIRDatastoreResponse = [
414
+ 3,
415
+ n0,
416
+ _CFHIRDRr,
417
+ 0,
418
+ [_DI, _DA, _DS, _DE],
419
+ [0, 0, 0, 0],
420
+ ];
421
+ var DatastoreFilter = [3, n0, _DF, 0, [_DN, _DS, _CB, _CA], [0, 0, 4, 4]];
422
+ var DatastoreProperties = [
423
+ 3,
424
+ n0,
425
+ _DP,
426
+ 0,
427
+ [_DI, _DA, _DN, _DS, _CAr, _DTV, _DE, _SC, _PDC, _IPC, _EC],
428
+ [
429
+ 0,
430
+ 0,
431
+ 0,
432
+ 0,
433
+ 4,
434
+ 0,
435
+ 0,
436
+ () => SseConfiguration,
437
+ () => PreloadDataConfig,
438
+ () => IdentityProviderConfiguration,
439
+ () => ErrorCause,
440
+ ],
441
+ ];
442
+ var DeleteFHIRDatastoreRequest = [3, n0, _DFHIRDR, 0, [_DI], [0]];
443
+ var DeleteFHIRDatastoreResponse = [
444
+ 3,
445
+ n0,
446
+ _DFHIRDRe,
447
+ 0,
448
+ [_DI, _DA, _DS, _DE],
449
+ [0, 0, 0, 0],
450
+ ];
451
+ var DescribeFHIRDatastoreRequest = [3, n0, _DFHIRDRes, 0, [_DI], [0]];
452
+ var DescribeFHIRDatastoreResponse = [
453
+ 3,
454
+ n0,
455
+ _DFHIRDResc,
456
+ 0,
457
+ [_DP],
458
+ [() => DatastoreProperties],
459
+ ];
460
+ var DescribeFHIRExportJobRequest = [3, n0, _DFHIREJR, 0, [_DI, _JI], [0, 0]];
461
+ var DescribeFHIRExportJobResponse = [
462
+ 3,
463
+ n0,
464
+ _DFHIREJRe,
465
+ 0,
466
+ [_EJP],
467
+ [() => ExportJobProperties],
468
+ ];
469
+ var DescribeFHIRImportJobRequest = [3, n0, _DFHIRIJR, 0, [_DI, _JI], [0, 0]];
470
+ var DescribeFHIRImportJobResponse = [
471
+ 3,
472
+ n0,
473
+ _DFHIRIJRe,
474
+ 0,
475
+ [_IJP],
476
+ [() => ImportJobProperties],
477
+ ];
478
+ var ErrorCause = [3, n0, _EC, 0, [_EM, _ECr], [0, 0]];
479
+ var ExportJobProperties = [
480
+ 3,
481
+ n0,
482
+ _EJP,
483
+ 0,
484
+ [_JI, _JN, _JS, _ST, _ET, _DI, _ODC, _DARA, _M],
485
+ [0, 0, 0, 4, 4, 0, () => OutputDataConfig, 0, 0],
486
+ ];
487
+ var IdentityProviderConfiguration = [
488
+ 3,
489
+ n0,
490
+ _IPC,
491
+ 0,
492
+ [_AS, _FGAE, _Me, _ILA],
493
+ [0, 2, 0, 0],
494
+ ];
495
+ var ImportJobProperties = [
496
+ 3,
497
+ n0,
498
+ _IJP,
499
+ 0,
500
+ [_JI, _JN, _JS, _ST, _ET, _DI, _IDC, _JODC, _JPR, _DARA, _M, _VL],
501
+ [0, 0, 0, 4, 4, 0, () => InputDataConfig, () => OutputDataConfig, () => JobProgressReport, 0, 0, 0],
502
+ ];
503
+ var InternalServerException = [
504
+ -3,
505
+ n0,
506
+ _ISE,
507
+ {
508
+ [_e]: _s,
509
+ [_hE]: 500,
510
+ },
511
+ [_M],
512
+ [0],
513
+ ];
514
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
515
+ var JobProgressReport = [
516
+ 3,
517
+ n0,
518
+ _JPR,
519
+ 0,
520
+ [_TNOSF, _TSOSFIMB, _TNOIF, _TNORS, _TNORI, _TNORWCE, _TNOFRWCE, _Th],
521
+ [1, 1, 1, 1, 1, 1, 1, 1],
522
+ ];
523
+ var KmsEncryptionConfig = [3, n0, _KEC, 0, [_CTm, _KKI], [0, 0]];
524
+ var ListFHIRDatastoresRequest = [
525
+ 3,
526
+ n0,
527
+ _LFHIRDR,
528
+ 0,
529
+ [_F, _NT, _MR],
530
+ [() => DatastoreFilter, 0, 1],
531
+ ];
532
+ var ListFHIRDatastoresResponse = [
533
+ 3,
534
+ n0,
535
+ _LFHIRDRi,
536
+ 0,
537
+ [_DPL, _NT],
538
+ [() => DatastorePropertiesList, 0],
539
+ ];
540
+ var ListFHIRExportJobsRequest = [
541
+ 3,
542
+ n0,
543
+ _LFHIREJR,
544
+ 0,
545
+ [_DI, _NT, _MR, _JN, _JS, _SB, _SA],
546
+ [0, 0, 1, 0, 0, 4, 4],
547
+ ];
548
+ var ListFHIRExportJobsResponse = [
549
+ 3,
550
+ n0,
551
+ _LFHIREJRi,
552
+ 0,
553
+ [_EJPL, _NT],
554
+ [() => ExportJobPropertiesList, 0],
555
+ ];
556
+ var ListFHIRImportJobsRequest = [
557
+ 3,
558
+ n0,
559
+ _LFHIRIJR,
560
+ 0,
561
+ [_DI, _NT, _MR, _JN, _JS, _SB, _SA],
562
+ [0, 0, 1, 0, 0, 4, 4],
563
+ ];
564
+ var ListFHIRImportJobsResponse = [
565
+ 3,
566
+ n0,
567
+ _LFHIRIJRi,
568
+ 0,
569
+ [_IJPL, _NT],
570
+ [() => ImportJobPropertiesList, 0],
571
+ ];
572
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [0]];
573
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
574
+ var PreloadDataConfig = [3, n0, _PDC, 0, [_PDT], [0]];
575
+ var ResourceNotFoundException = [
576
+ -3,
577
+ n0,
578
+ _RNFE,
579
+ {
580
+ [_e]: _c,
581
+ [_hE]: 404,
582
+ },
583
+ [_M],
584
+ [0],
585
+ ];
586
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
587
+ var S3Configuration = [3, n0, _SCo, 0, [_SU, _KKI], [0, 0]];
588
+ var SseConfiguration = [3, n0, _SC, 0, [_KEC], [() => KmsEncryptionConfig]];
589
+ var StartFHIRExportJobRequest = [
590
+ 3,
591
+ n0,
592
+ _SFHIREJR,
593
+ 0,
594
+ [_JN, _ODC, _DI, _DARA, _CT],
595
+ [0, () => OutputDataConfig, 0, 0, [0, 4]],
596
+ ];
597
+ var StartFHIRExportJobResponse = [3, n0, _SFHIREJRt, 0, [_JI, _JS, _DI], [0, 0, 0]];
598
+ var StartFHIRImportJobRequest = [
599
+ 3,
600
+ n0,
601
+ _SFHIRIJR,
602
+ 0,
603
+ [_JN, _IDC, _JODC, _DI, _DARA, _CT, _VL],
604
+ [0, () => InputDataConfig, () => OutputDataConfig, 0, 0, [0, 4], 0],
605
+ ];
606
+ var StartFHIRImportJobResponse = [3, n0, _SFHIRIJRt, 0, [_JI, _JS, _DI], [0, 0, 0]];
607
+ var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
608
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _T], [0, () => TagList]];
609
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
610
+ var ThrottlingException = [
611
+ -3,
612
+ n0,
613
+ _TE,
614
+ {
615
+ [_e]: _c,
616
+ [_hE]: 429,
617
+ },
618
+ [_M],
619
+ [0],
620
+ ];
621
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
622
+ var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
623
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
624
+ var ValidationException = [
625
+ -3,
626
+ n0,
627
+ _VE,
628
+ {
629
+ [_e]: _c,
630
+ [_hE]: 400,
631
+ },
632
+ [_M],
633
+ [0],
634
+ ];
635
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
636
+ var HealthLakeServiceException = [-3, _sm, "HealthLakeServiceException", 0, [], []];
637
+ schema.TypeRegistry.for(_sm).registerError(HealthLakeServiceException, HealthLakeServiceException$1);
638
+ var DatastorePropertiesList = [1, n0, _DPL, 0, () => DatastoreProperties];
639
+ var ExportJobPropertiesList = [1, n0, _EJPL, 0, () => ExportJobProperties];
640
+ var ImportJobPropertiesList = [1, n0, _IJPL, 0, () => ImportJobProperties];
641
+ var TagList = [1, n0, _TL, 0, () => Tag];
642
+ var InputDataConfig = [3, n0, _IDC, 0, [_SU], [0]];
643
+ var OutputDataConfig = [3, n0, _ODC, 0, [_SCo], [() => S3Configuration]];
644
+ var CreateFHIRDatastore = [
645
+ 9,
646
+ n0,
647
+ _CFHIRD,
648
+ 0,
649
+ () => CreateFHIRDatastoreRequest,
650
+ () => CreateFHIRDatastoreResponse,
651
+ ];
652
+ var DeleteFHIRDatastore = [
653
+ 9,
654
+ n0,
655
+ _DFHIRD,
656
+ 0,
657
+ () => DeleteFHIRDatastoreRequest,
658
+ () => DeleteFHIRDatastoreResponse,
659
+ ];
660
+ var DescribeFHIRDatastore = [
661
+ 9,
662
+ n0,
663
+ _DFHIRDe,
664
+ 0,
665
+ () => DescribeFHIRDatastoreRequest,
666
+ () => DescribeFHIRDatastoreResponse,
667
+ ];
668
+ var DescribeFHIRExportJob = [
669
+ 9,
670
+ n0,
671
+ _DFHIREJ,
672
+ 0,
673
+ () => DescribeFHIRExportJobRequest,
674
+ () => DescribeFHIRExportJobResponse,
675
+ ];
676
+ var DescribeFHIRImportJob = [
677
+ 9,
678
+ n0,
679
+ _DFHIRIJ,
680
+ 0,
681
+ () => DescribeFHIRImportJobRequest,
682
+ () => DescribeFHIRImportJobResponse,
683
+ ];
684
+ var ListFHIRDatastores = [
685
+ 9,
686
+ n0,
687
+ _LFHIRD,
688
+ 0,
689
+ () => ListFHIRDatastoresRequest,
690
+ () => ListFHIRDatastoresResponse,
691
+ ];
692
+ var ListFHIRExportJobs = [
693
+ 9,
694
+ n0,
695
+ _LFHIREJ,
696
+ 0,
697
+ () => ListFHIRExportJobsRequest,
698
+ () => ListFHIRExportJobsResponse,
699
+ ];
700
+ var ListFHIRImportJobs = [
701
+ 9,
702
+ n0,
703
+ _LFHIRIJ,
704
+ 0,
705
+ () => ListFHIRImportJobsRequest,
706
+ () => ListFHIRImportJobsResponse,
707
+ ];
708
+ var ListTagsForResource = [
709
+ 9,
710
+ n0,
711
+ _LTFR,
712
+ 0,
713
+ () => ListTagsForResourceRequest,
714
+ () => ListTagsForResourceResponse,
715
+ ];
716
+ var StartFHIRExportJob = [
717
+ 9,
718
+ n0,
719
+ _SFHIREJ,
720
+ 0,
721
+ () => StartFHIRExportJobRequest,
722
+ () => StartFHIRExportJobResponse,
723
+ ];
724
+ var StartFHIRImportJob = [
725
+ 9,
726
+ n0,
727
+ _SFHIRIJ,
728
+ 0,
729
+ () => StartFHIRImportJobRequest,
730
+ () => StartFHIRImportJobResponse,
731
+ ];
732
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
733
+ var UntagResource = [
734
+ 9,
735
+ n0,
736
+ _UR,
737
+ 0,
738
+ () => UntagResourceRequest,
739
+ () => UntagResourceResponse,
740
+ ];
810
741
 
811
742
  class CreateFHIRDatastoreCommand extends smithyClient.Command
812
743
  .classBuilder()
813
744
  .ep(commonParams)
814
745
  .m(function (Command, cs, config, o) {
815
- return [
816
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
817
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
818
- ];
746
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
819
747
  })
820
748
  .s("HealthLake", "CreateFHIRDatastore", {})
821
749
  .n("HealthLakeClient", "CreateFHIRDatastoreCommand")
822
- .f(void 0, void 0)
823
- .ser(se_CreateFHIRDatastoreCommand)
824
- .de(de_CreateFHIRDatastoreCommand)
750
+ .sc(CreateFHIRDatastore)
825
751
  .build() {
826
752
  }
827
753
 
@@ -829,16 +755,11 @@ class DeleteFHIRDatastoreCommand extends smithyClient.Command
829
755
  .classBuilder()
830
756
  .ep(commonParams)
831
757
  .m(function (Command, cs, config, o) {
832
- return [
833
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
834
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
835
- ];
758
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
836
759
  })
837
760
  .s("HealthLake", "DeleteFHIRDatastore", {})
838
761
  .n("HealthLakeClient", "DeleteFHIRDatastoreCommand")
839
- .f(void 0, void 0)
840
- .ser(se_DeleteFHIRDatastoreCommand)
841
- .de(de_DeleteFHIRDatastoreCommand)
762
+ .sc(DeleteFHIRDatastore)
842
763
  .build() {
843
764
  }
844
765
 
@@ -846,16 +767,11 @@ class DescribeFHIRDatastoreCommand extends smithyClient.Command
846
767
  .classBuilder()
847
768
  .ep(commonParams)
848
769
  .m(function (Command, cs, config, o) {
849
- return [
850
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
851
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
852
- ];
770
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
853
771
  })
854
772
  .s("HealthLake", "DescribeFHIRDatastore", {})
855
773
  .n("HealthLakeClient", "DescribeFHIRDatastoreCommand")
856
- .f(void 0, void 0)
857
- .ser(se_DescribeFHIRDatastoreCommand)
858
- .de(de_DescribeFHIRDatastoreCommand)
774
+ .sc(DescribeFHIRDatastore)
859
775
  .build() {
860
776
  }
861
777
 
@@ -863,16 +779,11 @@ class DescribeFHIRExportJobCommand extends smithyClient.Command
863
779
  .classBuilder()
864
780
  .ep(commonParams)
865
781
  .m(function (Command, cs, config, o) {
866
- return [
867
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
868
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
869
- ];
782
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
870
783
  })
871
784
  .s("HealthLake", "DescribeFHIRExportJob", {})
872
785
  .n("HealthLakeClient", "DescribeFHIRExportJobCommand")
873
- .f(void 0, void 0)
874
- .ser(se_DescribeFHIRExportJobCommand)
875
- .de(de_DescribeFHIRExportJobCommand)
786
+ .sc(DescribeFHIRExportJob)
876
787
  .build() {
877
788
  }
878
789
 
@@ -880,16 +791,11 @@ class DescribeFHIRImportJobCommand extends smithyClient.Command
880
791
  .classBuilder()
881
792
  .ep(commonParams)
882
793
  .m(function (Command, cs, config, o) {
883
- return [
884
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
885
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
886
- ];
794
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
887
795
  })
888
796
  .s("HealthLake", "DescribeFHIRImportJob", {})
889
797
  .n("HealthLakeClient", "DescribeFHIRImportJobCommand")
890
- .f(void 0, void 0)
891
- .ser(se_DescribeFHIRImportJobCommand)
892
- .de(de_DescribeFHIRImportJobCommand)
798
+ .sc(DescribeFHIRImportJob)
893
799
  .build() {
894
800
  }
895
801
 
@@ -897,16 +803,11 @@ class ListFHIRDatastoresCommand extends smithyClient.Command
897
803
  .classBuilder()
898
804
  .ep(commonParams)
899
805
  .m(function (Command, cs, config, o) {
900
- return [
901
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
902
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
903
- ];
806
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
904
807
  })
905
808
  .s("HealthLake", "ListFHIRDatastores", {})
906
809
  .n("HealthLakeClient", "ListFHIRDatastoresCommand")
907
- .f(void 0, void 0)
908
- .ser(se_ListFHIRDatastoresCommand)
909
- .de(de_ListFHIRDatastoresCommand)
810
+ .sc(ListFHIRDatastores)
910
811
  .build() {
911
812
  }
912
813
 
@@ -914,16 +815,11 @@ class ListFHIRExportJobsCommand extends smithyClient.Command
914
815
  .classBuilder()
915
816
  .ep(commonParams)
916
817
  .m(function (Command, cs, config, o) {
917
- return [
918
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
919
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
920
- ];
818
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
921
819
  })
922
820
  .s("HealthLake", "ListFHIRExportJobs", {})
923
821
  .n("HealthLakeClient", "ListFHIRExportJobsCommand")
924
- .f(void 0, void 0)
925
- .ser(se_ListFHIRExportJobsCommand)
926
- .de(de_ListFHIRExportJobsCommand)
822
+ .sc(ListFHIRExportJobs)
927
823
  .build() {
928
824
  }
929
825
 
@@ -931,16 +827,11 @@ class ListFHIRImportJobsCommand extends smithyClient.Command
931
827
  .classBuilder()
932
828
  .ep(commonParams)
933
829
  .m(function (Command, cs, config, o) {
934
- return [
935
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
936
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
937
- ];
830
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
938
831
  })
939
832
  .s("HealthLake", "ListFHIRImportJobs", {})
940
833
  .n("HealthLakeClient", "ListFHIRImportJobsCommand")
941
- .f(void 0, void 0)
942
- .ser(se_ListFHIRImportJobsCommand)
943
- .de(de_ListFHIRImportJobsCommand)
834
+ .sc(ListFHIRImportJobs)
944
835
  .build() {
945
836
  }
946
837
 
@@ -948,16 +839,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
948
839
  .classBuilder()
949
840
  .ep(commonParams)
950
841
  .m(function (Command, cs, config, o) {
951
- return [
952
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
953
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
954
- ];
842
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
955
843
  })
956
844
  .s("HealthLake", "ListTagsForResource", {})
957
845
  .n("HealthLakeClient", "ListTagsForResourceCommand")
958
- .f(void 0, void 0)
959
- .ser(se_ListTagsForResourceCommand)
960
- .de(de_ListTagsForResourceCommand)
846
+ .sc(ListTagsForResource)
961
847
  .build() {
962
848
  }
963
849
 
@@ -965,16 +851,11 @@ class StartFHIRExportJobCommand extends smithyClient.Command
965
851
  .classBuilder()
966
852
  .ep(commonParams)
967
853
  .m(function (Command, cs, config, o) {
968
- return [
969
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
970
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
971
- ];
854
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
972
855
  })
973
856
  .s("HealthLake", "StartFHIRExportJob", {})
974
857
  .n("HealthLakeClient", "StartFHIRExportJobCommand")
975
- .f(void 0, void 0)
976
- .ser(se_StartFHIRExportJobCommand)
977
- .de(de_StartFHIRExportJobCommand)
858
+ .sc(StartFHIRExportJob)
978
859
  .build() {
979
860
  }
980
861
 
@@ -982,16 +863,11 @@ class StartFHIRImportJobCommand extends smithyClient.Command
982
863
  .classBuilder()
983
864
  .ep(commonParams)
984
865
  .m(function (Command, cs, config, o) {
985
- return [
986
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
987
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
988
- ];
866
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
989
867
  })
990
868
  .s("HealthLake", "StartFHIRImportJob", {})
991
869
  .n("HealthLakeClient", "StartFHIRImportJobCommand")
992
- .f(void 0, void 0)
993
- .ser(se_StartFHIRImportJobCommand)
994
- .de(de_StartFHIRImportJobCommand)
870
+ .sc(StartFHIRImportJob)
995
871
  .build() {
996
872
  }
997
873
 
@@ -999,16 +875,11 @@ class TagResourceCommand extends smithyClient.Command
999
875
  .classBuilder()
1000
876
  .ep(commonParams)
1001
877
  .m(function (Command, cs, config, o) {
1002
- return [
1003
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1004
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1005
- ];
878
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1006
879
  })
1007
880
  .s("HealthLake", "TagResource", {})
1008
881
  .n("HealthLakeClient", "TagResourceCommand")
1009
- .f(void 0, void 0)
1010
- .ser(se_TagResourceCommand)
1011
- .de(de_TagResourceCommand)
882
+ .sc(TagResource)
1012
883
  .build() {
1013
884
  }
1014
885
 
@@ -1016,16 +887,11 @@ class UntagResourceCommand extends smithyClient.Command
1016
887
  .classBuilder()
1017
888
  .ep(commonParams)
1018
889
  .m(function (Command, cs, config, o) {
1019
- return [
1020
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1021
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1022
- ];
890
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1023
891
  })
1024
892
  .s("HealthLake", "UntagResource", {})
1025
893
  .n("HealthLakeClient", "UntagResourceCommand")
1026
- .f(void 0, void 0)
1027
- .ser(se_UntagResourceCommand)
1028
- .de(de_UntagResourceCommand)
894
+ .sc(UntagResource)
1029
895
  .build() {
1030
896
  }
1031
897
 
@@ -1254,10 +1120,10 @@ Object.defineProperty(exports, "__Client", {
1254
1120
  enumerable: true,
1255
1121
  get: function () { return smithyClient.Client; }
1256
1122
  });
1257
- exports.AccessDeniedException = AccessDeniedException;
1123
+ exports.AccessDeniedException = AccessDeniedException$1;
1258
1124
  exports.AuthorizationStrategy = AuthorizationStrategy;
1259
1125
  exports.CmkType = CmkType;
1260
- exports.ConflictException = ConflictException;
1126
+ exports.ConflictException = ConflictException$1;
1261
1127
  exports.CreateFHIRDatastoreCommand = CreateFHIRDatastoreCommand;
1262
1128
  exports.DatastoreStatus = DatastoreStatus;
1263
1129
  exports.DeleteFHIRDatastoreCommand = DeleteFHIRDatastoreCommand;
@@ -1268,21 +1134,21 @@ exports.ErrorCategory = ErrorCategory;
1268
1134
  exports.FHIRVersion = FHIRVersion;
1269
1135
  exports.HealthLake = HealthLake;
1270
1136
  exports.HealthLakeClient = HealthLakeClient;
1271
- exports.HealthLakeServiceException = HealthLakeServiceException;
1272
- exports.InternalServerException = InternalServerException;
1137
+ exports.HealthLakeServiceException = HealthLakeServiceException$1;
1138
+ exports.InternalServerException = InternalServerException$1;
1273
1139
  exports.JobStatus = JobStatus;
1274
1140
  exports.ListFHIRDatastoresCommand = ListFHIRDatastoresCommand;
1275
1141
  exports.ListFHIRExportJobsCommand = ListFHIRExportJobsCommand;
1276
1142
  exports.ListFHIRImportJobsCommand = ListFHIRImportJobsCommand;
1277
1143
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1278
1144
  exports.PreloadDataType = PreloadDataType;
1279
- exports.ResourceNotFoundException = ResourceNotFoundException;
1145
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1280
1146
  exports.StartFHIRExportJobCommand = StartFHIRExportJobCommand;
1281
1147
  exports.StartFHIRImportJobCommand = StartFHIRImportJobCommand;
1282
1148
  exports.TagResourceCommand = TagResourceCommand;
1283
- exports.ThrottlingException = ThrottlingException;
1149
+ exports.ThrottlingException = ThrottlingException$1;
1284
1150
  exports.UntagResourceCommand = UntagResourceCommand;
1285
- exports.ValidationException = ValidationException;
1151
+ exports.ValidationException = ValidationException$1;
1286
1152
  exports.ValidationLevel = ValidationLevel;
1287
1153
  exports.paginateListFHIRDatastores = paginateListFHIRDatastores;
1288
1154
  exports.paginateListFHIRExportJobs = paginateListFHIRExportJobs;