aws-sdk-comprehendmedical 1.12.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-comprehendmedical.rb +7 -4
- data/lib/aws-sdk-comprehendmedical/client.rb +517 -32
- data/lib/aws-sdk-comprehendmedical/client_api.rb +179 -0
- data/lib/aws-sdk-comprehendmedical/errors.rb +30 -8
- data/lib/aws-sdk-comprehendmedical/resource.rb +1 -0
- data/lib/aws-sdk-comprehendmedical/types.rb +416 -1
- metadata +3 -3
@@ -22,8 +22,12 @@ module Aws::ComprehendMedical
|
|
22
22
|
ComprehendMedicalAsyncJobPropertiesList = Shapes::ListShape.new(name: 'ComprehendMedicalAsyncJobPropertiesList')
|
23
23
|
DescribeEntitiesDetectionV2JobRequest = Shapes::StructureShape.new(name: 'DescribeEntitiesDetectionV2JobRequest')
|
24
24
|
DescribeEntitiesDetectionV2JobResponse = Shapes::StructureShape.new(name: 'DescribeEntitiesDetectionV2JobResponse')
|
25
|
+
DescribeICD10CMInferenceJobRequest = Shapes::StructureShape.new(name: 'DescribeICD10CMInferenceJobRequest')
|
26
|
+
DescribeICD10CMInferenceJobResponse = Shapes::StructureShape.new(name: 'DescribeICD10CMInferenceJobResponse')
|
25
27
|
DescribePHIDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribePHIDetectionJobRequest')
|
26
28
|
DescribePHIDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribePHIDetectionJobResponse')
|
29
|
+
DescribeRxNormInferenceJobRequest = Shapes::StructureShape.new(name: 'DescribeRxNormInferenceJobRequest')
|
30
|
+
DescribeRxNormInferenceJobResponse = Shapes::StructureShape.new(name: 'DescribeRxNormInferenceJobResponse')
|
27
31
|
DetectEntitiesRequest = Shapes::StructureShape.new(name: 'DetectEntitiesRequest')
|
28
32
|
DetectEntitiesResponse = Shapes::StructureShape.new(name: 'DetectEntitiesResponse')
|
29
33
|
DetectEntitiesV2Request = Shapes::StructureShape.new(name: 'DetectEntitiesV2Request')
|
@@ -64,13 +68,18 @@ module Aws::ComprehendMedical
|
|
64
68
|
LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
|
65
69
|
ListEntitiesDetectionV2JobsRequest = Shapes::StructureShape.new(name: 'ListEntitiesDetectionV2JobsRequest')
|
66
70
|
ListEntitiesDetectionV2JobsResponse = Shapes::StructureShape.new(name: 'ListEntitiesDetectionV2JobsResponse')
|
71
|
+
ListICD10CMInferenceJobsRequest = Shapes::StructureShape.new(name: 'ListICD10CMInferenceJobsRequest')
|
72
|
+
ListICD10CMInferenceJobsResponse = Shapes::StructureShape.new(name: 'ListICD10CMInferenceJobsResponse')
|
67
73
|
ListPHIDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListPHIDetectionJobsRequest')
|
68
74
|
ListPHIDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListPHIDetectionJobsResponse')
|
75
|
+
ListRxNormInferenceJobsRequest = Shapes::StructureShape.new(name: 'ListRxNormInferenceJobsRequest')
|
76
|
+
ListRxNormInferenceJobsResponse = Shapes::StructureShape.new(name: 'ListRxNormInferenceJobsResponse')
|
69
77
|
ManifestFilePath = Shapes::StringShape.new(name: 'ManifestFilePath')
|
70
78
|
MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
|
71
79
|
ModelVersion = Shapes::StringShape.new(name: 'ModelVersion')
|
72
80
|
OntologyLinkingBoundedLengthString = Shapes::StringShape.new(name: 'OntologyLinkingBoundedLengthString')
|
73
81
|
OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig')
|
82
|
+
RelationshipType = Shapes::StringShape.new(name: 'RelationshipType')
|
74
83
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
75
84
|
RxNormAttribute = Shapes::StructureShape.new(name: 'RxNormAttribute')
|
76
85
|
RxNormAttributeList = Shapes::ListShape.new(name: 'RxNormAttributeList')
|
@@ -89,12 +98,20 @@ module Aws::ComprehendMedical
|
|
89
98
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
90
99
|
StartEntitiesDetectionV2JobRequest = Shapes::StructureShape.new(name: 'StartEntitiesDetectionV2JobRequest')
|
91
100
|
StartEntitiesDetectionV2JobResponse = Shapes::StructureShape.new(name: 'StartEntitiesDetectionV2JobResponse')
|
101
|
+
StartICD10CMInferenceJobRequest = Shapes::StructureShape.new(name: 'StartICD10CMInferenceJobRequest')
|
102
|
+
StartICD10CMInferenceJobResponse = Shapes::StructureShape.new(name: 'StartICD10CMInferenceJobResponse')
|
92
103
|
StartPHIDetectionJobRequest = Shapes::StructureShape.new(name: 'StartPHIDetectionJobRequest')
|
93
104
|
StartPHIDetectionJobResponse = Shapes::StructureShape.new(name: 'StartPHIDetectionJobResponse')
|
105
|
+
StartRxNormInferenceJobRequest = Shapes::StructureShape.new(name: 'StartRxNormInferenceJobRequest')
|
106
|
+
StartRxNormInferenceJobResponse = Shapes::StructureShape.new(name: 'StartRxNormInferenceJobResponse')
|
94
107
|
StopEntitiesDetectionV2JobRequest = Shapes::StructureShape.new(name: 'StopEntitiesDetectionV2JobRequest')
|
95
108
|
StopEntitiesDetectionV2JobResponse = Shapes::StructureShape.new(name: 'StopEntitiesDetectionV2JobResponse')
|
109
|
+
StopICD10CMInferenceJobRequest = Shapes::StructureShape.new(name: 'StopICD10CMInferenceJobRequest')
|
110
|
+
StopICD10CMInferenceJobResponse = Shapes::StructureShape.new(name: 'StopICD10CMInferenceJobResponse')
|
96
111
|
StopPHIDetectionJobRequest = Shapes::StructureShape.new(name: 'StopPHIDetectionJobRequest')
|
97
112
|
StopPHIDetectionJobResponse = Shapes::StructureShape.new(name: 'StopPHIDetectionJobResponse')
|
113
|
+
StopRxNormInferenceJobRequest = Shapes::StructureShape.new(name: 'StopRxNormInferenceJobRequest')
|
114
|
+
StopRxNormInferenceJobResponse = Shapes::StructureShape.new(name: 'StopRxNormInferenceJobResponse')
|
98
115
|
String = Shapes::StringShape.new(name: 'String')
|
99
116
|
TextSizeLimitExceededException = Shapes::StructureShape.new(name: 'TextSizeLimitExceededException')
|
100
117
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
@@ -108,10 +125,12 @@ module Aws::ComprehendMedical
|
|
108
125
|
Attribute.add_member(:type, Shapes::ShapeRef.new(shape: EntitySubType, location_name: "Type"))
|
109
126
|
Attribute.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
|
110
127
|
Attribute.add_member(:relationship_score, Shapes::ShapeRef.new(shape: Float, location_name: "RelationshipScore"))
|
128
|
+
Attribute.add_member(:relationship_type, Shapes::ShapeRef.new(shape: RelationshipType, location_name: "RelationshipType"))
|
111
129
|
Attribute.add_member(:id, Shapes::ShapeRef.new(shape: Integer, location_name: "Id"))
|
112
130
|
Attribute.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BeginOffset"))
|
113
131
|
Attribute.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "EndOffset"))
|
114
132
|
Attribute.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
|
133
|
+
Attribute.add_member(:category, Shapes::ShapeRef.new(shape: EntityType, location_name: "Category"))
|
115
134
|
Attribute.add_member(:traits, Shapes::ShapeRef.new(shape: TraitList, location_name: "Traits"))
|
116
135
|
Attribute.struct_class = Types::Attribute
|
117
136
|
|
@@ -147,12 +166,24 @@ module Aws::ComprehendMedical
|
|
147
166
|
DescribeEntitiesDetectionV2JobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
148
167
|
DescribeEntitiesDetectionV2JobResponse.struct_class = Types::DescribeEntitiesDetectionV2JobResponse
|
149
168
|
|
169
|
+
DescribeICD10CMInferenceJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
170
|
+
DescribeICD10CMInferenceJobRequest.struct_class = Types::DescribeICD10CMInferenceJobRequest
|
171
|
+
|
172
|
+
DescribeICD10CMInferenceJobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
173
|
+
DescribeICD10CMInferenceJobResponse.struct_class = Types::DescribeICD10CMInferenceJobResponse
|
174
|
+
|
150
175
|
DescribePHIDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
151
176
|
DescribePHIDetectionJobRequest.struct_class = Types::DescribePHIDetectionJobRequest
|
152
177
|
|
153
178
|
DescribePHIDetectionJobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
154
179
|
DescribePHIDetectionJobResponse.struct_class = Types::DescribePHIDetectionJobResponse
|
155
180
|
|
181
|
+
DescribeRxNormInferenceJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
182
|
+
DescribeRxNormInferenceJobRequest.struct_class = Types::DescribeRxNormInferenceJobRequest
|
183
|
+
|
184
|
+
DescribeRxNormInferenceJobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
185
|
+
DescribeRxNormInferenceJobResponse.struct_class = Types::DescribeRxNormInferenceJobResponse
|
186
|
+
|
156
187
|
DetectEntitiesRequest.add_member(:text, Shapes::ShapeRef.new(shape: BoundedLengthString, required: true, location_name: "Text"))
|
157
188
|
DetectEntitiesRequest.struct_class = Types::DetectEntitiesRequest
|
158
189
|
|
@@ -269,6 +300,15 @@ module Aws::ComprehendMedical
|
|
269
300
|
ListEntitiesDetectionV2JobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
270
301
|
ListEntitiesDetectionV2JobsResponse.struct_class = Types::ListEntitiesDetectionV2JobsResponse
|
271
302
|
|
303
|
+
ListICD10CMInferenceJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobFilter, location_name: "Filter"))
|
304
|
+
ListICD10CMInferenceJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
305
|
+
ListICD10CMInferenceJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
306
|
+
ListICD10CMInferenceJobsRequest.struct_class = Types::ListICD10CMInferenceJobsRequest
|
307
|
+
|
308
|
+
ListICD10CMInferenceJobsResponse.add_member(:comprehend_medical_async_job_properties_list, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobPropertiesList, location_name: "ComprehendMedicalAsyncJobPropertiesList"))
|
309
|
+
ListICD10CMInferenceJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
310
|
+
ListICD10CMInferenceJobsResponse.struct_class = Types::ListICD10CMInferenceJobsResponse
|
311
|
+
|
272
312
|
ListPHIDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobFilter, location_name: "Filter"))
|
273
313
|
ListPHIDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
274
314
|
ListPHIDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
@@ -278,6 +318,15 @@ module Aws::ComprehendMedical
|
|
278
318
|
ListPHIDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
279
319
|
ListPHIDetectionJobsResponse.struct_class = Types::ListPHIDetectionJobsResponse
|
280
320
|
|
321
|
+
ListRxNormInferenceJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobFilter, location_name: "Filter"))
|
322
|
+
ListRxNormInferenceJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
323
|
+
ListRxNormInferenceJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
324
|
+
ListRxNormInferenceJobsRequest.struct_class = Types::ListRxNormInferenceJobsRequest
|
325
|
+
|
326
|
+
ListRxNormInferenceJobsResponse.add_member(:comprehend_medical_async_job_properties_list, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobPropertiesList, location_name: "ComprehendMedicalAsyncJobPropertiesList"))
|
327
|
+
ListRxNormInferenceJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
328
|
+
ListRxNormInferenceJobsResponse.struct_class = Types::ListRxNormInferenceJobsResponse
|
329
|
+
|
281
330
|
OutputDataConfig.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
|
282
331
|
OutputDataConfig.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
|
283
332
|
OutputDataConfig.struct_class = Types::OutputDataConfig
|
@@ -339,6 +388,18 @@ module Aws::ComprehendMedical
|
|
339
388
|
StartEntitiesDetectionV2JobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
340
389
|
StartEntitiesDetectionV2JobResponse.struct_class = Types::StartEntitiesDetectionV2JobResponse
|
341
390
|
|
391
|
+
StartICD10CMInferenceJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
392
|
+
StartICD10CMInferenceJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
393
|
+
StartICD10CMInferenceJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
394
|
+
StartICD10CMInferenceJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
395
|
+
StartICD10CMInferenceJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
396
|
+
StartICD10CMInferenceJobRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
397
|
+
StartICD10CMInferenceJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
398
|
+
StartICD10CMInferenceJobRequest.struct_class = Types::StartICD10CMInferenceJobRequest
|
399
|
+
|
400
|
+
StartICD10CMInferenceJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
401
|
+
StartICD10CMInferenceJobResponse.struct_class = Types::StartICD10CMInferenceJobResponse
|
402
|
+
|
342
403
|
StartPHIDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
343
404
|
StartPHIDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
344
405
|
StartPHIDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
@@ -351,18 +412,42 @@ module Aws::ComprehendMedical
|
|
351
412
|
StartPHIDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
352
413
|
StartPHIDetectionJobResponse.struct_class = Types::StartPHIDetectionJobResponse
|
353
414
|
|
415
|
+
StartRxNormInferenceJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
416
|
+
StartRxNormInferenceJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
417
|
+
StartRxNormInferenceJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
418
|
+
StartRxNormInferenceJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
419
|
+
StartRxNormInferenceJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
420
|
+
StartRxNormInferenceJobRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
421
|
+
StartRxNormInferenceJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
422
|
+
StartRxNormInferenceJobRequest.struct_class = Types::StartRxNormInferenceJobRequest
|
423
|
+
|
424
|
+
StartRxNormInferenceJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
425
|
+
StartRxNormInferenceJobResponse.struct_class = Types::StartRxNormInferenceJobResponse
|
426
|
+
|
354
427
|
StopEntitiesDetectionV2JobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
355
428
|
StopEntitiesDetectionV2JobRequest.struct_class = Types::StopEntitiesDetectionV2JobRequest
|
356
429
|
|
357
430
|
StopEntitiesDetectionV2JobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
358
431
|
StopEntitiesDetectionV2JobResponse.struct_class = Types::StopEntitiesDetectionV2JobResponse
|
359
432
|
|
433
|
+
StopICD10CMInferenceJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
434
|
+
StopICD10CMInferenceJobRequest.struct_class = Types::StopICD10CMInferenceJobRequest
|
435
|
+
|
436
|
+
StopICD10CMInferenceJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
437
|
+
StopICD10CMInferenceJobResponse.struct_class = Types::StopICD10CMInferenceJobResponse
|
438
|
+
|
360
439
|
StopPHIDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
361
440
|
StopPHIDetectionJobRequest.struct_class = Types::StopPHIDetectionJobRequest
|
362
441
|
|
363
442
|
StopPHIDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
364
443
|
StopPHIDetectionJobResponse.struct_class = Types::StopPHIDetectionJobResponse
|
365
444
|
|
445
|
+
StopRxNormInferenceJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
446
|
+
StopRxNormInferenceJobRequest.struct_class = Types::StopRxNormInferenceJobRequest
|
447
|
+
|
448
|
+
StopRxNormInferenceJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
449
|
+
StopRxNormInferenceJobResponse.struct_class = Types::StopRxNormInferenceJobResponse
|
450
|
+
|
366
451
|
TextSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
367
452
|
TextSizeLimitExceededException.struct_class = Types::TextSizeLimitExceededException
|
368
453
|
|
@@ -416,6 +501,18 @@ module Aws::ComprehendMedical
|
|
416
501
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
417
502
|
end)
|
418
503
|
|
504
|
+
api.add_operation(:describe_icd10cm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
505
|
+
o.name = "DescribeICD10CMInferenceJob"
|
506
|
+
o.http_method = "POST"
|
507
|
+
o.http_request_uri = "/"
|
508
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeICD10CMInferenceJobRequest)
|
509
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeICD10CMInferenceJobResponse)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
514
|
+
end)
|
515
|
+
|
419
516
|
api.add_operation(:describe_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
420
517
|
o.name = "DescribePHIDetectionJob"
|
421
518
|
o.http_method = "POST"
|
@@ -428,6 +525,18 @@ module Aws::ComprehendMedical
|
|
428
525
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
429
526
|
end)
|
430
527
|
|
528
|
+
api.add_operation(:describe_rx_norm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
529
|
+
o.name = "DescribeRxNormInferenceJob"
|
530
|
+
o.http_method = "POST"
|
531
|
+
o.http_request_uri = "/"
|
532
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeRxNormInferenceJobRequest)
|
533
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeRxNormInferenceJobResponse)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
538
|
+
end)
|
539
|
+
|
431
540
|
api.add_operation(:detect_entities, Seahorse::Model::Operation.new.tap do |o|
|
432
541
|
o.name = "DetectEntities"
|
433
542
|
o.http_method = "POST"
|
@@ -511,6 +620,18 @@ module Aws::ComprehendMedical
|
|
511
620
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
512
621
|
end)
|
513
622
|
|
623
|
+
api.add_operation(:list_icd10cm_inference_jobs, Seahorse::Model::Operation.new.tap do |o|
|
624
|
+
o.name = "ListICD10CMInferenceJobs"
|
625
|
+
o.http_method = "POST"
|
626
|
+
o.http_request_uri = "/"
|
627
|
+
o.input = Shapes::ShapeRef.new(shape: ListICD10CMInferenceJobsRequest)
|
628
|
+
o.output = Shapes::ShapeRef.new(shape: ListICD10CMInferenceJobsResponse)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
633
|
+
end)
|
634
|
+
|
514
635
|
api.add_operation(:list_phi_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
515
636
|
o.name = "ListPHIDetectionJobs"
|
516
637
|
o.http_method = "POST"
|
@@ -523,6 +644,18 @@ module Aws::ComprehendMedical
|
|
523
644
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
524
645
|
end)
|
525
646
|
|
647
|
+
api.add_operation(:list_rx_norm_inference_jobs, Seahorse::Model::Operation.new.tap do |o|
|
648
|
+
o.name = "ListRxNormInferenceJobs"
|
649
|
+
o.http_method = "POST"
|
650
|
+
o.http_request_uri = "/"
|
651
|
+
o.input = Shapes::ShapeRef.new(shape: ListRxNormInferenceJobsRequest)
|
652
|
+
o.output = Shapes::ShapeRef.new(shape: ListRxNormInferenceJobsResponse)
|
653
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
654
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
655
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
657
|
+
end)
|
658
|
+
|
526
659
|
api.add_operation(:start_entities_detection_v2_job, Seahorse::Model::Operation.new.tap do |o|
|
527
660
|
o.name = "StartEntitiesDetectionV2Job"
|
528
661
|
o.http_method = "POST"
|
@@ -535,6 +668,18 @@ module Aws::ComprehendMedical
|
|
535
668
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
536
669
|
end)
|
537
670
|
|
671
|
+
api.add_operation(:start_icd10cm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
672
|
+
o.name = "StartICD10CMInferenceJob"
|
673
|
+
o.http_method = "POST"
|
674
|
+
o.http_request_uri = "/"
|
675
|
+
o.input = Shapes::ShapeRef.new(shape: StartICD10CMInferenceJobRequest)
|
676
|
+
o.output = Shapes::ShapeRef.new(shape: StartICD10CMInferenceJobResponse)
|
677
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
681
|
+
end)
|
682
|
+
|
538
683
|
api.add_operation(:start_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
539
684
|
o.name = "StartPHIDetectionJob"
|
540
685
|
o.http_method = "POST"
|
@@ -547,6 +692,18 @@ module Aws::ComprehendMedical
|
|
547
692
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
548
693
|
end)
|
549
694
|
|
695
|
+
api.add_operation(:start_rx_norm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
696
|
+
o.name = "StartRxNormInferenceJob"
|
697
|
+
o.http_method = "POST"
|
698
|
+
o.http_request_uri = "/"
|
699
|
+
o.input = Shapes::ShapeRef.new(shape: StartRxNormInferenceJobRequest)
|
700
|
+
o.output = Shapes::ShapeRef.new(shape: StartRxNormInferenceJobResponse)
|
701
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
702
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
705
|
+
end)
|
706
|
+
|
550
707
|
api.add_operation(:stop_entities_detection_v2_job, Seahorse::Model::Operation.new.tap do |o|
|
551
708
|
o.name = "StopEntitiesDetectionV2Job"
|
552
709
|
o.http_method = "POST"
|
@@ -558,6 +715,17 @@ module Aws::ComprehendMedical
|
|
558
715
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
559
716
|
end)
|
560
717
|
|
718
|
+
api.add_operation(:stop_icd10cm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
719
|
+
o.name = "StopICD10CMInferenceJob"
|
720
|
+
o.http_method = "POST"
|
721
|
+
o.http_request_uri = "/"
|
722
|
+
o.input = Shapes::ShapeRef.new(shape: StopICD10CMInferenceJobRequest)
|
723
|
+
o.output = Shapes::ShapeRef.new(shape: StopICD10CMInferenceJobResponse)
|
724
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
725
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
727
|
+
end)
|
728
|
+
|
561
729
|
api.add_operation(:stop_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
562
730
|
o.name = "StopPHIDetectionJob"
|
563
731
|
o.http_method = "POST"
|
@@ -568,6 +736,17 @@ module Aws::ComprehendMedical
|
|
568
736
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
569
737
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
570
738
|
end)
|
739
|
+
|
740
|
+
api.add_operation(:stop_rx_norm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
741
|
+
o.name = "StopRxNormInferenceJob"
|
742
|
+
o.http_method = "POST"
|
743
|
+
o.http_request_uri = "/"
|
744
|
+
o.input = Shapes::ShapeRef.new(shape: StopRxNormInferenceJobRequest)
|
745
|
+
o.output = Shapes::ShapeRef.new(shape: StopRxNormInferenceJobResponse)
|
746
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
747
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
749
|
+
end)
|
571
750
|
end
|
572
751
|
|
573
752
|
end
|
@@ -6,6 +6,36 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::ComprehendMedical
|
9
|
+
|
10
|
+
# When ComprehendMedical returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::ComprehendMedical::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all ComprehendMedical errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::ComprehendMedical::Errors::ServiceError
|
18
|
+
# # rescues all ComprehendMedical API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {InternalServerException}
|
29
|
+
# * {InvalidEncodingException}
|
30
|
+
# * {InvalidRequestException}
|
31
|
+
# * {ResourceNotFoundException}
|
32
|
+
# * {ServiceUnavailableException}
|
33
|
+
# * {TextSizeLimitExceededException}
|
34
|
+
# * {TooManyRequestsException}
|
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.
|
9
39
|
module Errors
|
10
40
|
|
11
41
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +53,6 @@ module Aws::ComprehendMedical
|
|
23
53
|
def message
|
24
54
|
@message || @data[:message]
|
25
55
|
end
|
26
|
-
|
27
56
|
end
|
28
57
|
|
29
58
|
class InvalidEncodingException < ServiceError
|
@@ -39,7 +68,6 @@ module Aws::ComprehendMedical
|
|
39
68
|
def message
|
40
69
|
@message || @data[:message]
|
41
70
|
end
|
42
|
-
|
43
71
|
end
|
44
72
|
|
45
73
|
class InvalidRequestException < ServiceError
|
@@ -55,7 +83,6 @@ module Aws::ComprehendMedical
|
|
55
83
|
def message
|
56
84
|
@message || @data[:message]
|
57
85
|
end
|
58
|
-
|
59
86
|
end
|
60
87
|
|
61
88
|
class ResourceNotFoundException < ServiceError
|
@@ -71,7 +98,6 @@ module Aws::ComprehendMedical
|
|
71
98
|
def message
|
72
99
|
@message || @data[:message]
|
73
100
|
end
|
74
|
-
|
75
101
|
end
|
76
102
|
|
77
103
|
class ServiceUnavailableException < ServiceError
|
@@ -87,7 +113,6 @@ module Aws::ComprehendMedical
|
|
87
113
|
def message
|
88
114
|
@message || @data[:message]
|
89
115
|
end
|
90
|
-
|
91
116
|
end
|
92
117
|
|
93
118
|
class TextSizeLimitExceededException < ServiceError
|
@@ -103,7 +128,6 @@ module Aws::ComprehendMedical
|
|
103
128
|
def message
|
104
129
|
@message || @data[:message]
|
105
130
|
end
|
106
|
-
|
107
131
|
end
|
108
132
|
|
109
133
|
class TooManyRequestsException < ServiceError
|
@@ -119,7 +143,6 @@ module Aws::ComprehendMedical
|
|
119
143
|
def message
|
120
144
|
@message || @data[:message]
|
121
145
|
end
|
122
|
-
|
123
146
|
end
|
124
147
|
|
125
148
|
class ValidationException < ServiceError
|
@@ -135,7 +158,6 @@ module Aws::ComprehendMedical
|
|
135
158
|
def message
|
136
159
|
@message || @data[:message]
|
137
160
|
end
|
138
|
-
|
139
161
|
end
|
140
162
|
|
141
163
|
end
|
@@ -28,6 +28,12 @@ module Aws::ComprehendMedical
|
|
28
28
|
# attribute is correctly related to this entity.
|
29
29
|
# @return [Float]
|
30
30
|
#
|
31
|
+
# @!attribute [rw] relationship_type
|
32
|
+
# The type of relationship between the entity and attribute. Type for
|
33
|
+
# the relationship is `OVERLAP`, indicating that the entity occurred
|
34
|
+
# at the same time as the `Date_Expression`.
|
35
|
+
# @return [String]
|
36
|
+
#
|
31
37
|
# @!attribute [rw] id
|
32
38
|
# The numeric identifier for this attribute. This is a monotonically
|
33
39
|
# increasing id unique within this response rather than a global
|
@@ -50,6 +56,10 @@ module Aws::ComprehendMedical
|
|
50
56
|
# The segment of input text extracted as this attribute.
|
51
57
|
# @return [String]
|
52
58
|
#
|
59
|
+
# @!attribute [rw] category
|
60
|
+
# The category of attribute.
|
61
|
+
# @return [String]
|
62
|
+
#
|
53
63
|
# @!attribute [rw] traits
|
54
64
|
# Contextual information for this attribute.
|
55
65
|
# @return [Array<Types::Trait>]
|
@@ -60,10 +70,12 @@ module Aws::ComprehendMedical
|
|
60
70
|
:type,
|
61
71
|
:score,
|
62
72
|
:relationship_score,
|
73
|
+
:relationship_type,
|
63
74
|
:id,
|
64
75
|
:begin_offset,
|
65
76
|
:end_offset,
|
66
77
|
:text,
|
78
|
+
:category,
|
67
79
|
:traits)
|
68
80
|
include Aws::Structure
|
69
81
|
end
|
@@ -234,6 +246,38 @@ module Aws::ComprehendMedical
|
|
234
246
|
include Aws::Structure
|
235
247
|
end
|
236
248
|
|
249
|
+
# @note When making an API call, you may pass DescribeICD10CMInferenceJobRequest
|
250
|
+
# data as a hash:
|
251
|
+
#
|
252
|
+
# {
|
253
|
+
# job_id: "JobId", # required
|
254
|
+
# }
|
255
|
+
#
|
256
|
+
# @!attribute [rw] job_id
|
257
|
+
# The identifier that Amazon Comprehend Medical generated for the job.
|
258
|
+
# `The StartICD10CMInferenceJob` operation returns this identifier in
|
259
|
+
# its response.
|
260
|
+
# @return [String]
|
261
|
+
#
|
262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeICD10CMInferenceJobRequest AWS API Documentation
|
263
|
+
#
|
264
|
+
class DescribeICD10CMInferenceJobRequest < Struct.new(
|
265
|
+
:job_id)
|
266
|
+
include Aws::Structure
|
267
|
+
end
|
268
|
+
|
269
|
+
# @!attribute [rw] comprehend_medical_async_job_properties
|
270
|
+
# An object that contains the properties associated with a detection
|
271
|
+
# job.
|
272
|
+
# @return [Types::ComprehendMedicalAsyncJobProperties]
|
273
|
+
#
|
274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeICD10CMInferenceJobResponse AWS API Documentation
|
275
|
+
#
|
276
|
+
class DescribeICD10CMInferenceJobResponse < Struct.new(
|
277
|
+
:comprehend_medical_async_job_properties)
|
278
|
+
include Aws::Structure
|
279
|
+
end
|
280
|
+
|
237
281
|
# @note When making an API call, you may pass DescribePHIDetectionJobRequest
|
238
282
|
# data as a hash:
|
239
283
|
#
|
@@ -266,6 +310,38 @@ module Aws::ComprehendMedical
|
|
266
310
|
include Aws::Structure
|
267
311
|
end
|
268
312
|
|
313
|
+
# @note When making an API call, you may pass DescribeRxNormInferenceJobRequest
|
314
|
+
# data as a hash:
|
315
|
+
#
|
316
|
+
# {
|
317
|
+
# job_id: "JobId", # required
|
318
|
+
# }
|
319
|
+
#
|
320
|
+
# @!attribute [rw] job_id
|
321
|
+
# The identifier that Amazon Comprehend Medical generated for the job.
|
322
|
+
# The StartRxNormInferenceJob operation returns this identifier in its
|
323
|
+
# response.
|
324
|
+
# @return [String]
|
325
|
+
#
|
326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeRxNormInferenceJobRequest AWS API Documentation
|
327
|
+
#
|
328
|
+
class DescribeRxNormInferenceJobRequest < Struct.new(
|
329
|
+
:job_id)
|
330
|
+
include Aws::Structure
|
331
|
+
end
|
332
|
+
|
333
|
+
# @!attribute [rw] comprehend_medical_async_job_properties
|
334
|
+
# An object that contains the properties associated with a detection
|
335
|
+
# job.
|
336
|
+
# @return [Types::ComprehendMedicalAsyncJobProperties]
|
337
|
+
#
|
338
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeRxNormInferenceJobResponse AWS API Documentation
|
339
|
+
#
|
340
|
+
class DescribeRxNormInferenceJobResponse < Struct.new(
|
341
|
+
:comprehend_medical_async_job_properties)
|
342
|
+
include Aws::Structure
|
343
|
+
end
|
344
|
+
|
269
345
|
# @note When making an API call, you may pass DetectEntitiesRequest
|
270
346
|
# data as a hash:
|
271
347
|
#
|
@@ -759,7 +835,9 @@ module Aws::ComprehendMedical
|
|
759
835
|
include Aws::Structure
|
760
836
|
end
|
761
837
|
|
762
|
-
# The input properties for an entities detection job
|
838
|
+
# The input properties for an entities detection job. This includes the
|
839
|
+
# name of the S3 bucket and the path to the files to be analyzed. See
|
840
|
+
# batch-manifest for more information.
|
763
841
|
#
|
764
842
|
# @note When making an API call, you may pass InputDataConfig
|
765
843
|
# data as a hash:
|
@@ -881,6 +959,60 @@ module Aws::ComprehendMedical
|
|
881
959
|
include Aws::Structure
|
882
960
|
end
|
883
961
|
|
962
|
+
# @note When making an API call, you may pass ListICD10CMInferenceJobsRequest
|
963
|
+
# data as a hash:
|
964
|
+
#
|
965
|
+
# {
|
966
|
+
# filter: {
|
967
|
+
# job_name: "JobName",
|
968
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, PARTIAL_SUCCESS, FAILED, STOP_REQUESTED, STOPPED
|
969
|
+
# submit_time_before: Time.now,
|
970
|
+
# submit_time_after: Time.now,
|
971
|
+
# },
|
972
|
+
# next_token: "String",
|
973
|
+
# max_results: 1,
|
974
|
+
# }
|
975
|
+
#
|
976
|
+
# @!attribute [rw] filter
|
977
|
+
# Filters the jobs that are returned. You can filter jobs based on
|
978
|
+
# their names, status, or the date and time that they were submitted.
|
979
|
+
# You can only set one filter at a time.
|
980
|
+
# @return [Types::ComprehendMedicalAsyncJobFilter]
|
981
|
+
#
|
982
|
+
# @!attribute [rw] next_token
|
983
|
+
# Identifies the next page of results to return.
|
984
|
+
# @return [String]
|
985
|
+
#
|
986
|
+
# @!attribute [rw] max_results
|
987
|
+
# The maximum number of results to return in each page. The default is
|
988
|
+
# 100.
|
989
|
+
# @return [Integer]
|
990
|
+
#
|
991
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListICD10CMInferenceJobsRequest AWS API Documentation
|
992
|
+
#
|
993
|
+
class ListICD10CMInferenceJobsRequest < Struct.new(
|
994
|
+
:filter,
|
995
|
+
:next_token,
|
996
|
+
:max_results)
|
997
|
+
include Aws::Structure
|
998
|
+
end
|
999
|
+
|
1000
|
+
# @!attribute [rw] comprehend_medical_async_job_properties_list
|
1001
|
+
# A list containing the properties of each job that is returned.
|
1002
|
+
# @return [Array<Types::ComprehendMedicalAsyncJobProperties>]
|
1003
|
+
#
|
1004
|
+
# @!attribute [rw] next_token
|
1005
|
+
# Identifies the next page of results to return.
|
1006
|
+
# @return [String]
|
1007
|
+
#
|
1008
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListICD10CMInferenceJobsResponse AWS API Documentation
|
1009
|
+
#
|
1010
|
+
class ListICD10CMInferenceJobsResponse < Struct.new(
|
1011
|
+
:comprehend_medical_async_job_properties_list,
|
1012
|
+
:next_token)
|
1013
|
+
include Aws::Structure
|
1014
|
+
end
|
1015
|
+
|
884
1016
|
# @note When making an API call, you may pass ListPHIDetectionJobsRequest
|
885
1017
|
# data as a hash:
|
886
1018
|
#
|
@@ -935,6 +1067,60 @@ module Aws::ComprehendMedical
|
|
935
1067
|
include Aws::Structure
|
936
1068
|
end
|
937
1069
|
|
1070
|
+
# @note When making an API call, you may pass ListRxNormInferenceJobsRequest
|
1071
|
+
# data as a hash:
|
1072
|
+
#
|
1073
|
+
# {
|
1074
|
+
# filter: {
|
1075
|
+
# job_name: "JobName",
|
1076
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, PARTIAL_SUCCESS, FAILED, STOP_REQUESTED, STOPPED
|
1077
|
+
# submit_time_before: Time.now,
|
1078
|
+
# submit_time_after: Time.now,
|
1079
|
+
# },
|
1080
|
+
# next_token: "String",
|
1081
|
+
# max_results: 1,
|
1082
|
+
# }
|
1083
|
+
#
|
1084
|
+
# @!attribute [rw] filter
|
1085
|
+
# Filters the jobs that are returned. You can filter jobs based on
|
1086
|
+
# their names, status, or the date and time that they were submitted.
|
1087
|
+
# You can only set one filter at a time.
|
1088
|
+
# @return [Types::ComprehendMedicalAsyncJobFilter]
|
1089
|
+
#
|
1090
|
+
# @!attribute [rw] next_token
|
1091
|
+
# Identifies the next page of results to return.
|
1092
|
+
# @return [String]
|
1093
|
+
#
|
1094
|
+
# @!attribute [rw] max_results
|
1095
|
+
# Identifies the next page of results to return.
|
1096
|
+
# @return [Integer]
|
1097
|
+
#
|
1098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListRxNormInferenceJobsRequest AWS API Documentation
|
1099
|
+
#
|
1100
|
+
class ListRxNormInferenceJobsRequest < Struct.new(
|
1101
|
+
:filter,
|
1102
|
+
:next_token,
|
1103
|
+
:max_results)
|
1104
|
+
include Aws::Structure
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
# @!attribute [rw] comprehend_medical_async_job_properties_list
|
1108
|
+
# The maximum number of results to return in each page. The default is
|
1109
|
+
# 100.
|
1110
|
+
# @return [Array<Types::ComprehendMedicalAsyncJobProperties>]
|
1111
|
+
#
|
1112
|
+
# @!attribute [rw] next_token
|
1113
|
+
# Identifies the next page of results to return.
|
1114
|
+
# @return [String]
|
1115
|
+
#
|
1116
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListRxNormInferenceJobsResponse AWS API Documentation
|
1117
|
+
#
|
1118
|
+
class ListRxNormInferenceJobsResponse < Struct.new(
|
1119
|
+
:comprehend_medical_async_job_properties_list,
|
1120
|
+
:next_token)
|
1121
|
+
include Aws::Structure
|
1122
|
+
end
|
1123
|
+
|
938
1124
|
# The output properties for a detection job.
|
939
1125
|
#
|
940
1126
|
# @note When making an API call, you may pass OutputDataConfig
|
@@ -1263,6 +1449,91 @@ module Aws::ComprehendMedical
|
|
1263
1449
|
include Aws::Structure
|
1264
1450
|
end
|
1265
1451
|
|
1452
|
+
# @note When making an API call, you may pass StartICD10CMInferenceJobRequest
|
1453
|
+
# data as a hash:
|
1454
|
+
#
|
1455
|
+
# {
|
1456
|
+
# input_data_config: { # required
|
1457
|
+
# s3_bucket: "S3Bucket", # required
|
1458
|
+
# s3_key: "S3Key",
|
1459
|
+
# },
|
1460
|
+
# output_data_config: { # required
|
1461
|
+
# s3_bucket: "S3Bucket", # required
|
1462
|
+
# s3_key: "S3Key",
|
1463
|
+
# },
|
1464
|
+
# data_access_role_arn: "IamRoleArn", # required
|
1465
|
+
# job_name: "JobName",
|
1466
|
+
# client_request_token: "ClientRequestTokenString",
|
1467
|
+
# kms_key: "KMSKey",
|
1468
|
+
# language_code: "en", # required, accepts en
|
1469
|
+
# }
|
1470
|
+
#
|
1471
|
+
# @!attribute [rw] input_data_config
|
1472
|
+
# Specifies the format and location of the input data for the job.
|
1473
|
+
# @return [Types::InputDataConfig]
|
1474
|
+
#
|
1475
|
+
# @!attribute [rw] output_data_config
|
1476
|
+
# Specifies where to send the output files.
|
1477
|
+
# @return [Types::OutputDataConfig]
|
1478
|
+
#
|
1479
|
+
# @!attribute [rw] data_access_role_arn
|
1480
|
+
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
1481
|
+
# Management (IAM) role that grants Amazon Comprehend Medical read
|
1482
|
+
# access to your input data. For more information, see [ Role-Based
|
1483
|
+
# Permissions Required for Asynchronous Operations][1].
|
1484
|
+
#
|
1485
|
+
#
|
1486
|
+
#
|
1487
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions-med.html#auth-role-permissions-med
|
1488
|
+
# @return [String]
|
1489
|
+
#
|
1490
|
+
# @!attribute [rw] job_name
|
1491
|
+
# The identifier of the job.
|
1492
|
+
# @return [String]
|
1493
|
+
#
|
1494
|
+
# @!attribute [rw] client_request_token
|
1495
|
+
# A unique identifier for the request. If you don't set the client
|
1496
|
+
# request token, Amazon Comprehend Medical generates one.
|
1497
|
+
#
|
1498
|
+
# **A suitable default value is auto-generated.** You should normally
|
1499
|
+
# not need to pass this option.
|
1500
|
+
# @return [String]
|
1501
|
+
#
|
1502
|
+
# @!attribute [rw] kms_key
|
1503
|
+
# An AWS Key Management Service key to encrypt your output files. If
|
1504
|
+
# you do not specify a key, the files are written in plain text.
|
1505
|
+
# @return [String]
|
1506
|
+
#
|
1507
|
+
# @!attribute [rw] language_code
|
1508
|
+
# The language of the input documents. All documents must be in the
|
1509
|
+
# same language.
|
1510
|
+
# @return [String]
|
1511
|
+
#
|
1512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartICD10CMInferenceJobRequest AWS API Documentation
|
1513
|
+
#
|
1514
|
+
class StartICD10CMInferenceJobRequest < Struct.new(
|
1515
|
+
:input_data_config,
|
1516
|
+
:output_data_config,
|
1517
|
+
:data_access_role_arn,
|
1518
|
+
:job_name,
|
1519
|
+
:client_request_token,
|
1520
|
+
:kms_key,
|
1521
|
+
:language_code)
|
1522
|
+
include Aws::Structure
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
# @!attribute [rw] job_id
|
1526
|
+
# The identifier generated for the job. To get the status of a job,
|
1527
|
+
# use this identifier with the `StartICD10CMInferenceJob` operation.
|
1528
|
+
# @return [String]
|
1529
|
+
#
|
1530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartICD10CMInferenceJobResponse AWS API Documentation
|
1531
|
+
#
|
1532
|
+
class StartICD10CMInferenceJobResponse < Struct.new(
|
1533
|
+
:job_id)
|
1534
|
+
include Aws::Structure
|
1535
|
+
end
|
1536
|
+
|
1266
1537
|
# @note When making an API call, you may pass StartPHIDetectionJobRequest
|
1267
1538
|
# data as a hash:
|
1268
1539
|
#
|
@@ -1348,6 +1619,90 @@ module Aws::ComprehendMedical
|
|
1348
1619
|
include Aws::Structure
|
1349
1620
|
end
|
1350
1621
|
|
1622
|
+
# @note When making an API call, you may pass StartRxNormInferenceJobRequest
|
1623
|
+
# data as a hash:
|
1624
|
+
#
|
1625
|
+
# {
|
1626
|
+
# input_data_config: { # required
|
1627
|
+
# s3_bucket: "S3Bucket", # required
|
1628
|
+
# s3_key: "S3Key",
|
1629
|
+
# },
|
1630
|
+
# output_data_config: { # required
|
1631
|
+
# s3_bucket: "S3Bucket", # required
|
1632
|
+
# s3_key: "S3Key",
|
1633
|
+
# },
|
1634
|
+
# data_access_role_arn: "IamRoleArn", # required
|
1635
|
+
# job_name: "JobName",
|
1636
|
+
# client_request_token: "ClientRequestTokenString",
|
1637
|
+
# kms_key: "KMSKey",
|
1638
|
+
# language_code: "en", # required, accepts en
|
1639
|
+
# }
|
1640
|
+
#
|
1641
|
+
# @!attribute [rw] input_data_config
|
1642
|
+
# Specifies the format and location of the input data for the job.
|
1643
|
+
# @return [Types::InputDataConfig]
|
1644
|
+
#
|
1645
|
+
# @!attribute [rw] output_data_config
|
1646
|
+
# Specifies where to send the output files.
|
1647
|
+
# @return [Types::OutputDataConfig]
|
1648
|
+
#
|
1649
|
+
# @!attribute [rw] data_access_role_arn
|
1650
|
+
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
1651
|
+
# Management (IAM) role that grants Amazon Comprehend Medical read
|
1652
|
+
# access to your input data. For more information, see [ Role-Based
|
1653
|
+
# Permissions Required for Asynchronous Operations][1].
|
1654
|
+
#
|
1655
|
+
#
|
1656
|
+
#
|
1657
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions-med.html#auth-role-permissions-med
|
1658
|
+
# @return [String]
|
1659
|
+
#
|
1660
|
+
# @!attribute [rw] job_name
|
1661
|
+
# The identifier of the job.
|
1662
|
+
# @return [String]
|
1663
|
+
#
|
1664
|
+
# @!attribute [rw] client_request_token
|
1665
|
+
# A unique identifier for the request. If you don't set the client
|
1666
|
+
# request token, Amazon Comprehend Medical generates one.
|
1667
|
+
#
|
1668
|
+
# **A suitable default value is auto-generated.** You should normally
|
1669
|
+
# not need to pass this option.
|
1670
|
+
# @return [String]
|
1671
|
+
#
|
1672
|
+
# @!attribute [rw] kms_key
|
1673
|
+
# An AWS Key Management Service key to encrypt your output files. If
|
1674
|
+
# you do not specify a key, the files are written in plain text.
|
1675
|
+
# @return [String]
|
1676
|
+
#
|
1677
|
+
# @!attribute [rw] language_code
|
1678
|
+
# The language of the input documents. All documents must be in the
|
1679
|
+
# same language.
|
1680
|
+
# @return [String]
|
1681
|
+
#
|
1682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartRxNormInferenceJobRequest AWS API Documentation
|
1683
|
+
#
|
1684
|
+
class StartRxNormInferenceJobRequest < Struct.new(
|
1685
|
+
:input_data_config,
|
1686
|
+
:output_data_config,
|
1687
|
+
:data_access_role_arn,
|
1688
|
+
:job_name,
|
1689
|
+
:client_request_token,
|
1690
|
+
:kms_key,
|
1691
|
+
:language_code)
|
1692
|
+
include Aws::Structure
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
# @!attribute [rw] job_id
|
1696
|
+
# The identifier of the job.
|
1697
|
+
# @return [String]
|
1698
|
+
#
|
1699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartRxNormInferenceJobResponse AWS API Documentation
|
1700
|
+
#
|
1701
|
+
class StartRxNormInferenceJobResponse < Struct.new(
|
1702
|
+
:job_id)
|
1703
|
+
include Aws::Structure
|
1704
|
+
end
|
1705
|
+
|
1351
1706
|
# @note When making an API call, you may pass StopEntitiesDetectionV2JobRequest
|
1352
1707
|
# data as a hash:
|
1353
1708
|
#
|
@@ -1378,6 +1733,36 @@ module Aws::ComprehendMedical
|
|
1378
1733
|
include Aws::Structure
|
1379
1734
|
end
|
1380
1735
|
|
1736
|
+
# @note When making an API call, you may pass StopICD10CMInferenceJobRequest
|
1737
|
+
# data as a hash:
|
1738
|
+
#
|
1739
|
+
# {
|
1740
|
+
# job_id: "JobId", # required
|
1741
|
+
# }
|
1742
|
+
#
|
1743
|
+
# @!attribute [rw] job_id
|
1744
|
+
# The identifier of the job.
|
1745
|
+
# @return [String]
|
1746
|
+
#
|
1747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopICD10CMInferenceJobRequest AWS API Documentation
|
1748
|
+
#
|
1749
|
+
class StopICD10CMInferenceJobRequest < Struct.new(
|
1750
|
+
:job_id)
|
1751
|
+
include Aws::Structure
|
1752
|
+
end
|
1753
|
+
|
1754
|
+
# @!attribute [rw] job_id
|
1755
|
+
# The identifier generated for the job. To get the status of job, use
|
1756
|
+
# this identifier with the `DescribeICD10CMInferenceJob` operation.
|
1757
|
+
# @return [String]
|
1758
|
+
#
|
1759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopICD10CMInferenceJobResponse AWS API Documentation
|
1760
|
+
#
|
1761
|
+
class StopICD10CMInferenceJobResponse < Struct.new(
|
1762
|
+
:job_id)
|
1763
|
+
include Aws::Structure
|
1764
|
+
end
|
1765
|
+
|
1381
1766
|
# @note When making an API call, you may pass StopPHIDetectionJobRequest
|
1382
1767
|
# data as a hash:
|
1383
1768
|
#
|
@@ -1407,6 +1792,36 @@ module Aws::ComprehendMedical
|
|
1407
1792
|
include Aws::Structure
|
1408
1793
|
end
|
1409
1794
|
|
1795
|
+
# @note When making an API call, you may pass StopRxNormInferenceJobRequest
|
1796
|
+
# data as a hash:
|
1797
|
+
#
|
1798
|
+
# {
|
1799
|
+
# job_id: "JobId", # required
|
1800
|
+
# }
|
1801
|
+
#
|
1802
|
+
# @!attribute [rw] job_id
|
1803
|
+
# The identifier of the job.
|
1804
|
+
# @return [String]
|
1805
|
+
#
|
1806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopRxNormInferenceJobRequest AWS API Documentation
|
1807
|
+
#
|
1808
|
+
class StopRxNormInferenceJobRequest < Struct.new(
|
1809
|
+
:job_id)
|
1810
|
+
include Aws::Structure
|
1811
|
+
end
|
1812
|
+
|
1813
|
+
# @!attribute [rw] job_id
|
1814
|
+
# The identifier generated for the job. To get the status of job, use
|
1815
|
+
# this identifier with the `DescribeRxNormInferenceJob` operation.
|
1816
|
+
# @return [String]
|
1817
|
+
#
|
1818
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopRxNormInferenceJobResponse AWS API Documentation
|
1819
|
+
#
|
1820
|
+
class StopRxNormInferenceJobResponse < Struct.new(
|
1821
|
+
:job_id)
|
1822
|
+
include Aws::Structure
|
1823
|
+
end
|
1824
|
+
|
1410
1825
|
# The size of the text you submitted exceeds the size limit. Reduce the
|
1411
1826
|
# size of the text or use a smaller document and then retry your
|
1412
1827
|
# request.
|