@aws-sdk/client-healthlake 3.873.0 → 3.878.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 (40) hide show
  1. package/README.md +3 -2
  2. package/dist-cjs/index.js +225 -4
  3. package/dist-es/index.js +1 -0
  4. package/dist-es/models/models_0.js +5 -0
  5. package/dist-es/protocols/Aws_json1_0.js +2 -0
  6. package/dist-es/waiters/index.js +4 -0
  7. package/dist-es/waiters/waitForFHIRDatastoreActive.js +49 -0
  8. package/dist-es/waiters/waitForFHIRDatastoreDeleted.js +31 -0
  9. package/dist-es/waiters/waitForFHIRExportJobCompleted.js +67 -0
  10. package/dist-es/waiters/waitForFHIRImportJobCompleted.js +49 -0
  11. package/dist-types/HealthLake.d.ts +3 -2
  12. package/dist-types/HealthLakeClient.d.ts +3 -2
  13. package/dist-types/commands/CreateFHIRDatastoreCommand.d.ts +2 -2
  14. package/dist-types/commands/DeleteFHIRDatastoreCommand.d.ts +5 -4
  15. package/dist-types/commands/DescribeFHIRDatastoreCommand.d.ts +3 -4
  16. package/dist-types/commands/DescribeFHIRExportJobCommand.d.ts +3 -3
  17. package/dist-types/commands/DescribeFHIRImportJobCommand.d.ts +4 -3
  18. package/dist-types/commands/ListFHIRDatastoresCommand.d.ts +3 -2
  19. package/dist-types/commands/ListFHIRExportJobsCommand.d.ts +3 -5
  20. package/dist-types/commands/ListFHIRImportJobsCommand.d.ts +4 -5
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -4
  22. package/dist-types/commands/StartFHIRExportJobCommand.d.ts +3 -3
  23. package/dist-types/commands/StartFHIRImportJobCommand.d.ts +6 -3
  24. package/dist-types/commands/TagResourceCommand.d.ts +2 -4
  25. package/dist-types/commands/UntagResourceCommand.d.ts +2 -4
  26. package/dist-types/index.d.ts +4 -2
  27. package/dist-types/models/models_0.d.ts +224 -230
  28. package/dist-types/ts3.4/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +9 -0
  30. package/dist-types/ts3.4/waiters/index.d.ts +4 -0
  31. package/dist-types/ts3.4/waiters/waitForFHIRDatastoreActive.d.ts +11 -0
  32. package/dist-types/ts3.4/waiters/waitForFHIRDatastoreDeleted.d.ts +11 -0
  33. package/dist-types/ts3.4/waiters/waitForFHIRExportJobCompleted.d.ts +11 -0
  34. package/dist-types/ts3.4/waiters/waitForFHIRImportJobCompleted.d.ts +11 -0
  35. package/dist-types/waiters/index.d.ts +4 -0
  36. package/dist-types/waiters/waitForFHIRDatastoreActive.d.ts +14 -0
  37. package/dist-types/waiters/waitForFHIRDatastoreDeleted.d.ts +14 -0
  38. package/dist-types/waiters/waitForFHIRExportJobCompleted.d.ts +14 -0
  39. package/dist-types/waiters/waitForFHIRImportJobCompleted.d.ts +14 -0
  40. package/package.json +7 -6
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { HealthLakeExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./waiters";
8
9
  export * from "./models";
9
10
  export { HealthLakeServiceException } from "./models/HealthLakeServiceException";
@@ -239,6 +239,13 @@ export interface JobProgressReport {
239
239
  TotalNumberOfFilesReadWithCustomerError?: number | undefined;
240
240
  Throughput?: number | undefined;
241
241
  }
242
+ export declare const ValidationLevel: {
243
+ readonly MINIMAL: "minimal";
244
+ readonly STRICT: "strict";
245
+ readonly STRUCTURE_ONLY: "structure-only";
246
+ };
247
+ export type ValidationLevel =
248
+ (typeof ValidationLevel)[keyof typeof ValidationLevel];
242
249
  export interface ImportJobProperties {
243
250
  JobId: string | undefined;
244
251
  JobName?: string | undefined;
@@ -251,6 +258,7 @@ export interface ImportJobProperties {
251
258
  JobProgressReport?: JobProgressReport | undefined;
252
259
  DataAccessRoleArn?: string | undefined;
253
260
  Message?: string | undefined;
261
+ ValidationLevel?: ValidationLevel | undefined;
254
262
  }
255
263
  export interface DescribeFHIRImportJobResponse {
256
264
  ImportJobProperties: ImportJobProperties | undefined;
@@ -315,6 +323,7 @@ export interface StartFHIRImportJobRequest {
315
323
  DatastoreId: string | undefined;
316
324
  DataAccessRoleArn: string | undefined;
317
325
  ClientToken?: string | undefined;
326
+ ValidationLevel?: ValidationLevel | undefined;
318
327
  }
319
328
  export interface StartFHIRImportJobResponse {
320
329
  JobId: string | undefined;
@@ -0,0 +1,4 @@
1
+ export * from "./waitForFHIRDatastoreActive";
2
+ export * from "./waitForFHIRDatastoreDeleted";
3
+ export * from "./waitForFHIRExportJobCompleted";
4
+ export * from "./waitForFHIRImportJobCompleted";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeFHIRDatastoreCommandInput } from "../commands/DescribeFHIRDatastoreCommand";
3
+ import { HealthLakeClient } from "../HealthLakeClient";
4
+ export declare const waitForFHIRDatastoreActive: (
5
+ params: WaiterConfiguration<HealthLakeClient>,
6
+ input: DescribeFHIRDatastoreCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilFHIRDatastoreActive: (
9
+ params: WaiterConfiguration<HealthLakeClient>,
10
+ input: DescribeFHIRDatastoreCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeFHIRDatastoreCommandInput } from "../commands/DescribeFHIRDatastoreCommand";
3
+ import { HealthLakeClient } from "../HealthLakeClient";
4
+ export declare const waitForFHIRDatastoreDeleted: (
5
+ params: WaiterConfiguration<HealthLakeClient>,
6
+ input: DescribeFHIRDatastoreCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilFHIRDatastoreDeleted: (
9
+ params: WaiterConfiguration<HealthLakeClient>,
10
+ input: DescribeFHIRDatastoreCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeFHIRExportJobCommandInput } from "../commands/DescribeFHIRExportJobCommand";
3
+ import { HealthLakeClient } from "../HealthLakeClient";
4
+ export declare const waitForFHIRExportJobCompleted: (
5
+ params: WaiterConfiguration<HealthLakeClient>,
6
+ input: DescribeFHIRExportJobCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilFHIRExportJobCompleted: (
9
+ params: WaiterConfiguration<HealthLakeClient>,
10
+ input: DescribeFHIRExportJobCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeFHIRImportJobCommandInput } from "../commands/DescribeFHIRImportJobCommand";
3
+ import { HealthLakeClient } from "../HealthLakeClient";
4
+ export declare const waitForFHIRImportJobCompleted: (
5
+ params: WaiterConfiguration<HealthLakeClient>,
6
+ input: DescribeFHIRImportJobCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilFHIRImportJobCompleted: (
9
+ params: WaiterConfiguration<HealthLakeClient>,
10
+ input: DescribeFHIRImportJobCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,4 @@
1
+ export * from "./waitForFHIRDatastoreActive";
2
+ export * from "./waitForFHIRDatastoreDeleted";
3
+ export * from "./waitForFHIRExportJobCompleted";
4
+ export * from "./waitForFHIRImportJobCompleted";
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeFHIRDatastoreCommandInput } from "../commands/DescribeFHIRDatastoreCommand";
3
+ import { HealthLakeClient } from "../HealthLakeClient";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilFHIRDatastoreActive instead. waitForFHIRDatastoreActive does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForFHIRDatastoreActive: (params: WaiterConfiguration<HealthLakeClient>, input: DescribeFHIRDatastoreCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeFHIRDatastoreCommand for polling.
13
+ */
14
+ export declare const waitUntilFHIRDatastoreActive: (params: WaiterConfiguration<HealthLakeClient>, input: DescribeFHIRDatastoreCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeFHIRDatastoreCommandInput } from "../commands/DescribeFHIRDatastoreCommand";
3
+ import { HealthLakeClient } from "../HealthLakeClient";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilFHIRDatastoreDeleted instead. waitForFHIRDatastoreDeleted does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForFHIRDatastoreDeleted: (params: WaiterConfiguration<HealthLakeClient>, input: DescribeFHIRDatastoreCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeFHIRDatastoreCommand for polling.
13
+ */
14
+ export declare const waitUntilFHIRDatastoreDeleted: (params: WaiterConfiguration<HealthLakeClient>, input: DescribeFHIRDatastoreCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeFHIRExportJobCommandInput } from "../commands/DescribeFHIRExportJobCommand";
3
+ import { HealthLakeClient } from "../HealthLakeClient";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilFHIRExportJobCompleted instead. waitForFHIRExportJobCompleted does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForFHIRExportJobCompleted: (params: WaiterConfiguration<HealthLakeClient>, input: DescribeFHIRExportJobCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeFHIRExportJobCommand for polling.
13
+ */
14
+ export declare const waitUntilFHIRExportJobCompleted: (params: WaiterConfiguration<HealthLakeClient>, input: DescribeFHIRExportJobCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeFHIRImportJobCommandInput } from "../commands/DescribeFHIRImportJobCommand";
3
+ import { HealthLakeClient } from "../HealthLakeClient";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilFHIRImportJobCompleted instead. waitForFHIRImportJobCompleted does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForFHIRImportJobCompleted: (params: WaiterConfiguration<HealthLakeClient>, input: DescribeFHIRImportJobCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeFHIRImportJobCommand for polling.
13
+ */
14
+ export declare const waitUntilFHIRImportJobCompleted: (params: WaiterConfiguration<HealthLakeClient>, input: DescribeFHIRImportJobCommandInput) => Promise<WaiterResult>;
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.873.0",
4
+ "version": "3.878.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,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.873.0",
24
- "@aws-sdk/credential-provider-node": "3.873.0",
23
+ "@aws-sdk/core": "3.876.0",
24
+ "@aws-sdk/credential-provider-node": "3.876.0",
25
25
  "@aws-sdk/middleware-host-header": "3.873.0",
26
- "@aws-sdk/middleware-logger": "3.873.0",
26
+ "@aws-sdk/middleware-logger": "3.876.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.873.0",
28
- "@aws-sdk/middleware-user-agent": "3.873.0",
28
+ "@aws-sdk/middleware-user-agent": "3.876.0",
29
29
  "@aws-sdk/region-config-resolver": "3.873.0",
30
30
  "@aws-sdk/types": "3.862.0",
31
31
  "@aws-sdk/util-endpoints": "3.873.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.873.0",
33
- "@aws-sdk/util-user-agent-node": "3.873.0",
33
+ "@aws-sdk/util-user-agent-node": "3.876.0",
34
34
  "@smithy/config-resolver": "^4.1.5",
35
35
  "@smithy/core": "^3.8.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.1",
@@ -56,6 +56,7 @@
56
56
  "@smithy/util-middleware": "^4.0.5",
57
57
  "@smithy/util-retry": "^4.0.7",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
+ "@smithy/util-waiter": "^4.0.7",
59
60
  "@types/uuid": "^9.0.1",
60
61
  "tslib": "^2.6.2",
61
62
  "uuid": "^9.0.1"