aws-sdk-comprehendmedical 1.13.0 → 1.18.1
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.
- checksums.yaml +5 -5
- data/lib/aws-sdk-comprehendmedical.rb +7 -4
- data/lib/aws-sdk-comprehendmedical/client.rb +487 -14
- data/lib/aws-sdk-comprehendmedical/client_api.rb +176 -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 +404 -1
- metadata +5 -5
@@ -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,8 +68,12 @@ 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')
|
@@ -90,12 +98,20 @@ module Aws::ComprehendMedical
|
|
90
98
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
91
99
|
StartEntitiesDetectionV2JobRequest = Shapes::StructureShape.new(name: 'StartEntitiesDetectionV2JobRequest')
|
92
100
|
StartEntitiesDetectionV2JobResponse = Shapes::StructureShape.new(name: 'StartEntitiesDetectionV2JobResponse')
|
101
|
+
StartICD10CMInferenceJobRequest = Shapes::StructureShape.new(name: 'StartICD10CMInferenceJobRequest')
|
102
|
+
StartICD10CMInferenceJobResponse = Shapes::StructureShape.new(name: 'StartICD10CMInferenceJobResponse')
|
93
103
|
StartPHIDetectionJobRequest = Shapes::StructureShape.new(name: 'StartPHIDetectionJobRequest')
|
94
104
|
StartPHIDetectionJobResponse = Shapes::StructureShape.new(name: 'StartPHIDetectionJobResponse')
|
105
|
+
StartRxNormInferenceJobRequest = Shapes::StructureShape.new(name: 'StartRxNormInferenceJobRequest')
|
106
|
+
StartRxNormInferenceJobResponse = Shapes::StructureShape.new(name: 'StartRxNormInferenceJobResponse')
|
95
107
|
StopEntitiesDetectionV2JobRequest = Shapes::StructureShape.new(name: 'StopEntitiesDetectionV2JobRequest')
|
96
108
|
StopEntitiesDetectionV2JobResponse = Shapes::StructureShape.new(name: 'StopEntitiesDetectionV2JobResponse')
|
109
|
+
StopICD10CMInferenceJobRequest = Shapes::StructureShape.new(name: 'StopICD10CMInferenceJobRequest')
|
110
|
+
StopICD10CMInferenceJobResponse = Shapes::StructureShape.new(name: 'StopICD10CMInferenceJobResponse')
|
97
111
|
StopPHIDetectionJobRequest = Shapes::StructureShape.new(name: 'StopPHIDetectionJobRequest')
|
98
112
|
StopPHIDetectionJobResponse = Shapes::StructureShape.new(name: 'StopPHIDetectionJobResponse')
|
113
|
+
StopRxNormInferenceJobRequest = Shapes::StructureShape.new(name: 'StopRxNormInferenceJobRequest')
|
114
|
+
StopRxNormInferenceJobResponse = Shapes::StructureShape.new(name: 'StopRxNormInferenceJobResponse')
|
99
115
|
String = Shapes::StringShape.new(name: 'String')
|
100
116
|
TextSizeLimitExceededException = Shapes::StructureShape.new(name: 'TextSizeLimitExceededException')
|
101
117
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
@@ -150,12 +166,24 @@ module Aws::ComprehendMedical
|
|
150
166
|
DescribeEntitiesDetectionV2JobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
151
167
|
DescribeEntitiesDetectionV2JobResponse.struct_class = Types::DescribeEntitiesDetectionV2JobResponse
|
152
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
|
+
|
153
175
|
DescribePHIDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
154
176
|
DescribePHIDetectionJobRequest.struct_class = Types::DescribePHIDetectionJobRequest
|
155
177
|
|
156
178
|
DescribePHIDetectionJobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
157
179
|
DescribePHIDetectionJobResponse.struct_class = Types::DescribePHIDetectionJobResponse
|
158
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
|
+
|
159
187
|
DetectEntitiesRequest.add_member(:text, Shapes::ShapeRef.new(shape: BoundedLengthString, required: true, location_name: "Text"))
|
160
188
|
DetectEntitiesRequest.struct_class = Types::DetectEntitiesRequest
|
161
189
|
|
@@ -272,6 +300,15 @@ module Aws::ComprehendMedical
|
|
272
300
|
ListEntitiesDetectionV2JobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
273
301
|
ListEntitiesDetectionV2JobsResponse.struct_class = Types::ListEntitiesDetectionV2JobsResponse
|
274
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
|
+
|
275
312
|
ListPHIDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobFilter, location_name: "Filter"))
|
276
313
|
ListPHIDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
277
314
|
ListPHIDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
@@ -281,6 +318,15 @@ module Aws::ComprehendMedical
|
|
281
318
|
ListPHIDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
282
319
|
ListPHIDetectionJobsResponse.struct_class = Types::ListPHIDetectionJobsResponse
|
283
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
|
+
|
284
330
|
OutputDataConfig.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
|
285
331
|
OutputDataConfig.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
|
286
332
|
OutputDataConfig.struct_class = Types::OutputDataConfig
|
@@ -342,6 +388,18 @@ module Aws::ComprehendMedical
|
|
342
388
|
StartEntitiesDetectionV2JobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
343
389
|
StartEntitiesDetectionV2JobResponse.struct_class = Types::StartEntitiesDetectionV2JobResponse
|
344
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
|
+
|
345
403
|
StartPHIDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
346
404
|
StartPHIDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
347
405
|
StartPHIDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
@@ -354,18 +412,42 @@ module Aws::ComprehendMedical
|
|
354
412
|
StartPHIDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
355
413
|
StartPHIDetectionJobResponse.struct_class = Types::StartPHIDetectionJobResponse
|
356
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
|
+
|
357
427
|
StopEntitiesDetectionV2JobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
358
428
|
StopEntitiesDetectionV2JobRequest.struct_class = Types::StopEntitiesDetectionV2JobRequest
|
359
429
|
|
360
430
|
StopEntitiesDetectionV2JobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
361
431
|
StopEntitiesDetectionV2JobResponse.struct_class = Types::StopEntitiesDetectionV2JobResponse
|
362
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
|
+
|
363
439
|
StopPHIDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
364
440
|
StopPHIDetectionJobRequest.struct_class = Types::StopPHIDetectionJobRequest
|
365
441
|
|
366
442
|
StopPHIDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
367
443
|
StopPHIDetectionJobResponse.struct_class = Types::StopPHIDetectionJobResponse
|
368
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
|
+
|
369
451
|
TextSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
370
452
|
TextSizeLimitExceededException.struct_class = Types::TextSizeLimitExceededException
|
371
453
|
|
@@ -419,6 +501,18 @@ module Aws::ComprehendMedical
|
|
419
501
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
420
502
|
end)
|
421
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
|
+
|
422
516
|
api.add_operation(:describe_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
423
517
|
o.name = "DescribePHIDetectionJob"
|
424
518
|
o.http_method = "POST"
|
@@ -431,6 +525,18 @@ module Aws::ComprehendMedical
|
|
431
525
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
432
526
|
end)
|
433
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
|
+
|
434
540
|
api.add_operation(:detect_entities, Seahorse::Model::Operation.new.tap do |o|
|
435
541
|
o.name = "DetectEntities"
|
436
542
|
o.http_method = "POST"
|
@@ -514,6 +620,18 @@ module Aws::ComprehendMedical
|
|
514
620
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
515
621
|
end)
|
516
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
|
+
|
517
635
|
api.add_operation(:list_phi_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
518
636
|
o.name = "ListPHIDetectionJobs"
|
519
637
|
o.http_method = "POST"
|
@@ -526,6 +644,18 @@ module Aws::ComprehendMedical
|
|
526
644
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
527
645
|
end)
|
528
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
|
+
|
529
659
|
api.add_operation(:start_entities_detection_v2_job, Seahorse::Model::Operation.new.tap do |o|
|
530
660
|
o.name = "StartEntitiesDetectionV2Job"
|
531
661
|
o.http_method = "POST"
|
@@ -538,6 +668,18 @@ module Aws::ComprehendMedical
|
|
538
668
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
539
669
|
end)
|
540
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
|
+
|
541
683
|
api.add_operation(:start_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
542
684
|
o.name = "StartPHIDetectionJob"
|
543
685
|
o.http_method = "POST"
|
@@ -550,6 +692,18 @@ module Aws::ComprehendMedical
|
|
550
692
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
551
693
|
end)
|
552
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
|
+
|
553
707
|
api.add_operation(:stop_entities_detection_v2_job, Seahorse::Model::Operation.new.tap do |o|
|
554
708
|
o.name = "StopEntitiesDetectionV2Job"
|
555
709
|
o.http_method = "POST"
|
@@ -561,6 +715,17 @@ module Aws::ComprehendMedical
|
|
561
715
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
562
716
|
end)
|
563
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
|
+
|
564
729
|
api.add_operation(:stop_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
565
730
|
o.name = "StopPHIDetectionJob"
|
566
731
|
o.http_method = "POST"
|
@@ -571,6 +736,17 @@ module Aws::ComprehendMedical
|
|
571
736
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
572
737
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
573
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)
|
574
750
|
end
|
575
751
|
|
576
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
|
@@ -246,6 +246,38 @@ module Aws::ComprehendMedical
|
|
246
246
|
include Aws::Structure
|
247
247
|
end
|
248
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
|
+
|
249
281
|
# @note When making an API call, you may pass DescribePHIDetectionJobRequest
|
250
282
|
# data as a hash:
|
251
283
|
#
|
@@ -278,6 +310,38 @@ module Aws::ComprehendMedical
|
|
278
310
|
include Aws::Structure
|
279
311
|
end
|
280
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
|
+
|
281
345
|
# @note When making an API call, you may pass DetectEntitiesRequest
|
282
346
|
# data as a hash:
|
283
347
|
#
|
@@ -771,7 +835,9 @@ module Aws::ComprehendMedical
|
|
771
835
|
include Aws::Structure
|
772
836
|
end
|
773
837
|
|
774
|
-
# 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.
|
775
841
|
#
|
776
842
|
# @note When making an API call, you may pass InputDataConfig
|
777
843
|
# data as a hash:
|
@@ -893,6 +959,60 @@ module Aws::ComprehendMedical
|
|
893
959
|
include Aws::Structure
|
894
960
|
end
|
895
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
|
+
|
896
1016
|
# @note When making an API call, you may pass ListPHIDetectionJobsRequest
|
897
1017
|
# data as a hash:
|
898
1018
|
#
|
@@ -947,6 +1067,60 @@ module Aws::ComprehendMedical
|
|
947
1067
|
include Aws::Structure
|
948
1068
|
end
|
949
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
|
+
|
950
1124
|
# The output properties for a detection job.
|
951
1125
|
#
|
952
1126
|
# @note When making an API call, you may pass OutputDataConfig
|
@@ -1275,6 +1449,91 @@ module Aws::ComprehendMedical
|
|
1275
1449
|
include Aws::Structure
|
1276
1450
|
end
|
1277
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
|
+
|
1278
1537
|
# @note When making an API call, you may pass StartPHIDetectionJobRequest
|
1279
1538
|
# data as a hash:
|
1280
1539
|
#
|
@@ -1360,6 +1619,90 @@ module Aws::ComprehendMedical
|
|
1360
1619
|
include Aws::Structure
|
1361
1620
|
end
|
1362
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
|
+
|
1363
1706
|
# @note When making an API call, you may pass StopEntitiesDetectionV2JobRequest
|
1364
1707
|
# data as a hash:
|
1365
1708
|
#
|
@@ -1390,6 +1733,36 @@ module Aws::ComprehendMedical
|
|
1390
1733
|
include Aws::Structure
|
1391
1734
|
end
|
1392
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
|
+
|
1393
1766
|
# @note When making an API call, you may pass StopPHIDetectionJobRequest
|
1394
1767
|
# data as a hash:
|
1395
1768
|
#
|
@@ -1419,6 +1792,36 @@ module Aws::ComprehendMedical
|
|
1419
1792
|
include Aws::Structure
|
1420
1793
|
end
|
1421
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
|
+
|
1422
1825
|
# The size of the text you submitted exceeds the size limit. Reduce the
|
1423
1826
|
# size of the text or use a smaller document and then retry your
|
1424
1827
|
# request.
|