@aws-sdk/client-healthlake 3.514.0 → 3.515.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 +13 -0
- package/dist-es/protocols/Aws_json1_0.js +14 -1
- package/dist-types/commands/DescribeFHIRImportJobCommand.d.ts +10 -0
- package/dist-types/commands/ListFHIRImportJobsCommand.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +54 -3
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -853,6 +853,7 @@ var de_ImportJobProperties = /* @__PURE__ */ __name((output, context) => {
|
|
|
853
853
|
JobId: import_smithy_client.expectString,
|
|
854
854
|
JobName: import_smithy_client.expectString,
|
|
855
855
|
JobOutputDataConfig: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
856
|
+
JobProgressReport: (_) => de_JobProgressReport(_, context),
|
|
856
857
|
JobStatus: import_smithy_client.expectString,
|
|
857
858
|
Message: import_smithy_client.expectString,
|
|
858
859
|
SubmitTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
@@ -864,6 +865,18 @@ var de_ImportJobPropertiesList = /* @__PURE__ */ __name((output, context) => {
|
|
|
864
865
|
});
|
|
865
866
|
return retVal;
|
|
866
867
|
}, "de_ImportJobPropertiesList");
|
|
868
|
+
var de_JobProgressReport = /* @__PURE__ */ __name((output, context) => {
|
|
869
|
+
return (0, import_smithy_client.take)(output, {
|
|
870
|
+
Throughput: import_smithy_client.limitedParseDouble,
|
|
871
|
+
TotalNumberOfFilesReadWithCustomerError: import_smithy_client.expectLong,
|
|
872
|
+
TotalNumberOfImportedFiles: import_smithy_client.expectLong,
|
|
873
|
+
TotalNumberOfResourcesImported: import_smithy_client.expectLong,
|
|
874
|
+
TotalNumberOfResourcesScanned: import_smithy_client.expectLong,
|
|
875
|
+
TotalNumberOfResourcesWithCustomerError: import_smithy_client.expectLong,
|
|
876
|
+
TotalNumberOfScannedFiles: import_smithy_client.expectLong,
|
|
877
|
+
TotalSizeOfScannedFilesInMB: import_smithy_client.limitedParseDouble
|
|
878
|
+
});
|
|
879
|
+
}, "de_JobProgressReport");
|
|
867
880
|
var de_ListFHIRDatastoresResponse = /* @__PURE__ */ __name((output, context) => {
|
|
868
881
|
return (0, import_smithy_client.take)(output, {
|
|
869
882
|
DatastorePropertiesList: (_) => de_DatastorePropertiesList(_, context),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { HealthLakeServiceException as __BaseException } from "../models/HealthLakeServiceException";
|
|
6
6
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -473,6 +473,7 @@ const de_ImportJobProperties = (output, context) => {
|
|
|
473
473
|
JobId: __expectString,
|
|
474
474
|
JobName: __expectString,
|
|
475
475
|
JobOutputDataConfig: (_) => _json(__expectUnion(_)),
|
|
476
|
+
JobProgressReport: (_) => de_JobProgressReport(_, context),
|
|
476
477
|
JobStatus: __expectString,
|
|
477
478
|
Message: __expectString,
|
|
478
479
|
SubmitTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -486,6 +487,18 @@ const de_ImportJobPropertiesList = (output, context) => {
|
|
|
486
487
|
});
|
|
487
488
|
return retVal;
|
|
488
489
|
};
|
|
490
|
+
const de_JobProgressReport = (output, context) => {
|
|
491
|
+
return take(output, {
|
|
492
|
+
Throughput: __limitedParseDouble,
|
|
493
|
+
TotalNumberOfFilesReadWithCustomerError: __expectLong,
|
|
494
|
+
TotalNumberOfImportedFiles: __expectLong,
|
|
495
|
+
TotalNumberOfResourcesImported: __expectLong,
|
|
496
|
+
TotalNumberOfResourcesScanned: __expectLong,
|
|
497
|
+
TotalNumberOfResourcesWithCustomerError: __expectLong,
|
|
498
|
+
TotalNumberOfScannedFiles: __expectLong,
|
|
499
|
+
TotalSizeOfScannedFilesInMB: __limitedParseDouble,
|
|
500
|
+
});
|
|
501
|
+
};
|
|
489
502
|
const de_ListFHIRDatastoresResponse = (output, context) => {
|
|
490
503
|
return take(output, {
|
|
491
504
|
DatastorePropertiesList: (_) => de_DatastorePropertiesList(_, context),
|
|
@@ -56,6 +56,16 @@ declare const DescribeFHIRImportJobCommand_base: {
|
|
|
56
56
|
* // KmsKeyId: "STRING_VALUE", // required
|
|
57
57
|
* // },
|
|
58
58
|
* // },
|
|
59
|
+
* // JobProgressReport: { // JobProgressReport
|
|
60
|
+
* // TotalNumberOfScannedFiles: Number("long"),
|
|
61
|
+
* // TotalSizeOfScannedFilesInMB: Number("double"),
|
|
62
|
+
* // TotalNumberOfImportedFiles: Number("long"),
|
|
63
|
+
* // TotalNumberOfResourcesScanned: Number("long"),
|
|
64
|
+
* // TotalNumberOfResourcesImported: Number("long"),
|
|
65
|
+
* // TotalNumberOfResourcesWithCustomerError: Number("long"),
|
|
66
|
+
* // TotalNumberOfFilesReadWithCustomerError: Number("long"),
|
|
67
|
+
* // Throughput: Number("double"),
|
|
68
|
+
* // },
|
|
59
69
|
* // DataAccessRoleArn: "STRING_VALUE",
|
|
60
70
|
* // Message: "STRING_VALUE",
|
|
61
71
|
* // },
|
|
@@ -64,6 +64,16 @@ declare const ListFHIRImportJobsCommand_base: {
|
|
|
64
64
|
* // KmsKeyId: "STRING_VALUE", // required
|
|
65
65
|
* // },
|
|
66
66
|
* // },
|
|
67
|
+
* // JobProgressReport: { // JobProgressReport
|
|
68
|
+
* // TotalNumberOfScannedFiles: Number("long"),
|
|
69
|
+
* // TotalSizeOfScannedFilesInMB: Number("double"),
|
|
70
|
+
* // TotalNumberOfImportedFiles: Number("long"),
|
|
71
|
+
* // TotalNumberOfResourcesScanned: Number("long"),
|
|
72
|
+
* // TotalNumberOfResourcesImported: Number("long"),
|
|
73
|
+
* // TotalNumberOfResourcesWithCustomerError: Number("long"),
|
|
74
|
+
* // TotalNumberOfFilesReadWithCustomerError: Number("long"),
|
|
75
|
+
* // Throughput: Number("double"),
|
|
76
|
+
* // },
|
|
67
77
|
* // DataAccessRoleArn: "STRING_VALUE",
|
|
68
78
|
* // Message: "STRING_VALUE",
|
|
69
79
|
* // },
|
|
@@ -655,7 +655,53 @@ export declare namespace InputDataConfig {
|
|
|
655
655
|
}
|
|
656
656
|
/**
|
|
657
657
|
* @public
|
|
658
|
-
* <p>
|
|
658
|
+
* <p>The progress report of an import job.</p>
|
|
659
|
+
*/
|
|
660
|
+
export interface JobProgressReport {
|
|
661
|
+
/**
|
|
662
|
+
* @public
|
|
663
|
+
* <p>The number of files scanned from input S3 bucket.</p>
|
|
664
|
+
*/
|
|
665
|
+
TotalNumberOfScannedFiles?: number;
|
|
666
|
+
/**
|
|
667
|
+
* @public
|
|
668
|
+
* <p>The size (in MB) of the files scanned from the input S3 bucket.</p>
|
|
669
|
+
*/
|
|
670
|
+
TotalSizeOfScannedFilesInMB?: number;
|
|
671
|
+
/**
|
|
672
|
+
* @public
|
|
673
|
+
* <p>The number of files imported so far.</p>
|
|
674
|
+
*/
|
|
675
|
+
TotalNumberOfImportedFiles?: number;
|
|
676
|
+
/**
|
|
677
|
+
* @public
|
|
678
|
+
* <p>The number of resources scanned from the input S3 bucket.</p>
|
|
679
|
+
*/
|
|
680
|
+
TotalNumberOfResourcesScanned?: number;
|
|
681
|
+
/**
|
|
682
|
+
* @public
|
|
683
|
+
* <p>The number of resources imported so far.</p>
|
|
684
|
+
*/
|
|
685
|
+
TotalNumberOfResourcesImported?: number;
|
|
686
|
+
/**
|
|
687
|
+
* @public
|
|
688
|
+
* <p>The number of resources that failed due to customer error.</p>
|
|
689
|
+
*/
|
|
690
|
+
TotalNumberOfResourcesWithCustomerError?: number;
|
|
691
|
+
/**
|
|
692
|
+
* @public
|
|
693
|
+
* <p>The number of files that failed to be read from the input S3 bucket due to customer error.</p>
|
|
694
|
+
*/
|
|
695
|
+
TotalNumberOfFilesReadWithCustomerError?: number;
|
|
696
|
+
/**
|
|
697
|
+
* @public
|
|
698
|
+
* <p>The throughput (in MB/sec) of the import job.</p>
|
|
699
|
+
*/
|
|
700
|
+
Throughput?: number;
|
|
701
|
+
}
|
|
702
|
+
/**
|
|
703
|
+
* @public
|
|
704
|
+
* <p>Displays the properties of the import job, including the ID, Arn, Name, the status of the job, and the progress report of the job.</p>
|
|
659
705
|
*/
|
|
660
706
|
export interface ImportJobProperties {
|
|
661
707
|
/**
|
|
@@ -698,6 +744,11 @@ export interface ImportJobProperties {
|
|
|
698
744
|
* <p>The output data configuration that was supplied when the export job was created.</p>
|
|
699
745
|
*/
|
|
700
746
|
JobOutputDataConfig?: OutputDataConfig;
|
|
747
|
+
/**
|
|
748
|
+
* @public
|
|
749
|
+
* <p>Displays the progress of the import job, including total resources scanned, total resources ingested, and total size of data ingested.</p>
|
|
750
|
+
*/
|
|
751
|
+
JobProgressReport?: JobProgressReport;
|
|
701
752
|
/**
|
|
702
753
|
* @public
|
|
703
754
|
* <p>The Amazon Resource Name (ARN) that gives AWS HealthLake access to your input data.</p>
|
|
@@ -715,7 +766,7 @@ export interface ImportJobProperties {
|
|
|
715
766
|
export interface DescribeFHIRImportJobResponse {
|
|
716
767
|
/**
|
|
717
768
|
* @public
|
|
718
|
-
* <p>The properties of the Import job request, including the ID, ARN, name, and the
|
|
769
|
+
* <p>The properties of the Import job request, including the ID, ARN, name, status of the job, and the progress report of the job.</p>
|
|
719
770
|
*/
|
|
720
771
|
ImportJobProperties: ImportJobProperties | undefined;
|
|
721
772
|
}
|
|
@@ -888,7 +939,7 @@ export interface ListFHIRImportJobsResponse {
|
|
|
888
939
|
/**
|
|
889
940
|
* @public
|
|
890
941
|
* <p>
|
|
891
|
-
* The properties of a listed FHIR import jobs, including the ID, ARN, name, and the
|
|
942
|
+
* The properties of a listed FHIR import jobs, including the ID, ARN, name, the status of the job, and the progress report of the job.
|
|
892
943
|
* </p>
|
|
893
944
|
*/
|
|
894
945
|
ImportJobPropertiesList: ImportJobProperties[] | undefined;
|
|
@@ -216,6 +216,16 @@ export declare namespace InputDataConfig {
|
|
|
216
216
|
}
|
|
217
217
|
const visit: <T>(value: InputDataConfig, visitor: Visitor<T>) => T;
|
|
218
218
|
}
|
|
219
|
+
export interface JobProgressReport {
|
|
220
|
+
TotalNumberOfScannedFiles?: number;
|
|
221
|
+
TotalSizeOfScannedFilesInMB?: number;
|
|
222
|
+
TotalNumberOfImportedFiles?: number;
|
|
223
|
+
TotalNumberOfResourcesScanned?: number;
|
|
224
|
+
TotalNumberOfResourcesImported?: number;
|
|
225
|
+
TotalNumberOfResourcesWithCustomerError?: number;
|
|
226
|
+
TotalNumberOfFilesReadWithCustomerError?: number;
|
|
227
|
+
Throughput?: number;
|
|
228
|
+
}
|
|
219
229
|
export interface ImportJobProperties {
|
|
220
230
|
JobId: string | undefined;
|
|
221
231
|
JobName?: string;
|
|
@@ -225,6 +235,7 @@ export interface ImportJobProperties {
|
|
|
225
235
|
DatastoreId: string | undefined;
|
|
226
236
|
InputDataConfig: InputDataConfig | undefined;
|
|
227
237
|
JobOutputDataConfig?: OutputDataConfig;
|
|
238
|
+
JobProgressReport?: JobProgressReport;
|
|
228
239
|
DataAccessRoleArn?: string;
|
|
229
240
|
Message?: string;
|
|
230
241
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-healthlake",
|
|
3
3
|
"description": "AWS SDK for JavaScript Healthlake Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.515.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,18 +20,18 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.515.0",
|
|
24
24
|
"@aws-sdk/core": "3.513.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.515.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.515.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.515.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.515.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.515.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.515.0",
|
|
31
|
+
"@aws-sdk/types": "3.515.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.515.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.515.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.515.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.1.1",
|
|
36
36
|
"@smithy/core": "^1.3.2",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.1",
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"@smithy/util-retry": "^2.1.1",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"tslib": "^2.5.0",
|
|
61
|
-
"uuid": "^
|
|
61
|
+
"uuid": "^9.0.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@smithy/service-client-documentation-generator": "^2.1.1",
|
|
65
65
|
"@tsconfig/node14": "1.0.3",
|
|
66
66
|
"@types/node": "^14.14.31",
|
|
67
|
-
"@types/uuid": "^
|
|
67
|
+
"@types/uuid": "^9.0.4",
|
|
68
68
|
"concurrently": "7.0.0",
|
|
69
69
|
"downlevel-dts": "0.10.1",
|
|
70
70
|
"rimraf": "3.0.2",
|