@aws-sdk/client-healthlake 3.1087.0 → 3.1089.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/README.md +113 -3
- package/dist-cjs/index.js +733 -31
- package/dist-es/HealthLake.js +30 -0
- package/dist-es/commands/CreateDataTransformationProfileCommand.js +4 -0
- package/dist-es/commands/DeleteDataTransformationProfileCommand.js +4 -0
- package/dist-es/commands/DescribeDataTransformationJobCommand.js +4 -0
- package/dist-es/commands/GetDataTransformationProfileCommand.js +4 -0
- package/dist-es/commands/ListDataTransformationJobsCommand.js +4 -0
- package/dist-es/commands/ListDataTransformationProfileVersionsCommand.js +4 -0
- package/dist-es/commands/ListDataTransformationProfilesCommand.js +4 -0
- package/dist-es/commands/PublishDataTransformationProfileCommand.js +4 -0
- package/dist-es/commands/StartDataTransformationJobCommand.js +4 -0
- package/dist-es/commands/UpdateDataTransformationProfileCommand.js +4 -0
- package/dist-es/commands/UpdateProfileWithAgentCommand.js +4 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/models/errors.js +114 -16
- package/dist-es/pagination/ListDataTransformationJobsPaginator.js +4 -0
- package/dist-es/pagination/ListDataTransformationProfileVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListDataTransformationProfilesPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +405 -15
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForDataTransformationJobCompleted.js +52 -0
- package/dist-types/HealthLake.d.ts +106 -3
- package/dist-types/HealthLakeClient.d.ts +14 -5
- package/dist-types/commands/CreateDataTransformationProfileCommand.d.ts +121 -0
- package/dist-types/commands/CreateFHIRDatastoreCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDataTransformationProfileCommand.d.ts +88 -0
- package/dist-types/commands/DeleteFHIRDatastoreCommand.d.ts +1 -2
- package/dist-types/commands/DescribeDataTransformationJobCommand.d.ts +115 -0
- package/dist-types/commands/DescribeFHIRDatastoreCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFHIRImportJobCommand.d.ts +9 -0
- package/dist-types/commands/GetDataTransformationProfileCommand.d.ts +97 -0
- package/dist-types/commands/ListDataTransformationJobsCommand.d.ts +98 -0
- package/dist-types/commands/ListDataTransformationProfileVersionsCommand.d.ts +99 -0
- package/dist-types/commands/ListDataTransformationProfilesCommand.d.ts +96 -0
- package/dist-types/commands/ListFHIRDatastoresCommand.d.ts +2 -3
- package/dist-types/commands/ListFHIRImportJobsCommand.d.ts +9 -0
- package/dist-types/commands/PublishDataTransformationProfileCommand.d.ts +97 -0
- package/dist-types/commands/StartDataTransformationJobCommand.d.ts +102 -0
- package/dist-types/commands/StartFHIRExportJobCommand.d.ts +3 -0
- package/dist-types/commands/StartFHIRImportJobCommand.d.ts +7 -3
- package/dist-types/commands/UpdateDataTransformationProfileCommand.d.ts +94 -0
- package/dist-types/commands/UpdateFHIRDatastoreCommand.d.ts +5 -6
- package/dist-types/commands/UpdateProfileWithAgentCommand.d.ts +114 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/index.d.ts +1 -3
- package/dist-types/models/enums.d.ts +68 -0
- package/dist-types/models/errors.d.ts +137 -15
- package/dist-types/models/models_0.d.ts +1066 -93
- package/dist-types/pagination/ListDataTransformationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataTransformationProfileVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataTransformationProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +55 -0
- package/dist-types/ts3.4/HealthLake.d.ts +269 -56
- package/dist-types/ts3.4/HealthLakeClient.d.ts +74 -20
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CreateDataTransformationProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateFHIRDatastoreCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteDataTransformationProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteFHIRDatastoreCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DescribeDataTransformationJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeFHIRDatastoreCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DescribeFHIRExportJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DescribeFHIRImportJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetDataTransformationProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListDataTransformationJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListDataTransformationProfileVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListDataTransformationProfilesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListFHIRDatastoresCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListFHIRExportJobsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListFHIRImportJobsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/PublishDataTransformationProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartDataTransformationJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartFHIRExportJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/StartFHIRImportJobCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateDataTransformationProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateFHIRDatastoreCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateProfileWithAgentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +40 -8
- package/dist-types/ts3.4/models/errors.d.ts +55 -23
- package/dist-types/ts3.4/models/models_0.d.ts +277 -4
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListDataTransformationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataTransformationProfileVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataTransformationProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +55 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForDataTransformationJobCompleted.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForFHIRDatastoreActive.d.ts +3 -5
- package/dist-types/ts3.4/waiters/waitForFHIRDatastoreDeleted.d.ts +3 -5
- package/dist-types/ts3.4/waiters/waitForFHIRExportJobCompleted.d.ts +3 -5
- package/dist-types/ts3.4/waiters/waitForFHIRImportJobCompleted.d.ts +3 -5
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForDataTransformationJobCompleted.d.ts +15 -0
- package/package.json +38 -38
package/dist-es/waiters/index.js
CHANGED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
|
|
2
|
+
import { DescribeDataTransformationJobCommand, } from "../commands/DescribeDataTransformationJobCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new DescribeDataTransformationJobCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.TransformationJobProperties.JobStatus;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "COMPLETED") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
try {
|
|
18
|
+
const returnComparator = () => {
|
|
19
|
+
return result.TransformationJobProperties.JobStatus;
|
|
20
|
+
};
|
|
21
|
+
if (returnComparator() === "COMPLETED_WITH_ERRORS") {
|
|
22
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
catch (e) { }
|
|
26
|
+
try {
|
|
27
|
+
const returnComparator = () => {
|
|
28
|
+
return result.TransformationJobProperties.JobStatus;
|
|
29
|
+
};
|
|
30
|
+
if (returnComparator() === "FAILED") {
|
|
31
|
+
return { state: WaiterState.FAILURE, reason };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
catch (e) { }
|
|
35
|
+
}
|
|
36
|
+
catch (exception) {
|
|
37
|
+
reason = exception;
|
|
38
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
39
|
+
return { state: WaiterState.FAILURE, reason };
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return { state: WaiterState.RETRY, reason };
|
|
43
|
+
};
|
|
44
|
+
export const waitForDataTransformationJobCompleted = async (params, input) => {
|
|
45
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
46
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
47
|
+
};
|
|
48
|
+
export const waitUntilDataTransformationJobCompleted = async (params, input) => {
|
|
49
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
50
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
51
|
+
return checkExceptions(result);
|
|
52
|
+
};
|
|
@@ -1,33 +1,62 @@
|
|
|
1
1
|
import { type WaiterResult } from "@smithy/core/client";
|
|
2
2
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
3
|
+
import { type CreateDataTransformationProfileCommandInput, type CreateDataTransformationProfileCommandOutput } from "./commands/CreateDataTransformationProfileCommand";
|
|
3
4
|
import { type CreateFHIRDatastoreCommandInput, type CreateFHIRDatastoreCommandOutput } from "./commands/CreateFHIRDatastoreCommand";
|
|
5
|
+
import { type DeleteDataTransformationProfileCommandInput, type DeleteDataTransformationProfileCommandOutput } from "./commands/DeleteDataTransformationProfileCommand";
|
|
4
6
|
import { type DeleteFHIRDatastoreCommandInput, type DeleteFHIRDatastoreCommandOutput } from "./commands/DeleteFHIRDatastoreCommand";
|
|
7
|
+
import { type DescribeDataTransformationJobCommandInput, type DescribeDataTransformationJobCommandOutput } from "./commands/DescribeDataTransformationJobCommand";
|
|
5
8
|
import { type DescribeFHIRDatastoreCommandInput, type DescribeFHIRDatastoreCommandOutput } from "./commands/DescribeFHIRDatastoreCommand";
|
|
6
9
|
import { type DescribeFHIRExportJobCommandInput, type DescribeFHIRExportJobCommandOutput } from "./commands/DescribeFHIRExportJobCommand";
|
|
7
10
|
import { type DescribeFHIRImportJobCommandInput, type DescribeFHIRImportJobCommandOutput } from "./commands/DescribeFHIRImportJobCommand";
|
|
11
|
+
import { type GetDataTransformationProfileCommandInput, type GetDataTransformationProfileCommandOutput } from "./commands/GetDataTransformationProfileCommand";
|
|
12
|
+
import { type ListDataTransformationJobsCommandInput, type ListDataTransformationJobsCommandOutput } from "./commands/ListDataTransformationJobsCommand";
|
|
13
|
+
import { type ListDataTransformationProfilesCommandInput, type ListDataTransformationProfilesCommandOutput } from "./commands/ListDataTransformationProfilesCommand";
|
|
14
|
+
import { type ListDataTransformationProfileVersionsCommandInput, type ListDataTransformationProfileVersionsCommandOutput } from "./commands/ListDataTransformationProfileVersionsCommand";
|
|
8
15
|
import { type ListFHIRDatastoresCommandInput, type ListFHIRDatastoresCommandOutput } from "./commands/ListFHIRDatastoresCommand";
|
|
9
16
|
import { type ListFHIRExportJobsCommandInput, type ListFHIRExportJobsCommandOutput } from "./commands/ListFHIRExportJobsCommand";
|
|
10
17
|
import { type ListFHIRImportJobsCommandInput, type ListFHIRImportJobsCommandOutput } from "./commands/ListFHIRImportJobsCommand";
|
|
11
18
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
19
|
+
import { type PublishDataTransformationProfileCommandInput, type PublishDataTransformationProfileCommandOutput } from "./commands/PublishDataTransformationProfileCommand";
|
|
20
|
+
import { type StartDataTransformationJobCommandInput, type StartDataTransformationJobCommandOutput } from "./commands/StartDataTransformationJobCommand";
|
|
12
21
|
import { type StartFHIRExportJobCommandInput, type StartFHIRExportJobCommandOutput } from "./commands/StartFHIRExportJobCommand";
|
|
13
22
|
import { type StartFHIRImportJobCommandInput, type StartFHIRImportJobCommandOutput } from "./commands/StartFHIRImportJobCommand";
|
|
14
23
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
15
24
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
25
|
+
import { type UpdateDataTransformationProfileCommandInput, type UpdateDataTransformationProfileCommandOutput } from "./commands/UpdateDataTransformationProfileCommand";
|
|
16
26
|
import { type UpdateFHIRDatastoreCommandInput, type UpdateFHIRDatastoreCommandOutput } from "./commands/UpdateFHIRDatastoreCommand";
|
|
27
|
+
import { type UpdateProfileWithAgentCommandInput, type UpdateProfileWithAgentCommandOutput } from "./commands/UpdateProfileWithAgentCommand";
|
|
17
28
|
import { HealthLakeClient } from "./HealthLakeClient";
|
|
18
29
|
export interface HealthLake {
|
|
30
|
+
/**
|
|
31
|
+
* @see {@link CreateDataTransformationProfileCommand}
|
|
32
|
+
*/
|
|
33
|
+
createDataTransformationProfile(args: CreateDataTransformationProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataTransformationProfileCommandOutput>;
|
|
34
|
+
createDataTransformationProfile(args: CreateDataTransformationProfileCommandInput, cb: (err: any, data?: CreateDataTransformationProfileCommandOutput) => void): void;
|
|
35
|
+
createDataTransformationProfile(args: CreateDataTransformationProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataTransformationProfileCommandOutput) => void): void;
|
|
19
36
|
/**
|
|
20
37
|
* @see {@link CreateFHIRDatastoreCommand}
|
|
21
38
|
*/
|
|
22
39
|
createFHIRDatastore(args: CreateFHIRDatastoreCommandInput, options?: __HttpHandlerOptions): Promise<CreateFHIRDatastoreCommandOutput>;
|
|
23
40
|
createFHIRDatastore(args: CreateFHIRDatastoreCommandInput, cb: (err: any, data?: CreateFHIRDatastoreCommandOutput) => void): void;
|
|
24
41
|
createFHIRDatastore(args: CreateFHIRDatastoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFHIRDatastoreCommandOutput) => void): void;
|
|
42
|
+
/**
|
|
43
|
+
* @see {@link DeleteDataTransformationProfileCommand}
|
|
44
|
+
*/
|
|
45
|
+
deleteDataTransformationProfile(args: DeleteDataTransformationProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataTransformationProfileCommandOutput>;
|
|
46
|
+
deleteDataTransformationProfile(args: DeleteDataTransformationProfileCommandInput, cb: (err: any, data?: DeleteDataTransformationProfileCommandOutput) => void): void;
|
|
47
|
+
deleteDataTransformationProfile(args: DeleteDataTransformationProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataTransformationProfileCommandOutput) => void): void;
|
|
25
48
|
/**
|
|
26
49
|
* @see {@link DeleteFHIRDatastoreCommand}
|
|
27
50
|
*/
|
|
28
51
|
deleteFHIRDatastore(args: DeleteFHIRDatastoreCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFHIRDatastoreCommandOutput>;
|
|
29
52
|
deleteFHIRDatastore(args: DeleteFHIRDatastoreCommandInput, cb: (err: any, data?: DeleteFHIRDatastoreCommandOutput) => void): void;
|
|
30
53
|
deleteFHIRDatastore(args: DeleteFHIRDatastoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFHIRDatastoreCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* @see {@link DescribeDataTransformationJobCommand}
|
|
56
|
+
*/
|
|
57
|
+
describeDataTransformationJob(args: DescribeDataTransformationJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDataTransformationJobCommandOutput>;
|
|
58
|
+
describeDataTransformationJob(args: DescribeDataTransformationJobCommandInput, cb: (err: any, data?: DescribeDataTransformationJobCommandOutput) => void): void;
|
|
59
|
+
describeDataTransformationJob(args: DescribeDataTransformationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDataTransformationJobCommandOutput) => void): void;
|
|
31
60
|
/**
|
|
32
61
|
* @see {@link DescribeFHIRDatastoreCommand}
|
|
33
62
|
*/
|
|
@@ -46,6 +75,31 @@ export interface HealthLake {
|
|
|
46
75
|
describeFHIRImportJob(args: DescribeFHIRImportJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFHIRImportJobCommandOutput>;
|
|
47
76
|
describeFHIRImportJob(args: DescribeFHIRImportJobCommandInput, cb: (err: any, data?: DescribeFHIRImportJobCommandOutput) => void): void;
|
|
48
77
|
describeFHIRImportJob(args: DescribeFHIRImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFHIRImportJobCommandOutput) => void): void;
|
|
78
|
+
/**
|
|
79
|
+
* @see {@link GetDataTransformationProfileCommand}
|
|
80
|
+
*/
|
|
81
|
+
getDataTransformationProfile(args: GetDataTransformationProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetDataTransformationProfileCommandOutput>;
|
|
82
|
+
getDataTransformationProfile(args: GetDataTransformationProfileCommandInput, cb: (err: any, data?: GetDataTransformationProfileCommandOutput) => void): void;
|
|
83
|
+
getDataTransformationProfile(args: GetDataTransformationProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataTransformationProfileCommandOutput) => void): void;
|
|
84
|
+
/**
|
|
85
|
+
* @see {@link ListDataTransformationJobsCommand}
|
|
86
|
+
*/
|
|
87
|
+
listDataTransformationJobs(): Promise<ListDataTransformationJobsCommandOutput>;
|
|
88
|
+
listDataTransformationJobs(args: ListDataTransformationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListDataTransformationJobsCommandOutput>;
|
|
89
|
+
listDataTransformationJobs(args: ListDataTransformationJobsCommandInput, cb: (err: any, data?: ListDataTransformationJobsCommandOutput) => void): void;
|
|
90
|
+
listDataTransformationJobs(args: ListDataTransformationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataTransformationJobsCommandOutput) => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link ListDataTransformationProfilesCommand}
|
|
93
|
+
*/
|
|
94
|
+
listDataTransformationProfiles(args: ListDataTransformationProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListDataTransformationProfilesCommandOutput>;
|
|
95
|
+
listDataTransformationProfiles(args: ListDataTransformationProfilesCommandInput, cb: (err: any, data?: ListDataTransformationProfilesCommandOutput) => void): void;
|
|
96
|
+
listDataTransformationProfiles(args: ListDataTransformationProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataTransformationProfilesCommandOutput) => void): void;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link ListDataTransformationProfileVersionsCommand}
|
|
99
|
+
*/
|
|
100
|
+
listDataTransformationProfileVersions(args: ListDataTransformationProfileVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListDataTransformationProfileVersionsCommandOutput>;
|
|
101
|
+
listDataTransformationProfileVersions(args: ListDataTransformationProfileVersionsCommandInput, cb: (err: any, data?: ListDataTransformationProfileVersionsCommandOutput) => void): void;
|
|
102
|
+
listDataTransformationProfileVersions(args: ListDataTransformationProfileVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataTransformationProfileVersionsCommandOutput) => void): void;
|
|
49
103
|
/**
|
|
50
104
|
* @see {@link ListFHIRDatastoresCommand}
|
|
51
105
|
*/
|
|
@@ -71,6 +125,18 @@ export interface HealthLake {
|
|
|
71
125
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
72
126
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
73
127
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
128
|
+
/**
|
|
129
|
+
* @see {@link PublishDataTransformationProfileCommand}
|
|
130
|
+
*/
|
|
131
|
+
publishDataTransformationProfile(args: PublishDataTransformationProfileCommandInput, options?: __HttpHandlerOptions): Promise<PublishDataTransformationProfileCommandOutput>;
|
|
132
|
+
publishDataTransformationProfile(args: PublishDataTransformationProfileCommandInput, cb: (err: any, data?: PublishDataTransformationProfileCommandOutput) => void): void;
|
|
133
|
+
publishDataTransformationProfile(args: PublishDataTransformationProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishDataTransformationProfileCommandOutput) => void): void;
|
|
134
|
+
/**
|
|
135
|
+
* @see {@link StartDataTransformationJobCommand}
|
|
136
|
+
*/
|
|
137
|
+
startDataTransformationJob(args: StartDataTransformationJobCommandInput, options?: __HttpHandlerOptions): Promise<StartDataTransformationJobCommandOutput>;
|
|
138
|
+
startDataTransformationJob(args: StartDataTransformationJobCommandInput, cb: (err: any, data?: StartDataTransformationJobCommandOutput) => void): void;
|
|
139
|
+
startDataTransformationJob(args: StartDataTransformationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDataTransformationJobCommandOutput) => void): void;
|
|
74
140
|
/**
|
|
75
141
|
* @see {@link StartFHIRExportJobCommand}
|
|
76
142
|
*/
|
|
@@ -95,12 +161,45 @@ export interface HealthLake {
|
|
|
95
161
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
96
162
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
97
163
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
164
|
+
/**
|
|
165
|
+
* @see {@link UpdateDataTransformationProfileCommand}
|
|
166
|
+
*/
|
|
167
|
+
updateDataTransformationProfile(args: UpdateDataTransformationProfileCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataTransformationProfileCommandOutput>;
|
|
168
|
+
updateDataTransformationProfile(args: UpdateDataTransformationProfileCommandInput, cb: (err: any, data?: UpdateDataTransformationProfileCommandOutput) => void): void;
|
|
169
|
+
updateDataTransformationProfile(args: UpdateDataTransformationProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataTransformationProfileCommandOutput) => void): void;
|
|
98
170
|
/**
|
|
99
171
|
* @see {@link UpdateFHIRDatastoreCommand}
|
|
100
172
|
*/
|
|
101
173
|
updateFHIRDatastore(args: UpdateFHIRDatastoreCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFHIRDatastoreCommandOutput>;
|
|
102
174
|
updateFHIRDatastore(args: UpdateFHIRDatastoreCommandInput, cb: (err: any, data?: UpdateFHIRDatastoreCommandOutput) => void): void;
|
|
103
175
|
updateFHIRDatastore(args: UpdateFHIRDatastoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFHIRDatastoreCommandOutput) => void): void;
|
|
176
|
+
/**
|
|
177
|
+
* @see {@link UpdateProfileWithAgentCommand}
|
|
178
|
+
*/
|
|
179
|
+
updateProfileWithAgent(args: UpdateProfileWithAgentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProfileWithAgentCommandOutput>;
|
|
180
|
+
updateProfileWithAgent(args: UpdateProfileWithAgentCommandInput, cb: (err: any, data?: UpdateProfileWithAgentCommandOutput) => void): void;
|
|
181
|
+
updateProfileWithAgent(args: UpdateProfileWithAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProfileWithAgentCommandOutput) => void): void;
|
|
182
|
+
/**
|
|
183
|
+
* @see {@link ListDataTransformationJobsCommand}
|
|
184
|
+
* @param args - command input.
|
|
185
|
+
* @param paginationConfig - optional pagination config.
|
|
186
|
+
* @returns AsyncIterable of {@link ListDataTransformationJobsCommandOutput}.
|
|
187
|
+
*/
|
|
188
|
+
paginateListDataTransformationJobs(args?: ListDataTransformationJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataTransformationJobsCommandOutput>;
|
|
189
|
+
/**
|
|
190
|
+
* @see {@link ListDataTransformationProfilesCommand}
|
|
191
|
+
* @param args - command input.
|
|
192
|
+
* @param paginationConfig - optional pagination config.
|
|
193
|
+
* @returns AsyncIterable of {@link ListDataTransformationProfilesCommandOutput}.
|
|
194
|
+
*/
|
|
195
|
+
paginateListDataTransformationProfiles(args: ListDataTransformationProfilesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataTransformationProfilesCommandOutput>;
|
|
196
|
+
/**
|
|
197
|
+
* @see {@link ListDataTransformationProfileVersionsCommand}
|
|
198
|
+
* @param args - command input.
|
|
199
|
+
* @param paginationConfig - optional pagination config.
|
|
200
|
+
* @returns AsyncIterable of {@link ListDataTransformationProfileVersionsCommandOutput}.
|
|
201
|
+
*/
|
|
202
|
+
paginateListDataTransformationProfileVersions(args: ListDataTransformationProfileVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataTransformationProfileVersionsCommandOutput>;
|
|
104
203
|
/**
|
|
105
204
|
* @see {@link ListFHIRDatastoresCommand}
|
|
106
205
|
* @param args - command input.
|
|
@@ -122,6 +221,12 @@ export interface HealthLake {
|
|
|
122
221
|
* @returns AsyncIterable of {@link ListFHIRImportJobsCommandOutput}.
|
|
123
222
|
*/
|
|
124
223
|
paginateListFHIRImportJobs(args: ListFHIRImportJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFHIRImportJobsCommandOutput>;
|
|
224
|
+
/**
|
|
225
|
+
* @see {@link DescribeDataTransformationJobCommand}
|
|
226
|
+
* @param args - command input.
|
|
227
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
228
|
+
*/
|
|
229
|
+
waitUntilDataTransformationJobCompleted(args: DescribeDataTransformationJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<HealthLake>, "client">): Promise<WaiterResult<DescribeDataTransformationJobCommandOutput>>;
|
|
125
230
|
/**
|
|
126
231
|
* @see {@link DescribeFHIRDatastoreCommand}
|
|
127
232
|
* @param args - command input.
|
|
@@ -148,9 +253,7 @@ export interface HealthLake {
|
|
|
148
253
|
waitUntilFHIRImportJobCompleted(args: DescribeFHIRImportJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<HealthLake>, "client">): Promise<WaiterResult<DescribeFHIRImportJobCommandOutput>>;
|
|
149
254
|
}
|
|
150
255
|
/**
|
|
151
|
-
* <p>This is the <i>AWS HealthLake API Reference</i>. For an introduction to
|
|
152
|
-
* the service, see <a href="https://docs.aws.amazon.com/healthlake/latest/devguide/what-is.html">What is AWS HealthLake?</a> in the <i>AWS HealthLake Developer
|
|
153
|
-
* Guide</i>.</p>
|
|
256
|
+
* <p>This is the <i>AWS HealthLake API Reference</i>. For an introduction to the service, see <a href="https://docs.aws.amazon.com/healthlake/latest/devguide/what-is.html">What is AWS HealthLake?</a> in the <i>AWS HealthLake Developer Guide</i>.</p>
|
|
154
257
|
* @public
|
|
155
258
|
*/
|
|
156
259
|
export declare class HealthLake extends HealthLakeClient implements HealthLake {
|
|
@@ -6,31 +6,42 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
|
|
|
6
6
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
7
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
8
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { CreateDataTransformationProfileCommandInput, CreateDataTransformationProfileCommandOutput } from "./commands/CreateDataTransformationProfileCommand";
|
|
9
10
|
import type { CreateFHIRDatastoreCommandInput, CreateFHIRDatastoreCommandOutput } from "./commands/CreateFHIRDatastoreCommand";
|
|
11
|
+
import type { DeleteDataTransformationProfileCommandInput, DeleteDataTransformationProfileCommandOutput } from "./commands/DeleteDataTransformationProfileCommand";
|
|
10
12
|
import type { DeleteFHIRDatastoreCommandInput, DeleteFHIRDatastoreCommandOutput } from "./commands/DeleteFHIRDatastoreCommand";
|
|
13
|
+
import type { DescribeDataTransformationJobCommandInput, DescribeDataTransformationJobCommandOutput } from "./commands/DescribeDataTransformationJobCommand";
|
|
11
14
|
import type { DescribeFHIRDatastoreCommandInput, DescribeFHIRDatastoreCommandOutput } from "./commands/DescribeFHIRDatastoreCommand";
|
|
12
15
|
import type { DescribeFHIRExportJobCommandInput, DescribeFHIRExportJobCommandOutput } from "./commands/DescribeFHIRExportJobCommand";
|
|
13
16
|
import type { DescribeFHIRImportJobCommandInput, DescribeFHIRImportJobCommandOutput } from "./commands/DescribeFHIRImportJobCommand";
|
|
17
|
+
import type { GetDataTransformationProfileCommandInput, GetDataTransformationProfileCommandOutput } from "./commands/GetDataTransformationProfileCommand";
|
|
18
|
+
import type { ListDataTransformationJobsCommandInput, ListDataTransformationJobsCommandOutput } from "./commands/ListDataTransformationJobsCommand";
|
|
19
|
+
import type { ListDataTransformationProfilesCommandInput, ListDataTransformationProfilesCommandOutput } from "./commands/ListDataTransformationProfilesCommand";
|
|
20
|
+
import type { ListDataTransformationProfileVersionsCommandInput, ListDataTransformationProfileVersionsCommandOutput } from "./commands/ListDataTransformationProfileVersionsCommand";
|
|
14
21
|
import type { ListFHIRDatastoresCommandInput, ListFHIRDatastoresCommandOutput } from "./commands/ListFHIRDatastoresCommand";
|
|
15
22
|
import type { ListFHIRExportJobsCommandInput, ListFHIRExportJobsCommandOutput } from "./commands/ListFHIRExportJobsCommand";
|
|
16
23
|
import type { ListFHIRImportJobsCommandInput, ListFHIRImportJobsCommandOutput } from "./commands/ListFHIRImportJobsCommand";
|
|
17
24
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
25
|
+
import type { PublishDataTransformationProfileCommandInput, PublishDataTransformationProfileCommandOutput } from "./commands/PublishDataTransformationProfileCommand";
|
|
26
|
+
import type { StartDataTransformationJobCommandInput, StartDataTransformationJobCommandOutput } from "./commands/StartDataTransformationJobCommand";
|
|
18
27
|
import type { StartFHIRExportJobCommandInput, StartFHIRExportJobCommandOutput } from "./commands/StartFHIRExportJobCommand";
|
|
19
28
|
import type { StartFHIRImportJobCommandInput, StartFHIRImportJobCommandOutput } from "./commands/StartFHIRImportJobCommand";
|
|
20
29
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
21
30
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
31
|
+
import type { UpdateDataTransformationProfileCommandInput, UpdateDataTransformationProfileCommandOutput } from "./commands/UpdateDataTransformationProfileCommand";
|
|
22
32
|
import type { UpdateFHIRDatastoreCommandInput, UpdateFHIRDatastoreCommandOutput } from "./commands/UpdateFHIRDatastoreCommand";
|
|
33
|
+
import type { UpdateProfileWithAgentCommandInput, UpdateProfileWithAgentCommandOutput } from "./commands/UpdateProfileWithAgentCommand";
|
|
23
34
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
24
35
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
25
36
|
export { __Client };
|
|
26
37
|
/**
|
|
27
38
|
* @public
|
|
28
39
|
*/
|
|
29
|
-
export type ServiceInputTypes = CreateFHIRDatastoreCommandInput | DeleteFHIRDatastoreCommandInput | DescribeFHIRDatastoreCommandInput | DescribeFHIRExportJobCommandInput | DescribeFHIRImportJobCommandInput | ListFHIRDatastoresCommandInput | ListFHIRExportJobsCommandInput | ListFHIRImportJobsCommandInput | ListTagsForResourceCommandInput | StartFHIRExportJobCommandInput | StartFHIRImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFHIRDatastoreCommandInput;
|
|
40
|
+
export type ServiceInputTypes = CreateDataTransformationProfileCommandInput | CreateFHIRDatastoreCommandInput | DeleteDataTransformationProfileCommandInput | DeleteFHIRDatastoreCommandInput | DescribeDataTransformationJobCommandInput | DescribeFHIRDatastoreCommandInput | DescribeFHIRExportJobCommandInput | DescribeFHIRImportJobCommandInput | GetDataTransformationProfileCommandInput | ListDataTransformationJobsCommandInput | ListDataTransformationProfileVersionsCommandInput | ListDataTransformationProfilesCommandInput | ListFHIRDatastoresCommandInput | ListFHIRExportJobsCommandInput | ListFHIRImportJobsCommandInput | ListTagsForResourceCommandInput | PublishDataTransformationProfileCommandInput | StartDataTransformationJobCommandInput | StartFHIRExportJobCommandInput | StartFHIRImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDataTransformationProfileCommandInput | UpdateFHIRDatastoreCommandInput | UpdateProfileWithAgentCommandInput;
|
|
30
41
|
/**
|
|
31
42
|
* @public
|
|
32
43
|
*/
|
|
33
|
-
export type ServiceOutputTypes = CreateFHIRDatastoreCommandOutput | DeleteFHIRDatastoreCommandOutput | DescribeFHIRDatastoreCommandOutput | DescribeFHIRExportJobCommandOutput | DescribeFHIRImportJobCommandOutput | ListFHIRDatastoresCommandOutput | ListFHIRExportJobsCommandOutput | ListFHIRImportJobsCommandOutput | ListTagsForResourceCommandOutput | StartFHIRExportJobCommandOutput | StartFHIRImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFHIRDatastoreCommandOutput;
|
|
44
|
+
export type ServiceOutputTypes = CreateDataTransformationProfileCommandOutput | CreateFHIRDatastoreCommandOutput | DeleteDataTransformationProfileCommandOutput | DeleteFHIRDatastoreCommandOutput | DescribeDataTransformationJobCommandOutput | DescribeFHIRDatastoreCommandOutput | DescribeFHIRExportJobCommandOutput | DescribeFHIRImportJobCommandOutput | GetDataTransformationProfileCommandOutput | ListDataTransformationJobsCommandOutput | ListDataTransformationProfileVersionsCommandOutput | ListDataTransformationProfilesCommandOutput | ListFHIRDatastoresCommandOutput | ListFHIRExportJobsCommandOutput | ListFHIRImportJobsCommandOutput | ListTagsForResourceCommandOutput | PublishDataTransformationProfileCommandOutput | StartDataTransformationJobCommandOutput | StartFHIRExportJobCommandOutput | StartFHIRImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDataTransformationProfileCommandOutput | UpdateFHIRDatastoreCommandOutput | UpdateProfileWithAgentCommandOutput;
|
|
34
45
|
/**
|
|
35
46
|
* @public
|
|
36
47
|
*/
|
|
@@ -182,9 +193,7 @@ export type HealthLakeClientResolvedConfigType = __SmithyResolvedConfiguration<_
|
|
|
182
193
|
export interface HealthLakeClientResolvedConfig extends HealthLakeClientResolvedConfigType {
|
|
183
194
|
}
|
|
184
195
|
/**
|
|
185
|
-
* <p>This is the <i>AWS HealthLake API Reference</i>. For an introduction to
|
|
186
|
-
* the service, see <a href="https://docs.aws.amazon.com/healthlake/latest/devguide/what-is.html">What is AWS HealthLake?</a> in the <i>AWS HealthLake Developer
|
|
187
|
-
* Guide</i>.</p>
|
|
196
|
+
* <p>This is the <i>AWS HealthLake API Reference</i>. For an introduction to the service, see <a href="https://docs.aws.amazon.com/healthlake/latest/devguide/what-is.html">What is AWS HealthLake?</a> in the <i>AWS HealthLake Developer Guide</i>.</p>
|
|
188
197
|
* @public
|
|
189
198
|
*/
|
|
190
199
|
export declare class HealthLakeClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, HealthLakeClientResolvedConfig> {
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateDataTransformationProfileRequest, CreateDataTransformationProfileResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateDataTransformationProfileCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateDataTransformationProfileCommandInput extends CreateDataTransformationProfileRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateDataTransformationProfileCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateDataTransformationProfileCommandOutput extends CreateDataTransformationProfileResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateDataTransformationProfileCommand_base: {
|
|
22
|
+
new (input: CreateDataTransformationProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateDataTransformationProfileCommandInput, CreateDataTransformationProfileCommandOutput, import("..").HealthLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateDataTransformationProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateDataTransformationProfileCommandInput, CreateDataTransformationProfileCommandOutput, import("..").HealthLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a data transformation profile in DRAFT state. Specify a built-in starter profile, an existing profile version, raw profile content, or a sample data file as the source.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { HealthLakeClient, CreateDataTransformationProfileCommand } from "@aws-sdk/client-healthlake"; // ES Modules import
|
|
32
|
+
* // const { HealthLakeClient, CreateDataTransformationProfileCommand } = require("@aws-sdk/client-healthlake"); // CommonJS import
|
|
33
|
+
* // import type { HealthLakeClientConfig } from "@aws-sdk/client-healthlake";
|
|
34
|
+
* const config = {}; // type is HealthLakeClientConfig
|
|
35
|
+
* const client = new HealthLakeClient(config);
|
|
36
|
+
* const input = { // CreateDataTransformationProfileRequest
|
|
37
|
+
* SourceFormat: "CCDA" || "CSV", // required
|
|
38
|
+
* Source: { // CreateDataTransformationProfileSource Union: only one key present
|
|
39
|
+
* StarterProfile: { // StarterProfileSource
|
|
40
|
+
* StarterProfileName: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ExistingVersionedProfileId: { // ExistingVersionedProfileSource
|
|
43
|
+
* ProfileId: "STRING_VALUE", // required
|
|
44
|
+
* Version: Number("int"), // required
|
|
45
|
+
* },
|
|
46
|
+
* ProfileMapping: { // ProfileMappingSource
|
|
47
|
+
* ProfileMapping: { // StringMap // required
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* SampleData: { // SampleDataSource
|
|
52
|
+
* S3Uri: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* KmsKeyId: "STRING_VALUE",
|
|
56
|
+
* ProfileDescription: "STRING_VALUE",
|
|
57
|
+
* ProfileName: "STRING_VALUE", // required
|
|
58
|
+
* Tags: { // TagMap
|
|
59
|
+
* "<keys>": "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* ClientToken: "STRING_VALUE",
|
|
62
|
+
* };
|
|
63
|
+
* const command = new CreateDataTransformationProfileCommand(input);
|
|
64
|
+
* const response = await client.send(command);
|
|
65
|
+
* // { // CreateDataTransformationProfileResponse
|
|
66
|
+
* // ProfileId: "STRING_VALUE", // required
|
|
67
|
+
* // Version: Number("int"), // required
|
|
68
|
+
* // SourceFormat: "CCDA" || "CSV", // required
|
|
69
|
+
* // TargetFormat: "FHIR_R4", // required
|
|
70
|
+
* // ProfileName: "STRING_VALUE", // required
|
|
71
|
+
* // LastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param CreateDataTransformationProfileCommandInput - {@link CreateDataTransformationProfileCommandInput}
|
|
77
|
+
* @returns {@link CreateDataTransformationProfileCommandOutput}
|
|
78
|
+
* @see {@link CreateDataTransformationProfileCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link CreateDataTransformationProfileCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link HealthLakeClientResolvedConfig | config} for HealthLakeClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
83
|
+
* <p>Access is denied. Your account is not authorized to perform this operation.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ConflictException} (client fault)
|
|
86
|
+
* <p>The data store is in a transition state and the user requested action cannot be performed.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalServerException} (server fault)
|
|
89
|
+
* <p>An unknown internal error occurred in the service.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
92
|
+
* <p>The requested data store was not found.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
95
|
+
* The request exceeds the service quota.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
98
|
+
* <p>The user has exceeded their maximum number of allowed calls to the given API. </p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ValidationException} (client fault)
|
|
101
|
+
* <p>The user input parameter was invalid.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link HealthLakeServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from HealthLake service.</p>
|
|
105
|
+
*
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class CreateDataTransformationProfileCommand extends CreateDataTransformationProfileCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: CreateDataTransformationProfileRequest;
|
|
114
|
+
output: CreateDataTransformationProfileResponse;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: CreateDataTransformationProfileCommandInput;
|
|
118
|
+
output: CreateDataTransformationProfileCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -62,7 +62,7 @@ declare const CreateFHIRDatastoreCommand_base: {
|
|
|
62
62
|
* Status: "ENABLED" || "ENABLING" || "DISABLED" || "DISABLING" || "PAUSING" || "PAUSED",
|
|
63
63
|
* },
|
|
64
64
|
* NlpConfiguration: { // NlpConfiguration
|
|
65
|
-
* Status: "ENABLED" || "
|
|
65
|
+
* Status: "ENABLED" || "ENABLING" || "DISABLED" || "DISABLING",
|
|
66
66
|
* },
|
|
67
67
|
* ProfileConfiguration: { // ProfileConfiguration
|
|
68
68
|
* DefaultProfiles: [ // DefaultProfiles
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteDataTransformationProfileRequest, DeleteDataTransformationProfileResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteDataTransformationProfileCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteDataTransformationProfileCommandInput extends DeleteDataTransformationProfileRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteDataTransformationProfileCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteDataTransformationProfileCommandOutput extends DeleteDataTransformationProfileResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteDataTransformationProfileCommand_base: {
|
|
22
|
+
new (input: DeleteDataTransformationProfileCommandInput): import("@smithy/core/client").CommandImpl<DeleteDataTransformationProfileCommandInput, DeleteDataTransformationProfileCommandOutput, import("..").HealthLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteDataTransformationProfileCommandInput): import("@smithy/core/client").CommandImpl<DeleteDataTransformationProfileCommandInput, DeleteDataTransformationProfileCommandOutput, import("..").HealthLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes a data transformation profile and all its versions, including the DRAFT and all published versions.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { HealthLakeClient, DeleteDataTransformationProfileCommand } from "@aws-sdk/client-healthlake"; // ES Modules import
|
|
32
|
+
* // const { HealthLakeClient, DeleteDataTransformationProfileCommand } = require("@aws-sdk/client-healthlake"); // CommonJS import
|
|
33
|
+
* // import type { HealthLakeClientConfig } from "@aws-sdk/client-healthlake";
|
|
34
|
+
* const config = {}; // type is HealthLakeClientConfig
|
|
35
|
+
* const client = new HealthLakeClient(config);
|
|
36
|
+
* const input = { // DeleteDataTransformationProfileRequest
|
|
37
|
+
* ProfileId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteDataTransformationProfileCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DeleteDataTransformationProfileResponse
|
|
42
|
+
* // ProfileId: "STRING_VALUE", // required
|
|
43
|
+
* // ProfileName: "STRING_VALUE",
|
|
44
|
+
* // DeletionTime: new Date("TIMESTAMP"), // required
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteDataTransformationProfileCommandInput - {@link DeleteDataTransformationProfileCommandInput}
|
|
50
|
+
* @returns {@link DeleteDataTransformationProfileCommandOutput}
|
|
51
|
+
* @see {@link DeleteDataTransformationProfileCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteDataTransformationProfileCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link HealthLakeClientResolvedConfig | config} for HealthLakeClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>Access is denied. Your account is not authorized to perform this operation.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>An unknown internal error occurred in the service.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The requested data store was not found.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The user has exceeded their maximum number of allowed calls to the given API. </p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The user input parameter was invalid.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link HealthLakeServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from HealthLake service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteDataTransformationProfileCommand extends DeleteDataTransformationProfileCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DeleteDataTransformationProfileRequest;
|
|
81
|
+
output: DeleteDataTransformationProfileResponse;
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DeleteDataTransformationProfileCommandInput;
|
|
85
|
+
output: DeleteDataTransformationProfileCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -57,8 +57,7 @@ declare const DeleteFHIRDatastoreCommand_base: {
|
|
|
57
57
|
* <p>Access is denied. Your account is not authorized to perform this operation.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ConflictException} (client fault)
|
|
60
|
-
* <p>The data store is in a transition state and the user requested action cannot be
|
|
61
|
-
* performed.</p>
|
|
60
|
+
* <p>The data store is in a transition state and the user requested action cannot be performed.</p>
|
|
62
61
|
*
|
|
63
62
|
* @throws {@link InternalServerException} (server fault)
|
|
64
63
|
* <p>An unknown internal error occurred in the service.</p>
|