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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 759d1ec9f6c27df08980540180d8bb78fbec96e0ea3ecc91f09866b04d38c41b
|
4
|
+
data.tar.gz: 3106f4eafb393918d010b8bcd885cdc05be35ba217226002f8a96eef291ccd15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b1c4479bb6faafbb45ca123ef89746d60592e9f03857f3ba0922d53bac8d5382f58181aad67d134377a3345f8003cd4a7cef127ca2bfd55bb1336d196a6d13d
|
7
|
+
data.tar.gz: 1f49e3ab6c523d700ab2e376f8184792f9c187f1a51d845d340d1b7a6c804193cb21885bfe7f7b611bb22a0f0ca4984e4b342a68c6ce9b10f1f8b7cf75b08924
|
@@ -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:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-comprehendmedical/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::ComprehendMedical
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.19.0'
|
49
51
|
|
50
52
|
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:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:comprehendmedical)
|
|
32
35
|
module Aws::ComprehendMedical
|
33
36
|
# An API client for ComprehendMedical. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::ComprehendMedical::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
40
43
|
#
|
41
44
|
# For details on configuring region and credentials see
|
42
45
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +72,7 @@ module Aws::ComprehendMedical
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::ComprehendMedical
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::ComprehendMedical
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::ComprehendMedical
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -229,15 +233,19 @@ module Aws::ComprehendMedical
|
|
229
233
|
#
|
230
234
|
# @option options [String] :retry_mode ("legacy")
|
231
235
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
241
249
|
#
|
242
250
|
# @option options [String] :secret_access_key
|
243
251
|
#
|
@@ -275,8 +283,7 @@ module Aws::ComprehendMedical
|
|
275
283
|
#
|
276
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
285
|
# 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}.
|
286
|
+
# safely be set per-request on the session.
|
280
287
|
#
|
281
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
289
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +295,7 @@ module Aws::ComprehendMedical
|
|
288
295
|
# request body. This option has no effect unless the request has
|
289
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
297
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
298
|
+
# request on the session.
|
292
299
|
#
|
293
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -361,6 +368,52 @@ module Aws::ComprehendMedical
|
|
361
368
|
req.send_request(options)
|
362
369
|
end
|
363
370
|
|
371
|
+
# Gets the properties associated with an InferICD10CM job. Use this
|
372
|
+
# operation to get the status of an inference job.
|
373
|
+
#
|
374
|
+
# @option params [required, String] :job_id
|
375
|
+
# The identifier that Amazon Comprehend Medical generated for the job.
|
376
|
+
# `The StartICD10CMInferenceJob` operation returns this identifier in
|
377
|
+
# its response.
|
378
|
+
#
|
379
|
+
# @return [Types::DescribeICD10CMInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
380
|
+
#
|
381
|
+
# * {Types::DescribeICD10CMInferenceJobResponse#comprehend_medical_async_job_properties #comprehend_medical_async_job_properties} => Types::ComprehendMedicalAsyncJobProperties
|
382
|
+
#
|
383
|
+
# @example Request syntax with placeholder values
|
384
|
+
#
|
385
|
+
# resp = client.describe_icd10cm_inference_job({
|
386
|
+
# job_id: "JobId", # required
|
387
|
+
# })
|
388
|
+
#
|
389
|
+
# @example Response structure
|
390
|
+
#
|
391
|
+
# resp.comprehend_medical_async_job_properties.job_id #=> String
|
392
|
+
# resp.comprehend_medical_async_job_properties.job_name #=> String
|
393
|
+
# resp.comprehend_medical_async_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED"
|
394
|
+
# resp.comprehend_medical_async_job_properties.message #=> String
|
395
|
+
# resp.comprehend_medical_async_job_properties.submit_time #=> Time
|
396
|
+
# resp.comprehend_medical_async_job_properties.end_time #=> Time
|
397
|
+
# resp.comprehend_medical_async_job_properties.expiration_time #=> Time
|
398
|
+
# resp.comprehend_medical_async_job_properties.input_data_config.s3_bucket #=> String
|
399
|
+
# resp.comprehend_medical_async_job_properties.input_data_config.s3_key #=> String
|
400
|
+
# resp.comprehend_medical_async_job_properties.output_data_config.s3_bucket #=> String
|
401
|
+
# resp.comprehend_medical_async_job_properties.output_data_config.s3_key #=> String
|
402
|
+
# resp.comprehend_medical_async_job_properties.language_code #=> String, one of "en"
|
403
|
+
# resp.comprehend_medical_async_job_properties.data_access_role_arn #=> String
|
404
|
+
# resp.comprehend_medical_async_job_properties.manifest_file_path #=> String
|
405
|
+
# resp.comprehend_medical_async_job_properties.kms_key #=> String
|
406
|
+
# resp.comprehend_medical_async_job_properties.model_version #=> String
|
407
|
+
#
|
408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeICD10CMInferenceJob AWS API Documentation
|
409
|
+
#
|
410
|
+
# @overload describe_icd10cm_inference_job(params = {})
|
411
|
+
# @param [Hash] params ({})
|
412
|
+
def describe_icd10cm_inference_job(params = {}, options = {})
|
413
|
+
req = build_request(:describe_icd10cm_inference_job, params)
|
414
|
+
req.send_request(options)
|
415
|
+
end
|
416
|
+
|
364
417
|
# Gets the properties associated with a protected health information
|
365
418
|
# (PHI) detection job. Use this operation to get the status of a
|
366
419
|
# detection job.
|
@@ -408,6 +461,52 @@ module Aws::ComprehendMedical
|
|
408
461
|
req.send_request(options)
|
409
462
|
end
|
410
463
|
|
464
|
+
# Gets the properties associated with an InferRxNorm job. Use this
|
465
|
+
# operation to get the status of an inference job.
|
466
|
+
#
|
467
|
+
# @option params [required, String] :job_id
|
468
|
+
# The identifier that Amazon Comprehend Medical generated for the job.
|
469
|
+
# The StartRxNormInferenceJob operation returns this identifier in its
|
470
|
+
# response.
|
471
|
+
#
|
472
|
+
# @return [Types::DescribeRxNormInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
473
|
+
#
|
474
|
+
# * {Types::DescribeRxNormInferenceJobResponse#comprehend_medical_async_job_properties #comprehend_medical_async_job_properties} => Types::ComprehendMedicalAsyncJobProperties
|
475
|
+
#
|
476
|
+
# @example Request syntax with placeholder values
|
477
|
+
#
|
478
|
+
# resp = client.describe_rx_norm_inference_job({
|
479
|
+
# job_id: "JobId", # required
|
480
|
+
# })
|
481
|
+
#
|
482
|
+
# @example Response structure
|
483
|
+
#
|
484
|
+
# resp.comprehend_medical_async_job_properties.job_id #=> String
|
485
|
+
# resp.comprehend_medical_async_job_properties.job_name #=> String
|
486
|
+
# resp.comprehend_medical_async_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED"
|
487
|
+
# resp.comprehend_medical_async_job_properties.message #=> String
|
488
|
+
# resp.comprehend_medical_async_job_properties.submit_time #=> Time
|
489
|
+
# resp.comprehend_medical_async_job_properties.end_time #=> Time
|
490
|
+
# resp.comprehend_medical_async_job_properties.expiration_time #=> Time
|
491
|
+
# resp.comprehend_medical_async_job_properties.input_data_config.s3_bucket #=> String
|
492
|
+
# resp.comprehend_medical_async_job_properties.input_data_config.s3_key #=> String
|
493
|
+
# resp.comprehend_medical_async_job_properties.output_data_config.s3_bucket #=> String
|
494
|
+
# resp.comprehend_medical_async_job_properties.output_data_config.s3_key #=> String
|
495
|
+
# resp.comprehend_medical_async_job_properties.language_code #=> String, one of "en"
|
496
|
+
# resp.comprehend_medical_async_job_properties.data_access_role_arn #=> String
|
497
|
+
# resp.comprehend_medical_async_job_properties.manifest_file_path #=> String
|
498
|
+
# resp.comprehend_medical_async_job_properties.kms_key #=> String
|
499
|
+
# resp.comprehend_medical_async_job_properties.model_version #=> String
|
500
|
+
#
|
501
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeRxNormInferenceJob AWS API Documentation
|
502
|
+
#
|
503
|
+
# @overload describe_rx_norm_inference_job(params = {})
|
504
|
+
# @param [Hash] params ({})
|
505
|
+
def describe_rx_norm_inference_job(params = {}, options = {})
|
506
|
+
req = build_request(:describe_rx_norm_inference_job, params)
|
507
|
+
req.send_request(options)
|
508
|
+
end
|
509
|
+
|
411
510
|
# The `DetectEntities` operation is deprecated. You should use the
|
412
511
|
# DetectEntitiesV2 operation instead.
|
413
512
|
#
|
@@ -814,6 +913,68 @@ module Aws::ComprehendMedical
|
|
814
913
|
req.send_request(options)
|
815
914
|
end
|
816
915
|
|
916
|
+
# Gets a list of InferICD10CM jobs that you have submitted.
|
917
|
+
#
|
918
|
+
# @option params [Types::ComprehendMedicalAsyncJobFilter] :filter
|
919
|
+
# Filters the jobs that are returned. You can filter jobs based on their
|
920
|
+
# names, status, or the date and time that they were submitted. You can
|
921
|
+
# only set one filter at a time.
|
922
|
+
#
|
923
|
+
# @option params [String] :next_token
|
924
|
+
# Identifies the next page of results to return.
|
925
|
+
#
|
926
|
+
# @option params [Integer] :max_results
|
927
|
+
# The maximum number of results to return in each page. The default is
|
928
|
+
# 100.
|
929
|
+
#
|
930
|
+
# @return [Types::ListICD10CMInferenceJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
931
|
+
#
|
932
|
+
# * {Types::ListICD10CMInferenceJobsResponse#comprehend_medical_async_job_properties_list #comprehend_medical_async_job_properties_list} => Array<Types::ComprehendMedicalAsyncJobProperties>
|
933
|
+
# * {Types::ListICD10CMInferenceJobsResponse#next_token #next_token} => String
|
934
|
+
#
|
935
|
+
# @example Request syntax with placeholder values
|
936
|
+
#
|
937
|
+
# resp = client.list_icd10cm_inference_jobs({
|
938
|
+
# filter: {
|
939
|
+
# job_name: "JobName",
|
940
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, PARTIAL_SUCCESS, FAILED, STOP_REQUESTED, STOPPED
|
941
|
+
# submit_time_before: Time.now,
|
942
|
+
# submit_time_after: Time.now,
|
943
|
+
# },
|
944
|
+
# next_token: "String",
|
945
|
+
# max_results: 1,
|
946
|
+
# })
|
947
|
+
#
|
948
|
+
# @example Response structure
|
949
|
+
#
|
950
|
+
# resp.comprehend_medical_async_job_properties_list #=> Array
|
951
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_id #=> String
|
952
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_name #=> String
|
953
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED"
|
954
|
+
# resp.comprehend_medical_async_job_properties_list[0].message #=> String
|
955
|
+
# resp.comprehend_medical_async_job_properties_list[0].submit_time #=> Time
|
956
|
+
# resp.comprehend_medical_async_job_properties_list[0].end_time #=> Time
|
957
|
+
# resp.comprehend_medical_async_job_properties_list[0].expiration_time #=> Time
|
958
|
+
# resp.comprehend_medical_async_job_properties_list[0].input_data_config.s3_bucket #=> String
|
959
|
+
# resp.comprehend_medical_async_job_properties_list[0].input_data_config.s3_key #=> String
|
960
|
+
# resp.comprehend_medical_async_job_properties_list[0].output_data_config.s3_bucket #=> String
|
961
|
+
# resp.comprehend_medical_async_job_properties_list[0].output_data_config.s3_key #=> String
|
962
|
+
# resp.comprehend_medical_async_job_properties_list[0].language_code #=> String, one of "en"
|
963
|
+
# resp.comprehend_medical_async_job_properties_list[0].data_access_role_arn #=> String
|
964
|
+
# resp.comprehend_medical_async_job_properties_list[0].manifest_file_path #=> String
|
965
|
+
# resp.comprehend_medical_async_job_properties_list[0].kms_key #=> String
|
966
|
+
# resp.comprehend_medical_async_job_properties_list[0].model_version #=> String
|
967
|
+
# resp.next_token #=> String
|
968
|
+
#
|
969
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListICD10CMInferenceJobs AWS API Documentation
|
970
|
+
#
|
971
|
+
# @overload list_icd10cm_inference_jobs(params = {})
|
972
|
+
# @param [Hash] params ({})
|
973
|
+
def list_icd10cm_inference_jobs(params = {}, options = {})
|
974
|
+
req = build_request(:list_icd10cm_inference_jobs, params)
|
975
|
+
req.send_request(options)
|
976
|
+
end
|
977
|
+
|
817
978
|
# Gets a list of protected health information (PHI) detection jobs that
|
818
979
|
# you have submitted.
|
819
980
|
#
|
@@ -877,6 +1038,67 @@ module Aws::ComprehendMedical
|
|
877
1038
|
req.send_request(options)
|
878
1039
|
end
|
879
1040
|
|
1041
|
+
# Gets a list of InferRxNorm jobs that you have submitted.
|
1042
|
+
#
|
1043
|
+
# @option params [Types::ComprehendMedicalAsyncJobFilter] :filter
|
1044
|
+
# Filters the jobs that are returned. You can filter jobs based on their
|
1045
|
+
# names, status, or the date and time that they were submitted. You can
|
1046
|
+
# only set one filter at a time.
|
1047
|
+
#
|
1048
|
+
# @option params [String] :next_token
|
1049
|
+
# Identifies the next page of results to return.
|
1050
|
+
#
|
1051
|
+
# @option params [Integer] :max_results
|
1052
|
+
# Identifies the next page of results to return.
|
1053
|
+
#
|
1054
|
+
# @return [Types::ListRxNormInferenceJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1055
|
+
#
|
1056
|
+
# * {Types::ListRxNormInferenceJobsResponse#comprehend_medical_async_job_properties_list #comprehend_medical_async_job_properties_list} => Array<Types::ComprehendMedicalAsyncJobProperties>
|
1057
|
+
# * {Types::ListRxNormInferenceJobsResponse#next_token #next_token} => String
|
1058
|
+
#
|
1059
|
+
# @example Request syntax with placeholder values
|
1060
|
+
#
|
1061
|
+
# resp = client.list_rx_norm_inference_jobs({
|
1062
|
+
# filter: {
|
1063
|
+
# job_name: "JobName",
|
1064
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, PARTIAL_SUCCESS, FAILED, STOP_REQUESTED, STOPPED
|
1065
|
+
# submit_time_before: Time.now,
|
1066
|
+
# submit_time_after: Time.now,
|
1067
|
+
# },
|
1068
|
+
# next_token: "String",
|
1069
|
+
# max_results: 1,
|
1070
|
+
# })
|
1071
|
+
#
|
1072
|
+
# @example Response structure
|
1073
|
+
#
|
1074
|
+
# resp.comprehend_medical_async_job_properties_list #=> Array
|
1075
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_id #=> String
|
1076
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_name #=> String
|
1077
|
+
# resp.comprehend_medical_async_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "PARTIAL_SUCCESS", "FAILED", "STOP_REQUESTED", "STOPPED"
|
1078
|
+
# resp.comprehend_medical_async_job_properties_list[0].message #=> String
|
1079
|
+
# resp.comprehend_medical_async_job_properties_list[0].submit_time #=> Time
|
1080
|
+
# resp.comprehend_medical_async_job_properties_list[0].end_time #=> Time
|
1081
|
+
# resp.comprehend_medical_async_job_properties_list[0].expiration_time #=> Time
|
1082
|
+
# resp.comprehend_medical_async_job_properties_list[0].input_data_config.s3_bucket #=> String
|
1083
|
+
# resp.comprehend_medical_async_job_properties_list[0].input_data_config.s3_key #=> String
|
1084
|
+
# resp.comprehend_medical_async_job_properties_list[0].output_data_config.s3_bucket #=> String
|
1085
|
+
# resp.comprehend_medical_async_job_properties_list[0].output_data_config.s3_key #=> String
|
1086
|
+
# resp.comprehend_medical_async_job_properties_list[0].language_code #=> String, one of "en"
|
1087
|
+
# resp.comprehend_medical_async_job_properties_list[0].data_access_role_arn #=> String
|
1088
|
+
# resp.comprehend_medical_async_job_properties_list[0].manifest_file_path #=> String
|
1089
|
+
# resp.comprehend_medical_async_job_properties_list[0].kms_key #=> String
|
1090
|
+
# resp.comprehend_medical_async_job_properties_list[0].model_version #=> String
|
1091
|
+
# resp.next_token #=> String
|
1092
|
+
#
|
1093
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListRxNormInferenceJobs AWS API Documentation
|
1094
|
+
#
|
1095
|
+
# @overload list_rx_norm_inference_jobs(params = {})
|
1096
|
+
# @param [Hash] params ({})
|
1097
|
+
def list_rx_norm_inference_jobs(params = {}, options = {})
|
1098
|
+
req = build_request(:list_rx_norm_inference_jobs, params)
|
1099
|
+
req.send_request(options)
|
1100
|
+
end
|
1101
|
+
|
880
1102
|
# Starts an asynchronous medical entity detection job for a collection
|
881
1103
|
# of documents. Use the `DescribeEntitiesDetectionV2Job` operation to
|
882
1104
|
# track the status of a job.
|
@@ -950,6 +1172,79 @@ module Aws::ComprehendMedical
|
|
950
1172
|
req.send_request(options)
|
951
1173
|
end
|
952
1174
|
|
1175
|
+
# Starts an asynchronous job to detect medical conditions and link them
|
1176
|
+
# to the ICD-10-CM ontology. Use the `DescribeICD10CMInferenceJob`
|
1177
|
+
# operation to track the status of a job.
|
1178
|
+
#
|
1179
|
+
# @option params [required, Types::InputDataConfig] :input_data_config
|
1180
|
+
# Specifies the format and location of the input data for the job.
|
1181
|
+
#
|
1182
|
+
# @option params [required, Types::OutputDataConfig] :output_data_config
|
1183
|
+
# Specifies where to send the output files.
|
1184
|
+
#
|
1185
|
+
# @option params [required, String] :data_access_role_arn
|
1186
|
+
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
1187
|
+
# Management (IAM) role that grants Amazon Comprehend Medical read
|
1188
|
+
# access to your input data. For more information, see [ Role-Based
|
1189
|
+
# Permissions Required for Asynchronous Operations][1].
|
1190
|
+
#
|
1191
|
+
#
|
1192
|
+
#
|
1193
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions-med.html#auth-role-permissions-med
|
1194
|
+
#
|
1195
|
+
# @option params [String] :job_name
|
1196
|
+
# The identifier of the job.
|
1197
|
+
#
|
1198
|
+
# @option params [String] :client_request_token
|
1199
|
+
# A unique identifier for the request. If you don't set the client
|
1200
|
+
# request token, Amazon Comprehend Medical generates one.
|
1201
|
+
#
|
1202
|
+
# **A suitable default value is auto-generated.** You should normally
|
1203
|
+
# not need to pass this option.**
|
1204
|
+
#
|
1205
|
+
# @option params [String] :kms_key
|
1206
|
+
# An AWS Key Management Service key to encrypt your output files. If you
|
1207
|
+
# do not specify a key, the files are written in plain text.
|
1208
|
+
#
|
1209
|
+
# @option params [required, String] :language_code
|
1210
|
+
# The language of the input documents. All documents must be in the same
|
1211
|
+
# language.
|
1212
|
+
#
|
1213
|
+
# @return [Types::StartICD10CMInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1214
|
+
#
|
1215
|
+
# * {Types::StartICD10CMInferenceJobResponse#job_id #job_id} => String
|
1216
|
+
#
|
1217
|
+
# @example Request syntax with placeholder values
|
1218
|
+
#
|
1219
|
+
# resp = client.start_icd10cm_inference_job({
|
1220
|
+
# input_data_config: { # required
|
1221
|
+
# s3_bucket: "S3Bucket", # required
|
1222
|
+
# s3_key: "S3Key",
|
1223
|
+
# },
|
1224
|
+
# output_data_config: { # required
|
1225
|
+
# s3_bucket: "S3Bucket", # required
|
1226
|
+
# s3_key: "S3Key",
|
1227
|
+
# },
|
1228
|
+
# data_access_role_arn: "IamRoleArn", # required
|
1229
|
+
# job_name: "JobName",
|
1230
|
+
# client_request_token: "ClientRequestTokenString",
|
1231
|
+
# kms_key: "KMSKey",
|
1232
|
+
# language_code: "en", # required, accepts en
|
1233
|
+
# })
|
1234
|
+
#
|
1235
|
+
# @example Response structure
|
1236
|
+
#
|
1237
|
+
# resp.job_id #=> String
|
1238
|
+
#
|
1239
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartICD10CMInferenceJob AWS API Documentation
|
1240
|
+
#
|
1241
|
+
# @overload start_icd10cm_inference_job(params = {})
|
1242
|
+
# @param [Hash] params ({})
|
1243
|
+
def start_icd10cm_inference_job(params = {}, options = {})
|
1244
|
+
req = build_request(:start_icd10cm_inference_job, params)
|
1245
|
+
req.send_request(options)
|
1246
|
+
end
|
1247
|
+
|
953
1248
|
# Starts an asynchronous job to detect protected health information
|
954
1249
|
# (PHI). Use the `DescribePHIDetectionJob` operation to track the status
|
955
1250
|
# of a job.
|
@@ -1023,6 +1318,79 @@ module Aws::ComprehendMedical
|
|
1023
1318
|
req.send_request(options)
|
1024
1319
|
end
|
1025
1320
|
|
1321
|
+
# Starts an asynchronous job to detect medication entities and link them
|
1322
|
+
# to the RxNorm ontology. Use the `DescribeRxNormInferenceJob` operation
|
1323
|
+
# to track the status of a job.
|
1324
|
+
#
|
1325
|
+
# @option params [required, Types::InputDataConfig] :input_data_config
|
1326
|
+
# Specifies the format and location of the input data for the job.
|
1327
|
+
#
|
1328
|
+
# @option params [required, Types::OutputDataConfig] :output_data_config
|
1329
|
+
# Specifies where to send the output files.
|
1330
|
+
#
|
1331
|
+
# @option params [required, String] :data_access_role_arn
|
1332
|
+
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
1333
|
+
# Management (IAM) role that grants Amazon Comprehend Medical read
|
1334
|
+
# access to your input data. For more information, see [ Role-Based
|
1335
|
+
# Permissions Required for Asynchronous Operations][1].
|
1336
|
+
#
|
1337
|
+
#
|
1338
|
+
#
|
1339
|
+
# [1]: https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions-med.html#auth-role-permissions-med
|
1340
|
+
#
|
1341
|
+
# @option params [String] :job_name
|
1342
|
+
# The identifier of the job.
|
1343
|
+
#
|
1344
|
+
# @option params [String] :client_request_token
|
1345
|
+
# A unique identifier for the request. If you don't set the client
|
1346
|
+
# request token, Amazon Comprehend Medical generates one.
|
1347
|
+
#
|
1348
|
+
# **A suitable default value is auto-generated.** You should normally
|
1349
|
+
# not need to pass this option.**
|
1350
|
+
#
|
1351
|
+
# @option params [String] :kms_key
|
1352
|
+
# An AWS Key Management Service key to encrypt your output files. If you
|
1353
|
+
# do not specify a key, the files are written in plain text.
|
1354
|
+
#
|
1355
|
+
# @option params [required, String] :language_code
|
1356
|
+
# The language of the input documents. All documents must be in the same
|
1357
|
+
# language.
|
1358
|
+
#
|
1359
|
+
# @return [Types::StartRxNormInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1360
|
+
#
|
1361
|
+
# * {Types::StartRxNormInferenceJobResponse#job_id #job_id} => String
|
1362
|
+
#
|
1363
|
+
# @example Request syntax with placeholder values
|
1364
|
+
#
|
1365
|
+
# resp = client.start_rx_norm_inference_job({
|
1366
|
+
# input_data_config: { # required
|
1367
|
+
# s3_bucket: "S3Bucket", # required
|
1368
|
+
# s3_key: "S3Key",
|
1369
|
+
# },
|
1370
|
+
# output_data_config: { # required
|
1371
|
+
# s3_bucket: "S3Bucket", # required
|
1372
|
+
# s3_key: "S3Key",
|
1373
|
+
# },
|
1374
|
+
# data_access_role_arn: "IamRoleArn", # required
|
1375
|
+
# job_name: "JobName",
|
1376
|
+
# client_request_token: "ClientRequestTokenString",
|
1377
|
+
# kms_key: "KMSKey",
|
1378
|
+
# language_code: "en", # required, accepts en
|
1379
|
+
# })
|
1380
|
+
#
|
1381
|
+
# @example Response structure
|
1382
|
+
#
|
1383
|
+
# resp.job_id #=> String
|
1384
|
+
#
|
1385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartRxNormInferenceJob AWS API Documentation
|
1386
|
+
#
|
1387
|
+
# @overload start_rx_norm_inference_job(params = {})
|
1388
|
+
# @param [Hash] params ({})
|
1389
|
+
def start_rx_norm_inference_job(params = {}, options = {})
|
1390
|
+
req = build_request(:start_rx_norm_inference_job, params)
|
1391
|
+
req.send_request(options)
|
1392
|
+
end
|
1393
|
+
|
1026
1394
|
# Stops a medical entities detection job in progress.
|
1027
1395
|
#
|
1028
1396
|
# @option params [required, String] :job_id
|
@@ -1051,6 +1419,34 @@ module Aws::ComprehendMedical
|
|
1051
1419
|
req.send_request(options)
|
1052
1420
|
end
|
1053
1421
|
|
1422
|
+
# Stops an InferICD10CM inference job in progress.
|
1423
|
+
#
|
1424
|
+
# @option params [required, String] :job_id
|
1425
|
+
# The identifier of the job.
|
1426
|
+
#
|
1427
|
+
# @return [Types::StopICD10CMInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1428
|
+
#
|
1429
|
+
# * {Types::StopICD10CMInferenceJobResponse#job_id #job_id} => String
|
1430
|
+
#
|
1431
|
+
# @example Request syntax with placeholder values
|
1432
|
+
#
|
1433
|
+
# resp = client.stop_icd10cm_inference_job({
|
1434
|
+
# job_id: "JobId", # required
|
1435
|
+
# })
|
1436
|
+
#
|
1437
|
+
# @example Response structure
|
1438
|
+
#
|
1439
|
+
# resp.job_id #=> String
|
1440
|
+
#
|
1441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopICD10CMInferenceJob AWS API Documentation
|
1442
|
+
#
|
1443
|
+
# @overload stop_icd10cm_inference_job(params = {})
|
1444
|
+
# @param [Hash] params ({})
|
1445
|
+
def stop_icd10cm_inference_job(params = {}, options = {})
|
1446
|
+
req = build_request(:stop_icd10cm_inference_job, params)
|
1447
|
+
req.send_request(options)
|
1448
|
+
end
|
1449
|
+
|
1054
1450
|
# Stops a protected health information (PHI) detection job in progress.
|
1055
1451
|
#
|
1056
1452
|
# @option params [required, String] :job_id
|
@@ -1079,6 +1475,34 @@ module Aws::ComprehendMedical
|
|
1079
1475
|
req.send_request(options)
|
1080
1476
|
end
|
1081
1477
|
|
1478
|
+
# Stops an InferRxNorm inference job in progress.
|
1479
|
+
#
|
1480
|
+
# @option params [required, String] :job_id
|
1481
|
+
# The identifier of the job.
|
1482
|
+
#
|
1483
|
+
# @return [Types::StopRxNormInferenceJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1484
|
+
#
|
1485
|
+
# * {Types::StopRxNormInferenceJobResponse#job_id #job_id} => String
|
1486
|
+
#
|
1487
|
+
# @example Request syntax with placeholder values
|
1488
|
+
#
|
1489
|
+
# resp = client.stop_rx_norm_inference_job({
|
1490
|
+
# job_id: "JobId", # required
|
1491
|
+
# })
|
1492
|
+
#
|
1493
|
+
# @example Response structure
|
1494
|
+
#
|
1495
|
+
# resp.job_id #=> String
|
1496
|
+
#
|
1497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopRxNormInferenceJob AWS API Documentation
|
1498
|
+
#
|
1499
|
+
# @overload stop_rx_norm_inference_job(params = {})
|
1500
|
+
# @param [Hash] params ({})
|
1501
|
+
def stop_rx_norm_inference_job(params = {}, options = {})
|
1502
|
+
req = build_request(:stop_rx_norm_inference_job, params)
|
1503
|
+
req.send_request(options)
|
1504
|
+
end
|
1505
|
+
|
1082
1506
|
# @!endgroup
|
1083
1507
|
|
1084
1508
|
# @param params ({})
|
@@ -1092,7 +1516,7 @@ module Aws::ComprehendMedical
|
|
1092
1516
|
params: params,
|
1093
1517
|
config: config)
|
1094
1518
|
context[:gem_name] = 'aws-sdk-comprehendmedical'
|
1095
|
-
context[:gem_version] = '1.
|
1519
|
+
context[:gem_version] = '1.19.0'
|
1096
1520
|
Seahorse::Client::Request.new(handlers, context)
|
1097
1521
|
end
|
1098
1522
|
|