@aws-sdk/client-healthlake 3.1120.0 → 3.1122.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 (35) hide show
  1. package/README.md +8 -1
  2. package/dist-cjs/index.js +79 -7
  3. package/dist-es/HealthLake.js +2 -0
  4. package/dist-es/commands/RestoreFHIRDatastoreCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +7 -0
  7. package/dist-es/schemas/schemas_0.js +57 -6
  8. package/dist-types/HealthLake.d.ts +8 -1
  9. package/dist-types/HealthLakeClient.d.ts +4 -3
  10. package/dist-types/commands/CreateDataTransformationProfileCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateFHIRDatastoreCommand.d.ts +6 -0
  12. package/dist-types/commands/DescribeFHIRDatastoreCommand.d.ts +12 -0
  13. package/dist-types/commands/ListDataTransformationJobsCommand.d.ts +1 -1
  14. package/dist-types/commands/ListFHIRDatastoresCommand.d.ts +12 -0
  15. package/dist-types/commands/PublishDataTransformationProfileCommand.d.ts +1 -1
  16. package/dist-types/commands/RestoreFHIRDatastoreCommand.d.ts +152 -0
  17. package/dist-types/commands/StartDataTransformationJobCommand.d.ts +1 -1
  18. package/dist-types/commands/StartFHIRExportJobCommand.d.ts +1 -1
  19. package/dist-types/commands/StartFHIRImportJobCommand.d.ts +1 -1
  20. package/dist-types/commands/UpdateFHIRDatastoreCommand.d.ts +73 -0
  21. package/dist-types/commands/UpdateProfileWithAgentCommand.d.ts +1 -1
  22. package/dist-types/commands/index.d.ts +1 -0
  23. package/dist-types/index.d.ts +1 -1
  24. package/dist-types/models/enums.d.ts +23 -0
  25. package/dist-types/models/errors.d.ts +3 -3
  26. package/dist-types/models/models_0.d.ts +236 -45
  27. package/dist-types/schemas/schemas_0.d.ts +7 -0
  28. package/dist-types/ts3.4/HealthLake.d.ts +17 -0
  29. package/dist-types/ts3.4/HealthLakeClient.d.ts +6 -0
  30. package/dist-types/ts3.4/commands/RestoreFHIRDatastoreCommand.d.ts +39 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  32. package/dist-types/ts3.4/models/enums.d.ts +9 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +56 -0
  34. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  35. package/package.json +1 -1
