aws-sdk-healthlake 1.1.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-healthlake.rb +2 -2
- data/lib/aws-sdk-healthlake/client.rb +287 -8
- data/lib/aws-sdk-healthlake/client_api.rb +174 -4
- data/lib/aws-sdk-healthlake/errors.rb +1 -1
- data/lib/aws-sdk-healthlake/resource.rb +1 -1
- data/lib/aws-sdk-healthlake/types.rb +445 -17
- metadata +11 -9
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -14,8 +14,10 @@ module Aws::HealthLake
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
17
18
|
BoundedLengthString = Shapes::StringShape.new(name: 'BoundedLengthString')
|
18
19
|
ClientTokenString = Shapes::StringShape.new(name: 'ClientTokenString')
|
20
|
+
CmkType = Shapes::StringShape.new(name: 'CmkType')
|
19
21
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
20
22
|
CreateFHIRDatastoreRequest = Shapes::StructureShape.new(name: 'CreateFHIRDatastoreRequest')
|
21
23
|
CreateFHIRDatastoreResponse = Shapes::StructureShape.new(name: 'CreateFHIRDatastoreResponse')
|
@@ -34,32 +36,53 @@ module Aws::HealthLake
|
|
34
36
|
DescribeFHIRExportJobResponse = Shapes::StructureShape.new(name: 'DescribeFHIRExportJobResponse')
|
35
37
|
DescribeFHIRImportJobRequest = Shapes::StructureShape.new(name: 'DescribeFHIRImportJobRequest')
|
36
38
|
DescribeFHIRImportJobResponse = Shapes::StructureShape.new(name: 'DescribeFHIRImportJobResponse')
|
39
|
+
EncryptionKeyID = Shapes::StringShape.new(name: 'EncryptionKeyID')
|
37
40
|
ExportJobProperties = Shapes::StructureShape.new(name: 'ExportJobProperties')
|
41
|
+
ExportJobPropertiesList = Shapes::ListShape.new(name: 'ExportJobPropertiesList')
|
38
42
|
FHIRVersion = Shapes::StringShape.new(name: 'FHIRVersion')
|
39
43
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
40
44
|
ImportJobProperties = Shapes::StructureShape.new(name: 'ImportJobProperties')
|
41
|
-
|
45
|
+
ImportJobPropertiesList = Shapes::ListShape.new(name: 'ImportJobPropertiesList')
|
46
|
+
InputDataConfig = Shapes::UnionShape.new(name: 'InputDataConfig')
|
42
47
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
43
48
|
JobId = Shapes::StringShape.new(name: 'JobId')
|
44
49
|
JobName = Shapes::StringShape.new(name: 'JobName')
|
45
50
|
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
51
|
+
KmsEncryptionConfig = Shapes::StructureShape.new(name: 'KmsEncryptionConfig')
|
46
52
|
ListFHIRDatastoresRequest = Shapes::StructureShape.new(name: 'ListFHIRDatastoresRequest')
|
47
53
|
ListFHIRDatastoresResponse = Shapes::StructureShape.new(name: 'ListFHIRDatastoresResponse')
|
54
|
+
ListFHIRExportJobsRequest = Shapes::StructureShape.new(name: 'ListFHIRExportJobsRequest')
|
55
|
+
ListFHIRExportJobsResponse = Shapes::StructureShape.new(name: 'ListFHIRExportJobsResponse')
|
56
|
+
ListFHIRImportJobsRequest = Shapes::StructureShape.new(name: 'ListFHIRImportJobsRequest')
|
57
|
+
ListFHIRImportJobsResponse = Shapes::StructureShape.new(name: 'ListFHIRImportJobsResponse')
|
58
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
59
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
48
60
|
MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
|
49
61
|
Message = Shapes::StringShape.new(name: 'Message')
|
50
62
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
51
|
-
OutputDataConfig = Shapes::
|
63
|
+
OutputDataConfig = Shapes::UnionShape.new(name: 'OutputDataConfig')
|
52
64
|
PreloadDataConfig = Shapes::StructureShape.new(name: 'PreloadDataConfig')
|
53
65
|
PreloadDataType = Shapes::StringShape.new(name: 'PreloadDataType')
|
54
66
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
67
|
+
S3Configuration = Shapes::StructureShape.new(name: 'S3Configuration')
|
55
68
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
69
|
+
SseConfiguration = Shapes::StructureShape.new(name: 'SseConfiguration')
|
56
70
|
StartFHIRExportJobRequest = Shapes::StructureShape.new(name: 'StartFHIRExportJobRequest')
|
57
71
|
StartFHIRExportJobResponse = Shapes::StructureShape.new(name: 'StartFHIRExportJobResponse')
|
58
72
|
StartFHIRImportJobRequest = Shapes::StructureShape.new(name: 'StartFHIRImportJobRequest')
|
59
73
|
StartFHIRImportJobResponse = Shapes::StructureShape.new(name: 'StartFHIRImportJobResponse')
|
60
74
|
String = Shapes::StringShape.new(name: 'String')
|
75
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
76
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
77
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
78
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
79
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
80
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
81
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
61
82
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
62
83
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
84
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
85
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
63
86
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
64
87
|
|
65
88
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
@@ -70,8 +93,10 @@ module Aws::HealthLake
|
|
70
93
|
|
71
94
|
CreateFHIRDatastoreRequest.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, location_name: "DatastoreName"))
|
72
95
|
CreateFHIRDatastoreRequest.add_member(:datastore_type_version, Shapes::ShapeRef.new(shape: FHIRVersion, required: true, location_name: "DatastoreTypeVersion"))
|
96
|
+
CreateFHIRDatastoreRequest.add_member(:sse_configuration, Shapes::ShapeRef.new(shape: SseConfiguration, location_name: "SseConfiguration"))
|
73
97
|
CreateFHIRDatastoreRequest.add_member(:preload_data_config, Shapes::ShapeRef.new(shape: PreloadDataConfig, location_name: "PreloadDataConfig"))
|
74
98
|
CreateFHIRDatastoreRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
99
|
+
CreateFHIRDatastoreRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
75
100
|
CreateFHIRDatastoreRequest.struct_class = Types::CreateFHIRDatastoreRequest
|
76
101
|
|
77
102
|
CreateFHIRDatastoreResponse.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
@@ -93,6 +118,7 @@ module Aws::HealthLake
|
|
93
118
|
DatastoreProperties.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
94
119
|
DatastoreProperties.add_member(:datastore_type_version, Shapes::ShapeRef.new(shape: FHIRVersion, required: true, location_name: "DatastoreTypeVersion"))
|
95
120
|
DatastoreProperties.add_member(:datastore_endpoint, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DatastoreEndpoint"))
|
121
|
+
DatastoreProperties.add_member(:sse_configuration, Shapes::ShapeRef.new(shape: SseConfiguration, location_name: "SseConfiguration"))
|
96
122
|
DatastoreProperties.add_member(:preload_data_config, Shapes::ShapeRef.new(shape: PreloadDataConfig, location_name: "PreloadDataConfig"))
|
97
123
|
DatastoreProperties.struct_class = Types::DatastoreProperties
|
98
124
|
|
@@ -138,6 +164,8 @@ module Aws::HealthLake
|
|
138
164
|
ExportJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
139
165
|
ExportJobProperties.struct_class = Types::ExportJobProperties
|
140
166
|
|
167
|
+
ExportJobPropertiesList.member = Shapes::ShapeRef.new(shape: ExportJobProperties)
|
168
|
+
|
141
169
|
ImportJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
142
170
|
ImportJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
143
171
|
ImportJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "JobStatus"))
|
@@ -145,16 +173,26 @@ module Aws::HealthLake
|
|
145
173
|
ImportJobProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
146
174
|
ImportJobProperties.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
147
175
|
ImportJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
176
|
+
ImportJobProperties.add_member(:job_output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "JobOutputDataConfig"))
|
148
177
|
ImportJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
149
178
|
ImportJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
150
179
|
ImportJobProperties.struct_class = Types::ImportJobProperties
|
151
180
|
|
181
|
+
ImportJobPropertiesList.member = Shapes::ShapeRef.new(shape: ImportJobProperties)
|
182
|
+
|
152
183
|
InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3Uri"))
|
184
|
+
InputDataConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
185
|
+
InputDataConfig.add_member_subclass(:s3_uri, Types::InputDataConfig::S3Uri)
|
186
|
+
InputDataConfig.add_member_subclass(:unknown, Types::InputDataConfig::Unknown)
|
153
187
|
InputDataConfig.struct_class = Types::InputDataConfig
|
154
188
|
|
155
189
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
156
190
|
InternalServerException.struct_class = Types::InternalServerException
|
157
191
|
|
192
|
+
KmsEncryptionConfig.add_member(:cmk_type, Shapes::ShapeRef.new(shape: CmkType, required: true, location_name: "CmkType"))
|
193
|
+
KmsEncryptionConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EncryptionKeyID, location_name: "KmsKeyId"))
|
194
|
+
KmsEncryptionConfig.struct_class = Types::KmsEncryptionConfig
|
195
|
+
|
158
196
|
ListFHIRDatastoresRequest.add_member(:filter, Shapes::ShapeRef.new(shape: DatastoreFilter, location_name: "Filter"))
|
159
197
|
ListFHIRDatastoresRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
160
198
|
ListFHIRDatastoresRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
@@ -164,7 +202,42 @@ module Aws::HealthLake
|
|
164
202
|
ListFHIRDatastoresResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
165
203
|
ListFHIRDatastoresResponse.struct_class = Types::ListFHIRDatastoresResponse
|
166
204
|
|
167
|
-
|
205
|
+
ListFHIRExportJobsRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
206
|
+
ListFHIRExportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
207
|
+
ListFHIRExportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
208
|
+
ListFHIRExportJobsRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
209
|
+
ListFHIRExportJobsRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
210
|
+
ListFHIRExportJobsRequest.add_member(:submitted_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmittedBefore"))
|
211
|
+
ListFHIRExportJobsRequest.add_member(:submitted_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmittedAfter"))
|
212
|
+
ListFHIRExportJobsRequest.struct_class = Types::ListFHIRExportJobsRequest
|
213
|
+
|
214
|
+
ListFHIRExportJobsResponse.add_member(:export_job_properties_list, Shapes::ShapeRef.new(shape: ExportJobPropertiesList, required: true, location_name: "ExportJobPropertiesList"))
|
215
|
+
ListFHIRExportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
216
|
+
ListFHIRExportJobsResponse.struct_class = Types::ListFHIRExportJobsResponse
|
217
|
+
|
218
|
+
ListFHIRImportJobsRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
219
|
+
ListFHIRImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
220
|
+
ListFHIRImportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
221
|
+
ListFHIRImportJobsRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
222
|
+
ListFHIRImportJobsRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
223
|
+
ListFHIRImportJobsRequest.add_member(:submitted_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmittedBefore"))
|
224
|
+
ListFHIRImportJobsRequest.add_member(:submitted_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmittedAfter"))
|
225
|
+
ListFHIRImportJobsRequest.struct_class = Types::ListFHIRImportJobsRequest
|
226
|
+
|
227
|
+
ListFHIRImportJobsResponse.add_member(:import_job_properties_list, Shapes::ShapeRef.new(shape: ImportJobPropertiesList, required: true, location_name: "ImportJobPropertiesList"))
|
228
|
+
ListFHIRImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
229
|
+
ListFHIRImportJobsResponse.struct_class = Types::ListFHIRImportJobsResponse
|
230
|
+
|
231
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
232
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
233
|
+
|
234
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
235
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
236
|
+
|
237
|
+
OutputDataConfig.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3Configuration, location_name: "S3Configuration"))
|
238
|
+
OutputDataConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
239
|
+
OutputDataConfig.add_member_subclass(:s3_configuration, Types::OutputDataConfig::S3Configuration)
|
240
|
+
OutputDataConfig.add_member_subclass(:unknown, Types::OutputDataConfig::Unknown)
|
168
241
|
OutputDataConfig.struct_class = Types::OutputDataConfig
|
169
242
|
|
170
243
|
PreloadDataConfig.add_member(:preload_data_type, Shapes::ShapeRef.new(shape: PreloadDataType, required: true, location_name: "PreloadDataType"))
|
@@ -173,6 +246,13 @@ module Aws::HealthLake
|
|
173
246
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
174
247
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
175
248
|
|
249
|
+
S3Configuration.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
250
|
+
S3Configuration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EncryptionKeyID, required: true, location_name: "KmsKeyId"))
|
251
|
+
S3Configuration.struct_class = Types::S3Configuration
|
252
|
+
|
253
|
+
SseConfiguration.add_member(:kms_encryption_config, Shapes::ShapeRef.new(shape: KmsEncryptionConfig, required: true, location_name: "KmsEncryptionConfig"))
|
254
|
+
SseConfiguration.struct_class = Types::SseConfiguration
|
255
|
+
|
176
256
|
StartFHIRExportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
177
257
|
StartFHIRExportJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
178
258
|
StartFHIRExportJobRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
@@ -187,6 +267,7 @@ module Aws::HealthLake
|
|
187
267
|
|
188
268
|
StartFHIRImportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
189
269
|
StartFHIRImportJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
270
|
+
StartFHIRImportJobRequest.add_member(:job_output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "JobOutputDataConfig"))
|
190
271
|
StartFHIRImportJobRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
191
272
|
StartFHIRImportJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
192
273
|
StartFHIRImportJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -197,9 +278,29 @@ module Aws::HealthLake
|
|
197
278
|
StartFHIRImportJobResponse.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, location_name: "DatastoreId"))
|
198
279
|
StartFHIRImportJobResponse.struct_class = Types::StartFHIRImportJobResponse
|
199
280
|
|
281
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
282
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
283
|
+
Tag.struct_class = Types::Tag
|
284
|
+
|
285
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
286
|
+
|
287
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
288
|
+
|
289
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
290
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
291
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
292
|
+
|
293
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
294
|
+
|
200
295
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
201
296
|
ThrottlingException.struct_class = Types::ThrottlingException
|
202
297
|
|
298
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
299
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
300
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
301
|
+
|
302
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
303
|
+
|
203
304
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
204
305
|
ValidationException.struct_class = Types::ValidationException
|
205
306
|
|
@@ -231,6 +332,7 @@ module Aws::HealthLake
|
|
231
332
|
o.output = Shapes::ShapeRef.new(shape: CreateFHIRDatastoreResponse)
|
232
333
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
233
334
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
234
336
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
235
337
|
end)
|
236
338
|
|
@@ -301,6 +403,54 @@ module Aws::HealthLake
|
|
301
403
|
)
|
302
404
|
end)
|
303
405
|
|
406
|
+
api.add_operation(:list_fhir_export_jobs, Seahorse::Model::Operation.new.tap do |o|
|
407
|
+
o.name = "ListFHIRExportJobs"
|
408
|
+
o.http_method = "POST"
|
409
|
+
o.http_request_uri = "/"
|
410
|
+
o.input = Shapes::ShapeRef.new(shape: ListFHIRExportJobsRequest)
|
411
|
+
o.output = Shapes::ShapeRef.new(shape: ListFHIRExportJobsResponse)
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
417
|
+
o[:pager] = Aws::Pager.new(
|
418
|
+
limit_key: "max_results",
|
419
|
+
tokens: {
|
420
|
+
"next_token" => "next_token"
|
421
|
+
}
|
422
|
+
)
|
423
|
+
end)
|
424
|
+
|
425
|
+
api.add_operation(:list_fhir_import_jobs, Seahorse::Model::Operation.new.tap do |o|
|
426
|
+
o.name = "ListFHIRImportJobs"
|
427
|
+
o.http_method = "POST"
|
428
|
+
o.http_request_uri = "/"
|
429
|
+
o.input = Shapes::ShapeRef.new(shape: ListFHIRImportJobsRequest)
|
430
|
+
o.output = Shapes::ShapeRef.new(shape: ListFHIRImportJobsResponse)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
436
|
+
o[:pager] = Aws::Pager.new(
|
437
|
+
limit_key: "max_results",
|
438
|
+
tokens: {
|
439
|
+
"next_token" => "next_token"
|
440
|
+
}
|
441
|
+
)
|
442
|
+
end)
|
443
|
+
|
444
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
445
|
+
o.name = "ListTagsForResource"
|
446
|
+
o.http_method = "POST"
|
447
|
+
o.http_request_uri = "/"
|
448
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
449
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
452
|
+
end)
|
453
|
+
|
304
454
|
api.add_operation(:start_fhir_export_job, Seahorse::Model::Operation.new.tap do |o|
|
305
455
|
o.name = "StartFHIRExportJob"
|
306
456
|
o.http_method = "POST"
|
@@ -326,6 +476,26 @@ module Aws::HealthLake
|
|
326
476
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
327
477
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
328
478
|
end)
|
479
|
+
|
480
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
481
|
+
o.name = "TagResource"
|
482
|
+
o.http_method = "POST"
|
483
|
+
o.http_request_uri = "/"
|
484
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
485
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
488
|
+
end)
|
489
|
+
|
490
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
491
|
+
o.name = "UntagResource"
|
492
|
+
o.http_method = "POST"
|
493
|
+
o.http_request_uri = "/"
|
494
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
495
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
498
|
+
end)
|
329
499
|
end
|
330
500
|
|
331
501
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -44,10 +44,22 @@ module Aws::HealthLake
|
|
44
44
|
# {
|
45
45
|
# datastore_name: "DatastoreName",
|
46
46
|
# datastore_type_version: "R4", # required, accepts R4
|
47
|
+
# sse_configuration: {
|
48
|
+
# kms_encryption_config: { # required
|
49
|
+
# cmk_type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
|
50
|
+
# kms_key_id: "EncryptionKeyID",
|
51
|
+
# },
|
52
|
+
# },
|
47
53
|
# preload_data_config: {
|
48
54
|
# preload_data_type: "SYNTHEA", # required, accepts SYNTHEA
|
49
55
|
# },
|
50
56
|
# client_token: "ClientTokenString",
|
57
|
+
# tags: [
|
58
|
+
# {
|
59
|
+
# key: "TagKey", # required
|
60
|
+
# value: "TagValue", # required
|
61
|
+
# },
|
62
|
+
# ],
|
51
63
|
# }
|
52
64
|
#
|
53
65
|
# @!attribute [rw] datastore_name
|
@@ -59,6 +71,11 @@ module Aws::HealthLake
|
|
59
71
|
# R4.
|
60
72
|
# @return [String]
|
61
73
|
#
|
74
|
+
# @!attribute [rw] sse_configuration
|
75
|
+
# The server-side encryption key configuration for a customer provided
|
76
|
+
# encryption key specified for creating a Data Store.
|
77
|
+
# @return [Types::SseConfiguration]
|
78
|
+
#
|
62
79
|
# @!attribute [rw] preload_data_config
|
63
80
|
# Optional parameter to preload data upon creation of the Data Store.
|
64
81
|
# Currently, the only supported preloaded data is synthetic data
|
@@ -72,13 +89,19 @@ module Aws::HealthLake
|
|
72
89
|
# not need to pass this option.
|
73
90
|
# @return [String]
|
74
91
|
#
|
92
|
+
# @!attribute [rw] tags
|
93
|
+
# Resource tags that are applied to a Data Store when it is created.
|
94
|
+
# @return [Array<Types::Tag>]
|
95
|
+
#
|
75
96
|
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/CreateFHIRDatastoreRequest AWS API Documentation
|
76
97
|
#
|
77
98
|
class CreateFHIRDatastoreRequest < Struct.new(
|
78
99
|
:datastore_name,
|
79
100
|
:datastore_type_version,
|
101
|
+
:sse_configuration,
|
80
102
|
:preload_data_config,
|
81
|
-
:client_token
|
103
|
+
:client_token,
|
104
|
+
:tags)
|
82
105
|
SENSITIVE = []
|
83
106
|
include Aws::Structure
|
84
107
|
end
|
@@ -191,6 +214,11 @@ module Aws::HealthLake
|
|
191
214
|
# own endpoint with Data Store ID in the endpoint URL.
|
192
215
|
# @return [String]
|
193
216
|
#
|
217
|
+
# @!attribute [rw] sse_configuration
|
218
|
+
# The server-side encryption key configuration for a customer provided
|
219
|
+
# encryption key (CMK).
|
220
|
+
# @return [Types::SseConfiguration]
|
221
|
+
#
|
194
222
|
# @!attribute [rw] preload_data_config
|
195
223
|
# The preloaded data configuration for the Data Store. Only data
|
196
224
|
# preloaded from Synthea is supported.
|
@@ -206,6 +234,7 @@ module Aws::HealthLake
|
|
206
234
|
:created_at,
|
207
235
|
:datastore_type_version,
|
208
236
|
:datastore_endpoint,
|
237
|
+
:sse_configuration,
|
209
238
|
:preload_data_config)
|
210
239
|
SENSITIVE = []
|
211
240
|
include Aws::Structure
|
@@ -463,6 +492,11 @@ module Aws::HealthLake
|
|
463
492
|
# was created.
|
464
493
|
# @return [Types::InputDataConfig]
|
465
494
|
#
|
495
|
+
# @!attribute [rw] job_output_data_config
|
496
|
+
# The output data configuration that was supplied when the export job
|
497
|
+
# was created.
|
498
|
+
# @return [Types::OutputDataConfig]
|
499
|
+
#
|
466
500
|
# @!attribute [rw] data_access_role_arn
|
467
501
|
# The Amazon Resource Name (ARN) that gives Amazon HealthLake access
|
468
502
|
# to your input data.
|
@@ -483,6 +517,7 @@ module Aws::HealthLake
|
|
483
517
|
:end_time,
|
484
518
|
:datastore_id,
|
485
519
|
:input_data_config,
|
520
|
+
:job_output_data_config,
|
486
521
|
:data_access_role_arn,
|
487
522
|
:message)
|
488
523
|
SENSITIVE = []
|
@@ -491,12 +526,9 @@ module Aws::HealthLake
|
|
491
526
|
|
492
527
|
# The input properties for an import job.
|
493
528
|
#
|
494
|
-
# @note
|
495
|
-
# data as a hash:
|
529
|
+
# @note InputDataConfig is a union - when making an API calls you must set exactly one of the members.
|
496
530
|
#
|
497
|
-
#
|
498
|
-
# s3_uri: "S3Uri",
|
499
|
-
# }
|
531
|
+
# @note InputDataConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of InputDataConfig corresponding to the set member.
|
500
532
|
#
|
501
533
|
# @!attribute [rw] s3_uri
|
502
534
|
# The S3Uri is the user specified S3 location of the FHIR data to be
|
@@ -506,9 +538,14 @@ module Aws::HealthLake
|
|
506
538
|
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/InputDataConfig AWS API Documentation
|
507
539
|
#
|
508
540
|
class InputDataConfig < Struct.new(
|
509
|
-
:s3_uri
|
541
|
+
:s3_uri,
|
542
|
+
:unknown)
|
510
543
|
SENSITIVE = []
|
511
544
|
include Aws::Structure
|
545
|
+
include Aws::Structure::Union
|
546
|
+
|
547
|
+
class S3Uri < InputDataConfig; end
|
548
|
+
class Unknown < InputDataConfig; end
|
512
549
|
end
|
513
550
|
|
514
551
|
# Unknown error occurs in the service.
|
@@ -524,6 +561,37 @@ module Aws::HealthLake
|
|
524
561
|
include Aws::Structure
|
525
562
|
end
|
526
563
|
|
564
|
+
# The customer-managed-key(CMK) used when creating a Data Store. If a
|
565
|
+
# customer owned key is not specified, an AWS owned key will be used for
|
566
|
+
# encryption.
|
567
|
+
#
|
568
|
+
# @note When making an API call, you may pass KmsEncryptionConfig
|
569
|
+
# data as a hash:
|
570
|
+
#
|
571
|
+
# {
|
572
|
+
# cmk_type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
|
573
|
+
# kms_key_id: "EncryptionKeyID",
|
574
|
+
# }
|
575
|
+
#
|
576
|
+
# @!attribute [rw] cmk_type
|
577
|
+
# The type of customer-managed-key(CMK) used for encyrption. The two
|
578
|
+
# types of supported CMKs are customer owned CMKs and AWS owned CMKs.
|
579
|
+
# @return [String]
|
580
|
+
#
|
581
|
+
# @!attribute [rw] kms_key_id
|
582
|
+
# The KMS encryption key id/alias used to encrypt the Data Store
|
583
|
+
# contents at rest.
|
584
|
+
# @return [String]
|
585
|
+
#
|
586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/KmsEncryptionConfig AWS API Documentation
|
587
|
+
#
|
588
|
+
class KmsEncryptionConfig < Struct.new(
|
589
|
+
:cmk_type,
|
590
|
+
:kms_key_id)
|
591
|
+
SENSITIVE = []
|
592
|
+
include Aws::Structure
|
593
|
+
end
|
594
|
+
|
527
595
|
# @note When making an API call, you may pass ListFHIRDatastoresRequest
|
528
596
|
# data as a hash:
|
529
597
|
#
|
@@ -579,27 +647,223 @@ module Aws::HealthLake
|
|
579
647
|
include Aws::Structure
|
580
648
|
end
|
581
649
|
|
582
|
-
#
|
583
|
-
#
|
650
|
+
# @note When making an API call, you may pass ListFHIRExportJobsRequest
|
651
|
+
# data as a hash:
|
652
|
+
#
|
653
|
+
# {
|
654
|
+
# datastore_id: "DatastoreId", # required
|
655
|
+
# next_token: "NextToken",
|
656
|
+
# max_results: 1,
|
657
|
+
# job_name: "JobName",
|
658
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED
|
659
|
+
# submitted_before: Time.now,
|
660
|
+
# submitted_after: Time.now,
|
661
|
+
# }
|
662
|
+
#
|
663
|
+
# @!attribute [rw] datastore_id
|
664
|
+
# This parameter limits the response to the export job with the
|
665
|
+
# specified Data Store ID.
|
666
|
+
# @return [String]
|
667
|
+
#
|
668
|
+
# @!attribute [rw] next_token
|
669
|
+
# A pagination token used to identify the next page of results to
|
670
|
+
# return for a ListFHIRExportJobs query.
|
671
|
+
# @return [String]
|
672
|
+
#
|
673
|
+
# @!attribute [rw] max_results
|
674
|
+
# This parameter limits the number of results returned for a
|
675
|
+
# ListFHIRExportJobs to a maximum quantity specified by the user.
|
676
|
+
# @return [Integer]
|
677
|
+
#
|
678
|
+
# @!attribute [rw] job_name
|
679
|
+
# This parameter limits the response to the export job with the
|
680
|
+
# specified job name.
|
681
|
+
# @return [String]
|
682
|
+
#
|
683
|
+
# @!attribute [rw] job_status
|
684
|
+
# This parameter limits the response to the export jobs with the
|
685
|
+
# specified job status.
|
686
|
+
# @return [String]
|
687
|
+
#
|
688
|
+
# @!attribute [rw] submitted_before
|
689
|
+
# This parameter limits the response to FHIR export jobs submitted
|
690
|
+
# before a user specified date.
|
691
|
+
# @return [Time]
|
692
|
+
#
|
693
|
+
# @!attribute [rw] submitted_after
|
694
|
+
# This parameter limits the response to FHIR export jobs submitted
|
695
|
+
# after a user specified date.
|
696
|
+
# @return [Time]
|
584
697
|
#
|
585
|
-
# @
|
698
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRExportJobsRequest AWS API Documentation
|
699
|
+
#
|
700
|
+
class ListFHIRExportJobsRequest < Struct.new(
|
701
|
+
:datastore_id,
|
702
|
+
:next_token,
|
703
|
+
:max_results,
|
704
|
+
:job_name,
|
705
|
+
:job_status,
|
706
|
+
:submitted_before,
|
707
|
+
:submitted_after)
|
708
|
+
SENSITIVE = []
|
709
|
+
include Aws::Structure
|
710
|
+
end
|
711
|
+
|
712
|
+
# @!attribute [rw] export_job_properties_list
|
713
|
+
# The properties of listed FHIR export jobs, including the ID, ARN,
|
714
|
+
# name, and the status of the job.
|
715
|
+
# @return [Array<Types::ExportJobProperties>]
|
716
|
+
#
|
717
|
+
# @!attribute [rw] next_token
|
718
|
+
# A pagination token used to identify the next page of results to
|
719
|
+
# return for a ListFHIRExportJobs query.
|
720
|
+
# @return [String]
|
721
|
+
#
|
722
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRExportJobsResponse AWS API Documentation
|
723
|
+
#
|
724
|
+
class ListFHIRExportJobsResponse < Struct.new(
|
725
|
+
:export_job_properties_list,
|
726
|
+
:next_token)
|
727
|
+
SENSITIVE = []
|
728
|
+
include Aws::Structure
|
729
|
+
end
|
730
|
+
|
731
|
+
# @note When making an API call, you may pass ListFHIRImportJobsRequest
|
586
732
|
# data as a hash:
|
587
733
|
#
|
588
734
|
# {
|
589
|
-
#
|
735
|
+
# datastore_id: "DatastoreId", # required
|
736
|
+
# next_token: "NextToken",
|
737
|
+
# max_results: 1,
|
738
|
+
# job_name: "JobName",
|
739
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED
|
740
|
+
# submitted_before: Time.now,
|
741
|
+
# submitted_after: Time.now,
|
590
742
|
# }
|
591
743
|
#
|
592
|
-
# @!attribute [rw]
|
593
|
-
#
|
594
|
-
#
|
744
|
+
# @!attribute [rw] datastore_id
|
745
|
+
# This parameter limits the response to the import job with the
|
746
|
+
# specified Data Store ID.
|
747
|
+
# @return [String]
|
748
|
+
#
|
749
|
+
# @!attribute [rw] next_token
|
750
|
+
# A pagination token used to identify the next page of results to
|
751
|
+
# return for a ListFHIRImportJobs query.
|
752
|
+
# @return [String]
|
753
|
+
#
|
754
|
+
# @!attribute [rw] max_results
|
755
|
+
# This parameter limits the number of results returned for a
|
756
|
+
# ListFHIRImportJobs to a maximum quantity specified by the user.
|
757
|
+
# @return [Integer]
|
758
|
+
#
|
759
|
+
# @!attribute [rw] job_name
|
760
|
+
# This parameter limits the response to the import job with the
|
761
|
+
# specified job name.
|
762
|
+
# @return [String]
|
763
|
+
#
|
764
|
+
# @!attribute [rw] job_status
|
765
|
+
# This parameter limits the response to the import job with the
|
766
|
+
# specified job status.
|
767
|
+
# @return [String]
|
768
|
+
#
|
769
|
+
# @!attribute [rw] submitted_before
|
770
|
+
# This parameter limits the response to FHIR import jobs submitted
|
771
|
+
# before a user specified date.
|
772
|
+
# @return [Time]
|
773
|
+
#
|
774
|
+
# @!attribute [rw] submitted_after
|
775
|
+
# This parameter limits the response to FHIR import jobs submitted
|
776
|
+
# after a user specified date.
|
777
|
+
# @return [Time]
|
778
|
+
#
|
779
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRImportJobsRequest AWS API Documentation
|
780
|
+
#
|
781
|
+
class ListFHIRImportJobsRequest < Struct.new(
|
782
|
+
:datastore_id,
|
783
|
+
:next_token,
|
784
|
+
:max_results,
|
785
|
+
:job_name,
|
786
|
+
:job_status,
|
787
|
+
:submitted_before,
|
788
|
+
:submitted_after)
|
789
|
+
SENSITIVE = []
|
790
|
+
include Aws::Structure
|
791
|
+
end
|
792
|
+
|
793
|
+
# @!attribute [rw] import_job_properties_list
|
794
|
+
# The properties of a listed FHIR import jobs, including the ID, ARN,
|
795
|
+
# name, and the status of the job.
|
796
|
+
# @return [Array<Types::ImportJobProperties>]
|
797
|
+
#
|
798
|
+
# @!attribute [rw] next_token
|
799
|
+
# A pagination token used to identify the next page of results to
|
800
|
+
# return for a ListFHIRImportJobs query.
|
801
|
+
# @return [String]
|
802
|
+
#
|
803
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRImportJobsResponse AWS API Documentation
|
804
|
+
#
|
805
|
+
class ListFHIRImportJobsResponse < Struct.new(
|
806
|
+
:import_job_properties_list,
|
807
|
+
:next_token)
|
808
|
+
SENSITIVE = []
|
809
|
+
include Aws::Structure
|
810
|
+
end
|
811
|
+
|
812
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
813
|
+
# data as a hash:
|
814
|
+
#
|
815
|
+
# {
|
816
|
+
# resource_arn: "AmazonResourceName", # required
|
817
|
+
# }
|
818
|
+
#
|
819
|
+
# @!attribute [rw] resource_arn
|
820
|
+
# The Amazon Resource Name(ARN) of the Data Store for which tags are
|
821
|
+
# being added.
|
595
822
|
# @return [String]
|
596
823
|
#
|
824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListTagsForResourceRequest AWS API Documentation
|
825
|
+
#
|
826
|
+
class ListTagsForResourceRequest < Struct.new(
|
827
|
+
:resource_arn)
|
828
|
+
SENSITIVE = []
|
829
|
+
include Aws::Structure
|
830
|
+
end
|
831
|
+
|
832
|
+
# @!attribute [rw] tags
|
833
|
+
# Returns a list of tags associated with a Data Store.
|
834
|
+
# @return [Array<Types::Tag>]
|
835
|
+
#
|
836
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListTagsForResourceResponse AWS API Documentation
|
837
|
+
#
|
838
|
+
class ListTagsForResourceResponse < Struct.new(
|
839
|
+
:tags)
|
840
|
+
SENSITIVE = []
|
841
|
+
include Aws::Structure
|
842
|
+
end
|
843
|
+
|
844
|
+
# The output data configuration that was supplied when the export job
|
845
|
+
# was created.
|
846
|
+
#
|
847
|
+
# @note OutputDataConfig is a union - when making an API calls you must set exactly one of the members.
|
848
|
+
#
|
849
|
+
# @note OutputDataConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OutputDataConfig corresponding to the set member.
|
850
|
+
#
|
851
|
+
# @!attribute [rw] s3_configuration
|
852
|
+
# The output data configuration that was supplied when the export job
|
853
|
+
# was created.
|
854
|
+
# @return [Types::S3Configuration]
|
855
|
+
#
|
597
856
|
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/OutputDataConfig AWS API Documentation
|
598
857
|
#
|
599
858
|
class OutputDataConfig < Struct.new(
|
600
|
-
:
|
859
|
+
:s3_configuration,
|
860
|
+
:unknown)
|
601
861
|
SENSITIVE = []
|
602
862
|
include Aws::Structure
|
863
|
+
include Aws::Structure::Union
|
864
|
+
|
865
|
+
class S3Configuration < OutputDataConfig; end
|
866
|
+
class Unknown < OutputDataConfig; end
|
603
867
|
end
|
604
868
|
|
605
869
|
# The input properties for the preloaded Data Store. Only data preloaded
|
@@ -638,13 +902,71 @@ module Aws::HealthLake
|
|
638
902
|
include Aws::Structure
|
639
903
|
end
|
640
904
|
|
905
|
+
# The configuration of the S3 bucket for either an import or export job.
|
906
|
+
# This includes assigning permissions for access.
|
907
|
+
#
|
908
|
+
# @note When making an API call, you may pass S3Configuration
|
909
|
+
# data as a hash:
|
910
|
+
#
|
911
|
+
# {
|
912
|
+
# s3_uri: "S3Uri", # required
|
913
|
+
# kms_key_id: "EncryptionKeyID", # required
|
914
|
+
# }
|
915
|
+
#
|
916
|
+
# @!attribute [rw] s3_uri
|
917
|
+
# The S3Uri is the user specified S3 location of the FHIR data to be
|
918
|
+
# imported into Amazon HealthLake.
|
919
|
+
# @return [String]
|
920
|
+
#
|
921
|
+
# @!attribute [rw] kms_key_id
|
922
|
+
# The KMS key ID used to access the S3 bucket.
|
923
|
+
# @return [String]
|
924
|
+
#
|
925
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/S3Configuration AWS API Documentation
|
926
|
+
#
|
927
|
+
class S3Configuration < Struct.new(
|
928
|
+
:s3_uri,
|
929
|
+
:kms_key_id)
|
930
|
+
SENSITIVE = []
|
931
|
+
include Aws::Structure
|
932
|
+
end
|
933
|
+
|
934
|
+
# The server-side encryption key configuration for a customer provided
|
935
|
+
# encryption key.
|
936
|
+
#
|
937
|
+
# @note When making an API call, you may pass SseConfiguration
|
938
|
+
# data as a hash:
|
939
|
+
#
|
940
|
+
# {
|
941
|
+
# kms_encryption_config: { # required
|
942
|
+
# cmk_type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
|
943
|
+
# kms_key_id: "EncryptionKeyID",
|
944
|
+
# },
|
945
|
+
# }
|
946
|
+
#
|
947
|
+
# @!attribute [rw] kms_encryption_config
|
948
|
+
# The KMS encryption configuration used to provide details for data
|
949
|
+
# encryption.
|
950
|
+
# @return [Types::KmsEncryptionConfig]
|
951
|
+
#
|
952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/SseConfiguration AWS API Documentation
|
953
|
+
#
|
954
|
+
class SseConfiguration < Struct.new(
|
955
|
+
:kms_encryption_config)
|
956
|
+
SENSITIVE = []
|
957
|
+
include Aws::Structure
|
958
|
+
end
|
959
|
+
|
641
960
|
# @note When making an API call, you may pass StartFHIRExportJobRequest
|
642
961
|
# data as a hash:
|
643
962
|
#
|
644
963
|
# {
|
645
964
|
# job_name: "JobName",
|
646
965
|
# output_data_config: { # required
|
647
|
-
#
|
966
|
+
# s3_configuration: {
|
967
|
+
# s3_uri: "S3Uri", # required
|
968
|
+
# kms_key_id: "EncryptionKeyID", # required
|
969
|
+
# },
|
648
970
|
# },
|
649
971
|
# datastore_id: "DatastoreId", # required
|
650
972
|
# data_access_role_arn: "IamRoleArn", # required
|
@@ -720,6 +1042,12 @@ module Aws::HealthLake
|
|
720
1042
|
# input_data_config: { # required
|
721
1043
|
# s3_uri: "S3Uri",
|
722
1044
|
# },
|
1045
|
+
# job_output_data_config: { # required
|
1046
|
+
# s3_configuration: {
|
1047
|
+
# s3_uri: "S3Uri", # required
|
1048
|
+
# kms_key_id: "EncryptionKeyID", # required
|
1049
|
+
# },
|
1050
|
+
# },
|
723
1051
|
# datastore_id: "DatastoreId", # required
|
724
1052
|
# data_access_role_arn: "IamRoleArn", # required
|
725
1053
|
# client_token: "ClientTokenString", # required
|
@@ -734,6 +1062,11 @@ module Aws::HealthLake
|
|
734
1062
|
# job request.
|
735
1063
|
# @return [Types::InputDataConfig]
|
736
1064
|
#
|
1065
|
+
# @!attribute [rw] job_output_data_config
|
1066
|
+
# The output data configuration that was supplied when the export job
|
1067
|
+
# was created.
|
1068
|
+
# @return [Types::OutputDataConfig]
|
1069
|
+
#
|
737
1070
|
# @!attribute [rw] datastore_id
|
738
1071
|
# The AWS-generated Data Store ID.
|
739
1072
|
# @return [String]
|
@@ -755,6 +1088,7 @@ module Aws::HealthLake
|
|
755
1088
|
class StartFHIRImportJobRequest < Struct.new(
|
756
1089
|
:job_name,
|
757
1090
|
:input_data_config,
|
1091
|
+
:job_output_data_config,
|
758
1092
|
:datastore_id,
|
759
1093
|
:data_access_role_arn,
|
760
1094
|
:client_token)
|
@@ -784,6 +1118,70 @@ module Aws::HealthLake
|
|
784
1118
|
include Aws::Structure
|
785
1119
|
end
|
786
1120
|
|
1121
|
+
# A tag is a label consisting of a user-defined key and value. The form
|
1122
|
+
# for tags is \\\{"Key", "Value"\\}
|
1123
|
+
#
|
1124
|
+
# @note When making an API call, you may pass Tag
|
1125
|
+
# data as a hash:
|
1126
|
+
#
|
1127
|
+
# {
|
1128
|
+
# key: "TagKey", # required
|
1129
|
+
# value: "TagValue", # required
|
1130
|
+
# }
|
1131
|
+
#
|
1132
|
+
# @!attribute [rw] key
|
1133
|
+
# The key portion of a tag. Tag keys are case sensitive.
|
1134
|
+
# @return [String]
|
1135
|
+
#
|
1136
|
+
# @!attribute [rw] value
|
1137
|
+
# The value portion of tag. Tag values are case sensitive.
|
1138
|
+
# @return [String]
|
1139
|
+
#
|
1140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/Tag AWS API Documentation
|
1141
|
+
#
|
1142
|
+
class Tag < Struct.new(
|
1143
|
+
:key,
|
1144
|
+
:value)
|
1145
|
+
SENSITIVE = []
|
1146
|
+
include Aws::Structure
|
1147
|
+
end
|
1148
|
+
|
1149
|
+
# @note When making an API call, you may pass TagResourceRequest
|
1150
|
+
# data as a hash:
|
1151
|
+
#
|
1152
|
+
# {
|
1153
|
+
# resource_arn: "AmazonResourceName", # required
|
1154
|
+
# tags: [ # required
|
1155
|
+
# {
|
1156
|
+
# key: "TagKey", # required
|
1157
|
+
# value: "TagValue", # required
|
1158
|
+
# },
|
1159
|
+
# ],
|
1160
|
+
# }
|
1161
|
+
#
|
1162
|
+
# @!attribute [rw] resource_arn
|
1163
|
+
# The Amazon Resource Name(ARN)that gives Amazon HealthLake access to
|
1164
|
+
# the Data Store which tags are being added to.
|
1165
|
+
# @return [String]
|
1166
|
+
#
|
1167
|
+
# @!attribute [rw] tags
|
1168
|
+
# The user specified key and value pair tags being added to a Data
|
1169
|
+
# Store.
|
1170
|
+
# @return [Array<Types::Tag>]
|
1171
|
+
#
|
1172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/TagResourceRequest AWS API Documentation
|
1173
|
+
#
|
1174
|
+
class TagResourceRequest < Struct.new(
|
1175
|
+
:resource_arn,
|
1176
|
+
:tags)
|
1177
|
+
SENSITIVE = []
|
1178
|
+
include Aws::Structure
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/TagResourceResponse AWS API Documentation
|
1182
|
+
#
|
1183
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
1184
|
+
|
787
1185
|
# The user has exceeded their maximum number of allowed calls to the
|
788
1186
|
# given API.
|
789
1187
|
#
|
@@ -798,6 +1196,36 @@ module Aws::HealthLake
|
|
798
1196
|
include Aws::Structure
|
799
1197
|
end
|
800
1198
|
|
1199
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
1200
|
+
# data as a hash:
|
1201
|
+
#
|
1202
|
+
# {
|
1203
|
+
# resource_arn: "AmazonResourceName", # required
|
1204
|
+
# tag_keys: ["TagKey"], # required
|
1205
|
+
# }
|
1206
|
+
#
|
1207
|
+
# @!attribute [rw] resource_arn
|
1208
|
+
# "The Amazon Resource Name(ARN) of the Data Store for which tags are
|
1209
|
+
# being removed
|
1210
|
+
# @return [String]
|
1211
|
+
#
|
1212
|
+
# @!attribute [rw] tag_keys
|
1213
|
+
# The keys for the tags to be removed from the Healthlake Data Store.
|
1214
|
+
# @return [Array<String>]
|
1215
|
+
#
|
1216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/UntagResourceRequest AWS API Documentation
|
1217
|
+
#
|
1218
|
+
class UntagResourceRequest < Struct.new(
|
1219
|
+
:resource_arn,
|
1220
|
+
:tag_keys)
|
1221
|
+
SENSITIVE = []
|
1222
|
+
include Aws::Structure
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/UntagResourceResponse AWS API Documentation
|
1226
|
+
#
|
1227
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
1228
|
+
|
801
1229
|
# The user input parameter was invalid.
|
802
1230
|
#
|
803
1231
|
# @!attribute [rw] message
|