aws-sdk-comprehendmedical 1.14.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d8f5efdff4a7a8b5e646114dad7bcd168b1d92a2d5e7978883c6a0d9ef360055
|
4
|
+
data.tar.gz: 1410de4d1462beb625301a3d430fbdfe07de7f1e817fc65898c88aac98f04ec6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43bc077cde62a276e4592394d2a9fd19757d52e70c8343cef00d5bee437d3af0226475dd2a82c57e819a4dae01096d67e79054e0c5960905d80f160515c6e865
|
7
|
+
data.tar.gz: 969643a0e317d27146f02fece761baf83760ca72f8eed4dd8d2998174c94a54f6f846afd9d7406f6327e53bb5e2acf2a23d071e07ebc1041d8b6a8dd1f0661ed
|
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:comprehendmedical)
|
|
32
32
|
module Aws::ComprehendMedical
|
33
33
|
# An API client for ComprehendMedical. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::ComprehendMedical::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::ComprehendMedical
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -275,8 +279,7 @@ module Aws::ComprehendMedical
|
|
275
279
|
#
|
276
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
281
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
280
283
|
#
|
281
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +291,7 @@ module Aws::ComprehendMedical
|
|
288
291
|
# request body. This option has no effect unless the request has
|
289
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
293
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
294
|
+
# request on the session.
|
292
295
|
#
|
293
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -361,6 +364,52 @@ module Aws::ComprehendMedical
|
|
361
364
|
req.send_request(options)
|
362
365
|
end
|
363
366
|
|
367
|
+
# Gets the properties associated with an InferICD10CM job. Use this
|
368
|
+
# operation to get the status of an inference job.
|
369
|
+
#
|
370
|
+
# @option params [required, String] :job_id
|
371
|
+
# The identifier that Amazon Comprehend Medical generated for the job.
|
372
|
+
# `The StartICD10CMInferenceJob` operation returns this identifier in
|
373
|
+
# its response.
|
374
|
+
#
|
375
|
+
# @return [Types::DescribeICD10CMInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
376
|
+
#
|
377
|
+
# * {Types::DescribeICD10CMInferenceJobResponse#comprehend_medical_async_job_properties #comprehend_medical_async_job_properties} => Types::ComprehendMedicalAsyncJobProperties
|
378
|
+
#
|
379
|
+
# @example Request syntax with placeholder values
|
380
|
+
#
|
381
|
+
# resp = client.describe_icd10cm_inference_job({
|
382
|
+
# job_id: "JobId", # required
|
383
|
+
# })
|
384
|
+
#
|
385
|
+
# @example Response structure
|
386
|
+
#
|
387
|
+
# resp.comprehend_medical_async_job_properties.job_id #=> String
|
388
|
+
# resp.comprehend_medical_async_job_properties.job_name #=> String
|
389
|
+
# resp.comprehend_medical_async_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED"
|
390
|
+
# resp.comprehend_medical_async_job_properties.message #=> String
|
391
|
+
# resp.comprehend_medical_async_job_properties.submit_time #=> Time
|
392
|
+
# resp.comprehend_medical_async_job_properties.end_time #=> Time
|
393
|
+
# resp.comprehend_medical_async_job_properties.expiration_time #=> Time
|
394
|
+
# resp.comprehend_medical_async_job_properties.input_data_config.s3_bucket #=> String
|
395
|
+
# resp.comprehend_medical_async_job_properties.input_data_config.s3_key #=> String
|
396
|
+
# resp.comprehend_medical_async_job_properties.output_data_config.s3_bucket #=> String
|
397
|
+
# resp.comprehend_medical_async_job_properties.output_data_config.s3_key #=> String
|
398
|
+
# resp.comprehend_medical_async_job_properties.language_code #=> String, one of "en"
|
399
|
+
# resp.comprehend_medical_async_job_properties.data_access_role_arn #=> String
|
400
|
+
# resp.comprehend_medical_async_job_properties.manifest_file_path #=> String
|
401
|
+
# resp.comprehend_medical_async_job_properties.kms_key #=> String
|
402
|
+
# resp.comprehend_medical_async_job_properties.model_version #=> String
|
403
|
+
#
|
404
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeICD10CMInferenceJob AWS API Documentation
|
405
|
+
#
|
406
|
+
# @overload describe_icd10cm_inference_job(params = {})
|
407
|
+
# @param [Hash] params ({})
|
408
|
+
def describe_icd10cm_inference_job(params = {}, options = {})
|
409
|
+
req = build_request(:describe_icd10cm_inference_job, params)
|
410
|
+
req.send_request(options)
|
411
|
+
end
|
412
|
+
|
364
413
|
# Gets the properties associated with a protected health information
|
365
414
|
# (PHI) detection job. Use this operation to get the status of a
|
366
415
|
# detection job.
|
@@ -408,6 +457,52 @@ module Aws::ComprehendMedical
|
|
408
457
|
req.send_request(options)
|
409
458
|
end
|
410
459
|
|
460
|
+
# Gets the properties associated with an InferRxNorm job. Use this
|
461
|
+
# operation to get the status of an inference job.
|
462
|
+
#
|
463
|
+
# @option params [required, String] :job_id
|
464
|
+
# The identifier that Amazon Comprehend Medical generated for the job.
|
465
|
+
# The StartRxNormInferenceJob operation returns this identifier in its
|
466
|
+
# response.
|
467
|
+
#
|
468
|
+
# @return [Types::DescribeRxNormInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
469
|
+
#
|
470
|
+
# * {Types::DescribeRxNormInferenceJobResponse#comprehend_medical_async_job_properties #comprehend_medical_async_job_properties} => Types::ComprehendMedicalAsyncJobProperties
|
471
|
+
#
|
472
|
+
# @example Request syntax with placeholder values
|
473
|
+
#
|
474
|
+
# resp = client.describe_rx_norm_inference_job({
|
475
|
+
# job_id: "JobId", # required
|
476
|
+
# })
|
477
|
+
#
|
478
|
+
# @example Response structure
|
479
|
+
#
|
480
|
+
# resp.comprehend_medical_async_job_properties.job_id #=> String
|
481
|
+
# resp.comprehend_medical_async_job_properties.job_name #=> String
|
482
|
+
# resp.comprehend_medical_async_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED"
|
483
|
+
# resp.comprehend_medical_async_job_properties.message #=> String
|
484
|
+
# resp.comprehend_medical_async_job_properties.submit_time #=> Time
|
485
|
+
# resp.comprehend_medical_async_job_properties.end_time #=> Time
|
486
|
+
# resp.comprehend_medical_async_job_properties.expiration_time #=> Time
|
487
|
+
# resp.comprehend_medical_async_job_properties.input_data_config.s3_bucket #=> String
|
488
|
+
# resp.comprehend_medical_async_job_properties.input_data_config.s3_key #=> String
|
489
|
+
# resp.comprehend_medical_async_job_properties.output_data_config.s3_bucket #=> String
|
490
|
+
# resp.comprehend_medical_async_job_properties.output_data_config.s3_key #=> String
|
491
|
+
# resp.comprehend_medical_async_job_properties.language_code #=> String, one of "en"
|
492
|
+
# resp.comprehend_medical_async_job_properties.data_access_role_arn #=> String
|
493
|
+
# resp.comprehend_medical_async_job_properties.manifest_file_path #=> String
|
494
|
+
# resp.comprehend_medical_async_job_properties.kms_key #=> String
|
495
|
+
# resp.comprehend_medical_async_job_properties.model_version #=> String
|
496
|
+
#
|
497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeRxNormInferenceJob AWS API Documentation
|
498
|
+
#
|
499
|
+
# @overload describe_rx_norm_inference_job(params = {})
|
500
|
+
# @param [Hash] params ({})
|
501
|
+
def describe_rx_norm_inference_job(params = {}, options = {})
|
502
|
+
req = build_request(:describe_rx_norm_inference_job, params)
|
503
|
+
req.send_request(options)
|
504
|
+
end
|
505
|
+
|
411
506
|
# The `DetectEntities` operation is deprecated. You should use the
|
412
507
|
# DetectEntitiesV2 operation instead.
|
413
508
|
#
|
@@ -814,6 +909,68 @@ module Aws::ComprehendMedical
|
|
814
909
|
req.send_request(options)
|
815
910
|
end
|
816
911
|
|
912
|
+
# Gets a list of InferICD10CM jobs that you have submitted.
|
913
|
+
#
|
914
|
+
# @option params [Types::ComprehendMedicalAsyncJobFilter] :filter
|
915
|
+
# Filters the jobs that are returned. You can filter jobs based on their
|
916
|
+
# names, status, or the date and time that they were submitted. You can
|
917
|
+
# only set one filter at a time.
|
918
|
+
#
|
919
|
+
# @option params [String] :next_token
|
920
|
+
# Identifies the next page of results to return.
|
921
|
+
#
|
922
|
+
# @option params [Integer] :max_results
|
923
|
+
# The maximum number of results to return in each page. The default is
|
924
|
+
# 100.
|
925
|
+
#
|
926
|
+
# @return [Types::ListICD10CMInferenceJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
927
|
+
#
|
928
|
+
# * {Types::ListICD10CMInferenceJobsResponse#comprehend_medical_async_job_properties_list #comprehend_medical_async_job_properties_list} => Array<Types::ComprehendMedicalAsyncJobProperties>
|
929
|
+
# * {Types::ListICD10CMInferenceJobsResponse#next_token #next_token} => String
|
930
|
+
#
|
931
|
+
# @example Request syntax with placeholder values
|
932
|
+
#
|
933
|
+
# resp = client.list_icd10cm_inference_jobs({
|
934
|
+
# filter: {
|
935
|
+
# job_name: "JobName",
|
936
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, PARTIAL_SUCCESS, FAILED, STOP_REQUESTED, STOPPED
|
937
|
+
# submit_time_before: Time.now,
|
938
|
+
# submit_time_after: Time.now,
|
939
|
+
# },
|
940
|
+
# next_token: "String",
|
941
|
+
# max_results: 1,
|
942
|
+
# })
|
943
|
+
#
|
944
|
+
# @example Response structure
|
945
|
+
#
|
946
|
+
# resp.comprehend_medical_async_job_properties_list #=> Array
|
947
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_id #=> String
|
948
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_name #=> String
|
949
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED"
|
950
|
+
# resp.comprehend_medical_async_job_properties_list[0].message #=> String
|
951
|
+
# resp.comprehend_medical_async_job_properties_list[0].submit_time #=> Time
|
952
|
+
# resp.comprehend_medical_async_job_properties_list[0].end_time #=> Time
|
953
|
+
# resp.comprehend_medical_async_job_properties_list[0].expiration_time #=> Time
|
954
|
+
# resp.comprehend_medical_async_job_properties_list[0].input_data_config.s3_bucket #=> String
|
955
|
+
# resp.comprehend_medical_async_job_properties_list[0].input_data_config.s3_key #=> String
|
956
|
+
# resp.comprehend_medical_async_job_properties_list[0].output_data_config.s3_bucket #=> String
|
957
|
+
# resp.comprehend_medical_async_job_properties_list[0].output_data_config.s3_key #=> String
|
958
|
+
# resp.comprehend_medical_async_job_properties_list[0].language_code #=> String, one of "en"
|
959
|
+
# resp.comprehend_medical_async_job_properties_list[0].data_access_role_arn #=> String
|
960
|
+
# resp.comprehend_medical_async_job_properties_list[0].manifest_file_path #=> String
|
961
|
+
# resp.comprehend_medical_async_job_properties_list[0].kms_key #=> String
|
962
|
+
# resp.comprehend_medical_async_job_properties_list[0].model_version #=> String
|
963
|
+
# resp.next_token #=> String
|
964
|
+
#
|
965
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListICD10CMInferenceJobs AWS API Documentation
|
966
|
+
#
|
967
|
+
# @overload list_icd10cm_inference_jobs(params = {})
|
968
|
+
# @param [Hash] params ({})
|
969
|
+
def list_icd10cm_inference_jobs(params = {}, options = {})
|
970
|
+
req = build_request(:list_icd10cm_inference_jobs, params)
|
971
|
+
req.send_request(options)
|
972
|
+
end
|
973
|
+
|
817
974
|
# Gets a list of protected health information (PHI) detection jobs that
|
818
975
|
# you have submitted.
|
819
976
|
#
|
@@ -877,6 +1034,67 @@ module Aws::ComprehendMedical
|
|
877
1034
|
req.send_request(options)
|
878
1035
|
end
|
879
1036
|
|
1037
|
+
# Gets a list of InferRxNorm jobs that you have submitted.
|
1038
|
+
#
|
1039
|
+
# @option params [Types::ComprehendMedicalAsyncJobFilter] :filter
|
1040
|
+
# Filters the jobs that are returned. You can filter jobs based on their
|
1041
|
+
# names, status, or the date and time that they were submitted. You can
|
1042
|
+
# only set one filter at a time.
|
1043
|
+
#
|
1044
|
+
# @option params [String] :next_token
|
1045
|
+
# Identifies the next page of results to return.
|
1046
|
+
#
|
1047
|
+
# @option params [Integer] :max_results
|
1048
|
+
# Identifies the next page of results to return.
|
1049
|
+
#
|
1050
|
+
# @return [Types::ListRxNormInferenceJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1051
|
+
#
|
1052
|
+
# * {Types::ListRxNormInferenceJobsResponse#comprehend_medical_async_job_properties_list #comprehend_medical_async_job_properties_list} => Array<Types::ComprehendMedicalAsyncJobProperties>
|
1053
|
+
# * {Types::ListRxNormInferenceJobsResponse#next_token #next_token} => String
|
1054
|
+
#
|
1055
|
+
# @example Request syntax with placeholder values
|
1056
|
+
#
|
1057
|
+
# resp = client.list_rx_norm_inference_jobs({
|
1058
|
+
# filter: {
|
1059
|
+
# job_name: "JobName",
|
1060
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, PARTIAL_SUCCESS, FAILED, STOP_REQUESTED, STOPPED
|
1061
|
+
# submit_time_before: Time.now,
|
1062
|
+
# submit_time_after: Time.now,
|
1063
|
+
# },
|
1064
|
+
# next_token: "String",
|
1065
|
+
# max_results: 1,
|
1066
|
+
# })
|
1067
|
+
#
|
1068
|
+
# @example Response structure
|
1069
|
+
#
|
1070
|
+
# resp.comprehend_medical_async_job_properties_list #=> Array
|
1071
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_id #=> String
|
1072
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_name #=> String
|
1073
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED"
|
1074
|
+
# resp.comprehend_medical_async_job_properties_list[0].message #=> String
|
1075
|
+
# resp.comprehend_medical_async_job_properties_list[0].submit_time #=> Time
|
1076
|
+
# resp.comprehend_medical_async_job_properties_list[0].end_time #=> Time
|
1077
|
+
# resp.comprehend_medical_async_job_properties_list[0].expiration_time #=> Time
|
1078
|
+
# resp.comprehend_medical_async_job_properties_list[0].input_data_config.s3_bucket #=> String
|
1079
|
+
# resp.comprehend_medical_async_job_properties_list[0].input_data_config.s3_key #=> String
|
1080
|
+
# resp.comprehend_medical_async_job_properties_list[0].output_data_config.s3_bucket #=> String
|
1081
|
+
# resp.comprehend_medical_async_job_properties_list[0].output_data_config.s3_key #=> String
|
1082
|
+
# resp.comprehend_medical_async_job_properties_list[0].language_code #=> String, one of "en"
|
1083
|
+
# resp.comprehend_medical_async_job_properties_list[0].data_access_role_arn #=> String
|
1084
|
+
# resp.comprehend_medical_async_job_properties_list[0].manifest_file_path #=> String
|
1085
|
+
# resp.comprehend_medical_async_job_properties_list[0].kms_key #=> String
|
1086
|
+
# resp.comprehend_medical_async_job_properties_list[0].model_version #=> String
|
1087
|
+
# resp.next_token #=> String
|
1088
|
+
#
|
1089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListRxNormInferenceJobs AWS API Documentation
|
1090
|
+
#
|
1091
|
+
# @overload list_rx_norm_inference_jobs(params = {})
|
1092
|
+
# @param [Hash] params ({})
|
1093
|
+
def list_rx_norm_inference_jobs(params = {}, options = {})
|
1094
|
+
req = build_request(:list_rx_norm_inference_jobs, params)
|
1095
|
+
req.send_request(options)
|
1096
|
+
end
|
1097
|
+
|
880
1098
|
# Starts an asynchronous medical entity detection job for a collection
|
881
1099
|
# of documents. Use the `DescribeEntitiesDetectionV2Job` operation to
|
882
1100
|
# track the status of a job.
|
@@ -950,6 +1168,79 @@ module Aws::ComprehendMedical
|
|
950
1168
|
req.send_request(options)
|
951
1169
|
end
|
952
1170
|
|
1171
|
+
# Starts an asynchronous job to detect medical conditions and link them
|
1172
|
+
# to the ICD-10-CM ontology. Use the `DescribeICD10CMInferenceJob`
|
1173
|
+
# operation to track the status of a job.
|
1174
|
+
#
|
1175
|
+
# @option params [required, Types::InputDataConfig] :input_data_config
|
1176
|
+
# Specifies the format and location of the input data for the job.
|
1177
|
+
#
|
1178
|
+
# @option params [required, Types::OutputDataConfig] :output_data_config
|
1179
|
+
# Specifies where to send the output files.
|
1180
|
+
#
|
1181
|
+
# @option params [required, String] :data_access_role_arn
|
1182
|
+
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
1183
|
+
# Management (IAM) role that grants Amazon Comprehend Medical read
|
1184
|
+
# access to your input data. For more information, see [ Role-Based
|
1185
|
+
# Permissions Required for Asynchronous Operations][1].
|
1186
|
+
#
|
1187
|
+
#
|
1188
|
+
#
|
1189
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions-med.html#auth-role-permissions-med
|
1190
|
+
#
|
1191
|
+
# @option params [String] :job_name
|
1192
|
+
# The identifier of the job.
|
1193
|
+
#
|
1194
|
+
# @option params [String] :client_request_token
|
1195
|
+
# A unique identifier for the request. If you don't set the client
|
1196
|
+
# request token, Amazon Comprehend Medical generates one.
|
1197
|
+
#
|
1198
|
+
# **A suitable default value is auto-generated.** You should normally
|
1199
|
+
# not need to pass this option.**
|
1200
|
+
#
|
1201
|
+
# @option params [String] :kms_key
|
1202
|
+
# An AWS Key Management Service key to encrypt your output files. If you
|
1203
|
+
# do not specify a key, the files are written in plain text.
|
1204
|
+
#
|
1205
|
+
# @option params [required, String] :language_code
|
1206
|
+
# The language of the input documents. All documents must be in the same
|
1207
|
+
# language.
|
1208
|
+
#
|
1209
|
+
# @return [Types::StartICD10CMInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1210
|
+
#
|
1211
|
+
# * {Types::StartICD10CMInferenceJobResponse#job_id #job_id} => String
|
1212
|
+
#
|
1213
|
+
# @example Request syntax with placeholder values
|
1214
|
+
#
|
1215
|
+
# resp = client.start_icd10cm_inference_job({
|
1216
|
+
# input_data_config: { # required
|
1217
|
+
# s3_bucket: "S3Bucket", # required
|
1218
|
+
# s3_key: "S3Key",
|
1219
|
+
# },
|
1220
|
+
# output_data_config: { # required
|
1221
|
+
# s3_bucket: "S3Bucket", # required
|
1222
|
+
# s3_key: "S3Key",
|
1223
|
+
# },
|
1224
|
+
# data_access_role_arn: "IamRoleArn", # required
|
1225
|
+
# job_name: "JobName",
|
1226
|
+
# client_request_token: "ClientRequestTokenString",
|
1227
|
+
# kms_key: "KMSKey",
|
1228
|
+
# language_code: "en", # required, accepts en
|
1229
|
+
# })
|
1230
|
+
#
|
1231
|
+
# @example Response structure
|
1232
|
+
#
|
1233
|
+
# resp.job_id #=> String
|
1234
|
+
#
|
1235
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartICD10CMInferenceJob AWS API Documentation
|
1236
|
+
#
|
1237
|
+
# @overload start_icd10cm_inference_job(params = {})
|
1238
|
+
# @param [Hash] params ({})
|
1239
|
+
def start_icd10cm_inference_job(params = {}, options = {})
|
1240
|
+
req = build_request(:start_icd10cm_inference_job, params)
|
1241
|
+
req.send_request(options)
|
1242
|
+
end
|
1243
|
+
|
953
1244
|
# Starts an asynchronous job to detect protected health information
|
954
1245
|
# (PHI). Use the `DescribePHIDetectionJob` operation to track the status
|
955
1246
|
# of a job.
|
@@ -1023,6 +1314,79 @@ module Aws::ComprehendMedical
|
|
1023
1314
|
req.send_request(options)
|
1024
1315
|
end
|
1025
1316
|
|
1317
|
+
# Starts an asynchronous job to detect medication entities and link them
|
1318
|
+
# to the RxNorm ontology. Use the `DescribeRxNormInferenceJob` operation
|
1319
|
+
# to track the status of a job.
|
1320
|
+
#
|
1321
|
+
# @option params [required, Types::InputDataConfig] :input_data_config
|
1322
|
+
# Specifies the format and location of the input data for the job.
|
1323
|
+
#
|
1324
|
+
# @option params [required, Types::OutputDataConfig] :output_data_config
|
1325
|
+
# Specifies where to send the output files.
|
1326
|
+
#
|
1327
|
+
# @option params [required, String] :data_access_role_arn
|
1328
|
+
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
1329
|
+
# Management (IAM) role that grants Amazon Comprehend Medical read
|
1330
|
+
# access to your input data. For more information, see [ Role-Based
|
1331
|
+
# Permissions Required for Asynchronous Operations][1].
|
1332
|
+
#
|
1333
|
+
#
|
1334
|
+
#
|
1335
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions-med.html#auth-role-permissions-med
|
1336
|
+
#
|
1337
|
+
# @option params [String] :job_name
|
1338
|
+
# The identifier of the job.
|
1339
|
+
#
|
1340
|
+
# @option params [String] :client_request_token
|
1341
|
+
# A unique identifier for the request. If you don't set the client
|
1342
|
+
# request token, Amazon Comprehend Medical generates one.
|
1343
|
+
#
|
1344
|
+
# **A suitable default value is auto-generated.** You should normally
|
1345
|
+
# not need to pass this option.**
|
1346
|
+
#
|
1347
|
+
# @option params [String] :kms_key
|
1348
|
+
# An AWS Key Management Service key to encrypt your output files. If you
|
1349
|
+
# do not specify a key, the files are written in plain text.
|
1350
|
+
#
|
1351
|
+
# @option params [required, String] :language_code
|
1352
|
+
# The language of the input documents. All documents must be in the same
|
1353
|
+
# language.
|
1354
|
+
#
|
1355
|
+
# @return [Types::StartRxNormInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1356
|
+
#
|
1357
|
+
# * {Types::StartRxNormInferenceJobResponse#job_id #job_id} => String
|
1358
|
+
#
|
1359
|
+
# @example Request syntax with placeholder values
|
1360
|
+
#
|
1361
|
+
# resp = client.start_rx_norm_inference_job({
|
1362
|
+
# input_data_config: { # required
|
1363
|
+
# s3_bucket: "S3Bucket", # required
|
1364
|
+
# s3_key: "S3Key",
|
1365
|
+
# },
|
1366
|
+
# output_data_config: { # required
|
1367
|
+
# s3_bucket: "S3Bucket", # required
|
1368
|
+
# s3_key: "S3Key",
|
1369
|
+
# },
|
1370
|
+
# data_access_role_arn: "IamRoleArn", # required
|
1371
|
+
# job_name: "JobName",
|
1372
|
+
# client_request_token: "ClientRequestTokenString",
|
1373
|
+
# kms_key: "KMSKey",
|
1374
|
+
# language_code: "en", # required, accepts en
|
1375
|
+
# })
|
1376
|
+
#
|
1377
|
+
# @example Response structure
|
1378
|
+
#
|
1379
|
+
# resp.job_id #=> String
|
1380
|
+
#
|
1381
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartRxNormInferenceJob AWS API Documentation
|
1382
|
+
#
|
1383
|
+
# @overload start_rx_norm_inference_job(params = {})
|
1384
|
+
# @param [Hash] params ({})
|
1385
|
+
def start_rx_norm_inference_job(params = {}, options = {})
|
1386
|
+
req = build_request(:start_rx_norm_inference_job, params)
|
1387
|
+
req.send_request(options)
|
1388
|
+
end
|
1389
|
+
|
1026
1390
|
# Stops a medical entities detection job in progress.
|
1027
1391
|
#
|
1028
1392
|
# @option params [required, String] :job_id
|
@@ -1051,6 +1415,34 @@ module Aws::ComprehendMedical
|
|
1051
1415
|
req.send_request(options)
|
1052
1416
|
end
|
1053
1417
|
|
1418
|
+
# Stops an InferICD10CM inference job in progress.
|
1419
|
+
#
|
1420
|
+
# @option params [required, String] :job_id
|
1421
|
+
# The identifier of the job.
|
1422
|
+
#
|
1423
|
+
# @return [Types::StopICD10CMInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1424
|
+
#
|
1425
|
+
# * {Types::StopICD10CMInferenceJobResponse#job_id #job_id} => String
|
1426
|
+
#
|
1427
|
+
# @example Request syntax with placeholder values
|
1428
|
+
#
|
1429
|
+
# resp = client.stop_icd10cm_inference_job({
|
1430
|
+
# job_id: "JobId", # required
|
1431
|
+
# })
|
1432
|
+
#
|
1433
|
+
# @example Response structure
|
1434
|
+
#
|
1435
|
+
# resp.job_id #=> String
|
1436
|
+
#
|
1437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopICD10CMInferenceJob AWS API Documentation
|
1438
|
+
#
|
1439
|
+
# @overload stop_icd10cm_inference_job(params = {})
|
1440
|
+
# @param [Hash] params ({})
|
1441
|
+
def stop_icd10cm_inference_job(params = {}, options = {})
|
1442
|
+
req = build_request(:stop_icd10cm_inference_job, params)
|
1443
|
+
req.send_request(options)
|
1444
|
+
end
|
1445
|
+
|
1054
1446
|
# Stops a protected health information (PHI) detection job in progress.
|
1055
1447
|
#
|
1056
1448
|
# @option params [required, String] :job_id
|
@@ -1079,6 +1471,34 @@ module Aws::ComprehendMedical
|
|
1079
1471
|
req.send_request(options)
|
1080
1472
|
end
|
1081
1473
|
|
1474
|
+
# Stops an InferRxNorm inference job in progress.
|
1475
|
+
#
|
1476
|
+
# @option params [required, String] :job_id
|
1477
|
+
# The identifier of the job.
|
1478
|
+
#
|
1479
|
+
# @return [Types::StopRxNormInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1480
|
+
#
|
1481
|
+
# * {Types::StopRxNormInferenceJobResponse#job_id #job_id} => String
|
1482
|
+
#
|
1483
|
+
# @example Request syntax with placeholder values
|
1484
|
+
#
|
1485
|
+
# resp = client.stop_rx_norm_inference_job({
|
1486
|
+
# job_id: "JobId", # required
|
1487
|
+
# })
|
1488
|
+
#
|
1489
|
+
# @example Response structure
|
1490
|
+
#
|
1491
|
+
# resp.job_id #=> String
|
1492
|
+
#
|
1493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopRxNormInferenceJob AWS API Documentation
|
1494
|
+
#
|
1495
|
+
# @overload stop_rx_norm_inference_job(params = {})
|
1496
|
+
# @param [Hash] params ({})
|
1497
|
+
def stop_rx_norm_inference_job(params = {}, options = {})
|
1498
|
+
req = build_request(:stop_rx_norm_inference_job, params)
|
1499
|
+
req.send_request(options)
|
1500
|
+
end
|
1501
|
+
|
1082
1502
|
# @!endgroup
|
1083
1503
|
|
1084
1504
|
# @param params ({})
|
@@ -1092,7 +1512,7 @@ module Aws::ComprehendMedical
|
|
1092
1512
|
params: params,
|
1093
1513
|
config: config)
|
1094
1514
|
context[:gem_name] = 'aws-sdk-comprehendmedical'
|
1095
|
-
context[:gem_version] = '1.
|
1515
|
+
context[:gem_version] = '1.15.0'
|
1096
1516
|
Seahorse::Client::Request.new(handlers, context)
|
1097
1517
|
end
|
1098
1518
|
|