aws-sdk-comprehendmedical 1.14.0 → 1.19.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 +3 -1
- data/lib/aws-sdk-comprehendmedical/client.rb +445 -21
- data/lib/aws-sdk-comprehendmedical/client_api.rb +178 -0
- data/lib/aws-sdk-comprehendmedical/errors.rb +2 -0
- data/lib/aws-sdk-comprehendmedical/resource.rb +3 -7
- data/lib/aws-sdk-comprehendmedical/types.rb +472 -1
- metadata +5 -5
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -22,8 +24,12 @@ module Aws::ComprehendMedical
|
|
22
24
|
ComprehendMedicalAsyncJobPropertiesList = Shapes::ListShape.new(name: 'ComprehendMedicalAsyncJobPropertiesList')
|
23
25
|
DescribeEntitiesDetectionV2JobRequest = Shapes::StructureShape.new(name: 'DescribeEntitiesDetectionV2JobRequest')
|
24
26
|
DescribeEntitiesDetectionV2JobResponse = Shapes::StructureShape.new(name: 'DescribeEntitiesDetectionV2JobResponse')
|
27
|
+
DescribeICD10CMInferenceJobRequest = Shapes::StructureShape.new(name: 'DescribeICD10CMInferenceJobRequest')
|
28
|
+
DescribeICD10CMInferenceJobResponse = Shapes::StructureShape.new(name: 'DescribeICD10CMInferenceJobResponse')
|
25
29
|
DescribePHIDetectionJobRequest = Shapes::StructureShape.new(name: 'DescribePHIDetectionJobRequest')
|
26
30
|
DescribePHIDetectionJobResponse = Shapes::StructureShape.new(name: 'DescribePHIDetectionJobResponse')
|
31
|
+
DescribeRxNormInferenceJobRequest = Shapes::StructureShape.new(name: 'DescribeRxNormInferenceJobRequest')
|
32
|
+
DescribeRxNormInferenceJobResponse = Shapes::StructureShape.new(name: 'DescribeRxNormInferenceJobResponse')
|
27
33
|
DetectEntitiesRequest = Shapes::StructureShape.new(name: 'DetectEntitiesRequest')
|
28
34
|
DetectEntitiesResponse = Shapes::StructureShape.new(name: 'DetectEntitiesResponse')
|
29
35
|
DetectEntitiesV2Request = Shapes::StructureShape.new(name: 'DetectEntitiesV2Request')
|
@@ -64,8 +70,12 @@ module Aws::ComprehendMedical
|
|
64
70
|
LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
|
65
71
|
ListEntitiesDetectionV2JobsRequest = Shapes::StructureShape.new(name: 'ListEntitiesDetectionV2JobsRequest')
|
66
72
|
ListEntitiesDetectionV2JobsResponse = Shapes::StructureShape.new(name: 'ListEntitiesDetectionV2JobsResponse')
|
73
|
+
ListICD10CMInferenceJobsRequest = Shapes::StructureShape.new(name: 'ListICD10CMInferenceJobsRequest')
|
74
|
+
ListICD10CMInferenceJobsResponse = Shapes::StructureShape.new(name: 'ListICD10CMInferenceJobsResponse')
|
67
75
|
ListPHIDetectionJobsRequest = Shapes::StructureShape.new(name: 'ListPHIDetectionJobsRequest')
|
68
76
|
ListPHIDetectionJobsResponse = Shapes::StructureShape.new(name: 'ListPHIDetectionJobsResponse')
|
77
|
+
ListRxNormInferenceJobsRequest = Shapes::StructureShape.new(name: 'ListRxNormInferenceJobsRequest')
|
78
|
+
ListRxNormInferenceJobsResponse = Shapes::StructureShape.new(name: 'ListRxNormInferenceJobsResponse')
|
69
79
|
ManifestFilePath = Shapes::StringShape.new(name: 'ManifestFilePath')
|
70
80
|
MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
|
71
81
|
ModelVersion = Shapes::StringShape.new(name: 'ModelVersion')
|
@@ -90,12 +100,20 @@ module Aws::ComprehendMedical
|
|
90
100
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
91
101
|
StartEntitiesDetectionV2JobRequest = Shapes::StructureShape.new(name: 'StartEntitiesDetectionV2JobRequest')
|
92
102
|
StartEntitiesDetectionV2JobResponse = Shapes::StructureShape.new(name: 'StartEntitiesDetectionV2JobResponse')
|
103
|
+
StartICD10CMInferenceJobRequest = Shapes::StructureShape.new(name: 'StartICD10CMInferenceJobRequest')
|
104
|
+
StartICD10CMInferenceJobResponse = Shapes::StructureShape.new(name: 'StartICD10CMInferenceJobResponse')
|
93
105
|
StartPHIDetectionJobRequest = Shapes::StructureShape.new(name: 'StartPHIDetectionJobRequest')
|
94
106
|
StartPHIDetectionJobResponse = Shapes::StructureShape.new(name: 'StartPHIDetectionJobResponse')
|
107
|
+
StartRxNormInferenceJobRequest = Shapes::StructureShape.new(name: 'StartRxNormInferenceJobRequest')
|
108
|
+
StartRxNormInferenceJobResponse = Shapes::StructureShape.new(name: 'StartRxNormInferenceJobResponse')
|
95
109
|
StopEntitiesDetectionV2JobRequest = Shapes::StructureShape.new(name: 'StopEntitiesDetectionV2JobRequest')
|
96
110
|
StopEntitiesDetectionV2JobResponse = Shapes::StructureShape.new(name: 'StopEntitiesDetectionV2JobResponse')
|
111
|
+
StopICD10CMInferenceJobRequest = Shapes::StructureShape.new(name: 'StopICD10CMInferenceJobRequest')
|
112
|
+
StopICD10CMInferenceJobResponse = Shapes::StructureShape.new(name: 'StopICD10CMInferenceJobResponse')
|
97
113
|
StopPHIDetectionJobRequest = Shapes::StructureShape.new(name: 'StopPHIDetectionJobRequest')
|
98
114
|
StopPHIDetectionJobResponse = Shapes::StructureShape.new(name: 'StopPHIDetectionJobResponse')
|
115
|
+
StopRxNormInferenceJobRequest = Shapes::StructureShape.new(name: 'StopRxNormInferenceJobRequest')
|
116
|
+
StopRxNormInferenceJobResponse = Shapes::StructureShape.new(name: 'StopRxNormInferenceJobResponse')
|
99
117
|
String = Shapes::StringShape.new(name: 'String')
|
100
118
|
TextSizeLimitExceededException = Shapes::StructureShape.new(name: 'TextSizeLimitExceededException')
|
101
119
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
@@ -150,12 +168,24 @@ module Aws::ComprehendMedical
|
|
150
168
|
DescribeEntitiesDetectionV2JobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
151
169
|
DescribeEntitiesDetectionV2JobResponse.struct_class = Types::DescribeEntitiesDetectionV2JobResponse
|
152
170
|
|
171
|
+
DescribeICD10CMInferenceJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
172
|
+
DescribeICD10CMInferenceJobRequest.struct_class = Types::DescribeICD10CMInferenceJobRequest
|
173
|
+
|
174
|
+
DescribeICD10CMInferenceJobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
175
|
+
DescribeICD10CMInferenceJobResponse.struct_class = Types::DescribeICD10CMInferenceJobResponse
|
176
|
+
|
153
177
|
DescribePHIDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
154
178
|
DescribePHIDetectionJobRequest.struct_class = Types::DescribePHIDetectionJobRequest
|
155
179
|
|
156
180
|
DescribePHIDetectionJobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
157
181
|
DescribePHIDetectionJobResponse.struct_class = Types::DescribePHIDetectionJobResponse
|
158
182
|
|
183
|
+
DescribeRxNormInferenceJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
184
|
+
DescribeRxNormInferenceJobRequest.struct_class = Types::DescribeRxNormInferenceJobRequest
|
185
|
+
|
186
|
+
DescribeRxNormInferenceJobResponse.add_member(:comprehend_medical_async_job_properties, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobProperties, location_name: "ComprehendMedicalAsyncJobProperties"))
|
187
|
+
DescribeRxNormInferenceJobResponse.struct_class = Types::DescribeRxNormInferenceJobResponse
|
188
|
+
|
159
189
|
DetectEntitiesRequest.add_member(:text, Shapes::ShapeRef.new(shape: BoundedLengthString, required: true, location_name: "Text"))
|
160
190
|
DetectEntitiesRequest.struct_class = Types::DetectEntitiesRequest
|
161
191
|
|
@@ -272,6 +302,15 @@ module Aws::ComprehendMedical
|
|
272
302
|
ListEntitiesDetectionV2JobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
273
303
|
ListEntitiesDetectionV2JobsResponse.struct_class = Types::ListEntitiesDetectionV2JobsResponse
|
274
304
|
|
305
|
+
ListICD10CMInferenceJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobFilter, location_name: "Filter"))
|
306
|
+
ListICD10CMInferenceJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
307
|
+
ListICD10CMInferenceJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
308
|
+
ListICD10CMInferenceJobsRequest.struct_class = Types::ListICD10CMInferenceJobsRequest
|
309
|
+
|
310
|
+
ListICD10CMInferenceJobsResponse.add_member(:comprehend_medical_async_job_properties_list, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobPropertiesList, location_name: "ComprehendMedicalAsyncJobPropertiesList"))
|
311
|
+
ListICD10CMInferenceJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
312
|
+
ListICD10CMInferenceJobsResponse.struct_class = Types::ListICD10CMInferenceJobsResponse
|
313
|
+
|
275
314
|
ListPHIDetectionJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobFilter, location_name: "Filter"))
|
276
315
|
ListPHIDetectionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
277
316
|
ListPHIDetectionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
@@ -281,6 +320,15 @@ module Aws::ComprehendMedical
|
|
281
320
|
ListPHIDetectionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
282
321
|
ListPHIDetectionJobsResponse.struct_class = Types::ListPHIDetectionJobsResponse
|
283
322
|
|
323
|
+
ListRxNormInferenceJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobFilter, location_name: "Filter"))
|
324
|
+
ListRxNormInferenceJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
325
|
+
ListRxNormInferenceJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
326
|
+
ListRxNormInferenceJobsRequest.struct_class = Types::ListRxNormInferenceJobsRequest
|
327
|
+
|
328
|
+
ListRxNormInferenceJobsResponse.add_member(:comprehend_medical_async_job_properties_list, Shapes::ShapeRef.new(shape: ComprehendMedicalAsyncJobPropertiesList, location_name: "ComprehendMedicalAsyncJobPropertiesList"))
|
329
|
+
ListRxNormInferenceJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
330
|
+
ListRxNormInferenceJobsResponse.struct_class = Types::ListRxNormInferenceJobsResponse
|
331
|
+
|
284
332
|
OutputDataConfig.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
|
285
333
|
OutputDataConfig.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
|
286
334
|
OutputDataConfig.struct_class = Types::OutputDataConfig
|
@@ -342,6 +390,18 @@ module Aws::ComprehendMedical
|
|
342
390
|
StartEntitiesDetectionV2JobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
343
391
|
StartEntitiesDetectionV2JobResponse.struct_class = Types::StartEntitiesDetectionV2JobResponse
|
344
392
|
|
393
|
+
StartICD10CMInferenceJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
394
|
+
StartICD10CMInferenceJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
395
|
+
StartICD10CMInferenceJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
396
|
+
StartICD10CMInferenceJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
397
|
+
StartICD10CMInferenceJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
398
|
+
StartICD10CMInferenceJobRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
399
|
+
StartICD10CMInferenceJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
400
|
+
StartICD10CMInferenceJobRequest.struct_class = Types::StartICD10CMInferenceJobRequest
|
401
|
+
|
402
|
+
StartICD10CMInferenceJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
403
|
+
StartICD10CMInferenceJobResponse.struct_class = Types::StartICD10CMInferenceJobResponse
|
404
|
+
|
345
405
|
StartPHIDetectionJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
346
406
|
StartPHIDetectionJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
347
407
|
StartPHIDetectionJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
@@ -354,18 +414,42 @@ module Aws::ComprehendMedical
|
|
354
414
|
StartPHIDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
355
415
|
StartPHIDetectionJobResponse.struct_class = Types::StartPHIDetectionJobResponse
|
356
416
|
|
417
|
+
StartRxNormInferenceJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
418
|
+
StartRxNormInferenceJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
419
|
+
StartRxNormInferenceJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
420
|
+
StartRxNormInferenceJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
421
|
+
StartRxNormInferenceJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
422
|
+
StartRxNormInferenceJobRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
|
423
|
+
StartRxNormInferenceJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
424
|
+
StartRxNormInferenceJobRequest.struct_class = Types::StartRxNormInferenceJobRequest
|
425
|
+
|
426
|
+
StartRxNormInferenceJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
427
|
+
StartRxNormInferenceJobResponse.struct_class = Types::StartRxNormInferenceJobResponse
|
428
|
+
|
357
429
|
StopEntitiesDetectionV2JobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
358
430
|
StopEntitiesDetectionV2JobRequest.struct_class = Types::StopEntitiesDetectionV2JobRequest
|
359
431
|
|
360
432
|
StopEntitiesDetectionV2JobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
361
433
|
StopEntitiesDetectionV2JobResponse.struct_class = Types::StopEntitiesDetectionV2JobResponse
|
362
434
|
|
435
|
+
StopICD10CMInferenceJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
436
|
+
StopICD10CMInferenceJobRequest.struct_class = Types::StopICD10CMInferenceJobRequest
|
437
|
+
|
438
|
+
StopICD10CMInferenceJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
439
|
+
StopICD10CMInferenceJobResponse.struct_class = Types::StopICD10CMInferenceJobResponse
|
440
|
+
|
363
441
|
StopPHIDetectionJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
364
442
|
StopPHIDetectionJobRequest.struct_class = Types::StopPHIDetectionJobRequest
|
365
443
|
|
366
444
|
StopPHIDetectionJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
367
445
|
StopPHIDetectionJobResponse.struct_class = Types::StopPHIDetectionJobResponse
|
368
446
|
|
447
|
+
StopRxNormInferenceJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
448
|
+
StopRxNormInferenceJobRequest.struct_class = Types::StopRxNormInferenceJobRequest
|
449
|
+
|
450
|
+
StopRxNormInferenceJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
|
451
|
+
StopRxNormInferenceJobResponse.struct_class = Types::StopRxNormInferenceJobResponse
|
452
|
+
|
369
453
|
TextSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
370
454
|
TextSizeLimitExceededException.struct_class = Types::TextSizeLimitExceededException
|
371
455
|
|
@@ -419,6 +503,18 @@ module Aws::ComprehendMedical
|
|
419
503
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
420
504
|
end)
|
421
505
|
|
506
|
+
api.add_operation(:describe_icd10cm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
507
|
+
o.name = "DescribeICD10CMInferenceJob"
|
508
|
+
o.http_method = "POST"
|
509
|
+
o.http_request_uri = "/"
|
510
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeICD10CMInferenceJobRequest)
|
511
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeICD10CMInferenceJobResponse)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
516
|
+
end)
|
517
|
+
|
422
518
|
api.add_operation(:describe_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
423
519
|
o.name = "DescribePHIDetectionJob"
|
424
520
|
o.http_method = "POST"
|
@@ -431,6 +527,18 @@ module Aws::ComprehendMedical
|
|
431
527
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
432
528
|
end)
|
433
529
|
|
530
|
+
api.add_operation(:describe_rx_norm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
531
|
+
o.name = "DescribeRxNormInferenceJob"
|
532
|
+
o.http_method = "POST"
|
533
|
+
o.http_request_uri = "/"
|
534
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeRxNormInferenceJobRequest)
|
535
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeRxNormInferenceJobResponse)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
540
|
+
end)
|
541
|
+
|
434
542
|
api.add_operation(:detect_entities, Seahorse::Model::Operation.new.tap do |o|
|
435
543
|
o.name = "DetectEntities"
|
436
544
|
o.http_method = "POST"
|
@@ -514,6 +622,18 @@ module Aws::ComprehendMedical
|
|
514
622
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
515
623
|
end)
|
516
624
|
|
625
|
+
api.add_operation(:list_icd10cm_inference_jobs, Seahorse::Model::Operation.new.tap do |o|
|
626
|
+
o.name = "ListICD10CMInferenceJobs"
|
627
|
+
o.http_method = "POST"
|
628
|
+
o.http_request_uri = "/"
|
629
|
+
o.input = Shapes::ShapeRef.new(shape: ListICD10CMInferenceJobsRequest)
|
630
|
+
o.output = Shapes::ShapeRef.new(shape: ListICD10CMInferenceJobsResponse)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
633
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
634
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
635
|
+
end)
|
636
|
+
|
517
637
|
api.add_operation(:list_phi_detection_jobs, Seahorse::Model::Operation.new.tap do |o|
|
518
638
|
o.name = "ListPHIDetectionJobs"
|
519
639
|
o.http_method = "POST"
|
@@ -526,6 +646,18 @@ module Aws::ComprehendMedical
|
|
526
646
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
527
647
|
end)
|
528
648
|
|
649
|
+
api.add_operation(:list_rx_norm_inference_jobs, Seahorse::Model::Operation.new.tap do |o|
|
650
|
+
o.name = "ListRxNormInferenceJobs"
|
651
|
+
o.http_method = "POST"
|
652
|
+
o.http_request_uri = "/"
|
653
|
+
o.input = Shapes::ShapeRef.new(shape: ListRxNormInferenceJobsRequest)
|
654
|
+
o.output = Shapes::ShapeRef.new(shape: ListRxNormInferenceJobsResponse)
|
655
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
657
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
659
|
+
end)
|
660
|
+
|
529
661
|
api.add_operation(:start_entities_detection_v2_job, Seahorse::Model::Operation.new.tap do |o|
|
530
662
|
o.name = "StartEntitiesDetectionV2Job"
|
531
663
|
o.http_method = "POST"
|
@@ -538,6 +670,18 @@ module Aws::ComprehendMedical
|
|
538
670
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
539
671
|
end)
|
540
672
|
|
673
|
+
api.add_operation(:start_icd10cm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
674
|
+
o.name = "StartICD10CMInferenceJob"
|
675
|
+
o.http_method = "POST"
|
676
|
+
o.http_request_uri = "/"
|
677
|
+
o.input = Shapes::ShapeRef.new(shape: StartICD10CMInferenceJobRequest)
|
678
|
+
o.output = Shapes::ShapeRef.new(shape: StartICD10CMInferenceJobResponse)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
683
|
+
end)
|
684
|
+
|
541
685
|
api.add_operation(:start_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
542
686
|
o.name = "StartPHIDetectionJob"
|
543
687
|
o.http_method = "POST"
|
@@ -550,6 +694,18 @@ module Aws::ComprehendMedical
|
|
550
694
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
551
695
|
end)
|
552
696
|
|
697
|
+
api.add_operation(:start_rx_norm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
698
|
+
o.name = "StartRxNormInferenceJob"
|
699
|
+
o.http_method = "POST"
|
700
|
+
o.http_request_uri = "/"
|
701
|
+
o.input = Shapes::ShapeRef.new(shape: StartRxNormInferenceJobRequest)
|
702
|
+
o.output = Shapes::ShapeRef.new(shape: StartRxNormInferenceJobResponse)
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
706
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
707
|
+
end)
|
708
|
+
|
553
709
|
api.add_operation(:stop_entities_detection_v2_job, Seahorse::Model::Operation.new.tap do |o|
|
554
710
|
o.name = "StopEntitiesDetectionV2Job"
|
555
711
|
o.http_method = "POST"
|
@@ -561,6 +717,17 @@ module Aws::ComprehendMedical
|
|
561
717
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
562
718
|
end)
|
563
719
|
|
720
|
+
api.add_operation(:stop_icd10cm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
721
|
+
o.name = "StopICD10CMInferenceJob"
|
722
|
+
o.http_method = "POST"
|
723
|
+
o.http_request_uri = "/"
|
724
|
+
o.input = Shapes::ShapeRef.new(shape: StopICD10CMInferenceJobRequest)
|
725
|
+
o.output = Shapes::ShapeRef.new(shape: StopICD10CMInferenceJobResponse)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
727
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
728
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
729
|
+
end)
|
730
|
+
|
564
731
|
api.add_operation(:stop_phi_detection_job, Seahorse::Model::Operation.new.tap do |o|
|
565
732
|
o.name = "StopPHIDetectionJob"
|
566
733
|
o.http_method = "POST"
|
@@ -571,6 +738,17 @@ module Aws::ComprehendMedical
|
|
571
738
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
572
739
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
573
740
|
end)
|
741
|
+
|
742
|
+
api.add_operation(:stop_rx_norm_inference_job, Seahorse::Model::Operation.new.tap do |o|
|
743
|
+
o.name = "StopRxNormInferenceJob"
|
744
|
+
o.http_method = "POST"
|
745
|
+
o.http_request_uri = "/"
|
746
|
+
o.input = Shapes::ShapeRef.new(shape: StopRxNormInferenceJobRequest)
|
747
|
+
o.output = Shapes::ShapeRef.new(shape: StopRxNormInferenceJobResponse)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
749
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
750
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
751
|
+
end)
|
574
752
|
end
|
575
753
|
|
576
754
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::ComprehendMedical
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::ComprehendMedical::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::ComprehendMedical::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::ComprehendMedical::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -77,6 +79,7 @@ module Aws::ComprehendMedical
|
|
77
79
|
:text,
|
78
80
|
:category,
|
79
81
|
:traits)
|
82
|
+
SENSITIVE = []
|
80
83
|
include Aws::Structure
|
81
84
|
end
|
82
85
|
|
@@ -122,6 +125,7 @@ module Aws::ComprehendMedical
|
|
122
125
|
:job_status,
|
123
126
|
:submit_time_before,
|
124
127
|
:submit_time_after)
|
128
|
+
SENSITIVE = []
|
125
129
|
include Aws::Structure
|
126
130
|
end
|
127
131
|
|
@@ -211,6 +215,7 @@ module Aws::ComprehendMedical
|
|
211
215
|
:manifest_file_path,
|
212
216
|
:kms_key,
|
213
217
|
:model_version)
|
218
|
+
SENSITIVE = []
|
214
219
|
include Aws::Structure
|
215
220
|
end
|
216
221
|
|
@@ -231,6 +236,7 @@ module Aws::ComprehendMedical
|
|
231
236
|
#
|
232
237
|
class DescribeEntitiesDetectionV2JobRequest < Struct.new(
|
233
238
|
:job_id)
|
239
|
+
SENSITIVE = []
|
234
240
|
include Aws::Structure
|
235
241
|
end
|
236
242
|
|
@@ -243,6 +249,41 @@ module Aws::ComprehendMedical
|
|
243
249
|
#
|
244
250
|
class DescribeEntitiesDetectionV2JobResponse < Struct.new(
|
245
251
|
:comprehend_medical_async_job_properties)
|
252
|
+
SENSITIVE = []
|
253
|
+
include Aws::Structure
|
254
|
+
end
|
255
|
+
|
256
|
+
# @note When making an API call, you may pass DescribeICD10CMInferenceJobRequest
|
257
|
+
# data as a hash:
|
258
|
+
#
|
259
|
+
# {
|
260
|
+
# job_id: "JobId", # required
|
261
|
+
# }
|
262
|
+
#
|
263
|
+
# @!attribute [rw] job_id
|
264
|
+
# The identifier that Amazon Comprehend Medical generated for the job.
|
265
|
+
# `The StartICD10CMInferenceJob` operation returns this identifier in
|
266
|
+
# its response.
|
267
|
+
# @return [String]
|
268
|
+
#
|
269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeICD10CMInferenceJobRequest AWS API Documentation
|
270
|
+
#
|
271
|
+
class DescribeICD10CMInferenceJobRequest < Struct.new(
|
272
|
+
:job_id)
|
273
|
+
SENSITIVE = []
|
274
|
+
include Aws::Structure
|
275
|
+
end
|
276
|
+
|
277
|
+
# @!attribute [rw] comprehend_medical_async_job_properties
|
278
|
+
# An object that contains the properties associated with a detection
|
279
|
+
# job.
|
280
|
+
# @return [Types::ComprehendMedicalAsyncJobProperties]
|
281
|
+
#
|
282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeICD10CMInferenceJobResponse AWS API Documentation
|
283
|
+
#
|
284
|
+
class DescribeICD10CMInferenceJobResponse < Struct.new(
|
285
|
+
:comprehend_medical_async_job_properties)
|
286
|
+
SENSITIVE = []
|
246
287
|
include Aws::Structure
|
247
288
|
end
|
248
289
|
|
@@ -263,6 +304,7 @@ module Aws::ComprehendMedical
|
|
263
304
|
#
|
264
305
|
class DescribePHIDetectionJobRequest < Struct.new(
|
265
306
|
:job_id)
|
307
|
+
SENSITIVE = []
|
266
308
|
include Aws::Structure
|
267
309
|
end
|
268
310
|
|
@@ -275,6 +317,41 @@ module Aws::ComprehendMedical
|
|
275
317
|
#
|
276
318
|
class DescribePHIDetectionJobResponse < Struct.new(
|
277
319
|
:comprehend_medical_async_job_properties)
|
320
|
+
SENSITIVE = []
|
321
|
+
include Aws::Structure
|
322
|
+
end
|
323
|
+
|
324
|
+
# @note When making an API call, you may pass DescribeRxNormInferenceJobRequest
|
325
|
+
# data as a hash:
|
326
|
+
#
|
327
|
+
# {
|
328
|
+
# job_id: "JobId", # required
|
329
|
+
# }
|
330
|
+
#
|
331
|
+
# @!attribute [rw] job_id
|
332
|
+
# The identifier that Amazon Comprehend Medical generated for the job.
|
333
|
+
# The StartRxNormInferenceJob operation returns this identifier in its
|
334
|
+
# response.
|
335
|
+
# @return [String]
|
336
|
+
#
|
337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeRxNormInferenceJobRequest AWS API Documentation
|
338
|
+
#
|
339
|
+
class DescribeRxNormInferenceJobRequest < Struct.new(
|
340
|
+
:job_id)
|
341
|
+
SENSITIVE = []
|
342
|
+
include Aws::Structure
|
343
|
+
end
|
344
|
+
|
345
|
+
# @!attribute [rw] comprehend_medical_async_job_properties
|
346
|
+
# An object that contains the properties associated with a detection
|
347
|
+
# job.
|
348
|
+
# @return [Types::ComprehendMedicalAsyncJobProperties]
|
349
|
+
#
|
350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeRxNormInferenceJobResponse AWS API Documentation
|
351
|
+
#
|
352
|
+
class DescribeRxNormInferenceJobResponse < Struct.new(
|
353
|
+
:comprehend_medical_async_job_properties)
|
354
|
+
SENSITIVE = []
|
278
355
|
include Aws::Structure
|
279
356
|
end
|
280
357
|
|
@@ -295,6 +372,7 @@ module Aws::ComprehendMedical
|
|
295
372
|
#
|
296
373
|
class DetectEntitiesRequest < Struct.new(
|
297
374
|
:text)
|
375
|
+
SENSITIVE = []
|
298
376
|
include Aws::Structure
|
299
377
|
end
|
300
378
|
|
@@ -331,6 +409,7 @@ module Aws::ComprehendMedical
|
|
331
409
|
:unmapped_attributes,
|
332
410
|
:pagination_token,
|
333
411
|
:model_version)
|
412
|
+
SENSITIVE = []
|
334
413
|
include Aws::Structure
|
335
414
|
end
|
336
415
|
|
@@ -351,6 +430,7 @@ module Aws::ComprehendMedical
|
|
351
430
|
#
|
352
431
|
class DetectEntitiesV2Request < Struct.new(
|
353
432
|
:text)
|
433
|
+
SENSITIVE = []
|
354
434
|
include Aws::Structure
|
355
435
|
end
|
356
436
|
|
@@ -385,6 +465,7 @@ module Aws::ComprehendMedical
|
|
385
465
|
:unmapped_attributes,
|
386
466
|
:pagination_token,
|
387
467
|
:model_version)
|
468
|
+
SENSITIVE = []
|
388
469
|
include Aws::Structure
|
389
470
|
end
|
390
471
|
|
@@ -405,6 +486,7 @@ module Aws::ComprehendMedical
|
|
405
486
|
#
|
406
487
|
class DetectPHIRequest < Struct.new(
|
407
488
|
:text)
|
489
|
+
SENSITIVE = []
|
408
490
|
include Aws::Structure
|
409
491
|
end
|
410
492
|
|
@@ -434,6 +516,7 @@ module Aws::ComprehendMedical
|
|
434
516
|
:entities,
|
435
517
|
:pagination_token,
|
436
518
|
:model_version)
|
519
|
+
SENSITIVE = []
|
437
520
|
include Aws::Structure
|
438
521
|
end
|
439
522
|
|
@@ -493,6 +576,7 @@ module Aws::ComprehendMedical
|
|
493
576
|
:type,
|
494
577
|
:traits,
|
495
578
|
:attributes)
|
579
|
+
SENSITIVE = []
|
496
580
|
include Aws::Structure
|
497
581
|
end
|
498
582
|
|
@@ -554,6 +638,7 @@ module Aws::ComprehendMedical
|
|
554
638
|
:end_offset,
|
555
639
|
:text,
|
556
640
|
:traits)
|
641
|
+
SENSITIVE = []
|
557
642
|
include Aws::Structure
|
558
643
|
end
|
559
644
|
|
@@ -580,6 +665,7 @@ module Aws::ComprehendMedical
|
|
580
665
|
:description,
|
581
666
|
:code,
|
582
667
|
:score)
|
668
|
+
SENSITIVE = []
|
583
669
|
include Aws::Structure
|
584
670
|
end
|
585
671
|
|
@@ -656,6 +742,7 @@ module Aws::ComprehendMedical
|
|
656
742
|
:attributes,
|
657
743
|
:traits,
|
658
744
|
:icd10cm_concepts)
|
745
|
+
SENSITIVE = []
|
659
746
|
include Aws::Structure
|
660
747
|
end
|
661
748
|
|
@@ -676,6 +763,7 @@ module Aws::ComprehendMedical
|
|
676
763
|
class ICD10CMTrait < Struct.new(
|
677
764
|
:name,
|
678
765
|
:score)
|
766
|
+
SENSITIVE = []
|
679
767
|
include Aws::Structure
|
680
768
|
end
|
681
769
|
|
@@ -695,6 +783,7 @@ module Aws::ComprehendMedical
|
|
695
783
|
#
|
696
784
|
class InferICD10CMRequest < Struct.new(
|
697
785
|
:text)
|
786
|
+
SENSITIVE = []
|
698
787
|
include Aws::Structure
|
699
788
|
end
|
700
789
|
|
@@ -722,6 +811,7 @@ module Aws::ComprehendMedical
|
|
722
811
|
:entities,
|
723
812
|
:pagination_token,
|
724
813
|
:model_version)
|
814
|
+
SENSITIVE = []
|
725
815
|
include Aws::Structure
|
726
816
|
end
|
727
817
|
|
@@ -741,6 +831,7 @@ module Aws::ComprehendMedical
|
|
741
831
|
#
|
742
832
|
class InferRxNormRequest < Struct.new(
|
743
833
|
:text)
|
834
|
+
SENSITIVE = []
|
744
835
|
include Aws::Structure
|
745
836
|
end
|
746
837
|
|
@@ -768,10 +859,13 @@ module Aws::ComprehendMedical
|
|
768
859
|
:entities,
|
769
860
|
:pagination_token,
|
770
861
|
:model_version)
|
862
|
+
SENSITIVE = []
|
771
863
|
include Aws::Structure
|
772
864
|
end
|
773
865
|
|
774
|
-
# The input properties for an entities detection job.
|
866
|
+
# The input properties for an entities detection job. This includes the
|
867
|
+
# name of the S3 bucket and the path to the files to be analyzed. See
|
868
|
+
# batch-manifest for more information.
|
775
869
|
#
|
776
870
|
# @note When making an API call, you may pass InputDataConfig
|
777
871
|
# data as a hash:
|
@@ -798,6 +892,7 @@ module Aws::ComprehendMedical
|
|
798
892
|
class InputDataConfig < Struct.new(
|
799
893
|
:s3_bucket,
|
800
894
|
:s3_key)
|
895
|
+
SENSITIVE = []
|
801
896
|
include Aws::Structure
|
802
897
|
end
|
803
898
|
|
@@ -810,6 +905,7 @@ module Aws::ComprehendMedical
|
|
810
905
|
#
|
811
906
|
class InternalServerException < Struct.new(
|
812
907
|
:message)
|
908
|
+
SENSITIVE = []
|
813
909
|
include Aws::Structure
|
814
910
|
end
|
815
911
|
|
@@ -823,6 +919,7 @@ module Aws::ComprehendMedical
|
|
823
919
|
#
|
824
920
|
class InvalidEncodingException < Struct.new(
|
825
921
|
:message)
|
922
|
+
SENSITIVE = []
|
826
923
|
include Aws::Structure
|
827
924
|
end
|
828
925
|
|
@@ -836,6 +933,7 @@ module Aws::ComprehendMedical
|
|
836
933
|
#
|
837
934
|
class InvalidRequestException < Struct.new(
|
838
935
|
:message)
|
936
|
+
SENSITIVE = []
|
839
937
|
include Aws::Structure
|
840
938
|
end
|
841
939
|
|
@@ -874,6 +972,7 @@ module Aws::ComprehendMedical
|
|
874
972
|
:filter,
|
875
973
|
:next_token,
|
876
974
|
:max_results)
|
975
|
+
SENSITIVE = []
|
877
976
|
include Aws::Structure
|
878
977
|
end
|
879
978
|
|
@@ -890,6 +989,63 @@ module Aws::ComprehendMedical
|
|
890
989
|
class ListEntitiesDetectionV2JobsResponse < Struct.new(
|
891
990
|
:comprehend_medical_async_job_properties_list,
|
892
991
|
:next_token)
|
992
|
+
SENSITIVE = []
|
993
|
+
include Aws::Structure
|
994
|
+
end
|
995
|
+
|
996
|
+
# @note When making an API call, you may pass ListICD10CMInferenceJobsRequest
|
997
|
+
# data as a hash:
|
998
|
+
#
|
999
|
+
# {
|
1000
|
+
# filter: {
|
1001
|
+
# job_name: "JobName",
|
1002
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, PARTIAL_SUCCESS, FAILED, STOP_REQUESTED, STOPPED
|
1003
|
+
# submit_time_before: Time.now,
|
1004
|
+
# submit_time_after: Time.now,
|
1005
|
+
# },
|
1006
|
+
# next_token: "String",
|
1007
|
+
# max_results: 1,
|
1008
|
+
# }
|
1009
|
+
#
|
1010
|
+
# @!attribute [rw] filter
|
1011
|
+
# Filters the jobs that are returned. You can filter jobs based on
|
1012
|
+
# their names, status, or the date and time that they were submitted.
|
1013
|
+
# You can only set one filter at a time.
|
1014
|
+
# @return [Types::ComprehendMedicalAsyncJobFilter]
|
1015
|
+
#
|
1016
|
+
# @!attribute [rw] next_token
|
1017
|
+
# Identifies the next page of results to return.
|
1018
|
+
# @return [String]
|
1019
|
+
#
|
1020
|
+
# @!attribute [rw] max_results
|
1021
|
+
# The maximum number of results to return in each page. The default is
|
1022
|
+
# 100.
|
1023
|
+
# @return [Integer]
|
1024
|
+
#
|
1025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListICD10CMInferenceJobsRequest AWS API Documentation
|
1026
|
+
#
|
1027
|
+
class ListICD10CMInferenceJobsRequest < Struct.new(
|
1028
|
+
:filter,
|
1029
|
+
:next_token,
|
1030
|
+
:max_results)
|
1031
|
+
SENSITIVE = []
|
1032
|
+
include Aws::Structure
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
# @!attribute [rw] comprehend_medical_async_job_properties_list
|
1036
|
+
# A list containing the properties of each job that is returned.
|
1037
|
+
# @return [Array<Types::ComprehendMedicalAsyncJobProperties>]
|
1038
|
+
#
|
1039
|
+
# @!attribute [rw] next_token
|
1040
|
+
# Identifies the next page of results to return.
|
1041
|
+
# @return [String]
|
1042
|
+
#
|
1043
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListICD10CMInferenceJobsResponse AWS API Documentation
|
1044
|
+
#
|
1045
|
+
class ListICD10CMInferenceJobsResponse < Struct.new(
|
1046
|
+
:comprehend_medical_async_job_properties_list,
|
1047
|
+
:next_token)
|
1048
|
+
SENSITIVE = []
|
893
1049
|
include Aws::Structure
|
894
1050
|
end
|
895
1051
|
|
@@ -928,6 +1084,7 @@ module Aws::ComprehendMedical
|
|
928
1084
|
:filter,
|
929
1085
|
:next_token,
|
930
1086
|
:max_results)
|
1087
|
+
SENSITIVE = []
|
931
1088
|
include Aws::Structure
|
932
1089
|
end
|
933
1090
|
|
@@ -944,6 +1101,63 @@ module Aws::ComprehendMedical
|
|
944
1101
|
class ListPHIDetectionJobsResponse < Struct.new(
|
945
1102
|
:comprehend_medical_async_job_properties_list,
|
946
1103
|
:next_token)
|
1104
|
+
SENSITIVE = []
|
1105
|
+
include Aws::Structure
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
# @note When making an API call, you may pass ListRxNormInferenceJobsRequest
|
1109
|
+
# data as a hash:
|
1110
|
+
#
|
1111
|
+
# {
|
1112
|
+
# filter: {
|
1113
|
+
# job_name: "JobName",
|
1114
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, PARTIAL_SUCCESS, FAILED, STOP_REQUESTED, STOPPED
|
1115
|
+
# submit_time_before: Time.now,
|
1116
|
+
# submit_time_after: Time.now,
|
1117
|
+
# },
|
1118
|
+
# next_token: "String",
|
1119
|
+
# max_results: 1,
|
1120
|
+
# }
|
1121
|
+
#
|
1122
|
+
# @!attribute [rw] filter
|
1123
|
+
# Filters the jobs that are returned. You can filter jobs based on
|
1124
|
+
# their names, status, or the date and time that they were submitted.
|
1125
|
+
# You can only set one filter at a time.
|
1126
|
+
# @return [Types::ComprehendMedicalAsyncJobFilter]
|
1127
|
+
#
|
1128
|
+
# @!attribute [rw] next_token
|
1129
|
+
# Identifies the next page of results to return.
|
1130
|
+
# @return [String]
|
1131
|
+
#
|
1132
|
+
# @!attribute [rw] max_results
|
1133
|
+
# Identifies the next page of results to return.
|
1134
|
+
# @return [Integer]
|
1135
|
+
#
|
1136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListRxNormInferenceJobsRequest AWS API Documentation
|
1137
|
+
#
|
1138
|
+
class ListRxNormInferenceJobsRequest < Struct.new(
|
1139
|
+
:filter,
|
1140
|
+
:next_token,
|
1141
|
+
:max_results)
|
1142
|
+
SENSITIVE = []
|
1143
|
+
include Aws::Structure
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
# @!attribute [rw] comprehend_medical_async_job_properties_list
|
1147
|
+
# The maximum number of results to return in each page. The default is
|
1148
|
+
# 100.
|
1149
|
+
# @return [Array<Types::ComprehendMedicalAsyncJobProperties>]
|
1150
|
+
#
|
1151
|
+
# @!attribute [rw] next_token
|
1152
|
+
# Identifies the next page of results to return.
|
1153
|
+
# @return [String]
|
1154
|
+
#
|
1155
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListRxNormInferenceJobsResponse AWS API Documentation
|
1156
|
+
#
|
1157
|
+
class ListRxNormInferenceJobsResponse < Struct.new(
|
1158
|
+
:comprehend_medical_async_job_properties_list,
|
1159
|
+
:next_token)
|
1160
|
+
SENSITIVE = []
|
947
1161
|
include Aws::Structure
|
948
1162
|
end
|
949
1163
|
|
@@ -977,6 +1191,7 @@ module Aws::ComprehendMedical
|
|
977
1191
|
class OutputDataConfig < Struct.new(
|
978
1192
|
:s3_bucket,
|
979
1193
|
:s3_key)
|
1194
|
+
SENSITIVE = []
|
980
1195
|
include Aws::Structure
|
981
1196
|
end
|
982
1197
|
|
@@ -990,6 +1205,7 @@ module Aws::ComprehendMedical
|
|
990
1205
|
#
|
991
1206
|
class ResourceNotFoundException < Struct.new(
|
992
1207
|
:message)
|
1208
|
+
SENSITIVE = []
|
993
1209
|
include Aws::Structure
|
994
1210
|
end
|
995
1211
|
|
@@ -1052,6 +1268,7 @@ module Aws::ComprehendMedical
|
|
1052
1268
|
:end_offset,
|
1053
1269
|
:text,
|
1054
1270
|
:traits)
|
1271
|
+
SENSITIVE = []
|
1055
1272
|
include Aws::Structure
|
1056
1273
|
end
|
1057
1274
|
|
@@ -1077,6 +1294,7 @@ module Aws::ComprehendMedical
|
|
1077
1294
|
:description,
|
1078
1295
|
:code,
|
1079
1296
|
:score)
|
1297
|
+
SENSITIVE = []
|
1080
1298
|
include Aws::Structure
|
1081
1299
|
end
|
1082
1300
|
|
@@ -1152,6 +1370,7 @@ module Aws::ComprehendMedical
|
|
1152
1370
|
:attributes,
|
1153
1371
|
:traits,
|
1154
1372
|
:rx_norm_concepts)
|
1373
|
+
SENSITIVE = []
|
1155
1374
|
include Aws::Structure
|
1156
1375
|
end
|
1157
1376
|
|
@@ -1173,6 +1392,7 @@ module Aws::ComprehendMedical
|
|
1173
1392
|
class RxNormTrait < Struct.new(
|
1174
1393
|
:name,
|
1175
1394
|
:score)
|
1395
|
+
SENSITIVE = []
|
1176
1396
|
include Aws::Structure
|
1177
1397
|
end
|
1178
1398
|
|
@@ -1186,6 +1406,7 @@ module Aws::ComprehendMedical
|
|
1186
1406
|
#
|
1187
1407
|
class ServiceUnavailableException < Struct.new(
|
1188
1408
|
:message)
|
1409
|
+
SENSITIVE = []
|
1189
1410
|
include Aws::Structure
|
1190
1411
|
end
|
1191
1412
|
|
@@ -1259,6 +1480,7 @@ module Aws::ComprehendMedical
|
|
1259
1480
|
:client_request_token,
|
1260
1481
|
:kms_key,
|
1261
1482
|
:language_code)
|
1483
|
+
SENSITIVE = []
|
1262
1484
|
include Aws::Structure
|
1263
1485
|
end
|
1264
1486
|
|
@@ -1272,6 +1494,94 @@ module Aws::ComprehendMedical
|
|
1272
1494
|
#
|
1273
1495
|
class StartEntitiesDetectionV2JobResponse < Struct.new(
|
1274
1496
|
:job_id)
|
1497
|
+
SENSITIVE = []
|
1498
|
+
include Aws::Structure
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
# @note When making an API call, you may pass StartICD10CMInferenceJobRequest
|
1502
|
+
# data as a hash:
|
1503
|
+
#
|
1504
|
+
# {
|
1505
|
+
# input_data_config: { # required
|
1506
|
+
# s3_bucket: "S3Bucket", # required
|
1507
|
+
# s3_key: "S3Key",
|
1508
|
+
# },
|
1509
|
+
# output_data_config: { # required
|
1510
|
+
# s3_bucket: "S3Bucket", # required
|
1511
|
+
# s3_key: "S3Key",
|
1512
|
+
# },
|
1513
|
+
# data_access_role_arn: "IamRoleArn", # required
|
1514
|
+
# job_name: "JobName",
|
1515
|
+
# client_request_token: "ClientRequestTokenString",
|
1516
|
+
# kms_key: "KMSKey",
|
1517
|
+
# language_code: "en", # required, accepts en
|
1518
|
+
# }
|
1519
|
+
#
|
1520
|
+
# @!attribute [rw] input_data_config
|
1521
|
+
# Specifies the format and location of the input data for the job.
|
1522
|
+
# @return [Types::InputDataConfig]
|
1523
|
+
#
|
1524
|
+
# @!attribute [rw] output_data_config
|
1525
|
+
# Specifies where to send the output files.
|
1526
|
+
# @return [Types::OutputDataConfig]
|
1527
|
+
#
|
1528
|
+
# @!attribute [rw] data_access_role_arn
|
1529
|
+
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
1530
|
+
# Management (IAM) role that grants Amazon Comprehend Medical read
|
1531
|
+
# access to your input data. For more information, see [ Role-Based
|
1532
|
+
# Permissions Required for Asynchronous Operations][1].
|
1533
|
+
#
|
1534
|
+
#
|
1535
|
+
#
|
1536
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions-med.html#auth-role-permissions-med
|
1537
|
+
# @return [String]
|
1538
|
+
#
|
1539
|
+
# @!attribute [rw] job_name
|
1540
|
+
# The identifier of the job.
|
1541
|
+
# @return [String]
|
1542
|
+
#
|
1543
|
+
# @!attribute [rw] client_request_token
|
1544
|
+
# A unique identifier for the request. If you don't set the client
|
1545
|
+
# request token, Amazon Comprehend Medical generates one.
|
1546
|
+
#
|
1547
|
+
# **A suitable default value is auto-generated.** You should normally
|
1548
|
+
# not need to pass this option.
|
1549
|
+
# @return [String]
|
1550
|
+
#
|
1551
|
+
# @!attribute [rw] kms_key
|
1552
|
+
# An AWS Key Management Service key to encrypt your output files. If
|
1553
|
+
# you do not specify a key, the files are written in plain text.
|
1554
|
+
# @return [String]
|
1555
|
+
#
|
1556
|
+
# @!attribute [rw] language_code
|
1557
|
+
# The language of the input documents. All documents must be in the
|
1558
|
+
# same language.
|
1559
|
+
# @return [String]
|
1560
|
+
#
|
1561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartICD10CMInferenceJobRequest AWS API Documentation
|
1562
|
+
#
|
1563
|
+
class StartICD10CMInferenceJobRequest < Struct.new(
|
1564
|
+
:input_data_config,
|
1565
|
+
:output_data_config,
|
1566
|
+
:data_access_role_arn,
|
1567
|
+
:job_name,
|
1568
|
+
:client_request_token,
|
1569
|
+
:kms_key,
|
1570
|
+
:language_code)
|
1571
|
+
SENSITIVE = []
|
1572
|
+
include Aws::Structure
|
1573
|
+
end
|
1574
|
+
|
1575
|
+
# @!attribute [rw] job_id
|
1576
|
+
# The identifier generated for the job. To get the status of a job,
|
1577
|
+
# use this identifier with the `StartICD10CMInferenceJob` operation.
|
1578
|
+
# @return [String]
|
1579
|
+
#
|
1580
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartICD10CMInferenceJobResponse AWS API Documentation
|
1581
|
+
#
|
1582
|
+
class StartICD10CMInferenceJobResponse < Struct.new(
|
1583
|
+
:job_id)
|
1584
|
+
SENSITIVE = []
|
1275
1585
|
include Aws::Structure
|
1276
1586
|
end
|
1277
1587
|
|
@@ -1345,6 +1655,7 @@ module Aws::ComprehendMedical
|
|
1345
1655
|
:client_request_token,
|
1346
1656
|
:kms_key,
|
1347
1657
|
:language_code)
|
1658
|
+
SENSITIVE = []
|
1348
1659
|
include Aws::Structure
|
1349
1660
|
end
|
1350
1661
|
|
@@ -1357,6 +1668,93 @@ module Aws::ComprehendMedical
|
|
1357
1668
|
#
|
1358
1669
|
class StartPHIDetectionJobResponse < Struct.new(
|
1359
1670
|
:job_id)
|
1671
|
+
SENSITIVE = []
|
1672
|
+
include Aws::Structure
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
# @note When making an API call, you may pass StartRxNormInferenceJobRequest
|
1676
|
+
# data as a hash:
|
1677
|
+
#
|
1678
|
+
# {
|
1679
|
+
# input_data_config: { # required
|
1680
|
+
# s3_bucket: "S3Bucket", # required
|
1681
|
+
# s3_key: "S3Key",
|
1682
|
+
# },
|
1683
|
+
# output_data_config: { # required
|
1684
|
+
# s3_bucket: "S3Bucket", # required
|
1685
|
+
# s3_key: "S3Key",
|
1686
|
+
# },
|
1687
|
+
# data_access_role_arn: "IamRoleArn", # required
|
1688
|
+
# job_name: "JobName",
|
1689
|
+
# client_request_token: "ClientRequestTokenString",
|
1690
|
+
# kms_key: "KMSKey",
|
1691
|
+
# language_code: "en", # required, accepts en
|
1692
|
+
# }
|
1693
|
+
#
|
1694
|
+
# @!attribute [rw] input_data_config
|
1695
|
+
# Specifies the format and location of the input data for the job.
|
1696
|
+
# @return [Types::InputDataConfig]
|
1697
|
+
#
|
1698
|
+
# @!attribute [rw] output_data_config
|
1699
|
+
# Specifies where to send the output files.
|
1700
|
+
# @return [Types::OutputDataConfig]
|
1701
|
+
#
|
1702
|
+
# @!attribute [rw] data_access_role_arn
|
1703
|
+
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
1704
|
+
# Management (IAM) role that grants Amazon Comprehend Medical read
|
1705
|
+
# access to your input data. For more information, see [ Role-Based
|
1706
|
+
# Permissions Required for Asynchronous Operations][1].
|
1707
|
+
#
|
1708
|
+
#
|
1709
|
+
#
|
1710
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions-med.html#auth-role-permissions-med
|
1711
|
+
# @return [String]
|
1712
|
+
#
|
1713
|
+
# @!attribute [rw] job_name
|
1714
|
+
# The identifier of the job.
|
1715
|
+
# @return [String]
|
1716
|
+
#
|
1717
|
+
# @!attribute [rw] client_request_token
|
1718
|
+
# A unique identifier for the request. If you don't set the client
|
1719
|
+
# request token, Amazon Comprehend Medical generates one.
|
1720
|
+
#
|
1721
|
+
# **A suitable default value is auto-generated.** You should normally
|
1722
|
+
# not need to pass this option.
|
1723
|
+
# @return [String]
|
1724
|
+
#
|
1725
|
+
# @!attribute [rw] kms_key
|
1726
|
+
# An AWS Key Management Service key to encrypt your output files. If
|
1727
|
+
# you do not specify a key, the files are written in plain text.
|
1728
|
+
# @return [String]
|
1729
|
+
#
|
1730
|
+
# @!attribute [rw] language_code
|
1731
|
+
# The language of the input documents. All documents must be in the
|
1732
|
+
# same language.
|
1733
|
+
# @return [String]
|
1734
|
+
#
|
1735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartRxNormInferenceJobRequest AWS API Documentation
|
1736
|
+
#
|
1737
|
+
class StartRxNormInferenceJobRequest < Struct.new(
|
1738
|
+
:input_data_config,
|
1739
|
+
:output_data_config,
|
1740
|
+
:data_access_role_arn,
|
1741
|
+
:job_name,
|
1742
|
+
:client_request_token,
|
1743
|
+
:kms_key,
|
1744
|
+
:language_code)
|
1745
|
+
SENSITIVE = []
|
1746
|
+
include Aws::Structure
|
1747
|
+
end
|
1748
|
+
|
1749
|
+
# @!attribute [rw] job_id
|
1750
|
+
# The identifier of the job.
|
1751
|
+
# @return [String]
|
1752
|
+
#
|
1753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartRxNormInferenceJobResponse AWS API Documentation
|
1754
|
+
#
|
1755
|
+
class StartRxNormInferenceJobResponse < Struct.new(
|
1756
|
+
:job_id)
|
1757
|
+
SENSITIVE = []
|
1360
1758
|
include Aws::Structure
|
1361
1759
|
end
|
1362
1760
|
|
@@ -1375,6 +1773,7 @@ module Aws::ComprehendMedical
|
|
1375
1773
|
#
|
1376
1774
|
class StopEntitiesDetectionV2JobRequest < Struct.new(
|
1377
1775
|
:job_id)
|
1776
|
+
SENSITIVE = []
|
1378
1777
|
include Aws::Structure
|
1379
1778
|
end
|
1380
1779
|
|
@@ -1387,6 +1786,39 @@ module Aws::ComprehendMedical
|
|
1387
1786
|
#
|
1388
1787
|
class StopEntitiesDetectionV2JobResponse < Struct.new(
|
1389
1788
|
:job_id)
|
1789
|
+
SENSITIVE = []
|
1790
|
+
include Aws::Structure
|
1791
|
+
end
|
1792
|
+
|
1793
|
+
# @note When making an API call, you may pass StopICD10CMInferenceJobRequest
|
1794
|
+
# data as a hash:
|
1795
|
+
#
|
1796
|
+
# {
|
1797
|
+
# job_id: "JobId", # required
|
1798
|
+
# }
|
1799
|
+
#
|
1800
|
+
# @!attribute [rw] job_id
|
1801
|
+
# The identifier of the job.
|
1802
|
+
# @return [String]
|
1803
|
+
#
|
1804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopICD10CMInferenceJobRequest AWS API Documentation
|
1805
|
+
#
|
1806
|
+
class StopICD10CMInferenceJobRequest < Struct.new(
|
1807
|
+
:job_id)
|
1808
|
+
SENSITIVE = []
|
1809
|
+
include Aws::Structure
|
1810
|
+
end
|
1811
|
+
|
1812
|
+
# @!attribute [rw] job_id
|
1813
|
+
# The identifier generated for the job. To get the status of job, use
|
1814
|
+
# this identifier with the `DescribeICD10CMInferenceJob` operation.
|
1815
|
+
# @return [String]
|
1816
|
+
#
|
1817
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopICD10CMInferenceJobResponse AWS API Documentation
|
1818
|
+
#
|
1819
|
+
class StopICD10CMInferenceJobResponse < Struct.new(
|
1820
|
+
:job_id)
|
1821
|
+
SENSITIVE = []
|
1390
1822
|
include Aws::Structure
|
1391
1823
|
end
|
1392
1824
|
|
@@ -1405,6 +1837,7 @@ module Aws::ComprehendMedical
|
|
1405
1837
|
#
|
1406
1838
|
class StopPHIDetectionJobRequest < Struct.new(
|
1407
1839
|
:job_id)
|
1840
|
+
SENSITIVE = []
|
1408
1841
|
include Aws::Structure
|
1409
1842
|
end
|
1410
1843
|
|
@@ -1416,6 +1849,39 @@ module Aws::ComprehendMedical
|
|
1416
1849
|
#
|
1417
1850
|
class StopPHIDetectionJobResponse < Struct.new(
|
1418
1851
|
:job_id)
|
1852
|
+
SENSITIVE = []
|
1853
|
+
include Aws::Structure
|
1854
|
+
end
|
1855
|
+
|
1856
|
+
# @note When making an API call, you may pass StopRxNormInferenceJobRequest
|
1857
|
+
# data as a hash:
|
1858
|
+
#
|
1859
|
+
# {
|
1860
|
+
# job_id: "JobId", # required
|
1861
|
+
# }
|
1862
|
+
#
|
1863
|
+
# @!attribute [rw] job_id
|
1864
|
+
# The identifier of the job.
|
1865
|
+
# @return [String]
|
1866
|
+
#
|
1867
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopRxNormInferenceJobRequest AWS API Documentation
|
1868
|
+
#
|
1869
|
+
class StopRxNormInferenceJobRequest < Struct.new(
|
1870
|
+
:job_id)
|
1871
|
+
SENSITIVE = []
|
1872
|
+
include Aws::Structure
|
1873
|
+
end
|
1874
|
+
|
1875
|
+
# @!attribute [rw] job_id
|
1876
|
+
# The identifier generated for the job. To get the status of job, use
|
1877
|
+
# this identifier with the `DescribeRxNormInferenceJob` operation.
|
1878
|
+
# @return [String]
|
1879
|
+
#
|
1880
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopRxNormInferenceJobResponse AWS API Documentation
|
1881
|
+
#
|
1882
|
+
class StopRxNormInferenceJobResponse < Struct.new(
|
1883
|
+
:job_id)
|
1884
|
+
SENSITIVE = []
|
1419
1885
|
include Aws::Structure
|
1420
1886
|
end
|
1421
1887
|
|
@@ -1430,6 +1896,7 @@ module Aws::ComprehendMedical
|
|
1430
1896
|
#
|
1431
1897
|
class TextSizeLimitExceededException < Struct.new(
|
1432
1898
|
:message)
|
1899
|
+
SENSITIVE = []
|
1433
1900
|
include Aws::Structure
|
1434
1901
|
end
|
1435
1902
|
|
@@ -1444,6 +1911,7 @@ module Aws::ComprehendMedical
|
|
1444
1911
|
#
|
1445
1912
|
class TooManyRequestsException < Struct.new(
|
1446
1913
|
:message)
|
1914
|
+
SENSITIVE = []
|
1447
1915
|
include Aws::Structure
|
1448
1916
|
end
|
1449
1917
|
|
@@ -1463,6 +1931,7 @@ module Aws::ComprehendMedical
|
|
1463
1931
|
class Trait < Struct.new(
|
1464
1932
|
:name,
|
1465
1933
|
:score)
|
1934
|
+
SENSITIVE = []
|
1466
1935
|
include Aws::Structure
|
1467
1936
|
end
|
1468
1937
|
|
@@ -1486,6 +1955,7 @@ module Aws::ComprehendMedical
|
|
1486
1955
|
class UnmappedAttribute < Struct.new(
|
1487
1956
|
:type,
|
1488
1957
|
:attribute)
|
1958
|
+
SENSITIVE = []
|
1489
1959
|
include Aws::Structure
|
1490
1960
|
end
|
1491
1961
|
|
@@ -1499,6 +1969,7 @@ module Aws::ComprehendMedical
|
|
1499
1969
|
#
|
1500
1970
|
class ValidationException < Struct.new(
|
1501
1971
|
:message)
|
1972
|
+
SENSITIVE = []
|
1502
1973
|
include Aws::Structure
|
1503
1974
|
end
|
1504
1975
|
|