aws-sdk-healthlake 1.0.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.
@@ -0,0 +1,268 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::HealthLake
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ BoundedLengthString = Shapes::StringShape.new(name: 'BoundedLengthString')
18
+ ClientTokenString = Shapes::StringShape.new(name: 'ClientTokenString')
19
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
20
+ CreateFHIRDatastoreRequest = Shapes::StructureShape.new(name: 'CreateFHIRDatastoreRequest')
21
+ CreateFHIRDatastoreResponse = Shapes::StructureShape.new(name: 'CreateFHIRDatastoreResponse')
22
+ DatastoreArn = Shapes::StringShape.new(name: 'DatastoreArn')
23
+ DatastoreFilter = Shapes::StructureShape.new(name: 'DatastoreFilter')
24
+ DatastoreId = Shapes::StringShape.new(name: 'DatastoreId')
25
+ DatastoreName = Shapes::StringShape.new(name: 'DatastoreName')
26
+ DatastoreProperties = Shapes::StructureShape.new(name: 'DatastoreProperties')
27
+ DatastorePropertiesList = Shapes::ListShape.new(name: 'DatastorePropertiesList')
28
+ DatastoreStatus = Shapes::StringShape.new(name: 'DatastoreStatus')
29
+ DeleteFHIRDatastoreRequest = Shapes::StructureShape.new(name: 'DeleteFHIRDatastoreRequest')
30
+ DeleteFHIRDatastoreResponse = Shapes::StructureShape.new(name: 'DeleteFHIRDatastoreResponse')
31
+ DescribeFHIRDatastoreRequest = Shapes::StructureShape.new(name: 'DescribeFHIRDatastoreRequest')
32
+ DescribeFHIRDatastoreResponse = Shapes::StructureShape.new(name: 'DescribeFHIRDatastoreResponse')
33
+ DescribeFHIRImportJobRequest = Shapes::StructureShape.new(name: 'DescribeFHIRImportJobRequest')
34
+ DescribeFHIRImportJobResponse = Shapes::StructureShape.new(name: 'DescribeFHIRImportJobResponse')
35
+ FHIRVersion = Shapes::StringShape.new(name: 'FHIRVersion')
36
+ IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
37
+ ImportJobProperties = Shapes::StructureShape.new(name: 'ImportJobProperties')
38
+ InputDataConfig = Shapes::StructureShape.new(name: 'InputDataConfig')
39
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
40
+ JobId = Shapes::StringShape.new(name: 'JobId')
41
+ JobName = Shapes::StringShape.new(name: 'JobName')
42
+ JobStatus = Shapes::StringShape.new(name: 'JobStatus')
43
+ ListFHIRDatastoresRequest = Shapes::StructureShape.new(name: 'ListFHIRDatastoresRequest')
44
+ ListFHIRDatastoresResponse = Shapes::StructureShape.new(name: 'ListFHIRDatastoresResponse')
45
+ MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
46
+ Message = Shapes::StringShape.new(name: 'Message')
47
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
48
+ PreloadDataConfig = Shapes::StructureShape.new(name: 'PreloadDataConfig')
49
+ PreloadDataType = Shapes::StringShape.new(name: 'PreloadDataType')
50
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
51
+ S3Uri = Shapes::StringShape.new(name: 'S3Uri')
52
+ StartFHIRImportJobRequest = Shapes::StructureShape.new(name: 'StartFHIRImportJobRequest')
53
+ StartFHIRImportJobResponse = Shapes::StructureShape.new(name: 'StartFHIRImportJobResponse')
54
+ String = Shapes::StringShape.new(name: 'String')
55
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
56
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
57
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
58
+
59
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
60
+ AccessDeniedException.struct_class = Types::AccessDeniedException
61
+
62
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
63
+ ConflictException.struct_class = Types::ConflictException
64
+
65
+ CreateFHIRDatastoreRequest.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, location_name: "DatastoreName"))
66
+ CreateFHIRDatastoreRequest.add_member(:datastore_type_version, Shapes::ShapeRef.new(shape: FHIRVersion, required: true, location_name: "DatastoreTypeVersion"))
67
+ CreateFHIRDatastoreRequest.add_member(:preload_data_config, Shapes::ShapeRef.new(shape: PreloadDataConfig, location_name: "PreloadDataConfig"))
68
+ CreateFHIRDatastoreRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
69
+ CreateFHIRDatastoreRequest.struct_class = Types::CreateFHIRDatastoreRequest
70
+
71
+ CreateFHIRDatastoreResponse.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
72
+ CreateFHIRDatastoreResponse.add_member(:datastore_arn, Shapes::ShapeRef.new(shape: DatastoreArn, required: true, location_name: "DatastoreArn"))
73
+ CreateFHIRDatastoreResponse.add_member(:datastore_status, Shapes::ShapeRef.new(shape: DatastoreStatus, required: true, location_name: "DatastoreStatus"))
74
+ CreateFHIRDatastoreResponse.add_member(:datastore_endpoint, Shapes::ShapeRef.new(shape: BoundedLengthString, required: true, location_name: "DatastoreEndpoint"))
75
+ CreateFHIRDatastoreResponse.struct_class = Types::CreateFHIRDatastoreResponse
76
+
77
+ DatastoreFilter.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, location_name: "DatastoreName"))
78
+ DatastoreFilter.add_member(:datastore_status, Shapes::ShapeRef.new(shape: DatastoreStatus, location_name: "DatastoreStatus"))
79
+ DatastoreFilter.add_member(:created_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedBefore"))
80
+ DatastoreFilter.add_member(:created_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAfter"))
81
+ DatastoreFilter.struct_class = Types::DatastoreFilter
82
+
83
+ DatastoreProperties.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
84
+ DatastoreProperties.add_member(:datastore_arn, Shapes::ShapeRef.new(shape: DatastoreArn, required: true, location_name: "DatastoreArn"))
85
+ DatastoreProperties.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, location_name: "DatastoreName"))
86
+ DatastoreProperties.add_member(:datastore_status, Shapes::ShapeRef.new(shape: DatastoreStatus, required: true, location_name: "DatastoreStatus"))
87
+ DatastoreProperties.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
88
+ DatastoreProperties.add_member(:datastore_type_version, Shapes::ShapeRef.new(shape: FHIRVersion, required: true, location_name: "DatastoreTypeVersion"))
89
+ DatastoreProperties.add_member(:datastore_endpoint, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DatastoreEndpoint"))
90
+ DatastoreProperties.add_member(:preload_data_config, Shapes::ShapeRef.new(shape: PreloadDataConfig, location_name: "PreloadDataConfig"))
91
+ DatastoreProperties.struct_class = Types::DatastoreProperties
92
+
93
+ DatastorePropertiesList.member = Shapes::ShapeRef.new(shape: DatastoreProperties)
94
+
95
+ DeleteFHIRDatastoreRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, location_name: "DatastoreId"))
96
+ DeleteFHIRDatastoreRequest.struct_class = Types::DeleteFHIRDatastoreRequest
97
+
98
+ DeleteFHIRDatastoreResponse.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
99
+ DeleteFHIRDatastoreResponse.add_member(:datastore_arn, Shapes::ShapeRef.new(shape: DatastoreArn, required: true, location_name: "DatastoreArn"))
100
+ DeleteFHIRDatastoreResponse.add_member(:datastore_status, Shapes::ShapeRef.new(shape: DatastoreStatus, required: true, location_name: "DatastoreStatus"))
101
+ DeleteFHIRDatastoreResponse.add_member(:datastore_endpoint, Shapes::ShapeRef.new(shape: BoundedLengthString, required: true, location_name: "DatastoreEndpoint"))
102
+ DeleteFHIRDatastoreResponse.struct_class = Types::DeleteFHIRDatastoreResponse
103
+
104
+ DescribeFHIRDatastoreRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, location_name: "DatastoreId"))
105
+ DescribeFHIRDatastoreRequest.struct_class = Types::DescribeFHIRDatastoreRequest
106
+
107
+ DescribeFHIRDatastoreResponse.add_member(:datastore_properties, Shapes::ShapeRef.new(shape: DatastoreProperties, required: true, location_name: "DatastoreProperties"))
108
+ DescribeFHIRDatastoreResponse.struct_class = Types::DescribeFHIRDatastoreResponse
109
+
110
+ DescribeFHIRImportJobRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
111
+ DescribeFHIRImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
112
+ DescribeFHIRImportJobRequest.struct_class = Types::DescribeFHIRImportJobRequest
113
+
114
+ DescribeFHIRImportJobResponse.add_member(:import_job_properties, Shapes::ShapeRef.new(shape: ImportJobProperties, required: true, location_name: "ImportJobProperties"))
115
+ DescribeFHIRImportJobResponse.struct_class = Types::DescribeFHIRImportJobResponse
116
+
117
+ ImportJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
118
+ ImportJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
119
+ ImportJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "JobStatus"))
120
+ ImportJobProperties.add_member(:submit_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "SubmitTime"))
121
+ ImportJobProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
122
+ ImportJobProperties.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
123
+ ImportJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
124
+ ImportJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
125
+ ImportJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
126
+ ImportJobProperties.struct_class = Types::ImportJobProperties
127
+
128
+ InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3Uri"))
129
+ InputDataConfig.struct_class = Types::InputDataConfig
130
+
131
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
132
+ InternalServerException.struct_class = Types::InternalServerException
133
+
134
+ ListFHIRDatastoresRequest.add_member(:filter, Shapes::ShapeRef.new(shape: DatastoreFilter, location_name: "Filter"))
135
+ ListFHIRDatastoresRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
136
+ ListFHIRDatastoresRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
137
+ ListFHIRDatastoresRequest.struct_class = Types::ListFHIRDatastoresRequest
138
+
139
+ ListFHIRDatastoresResponse.add_member(:datastore_properties_list, Shapes::ShapeRef.new(shape: DatastorePropertiesList, required: true, location_name: "DatastorePropertiesList"))
140
+ ListFHIRDatastoresResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
141
+ ListFHIRDatastoresResponse.struct_class = Types::ListFHIRDatastoresResponse
142
+
143
+ PreloadDataConfig.add_member(:preload_data_type, Shapes::ShapeRef.new(shape: PreloadDataType, required: true, location_name: "PreloadDataType"))
144
+ PreloadDataConfig.struct_class = Types::PreloadDataConfig
145
+
146
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
147
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
148
+
149
+ StartFHIRImportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
150
+ StartFHIRImportJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
151
+ StartFHIRImportJobRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
152
+ StartFHIRImportJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
153
+ StartFHIRImportJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
154
+ StartFHIRImportJobRequest.struct_class = Types::StartFHIRImportJobRequest
155
+
156
+ StartFHIRImportJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
157
+ StartFHIRImportJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "JobStatus"))
158
+ StartFHIRImportJobResponse.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, location_name: "DatastoreId"))
159
+ StartFHIRImportJobResponse.struct_class = Types::StartFHIRImportJobResponse
160
+
161
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
162
+ ThrottlingException.struct_class = Types::ThrottlingException
163
+
164
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
165
+ ValidationException.struct_class = Types::ValidationException
166
+
167
+
168
+ # @api private
169
+ API = Seahorse::Model::Api.new.tap do |api|
170
+
171
+ api.version = "2017-07-01"
172
+
173
+ api.metadata = {
174
+ "apiVersion" => "2017-07-01",
175
+ "endpointPrefix" => "healthlake",
176
+ "jsonVersion" => "1.0",
177
+ "protocol" => "json",
178
+ "serviceAbbreviation" => "HealthLake",
179
+ "serviceFullName" => "Amazon HealthLake",
180
+ "serviceId" => "HealthLake",
181
+ "signatureVersion" => "v4",
182
+ "signingName" => "healthlake",
183
+ "targetPrefix" => "HealthLake",
184
+ "uid" => "healthlake-2017-07-01",
185
+ }
186
+
187
+ api.add_operation(:create_fhir_datastore, Seahorse::Model::Operation.new.tap do |o|
188
+ o.name = "CreateFHIRDatastore"
189
+ o.http_method = "POST"
190
+ o.http_request_uri = "/"
191
+ o.input = Shapes::ShapeRef.new(shape: CreateFHIRDatastoreRequest)
192
+ o.output = Shapes::ShapeRef.new(shape: CreateFHIRDatastoreResponse)
193
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
194
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
195
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
196
+ end)
197
+
198
+ api.add_operation(:delete_fhir_datastore, Seahorse::Model::Operation.new.tap do |o|
199
+ o.name = "DeleteFHIRDatastore"
200
+ o.http_method = "POST"
201
+ o.http_request_uri = "/"
202
+ o.input = Shapes::ShapeRef.new(shape: DeleteFHIRDatastoreRequest)
203
+ o.output = Shapes::ShapeRef.new(shape: DeleteFHIRDatastoreResponse)
204
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
205
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
206
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
207
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
208
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
209
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
210
+ end)
211
+
212
+ api.add_operation(:describe_fhir_datastore, Seahorse::Model::Operation.new.tap do |o|
213
+ o.name = "DescribeFHIRDatastore"
214
+ o.http_method = "POST"
215
+ o.http_request_uri = "/"
216
+ o.input = Shapes::ShapeRef.new(shape: DescribeFHIRDatastoreRequest)
217
+ o.output = Shapes::ShapeRef.new(shape: DescribeFHIRDatastoreResponse)
218
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
219
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
220
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
221
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
222
+ end)
223
+
224
+ api.add_operation(:describe_fhir_import_job, Seahorse::Model::Operation.new.tap do |o|
225
+ o.name = "DescribeFHIRImportJob"
226
+ o.http_method = "POST"
227
+ o.http_request_uri = "/"
228
+ o.input = Shapes::ShapeRef.new(shape: DescribeFHIRImportJobRequest)
229
+ o.output = Shapes::ShapeRef.new(shape: DescribeFHIRImportJobResponse)
230
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
231
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
232
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
233
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
234
+ end)
235
+
236
+ api.add_operation(:list_fhir_datastores, Seahorse::Model::Operation.new.tap do |o|
237
+ o.name = "ListFHIRDatastores"
238
+ o.http_method = "POST"
239
+ o.http_request_uri = "/"
240
+ o.input = Shapes::ShapeRef.new(shape: ListFHIRDatastoresRequest)
241
+ o.output = Shapes::ShapeRef.new(shape: ListFHIRDatastoresResponse)
242
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
243
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
244
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
245
+ o[:pager] = Aws::Pager.new(
246
+ limit_key: "max_results",
247
+ tokens: {
248
+ "next_token" => "next_token"
249
+ }
250
+ )
251
+ end)
252
+
253
+ api.add_operation(:start_fhir_import_job, Seahorse::Model::Operation.new.tap do |o|
254
+ o.name = "StartFHIRImportJob"
255
+ o.http_method = "POST"
256
+ o.http_request_uri = "/"
257
+ o.input = Shapes::ShapeRef.new(shape: StartFHIRImportJobRequest)
258
+ o.output = Shapes::ShapeRef.new(shape: StartFHIRImportJobResponse)
259
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
260
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
261
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
262
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
263
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
264
+ end)
265
+ end
266
+
267
+ end
268
+ end
@@ -0,0 +1,134 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::HealthLake
11
+
12
+ # When HealthLake returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::HealthLake::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all HealthLake errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::HealthLake::Errors::ServiceError
20
+ # # rescues all HealthLake API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {AccessDeniedException}
31
+ # * {ConflictException}
32
+ # * {InternalServerException}
33
+ # * {ResourceNotFoundException}
34
+ # * {ThrottlingException}
35
+ # * {ValidationException}
36
+ #
37
+ # Additionally, error classes are dynamically generated for service errors based on the error code
38
+ # if they are not defined above.
39
+ module Errors
40
+
41
+ extend Aws::Errors::DynamicErrors
42
+
43
+ class AccessDeniedException < ServiceError
44
+
45
+ # @param [Seahorse::Client::RequestContext] context
46
+ # @param [String] message
47
+ # @param [Aws::HealthLake::Types::AccessDeniedException] data
48
+ def initialize(context, message, data = Aws::EmptyStructure.new)
49
+ super(context, message, data)
50
+ end
51
+
52
+ # @return [String]
53
+ def message
54
+ @message || @data[:message]
55
+ end
56
+ end
57
+
58
+ class ConflictException < ServiceError
59
+
60
+ # @param [Seahorse::Client::RequestContext] context
61
+ # @param [String] message
62
+ # @param [Aws::HealthLake::Types::ConflictException] data
63
+ def initialize(context, message, data = Aws::EmptyStructure.new)
64
+ super(context, message, data)
65
+ end
66
+
67
+ # @return [String]
68
+ def message
69
+ @message || @data[:message]
70
+ end
71
+ end
72
+
73
+ class InternalServerException < ServiceError
74
+
75
+ # @param [Seahorse::Client::RequestContext] context
76
+ # @param [String] message
77
+ # @param [Aws::HealthLake::Types::InternalServerException] data
78
+ def initialize(context, message, data = Aws::EmptyStructure.new)
79
+ super(context, message, data)
80
+ end
81
+
82
+ # @return [String]
83
+ def message
84
+ @message || @data[:message]
85
+ end
86
+ end
87
+
88
+ class ResourceNotFoundException < ServiceError
89
+
90
+ # @param [Seahorse::Client::RequestContext] context
91
+ # @param [String] message
92
+ # @param [Aws::HealthLake::Types::ResourceNotFoundException] data
93
+ def initialize(context, message, data = Aws::EmptyStructure.new)
94
+ super(context, message, data)
95
+ end
96
+
97
+ # @return [String]
98
+ def message
99
+ @message || @data[:message]
100
+ end
101
+ end
102
+
103
+ class ThrottlingException < ServiceError
104
+
105
+ # @param [Seahorse::Client::RequestContext] context
106
+ # @param [String] message
107
+ # @param [Aws::HealthLake::Types::ThrottlingException] data
108
+ def initialize(context, message, data = Aws::EmptyStructure.new)
109
+ super(context, message, data)
110
+ end
111
+
112
+ # @return [String]
113
+ def message
114
+ @message || @data[:message]
115
+ end
116
+ end
117
+
118
+ class ValidationException < ServiceError
119
+
120
+ # @param [Seahorse::Client::RequestContext] context
121
+ # @param [String] message
122
+ # @param [Aws::HealthLake::Types::ValidationException] data
123
+ def initialize(context, message, data = Aws::EmptyStructure.new)
124
+ super(context, message, data)
125
+ end
126
+
127
+ # @return [String]
128
+ def message
129
+ @message || @data[:message]
130
+ end
131
+ end
132
+
133
+ end
134
+ end
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::HealthLake
11
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,619 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::HealthLake
11
+ module Types
12
+
13
+ # Access is denied. Your account is not authorized to perform this
14
+ # operation.
15
+ #
16
+ # @!attribute [rw] message
17
+ # @return [String]
18
+ #
19
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/AccessDeniedException AWS API Documentation
20
+ #
21
+ class AccessDeniedException < Struct.new(
22
+ :message)
23
+ SENSITIVE = []
24
+ include Aws::Structure
25
+ end
26
+
27
+ # The datastore is in a transition state and the user requested action
28
+ # can not be performed.
29
+ #
30
+ # @!attribute [rw] message
31
+ # @return [String]
32
+ #
33
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ConflictException AWS API Documentation
34
+ #
35
+ class ConflictException < Struct.new(
36
+ :message)
37
+ SENSITIVE = []
38
+ include Aws::Structure
39
+ end
40
+
41
+ # @note When making an API call, you may pass CreateFHIRDatastoreRequest
42
+ # data as a hash:
43
+ #
44
+ # {
45
+ # datastore_name: "DatastoreName",
46
+ # datastore_type_version: "R4", # required, accepts R4
47
+ # preload_data_config: {
48
+ # preload_data_type: "SYNTHEA", # required, accepts SYNTHEA
49
+ # },
50
+ # client_token: "ClientTokenString",
51
+ # }
52
+ #
53
+ # @!attribute [rw] datastore_name
54
+ # The user generated name for the datastore.
55
+ # @return [String]
56
+ #
57
+ # @!attribute [rw] datastore_type_version
58
+ # The FHIR version of the datastore. The only supported version is R4.
59
+ # @return [String]
60
+ #
61
+ # @!attribute [rw] preload_data_config
62
+ # Optional parameter to preload data upon creation of the datastore.
63
+ # Currently, the only supported preloaded data is synthetic data
64
+ # generated from Synthea.
65
+ # @return [Types::PreloadDataConfig]
66
+ #
67
+ # @!attribute [rw] client_token
68
+ # Optional user provided token used for ensuring idempotency.
69
+ #
70
+ # **A suitable default value is auto-generated.** You should normally
71
+ # not need to pass this option.
72
+ # @return [String]
73
+ #
74
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/CreateFHIRDatastoreRequest AWS API Documentation
75
+ #
76
+ class CreateFHIRDatastoreRequest < Struct.new(
77
+ :datastore_name,
78
+ :datastore_type_version,
79
+ :preload_data_config,
80
+ :client_token)
81
+ SENSITIVE = []
82
+ include Aws::Structure
83
+ end
84
+
85
+ # @!attribute [rw] datastore_id
86
+ # The AWS-generated datastore id. This id is in the output from the
87
+ # initial datastore creation call.
88
+ # @return [String]
89
+ #
90
+ # @!attribute [rw] datastore_arn
91
+ # The datastore ARN is generated during the creation of the datastore
92
+ # and can be found in the output from the initial datastore creation
93
+ # call.
94
+ # @return [String]
95
+ #
96
+ # @!attribute [rw] datastore_status
97
+ # The status of the FHIR datastore. Possible statuses are ‘CREATING’,
98
+ # ‘ACTIVE’, ‘DELETING’, ‘DELETED’.
99
+ # @return [String]
100
+ #
101
+ # @!attribute [rw] datastore_endpoint
102
+ # The AWS endpoint for the created datastore. For preview, only
103
+ # US-east-1 endpoints are supported.
104
+ # @return [String]
105
+ #
106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/CreateFHIRDatastoreResponse AWS API Documentation
107
+ #
108
+ class CreateFHIRDatastoreResponse < Struct.new(
109
+ :datastore_id,
110
+ :datastore_arn,
111
+ :datastore_status,
112
+ :datastore_endpoint)
113
+ SENSITIVE = []
114
+ include Aws::Structure
115
+ end
116
+
117
+ # The filters applied to datastore query.
118
+ #
119
+ # @note When making an API call, you may pass DatastoreFilter
120
+ # data as a hash:
121
+ #
122
+ # {
123
+ # datastore_name: "DatastoreName",
124
+ # datastore_status: "CREATING", # accepts CREATING, ACTIVE, DELETING, DELETED
125
+ # created_before: Time.now,
126
+ # created_after: Time.now,
127
+ # }
128
+ #
129
+ # @!attribute [rw] datastore_name
130
+ # Allows the user to filter datastore results by name.
131
+ # @return [String]
132
+ #
133
+ # @!attribute [rw] datastore_status
134
+ # Allows the user to filter datastore results by status.
135
+ # @return [String]
136
+ #
137
+ # @!attribute [rw] created_before
138
+ # A filter that allows the user to set cutoff dates for records. All
139
+ # datastores created before the specified date will be included in the
140
+ # results.
141
+ # @return [Time]
142
+ #
143
+ # @!attribute [rw] created_after
144
+ # A filter that allows the user to set cutoff dates for records. All
145
+ # datastores created after the specified date will be included in the
146
+ # results.
147
+ # @return [Time]
148
+ #
149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DatastoreFilter AWS API Documentation
150
+ #
151
+ class DatastoreFilter < Struct.new(
152
+ :datastore_name,
153
+ :datastore_status,
154
+ :created_before,
155
+ :created_after)
156
+ SENSITIVE = []
157
+ include Aws::Structure
158
+ end
159
+
160
+ # Displays the properties of the datastore, including the ID, Arn, name,
161
+ # and the status of the datastore.
162
+ #
163
+ # @!attribute [rw] datastore_id
164
+ # The AWS-generated ID number for the datastore.
165
+ # @return [String]
166
+ #
167
+ # @!attribute [rw] datastore_arn
168
+ # The Amazon Resource Name used in the creation of the datastore.
169
+ # @return [String]
170
+ #
171
+ # @!attribute [rw] datastore_name
172
+ # The user-generated name for the datastore.
173
+ # @return [String]
174
+ #
175
+ # @!attribute [rw] datastore_status
176
+ # The status of the datastore. Possible statuses are 'CREATING',
177
+ # 'ACTIVE', 'DELETING', or 'DELETED'.
178
+ # @return [String]
179
+ #
180
+ # @!attribute [rw] created_at
181
+ # The time that a datastore was created.
182
+ # @return [Time]
183
+ #
184
+ # @!attribute [rw] datastore_type_version
185
+ # The FHIR version. Only R4 version data is supported.
186
+ # @return [String]
187
+ #
188
+ # @!attribute [rw] datastore_endpoint
189
+ # The AWS endpoint for the datastore. Each datastore will have it's
190
+ # own endpoint with datastore ID in the endpoint URL.
191
+ # @return [String]
192
+ #
193
+ # @!attribute [rw] preload_data_config
194
+ # The preloaded data configuration for the datastore. Only data
195
+ # preloaded from Synthea is supported.
196
+ # @return [Types::PreloadDataConfig]
197
+ #
198
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DatastoreProperties AWS API Documentation
199
+ #
200
+ class DatastoreProperties < Struct.new(
201
+ :datastore_id,
202
+ :datastore_arn,
203
+ :datastore_name,
204
+ :datastore_status,
205
+ :created_at,
206
+ :datastore_type_version,
207
+ :datastore_endpoint,
208
+ :preload_data_config)
209
+ SENSITIVE = []
210
+ include Aws::Structure
211
+ end
212
+
213
+ # @note When making an API call, you may pass DeleteFHIRDatastoreRequest
214
+ # data as a hash:
215
+ #
216
+ # {
217
+ # datastore_id: "DatastoreId",
218
+ # }
219
+ #
220
+ # @!attribute [rw] datastore_id
221
+ # The AWS-generated ID for the datastore to be deleted.
222
+ # @return [String]
223
+ #
224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DeleteFHIRDatastoreRequest AWS API Documentation
225
+ #
226
+ class DeleteFHIRDatastoreRequest < Struct.new(
227
+ :datastore_id)
228
+ SENSITIVE = []
229
+ include Aws::Structure
230
+ end
231
+
232
+ # @!attribute [rw] datastore_id
233
+ # The AWS-generated ID for the datastore to be deleted.
234
+ # @return [String]
235
+ #
236
+ # @!attribute [rw] datastore_arn
237
+ # The Amazon Resource Name (ARN) that gives Amazon HealthLake access
238
+ # permission.
239
+ # @return [String]
240
+ #
241
+ # @!attribute [rw] datastore_status
242
+ # The status of the datastore that the user has requested to be
243
+ # deleted.
244
+ # @return [String]
245
+ #
246
+ # @!attribute [rw] datastore_endpoint
247
+ # The AWS endpoint for the datastore the user has requested to be
248
+ # deleted.
249
+ # @return [String]
250
+ #
251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DeleteFHIRDatastoreResponse AWS API Documentation
252
+ #
253
+ class DeleteFHIRDatastoreResponse < Struct.new(
254
+ :datastore_id,
255
+ :datastore_arn,
256
+ :datastore_status,
257
+ :datastore_endpoint)
258
+ SENSITIVE = []
259
+ include Aws::Structure
260
+ end
261
+
262
+ # @note When making an API call, you may pass DescribeFHIRDatastoreRequest
263
+ # data as a hash:
264
+ #
265
+ # {
266
+ # datastore_id: "DatastoreId",
267
+ # }
268
+ #
269
+ # @!attribute [rw] datastore_id
270
+ # The AWS-generated datastore id. This is part of the
271
+ # ‘CreateFHIRDatastore’ output.
272
+ # @return [String]
273
+ #
274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRDatastoreRequest AWS API Documentation
275
+ #
276
+ class DescribeFHIRDatastoreRequest < Struct.new(
277
+ :datastore_id)
278
+ SENSITIVE = []
279
+ include Aws::Structure
280
+ end
281
+
282
+ # @!attribute [rw] datastore_properties
283
+ # All properties associated with a datastore, including the datastore
284
+ # ID, datastore ARN, datastore name, datastore status, created at,
285
+ # datastore type version, and datastore endpoint.
286
+ # @return [Types::DatastoreProperties]
287
+ #
288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRDatastoreResponse AWS API Documentation
289
+ #
290
+ class DescribeFHIRDatastoreResponse < Struct.new(
291
+ :datastore_properties)
292
+ SENSITIVE = []
293
+ include Aws::Structure
294
+ end
295
+
296
+ # @note When making an API call, you may pass DescribeFHIRImportJobRequest
297
+ # data as a hash:
298
+ #
299
+ # {
300
+ # datastore_id: "DatastoreId", # required
301
+ # job_id: "JobId", # required
302
+ # }
303
+ #
304
+ # @!attribute [rw] datastore_id
305
+ # The AWS-generated ID of the datastore.
306
+ # @return [String]
307
+ #
308
+ # @!attribute [rw] job_id
309
+ # The AWS-generated job ID.
310
+ # @return [String]
311
+ #
312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRImportJobRequest AWS API Documentation
313
+ #
314
+ class DescribeFHIRImportJobRequest < Struct.new(
315
+ :datastore_id,
316
+ :job_id)
317
+ SENSITIVE = []
318
+ include Aws::Structure
319
+ end
320
+
321
+ # @!attribute [rw] import_job_properties
322
+ # The properties of the Import job request, including the ID, ARN,
323
+ # name, and the status of the datastore.
324
+ # @return [Types::ImportJobProperties]
325
+ #
326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRImportJobResponse AWS API Documentation
327
+ #
328
+ class DescribeFHIRImportJobResponse < Struct.new(
329
+ :import_job_properties)
330
+ SENSITIVE = []
331
+ include Aws::Structure
332
+ end
333
+
334
+ # Displays the properties of the import job, including the ID, Arn,
335
+ # Name, and the status of the datastore.
336
+ #
337
+ # @!attribute [rw] job_id
338
+ # The AWS-generated id number for the Import job.
339
+ # @return [String]
340
+ #
341
+ # @!attribute [rw] job_name
342
+ # The user-generated name for an Import job.
343
+ # @return [String]
344
+ #
345
+ # @!attribute [rw] job_status
346
+ # The job status for an Import job. Possible statuses are SUBMITTED,
347
+ # IN\_PROGRESS, COMPLETED, FAILED.
348
+ # @return [String]
349
+ #
350
+ # @!attribute [rw] submit_time
351
+ # The time that the Import job was submitted for processing.
352
+ # @return [Time]
353
+ #
354
+ # @!attribute [rw] end_time
355
+ # The time that the Import job was completed.
356
+ # @return [Time]
357
+ #
358
+ # @!attribute [rw] datastore_id
359
+ # The datastore id used when the Import job was created.
360
+ # @return [String]
361
+ #
362
+ # @!attribute [rw] input_data_config
363
+ # The input data configuration that was supplied when the Import job
364
+ # was created.
365
+ # @return [Types::InputDataConfig]
366
+ #
367
+ # @!attribute [rw] data_access_role_arn
368
+ # The Amazon Resource Name (ARN) that gives Amazon HealthLake access
369
+ # to your input data.
370
+ # @return [String]
371
+ #
372
+ # @!attribute [rw] message
373
+ # An explanation of any errors that may have occurred during the FHIR
374
+ # import job.
375
+ # @return [String]
376
+ #
377
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ImportJobProperties AWS API Documentation
378
+ #
379
+ class ImportJobProperties < Struct.new(
380
+ :job_id,
381
+ :job_name,
382
+ :job_status,
383
+ :submit_time,
384
+ :end_time,
385
+ :datastore_id,
386
+ :input_data_config,
387
+ :data_access_role_arn,
388
+ :message)
389
+ SENSITIVE = []
390
+ include Aws::Structure
391
+ end
392
+
393
+ # The input properties for an import job.
394
+ #
395
+ # @note When making an API call, you may pass InputDataConfig
396
+ # data as a hash:
397
+ #
398
+ # {
399
+ # s3_uri: "S3Uri",
400
+ # }
401
+ #
402
+ # @!attribute [rw] s3_uri
403
+ # The S3Uri is the user specified S3 location of the FHIR data to be
404
+ # imported into Amazon HealthLake.
405
+ # @return [String]
406
+ #
407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/InputDataConfig AWS API Documentation
408
+ #
409
+ class InputDataConfig < Struct.new(
410
+ :s3_uri)
411
+ SENSITIVE = []
412
+ include Aws::Structure
413
+ end
414
+
415
+ # Unknown error occurs in the service.
416
+ #
417
+ # @!attribute [rw] message
418
+ # @return [String]
419
+ #
420
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/InternalServerException AWS API Documentation
421
+ #
422
+ class InternalServerException < Struct.new(
423
+ :message)
424
+ SENSITIVE = []
425
+ include Aws::Structure
426
+ end
427
+
428
+ # @note When making an API call, you may pass ListFHIRDatastoresRequest
429
+ # data as a hash:
430
+ #
431
+ # {
432
+ # filter: {
433
+ # datastore_name: "DatastoreName",
434
+ # datastore_status: "CREATING", # accepts CREATING, ACTIVE, DELETING, DELETED
435
+ # created_before: Time.now,
436
+ # created_after: Time.now,
437
+ # },
438
+ # next_token: "NextToken",
439
+ # max_results: 1,
440
+ # }
441
+ #
442
+ # @!attribute [rw] filter
443
+ # Lists all filters associated with a FHIR datastore request.
444
+ # @return [Types::DatastoreFilter]
445
+ #
446
+ # @!attribute [rw] next_token
447
+ # Fetches the next page of datastores when results are paginated.
448
+ # @return [String]
449
+ #
450
+ # @!attribute [rw] max_results
451
+ # The maximum number of datastores returned in a single page of a
452
+ # ListFHIRDatastoresRequest call.
453
+ # @return [Integer]
454
+ #
455
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRDatastoresRequest AWS API Documentation
456
+ #
457
+ class ListFHIRDatastoresRequest < Struct.new(
458
+ :filter,
459
+ :next_token,
460
+ :max_results)
461
+ SENSITIVE = []
462
+ include Aws::Structure
463
+ end
464
+
465
+ # @!attribute [rw] datastore_properties_list
466
+ # All properties associated with the listed datastores.
467
+ # @return [Array<Types::DatastoreProperties>]
468
+ #
469
+ # @!attribute [rw] next_token
470
+ # Pagination token that can be used to retrieve the next page of
471
+ # results.
472
+ # @return [String]
473
+ #
474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRDatastoresResponse AWS API Documentation
475
+ #
476
+ class ListFHIRDatastoresResponse < Struct.new(
477
+ :datastore_properties_list,
478
+ :next_token)
479
+ SENSITIVE = []
480
+ include Aws::Structure
481
+ end
482
+
483
+ # The input properties for the preloaded datastore. Only data preloaded
484
+ # from Synthea is supported.
485
+ #
486
+ # @note When making an API call, you may pass PreloadDataConfig
487
+ # data as a hash:
488
+ #
489
+ # {
490
+ # preload_data_type: "SYNTHEA", # required, accepts SYNTHEA
491
+ # }
492
+ #
493
+ # @!attribute [rw] preload_data_type
494
+ # The type of preloaded data. Only Synthea preloaded data is
495
+ # supported.
496
+ # @return [String]
497
+ #
498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/PreloadDataConfig AWS API Documentation
499
+ #
500
+ class PreloadDataConfig < Struct.new(
501
+ :preload_data_type)
502
+ SENSITIVE = []
503
+ include Aws::Structure
504
+ end
505
+
506
+ # The requested datastore was not found.
507
+ #
508
+ # @!attribute [rw] message
509
+ # @return [String]
510
+ #
511
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ResourceNotFoundException AWS API Documentation
512
+ #
513
+ class ResourceNotFoundException < Struct.new(
514
+ :message)
515
+ SENSITIVE = []
516
+ include Aws::Structure
517
+ end
518
+
519
+ # @note When making an API call, you may pass StartFHIRImportJobRequest
520
+ # data as a hash:
521
+ #
522
+ # {
523
+ # job_name: "JobName",
524
+ # input_data_config: { # required
525
+ # s3_uri: "S3Uri",
526
+ # },
527
+ # datastore_id: "DatastoreId", # required
528
+ # data_access_role_arn: "IamRoleArn", # required
529
+ # client_token: "ClientTokenString", # required
530
+ # }
531
+ #
532
+ # @!attribute [rw] job_name
533
+ # The name of the FHIR Import job in the StartFHIRImport job request.
534
+ # @return [String]
535
+ #
536
+ # @!attribute [rw] input_data_config
537
+ # The input properties of the FHIR Import job in the StartFHIRImport
538
+ # job request.
539
+ # @return [Types::InputDataConfig]
540
+ #
541
+ # @!attribute [rw] datastore_id
542
+ # The AWS-generated datastore ID.
543
+ # @return [String]
544
+ #
545
+ # @!attribute [rw] data_access_role_arn
546
+ # The Amazon Resource Name (ARN) that gives Amazon HealthLake access
547
+ # permission.
548
+ # @return [String]
549
+ #
550
+ # @!attribute [rw] client_token
551
+ # Optional user provided token used for ensuring idempotency.
552
+ #
553
+ # **A suitable default value is auto-generated.** You should normally
554
+ # not need to pass this option.
555
+ # @return [String]
556
+ #
557
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRImportJobRequest AWS API Documentation
558
+ #
559
+ class StartFHIRImportJobRequest < Struct.new(
560
+ :job_name,
561
+ :input_data_config,
562
+ :datastore_id,
563
+ :data_access_role_arn,
564
+ :client_token)
565
+ SENSITIVE = []
566
+ include Aws::Structure
567
+ end
568
+
569
+ # @!attribute [rw] job_id
570
+ # The AWS-generated job ID.
571
+ # @return [String]
572
+ #
573
+ # @!attribute [rw] job_status
574
+ # The status of an import job.
575
+ # @return [String]
576
+ #
577
+ # @!attribute [rw] datastore_id
578
+ # The AWS-generated datastore ID.
579
+ # @return [String]
580
+ #
581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRImportJobResponse AWS API Documentation
582
+ #
583
+ class StartFHIRImportJobResponse < Struct.new(
584
+ :job_id,
585
+ :job_status,
586
+ :datastore_id)
587
+ SENSITIVE = []
588
+ include Aws::Structure
589
+ end
590
+
591
+ # The user has exceeded their maximum number of allowed calls to the
592
+ # given API.
593
+ #
594
+ # @!attribute [rw] message
595
+ # @return [String]
596
+ #
597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ThrottlingException AWS API Documentation
598
+ #
599
+ class ThrottlingException < Struct.new(
600
+ :message)
601
+ SENSITIVE = []
602
+ include Aws::Structure
603
+ end
604
+
605
+ # The user input parameter was invalid.
606
+ #
607
+ # @!attribute [rw] message
608
+ # @return [String]
609
+ #
610
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ValidationException AWS API Documentation
611
+ #
612
+ class ValidationException < Struct.new(
613
+ :message)
614
+ SENSITIVE = []
615
+ include Aws::Structure
616
+ end
617
+
618
+ end
619
+ end