@@ -0,0 +1,152 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { RestoreFHIRDatastoreRequest, RestoreFHIRDatastoreResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link RestoreFHIRDatastoreCommand}.
11
+ */
12
+ export interface RestoreFHIRDatastoreCommandInput extends RestoreFHIRDatastoreRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link RestoreFHIRDatastoreCommand}.
18
+ */
19
+ export interface RestoreFHIRDatastoreCommandOutput extends RestoreFHIRDatastoreResponse, __MetadataBearer {
20
+ }
21
+ declare const RestoreFHIRDatastoreCommand_base: {
22
+ new (input: RestoreFHIRDatastoreCommandInput): import("@smithy/core/client").CommandImpl<RestoreFHIRDatastoreCommandInput, RestoreFHIRDatastoreCommandOutput, import("..").HealthLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: RestoreFHIRDatastoreCommandInput): import("@smithy/core/client").CommandImpl<RestoreFHIRDatastoreCommandInput, RestoreFHIRDatastoreCommandOutput, import("..").HealthLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Restore a backup-enabled data store to a point in time. Creates a new data store from the backup.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { HealthLakeClient, RestoreFHIRDatastoreCommand } from "@aws-sdk/client-healthlake"; // ES Modules import
32
+ * // const { HealthLakeClient, RestoreFHIRDatastoreCommand } = 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 = { // RestoreFHIRDatastoreRequest
37
+ * SourceDatastoreId: "STRING_VALUE", // required
38
+ * RestoreConfiguration: { // RestoreConfiguration Union: only one key present
39
+ * ContinuousBackupRestoreConfiguration: { // ContinuousBackupRestoreConfiguration
40
+ * RestorePointTime: new Date("TIMESTAMP"),
41
+ * },
42
+ * },
43
+ * DatastoreName: "STRING_VALUE",
44
+ * SseConfiguration: { // SseConfiguration
45
+ * KmsEncryptionConfig: { // KmsEncryptionConfig
46
+ * CmkType: "CUSTOMER_MANAGED_KMS_KEY" || "AWS_OWNED_KMS_KEY", // required
47
+ * KmsKeyId: "STRING_VALUE",
48
+ * },
49
+ * },
50
+ * ClientToken: "STRING_VALUE",
51
+ * Tags: [ // TagList
52
+ * { // Tag
53
+ * Key: "STRING_VALUE", // required
54
+ * Value: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * IdentityProviderConfiguration: { // IdentityProviderConfiguration
58
+ * AuthorizationStrategy: "SMART_ON_FHIR_V1" || "SMART_ON_FHIR" || "AWS_AUTH", // required
59
+ * FineGrainedAuthorizationEnabled: true || false,
60
+ * Metadata: "STRING_VALUE",
61
+ * IdpLambdaArn: "STRING_VALUE",
62
+ * },
63
+ * AnalyticsConfiguration: { // AnalyticsConfiguration
64
+ * Status: "ENABLED" || "ENABLING" || "DISABLED" || "DISABLING" || "PAUSING" || "PAUSED",
65
+ * },
66
+ * NlpConfiguration: { // NlpConfiguration
67
+ * Status: "ENABLED" || "ENABLING" || "DISABLED" || "DISABLING",
68
+ * },
69
+ * ProfileConfiguration: { // ProfileConfiguration
70
+ * DefaultProfiles: [ // DefaultProfiles
71
+ * "STRING_VALUE",
72
+ * ],
73
+ * },
74
+ * };
75
+ * const command = new RestoreFHIRDatastoreCommand(input);
76
+ * const response = await client.send(command);
77
+ * // { // RestoreFHIRDatastoreResponse
78
+ * // DatastoreId: "STRING_VALUE", // required
79
+ * // DatastoreArn: "STRING_VALUE", // required
80
+ * // DatastoreStatus: "CREATING" || "ACTIVE" || "DELETING" || "DELETED" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED", // required
81
+ * // DatastoreEndpoint: "STRING_VALUE", // required
82
+ * // };
83
+ *
84
+ * ```
85
+ *
86
+ * @param RestoreFHIRDatastoreCommandInput - {@link RestoreFHIRDatastoreCommandInput}
87
+ * @returns {@link RestoreFHIRDatastoreCommandOutput}
88
+ * @see {@link RestoreFHIRDatastoreCommandInput} for command's `input` shape.
89
+ * @see {@link RestoreFHIRDatastoreCommandOutput} for command's `response` shape.
90
+ * @see {@link HealthLakeClientResolvedConfig | config} for HealthLakeClient's `config` shape.
91
+ *
92
+ * @throws {@link AccessDeniedException} (client fault)
93
+ * <p>Access is denied. Your account is not authorized to perform this operation.</p>
94
+ *
95
+ * @throws {@link ConflictException} (client fault)
96
+ * <p>The data store is in a transition state and the user requested action cannot be performed.</p>
97
+ *
98
+ * @throws {@link InternalServerException} (server fault)
99
+ * <p>An unknown internal error occurred in the service.</p>
100
+ *
101
+ * @throws {@link ResourceNotFoundException} (client fault)
102
+ * <p>The requested data store was not found.</p>
103
+ *
104
+ * @throws {@link ThrottlingException} (client fault)
105
+ * <p>The user has exceeded their maximum number of allowed calls to the given API. </p>
106
+ *
107
+ * @throws {@link ValidationException} (client fault)
108
+ * <p>The user input parameter was invalid.</p>
109
+ *
110
+ * @throws {@link HealthLakeServiceException}
111
+ * <p>Base exception class for all service exceptions from HealthLake service.</p>
112
+ *
113
+ *
114
+ * @example Restore a data store to a point in time
115
+ * ```javascript
116
+ * //
117
+ * const input = {
118
+ * DatastoreName: "RestoredFhirDatastore",
119
+ * RestoreConfiguration: {
120
+ * ContinuousBackupRestoreConfiguration: {
121
+ * RestorePointTime: "2026-08-01T00:00:00Z"
122
+ * }
123
+ * },
124
+ * SourceDatastoreId: "source-datastore-id"
125
+ * };
126
+ * const command = new RestoreFHIRDatastoreCommand(input);
127
+ * const response = await client.send(command);
128
+ * /* response is
129
+ * {
130
+ * DatastoreArn: "arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/restored-datastore-id",
131
+ * DatastoreEndpoint: "https://healthlake.us-east-1.amazonaws.com/datastore/restored-datastore-id/r4/",
132
+ * DatastoreId: "restored-datastore-id",
133
+ * DatastoreStatus: "CREATING"
134
+ * }
135
+ * *\/
136
+ * ```
137
+ *
138
+ * @public
139
+ */
140
+ export declare class RestoreFHIRDatastoreCommand extends RestoreFHIRDatastoreCommand_base {
141
+ /** @internal type navigation helper, not in runtime. */
142
+ protected static __types: {
143
+ api: {
144
+ input: RestoreFHIRDatastoreRequest;
145
+ output: RestoreFHIRDatastoreResponse;
146
+ };
147
+ sdk: {
148
+ input: RestoreFHIRDatastoreCommandInput;
149
+ output: RestoreFHIRDatastoreCommandOutput;
150
+ };
151
+ };
152
+ }
@@ -24,7 +24,7 @@ declare const StartDataTransformationJobCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Starts an asynchronous data transformation job that converts source files from Amazon Simple Storage Service (Amazon S3) and writes the output to Amazon S3 or AWS HealthLake.</p>
27
+ * <p>Starts an asynchronous data transformation job that converts source files from Amazon Simple Storage Service (Amazon S3) and writes the output to Amazon S3 or HealthLake.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -65,7 +65,7 @@ declare const StartFHIRExportJobCommand_base: {
65
65
  * <p>Access is denied. Your account is not authorized to perform this operation.</p>
66
66
  *
67
67
  * @throws {@link FailedDependencyException} (client fault)
68
- * A dependent service failed to fulfill the request.
68
+ * <p>A dependent service failed to fulfill the request.</p>
69
69
  *
70
70
  * @throws {@link InternalServerException} (server fault)
71
71
  * <p>An unknown internal error occurred in the service.</p>
@@ -73,7 +73,7 @@ declare const StartFHIRImportJobCommand_base: {
73
73
  * <p>Access is denied. Your account is not authorized to perform this operation.</p>
74
74
  *
75
75
  * @throws {@link FailedDependencyException} (client fault)
76
- * A dependent service failed to fulfill the request.
76
+ * <p>A dependent service failed to fulfill the request.</p>
77
77
  *
78
78
  * @throws {@link InternalServerException} (server fault)
79
79
  * <p>An unknown internal error occurred in the service.</p>
@@ -53,6 +53,12 @@ declare const UpdateFHIRDatastoreCommand_base: {
53
53
  * Metadata: "STRING_VALUE",
54
54
  * IdpLambdaArn: "STRING_VALUE",
55
55
  * },
56
+ * BackupConfiguration: { // BackupConfiguration
57
+ * Status: "ENABLED" || "DISABLED",
58
+ * BackupType: "CONTINUOUS",
59
+ * RetentionPeriodInDays: Number("int"),
60
+ * BackupTagsEnabled: true || false,
61
+ * },
56
62
  * };
57
63
  * const command = new UpdateFHIRDatastoreCommand(input);
58
64
  * const response = await client.send(command);
@@ -95,6 +101,18 @@ declare const UpdateFHIRDatastoreCommand_base: {
95
101
  * // "STRING_VALUE",
96
102
  * // ],
97
103
  * // },
104
+ * // BackupStatusInfo: { // DatastoreBackupStatus
105
+ * // Configuration: { // BackupConfiguration
106
+ * // Status: "ENABLED" || "DISABLED",
107
+ * // BackupType: "CONTINUOUS",
108
+ * // RetentionPeriodInDays: Number("int"),
109
+ * // BackupTagsEnabled: true || false,
110
+ * // },
111
+ * // BackupEnabledAt: new Date("TIMESTAMP"),
112
+ * // EarliestRestorePoint: new Date("TIMESTAMP"),
113
+ * // LatestRestorePoint: new Date("TIMESTAMP"),
114
+ * // ScheduledPermanentDeletionTime: new Date("TIMESTAMP"),
115
+ * // },
98
116
  * // },
99
117
  * // };
100
118
  *
@@ -128,6 +146,61 @@ declare const UpdateFHIRDatastoreCommand_base: {
128
146
  * <p>Base exception class for all service exceptions from HealthLake service.</p>
129
147
  *
130
148
  *
149
+ * @example Update a data store's name and configuration
150
+ * ```javascript
151
+ * //
152
+ * const input = {
153
+ * AnalyticsConfiguration: {
154
+ * Status: "DISABLED"
155
+ * },
156
+ * DatastoreId: "datastore-id",
157
+ * DatastoreName: "RenamedFhirDatastore",
158
+ * IdentityProviderConfiguration: {
159
+ * AuthorizationStrategy: "SMART_ON_FHIR_V1",
160
+ * FineGrainedAuthorizationEnabled: true
161
+ * },
162
+ * NlpConfiguration: {
163
+ * Status: "ENABLED"
164
+ * },
165
+ * ProfileConfiguration: {
166
+ * DefaultProfiles: [
167
+ * "us-core-3.1.1",
168
+ * "carin-bb-2.0.0"
169
+ * ]
170
+ * }
171
+ * };
172
+ * const command = new UpdateFHIRDatastoreCommand(input);
173
+ * const response = await client.send(command);
174
+ * /* response is
175
+ * {
176
+ * DatastoreProperties: {
177
+ * AnalyticsConfiguration: {
178
+ * Status: "PAUSING"
179
+ * },
180
+ * DatastoreArn: "arn:aws:healthlake:us-east-1:123456789012:datastore/datastore-id",
181
+ * DatastoreEndpoint: "https://healthlake.us-east-1.amazonaws.com/datastore/datastore-id/r4/",
182
+ * DatastoreId: "datastore-id",
183
+ * DatastoreName: "RenamedFhirDatastore",
184
+ * DatastoreStatus: "UPDATING",
185
+ * DatastoreTypeVersion: "R4",
186
+ * IdentityProviderConfiguration: {
187
+ * AuthorizationStrategy: "SMART_ON_FHIR_V1",
188
+ * FineGrainedAuthorizationEnabled: true
189
+ * },
190
+ * NlpConfiguration: {
191
+ * Status: "ENABLING"
192
+ * },
193
+ * ProfileConfiguration: {
194
+ * DefaultProfiles: [
195
+ * "us-core-3.1.1",
196
+ * "carin-bb-2.0.0"
197
+ * ]
198
+ * }
199
+ * }
200
+ * }
201
+ * *\/
202
+ * ```
203
+ *
131
204
  * @public
132
205
  */
133
206
  export declare class UpdateFHIRDatastoreCommand extends UpdateFHIRDatastoreCommand_base {
@@ -85,7 +85,7 @@ declare const UpdateProfileWithAgentCommand_base: {
85
85
  * <p>The user has exceeded their maximum number of allowed calls to the given API. </p>
86
86
  *
87
87
  * @throws {@link UnauthorizedException} (client fault)
88
- * <p>You are not authorized to make this request. Verify that your AWS credentials are valid and that you have the required permissions.</p>
88
+ * <p>You are not authorized to make this request. Verify that your Amazon Web Services credentials are valid and that you have the required permissions.</p>
89
89
  *
90
90
  * @throws {@link UnsupportedMIMETypeException} (client fault)
91
91
  * <p>The content type in your request is not supported. Use a supported content type for this operation.</p>
@@ -15,6 +15,7 @@ export * from "./ListFHIRExportJobsCommand";
15
15
  export * from "./ListFHIRImportJobsCommand";
16
16
  export * from "./ListTagsForResourceCommand";
17
17
  export * from "./PublishDataTransformationProfileCommand";
18
+ export * from "./RestoreFHIRDatastoreCommand";
18
19
  export * from "./StartDataTransformationJobCommand";
19
20
  export * from "./StartFHIRExportJobCommand";
20
21
  export * from "./StartFHIRImportJobCommand";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * <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>
2
+ * <p>This is the <i>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 HealthLake?</a> in the <i>HealthLake Developer Guide</i>.</p>
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
@@ -95,6 +95,29 @@ export declare const AuthorizationStrategy: {
95
95
  * @public
96
96
  */
97
97
  export type AuthorizationStrategy = (typeof AuthorizationStrategy)[keyof typeof AuthorizationStrategy];
98
+ /**
99
+ * @public
100
+ * @enum
101
+ */
102
+ export declare const BackupType: {
103
+ readonly CONTINUOUS: "CONTINUOUS";
104
+ };
105
+ /**
106
+ * @public
107
+ */
108
+ export type BackupType = (typeof BackupType)[keyof typeof BackupType];
109
+ /**
110
+ * @public
111
+ * @enum
112
+ */
113
+ export declare const BackupStatus: {
114
+ readonly DISABLED: "DISABLED";
115
+ readonly ENABLED: "ENABLED";
116
+ };
117
+ /**
118
+ * @public
119
+ */
120
+ export type BackupStatus = (typeof BackupStatus)[keyof typeof BackupStatus];
98
121
  /**
99
122
  * @public
100
123
  * @enum
@@ -103,7 +103,7 @@ export declare class ConflictException extends __BaseException {
103
103
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
104
104
  }
105
105
  /**
106
- * The request exceeds the service quota.
106
+ * <p>The request exceeds the service quota.</p>
107
107
  * @public
108
108
  */
109
109
  export declare class ServiceQuotaExceededException extends __BaseException {
@@ -159,7 +159,7 @@ export declare class NotImplementedOperationException extends __BaseException {
159
159
  constructor(opts: __ExceptionOptionType<NotImplementedOperationException, __BaseException>);
160
160
  }
161
161
  /**
162
- * <p>You are not authorized to make this request. Verify that your AWS credentials are valid and that you have the required permissions.</p>
162
+ * <p>You are not authorized to make this request. Verify that your Amazon Web Services credentials are valid and that you have the required permissions.</p>
163
163
  * @public
164
164
  */
165
165
  export declare class UnauthorizedException extends __BaseException {
@@ -185,7 +185,7 @@ export declare class UnsupportedMIMETypeException extends __BaseException {
185
185
  constructor(opts: __ExceptionOptionType<UnsupportedMIMETypeException, __BaseException>);
186
186
  }
187
187
  /**
188
- * A dependent service failed to fulfill the request.
188
+ * <p>A dependent service failed to fulfill the request.</p>
189
189
  * @public
190
190
  */
191
191
  export declare class FailedDependencyException extends __BaseException {