aws-sdk-comprehendmedical 1.48.0 → 1.50.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8fe42029fee119e7ab5bd4a33091c8ce8a1f17a8e8bd5999b8389966bb29d57
4
- data.tar.gz: 107513a29527c061170b99c907c5bc7f80ff032e371ac30607b8fda6b0a1d557
3
+ metadata.gz: ed791446075f00913decfa8542889062865b5a97e27fddf0e8366fde2e9a5689
4
+ data.tar.gz: 3faa264fb7812712cd116c405cd25114e60da0e81e00223d1dc658002245d813
5
5
  SHA512:
6
- metadata.gz: 6626dd9573edfce361fbbf68128d05e0f39b923e4bcda41ae00b19878aaf659f4ae50499a70c7c318a5741baeaf612e6fdf0295954b8941265334d40e56cc786
7
- data.tar.gz: 8475d4247d2e52df59f7d735d83c7c8659cd520960de7855344610132030e49815106cf8d009853fe587adb07452f4ba948e0589e045dac7e1fb450899ffe018
6
+ metadata.gz: 0d2ee46b1bd3542f43670b626afb011648120f6a6d0c3fec36bcde9aa7816c3383a03d2e9617176368eabbecf19f5c94b93e00dc9774e2e8d7085bb221010202
7
+ data.tar.gz: 88c3406f333982dc335646fd9348dd2d8e53c87d557b0140b7ae825c64ea0ba6921fbdd5c8ea80d3f2c69c0765ffe2dd60cd324da24994277ef2c42ca628a504
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.49.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.48.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.48.0
1
+ 1.50.0
@@ -1866,7 +1866,7 @@ module Aws::ComprehendMedical
1866
1866
  params: params,
1867
1867
  config: config)
1868
1868
  context[:gem_name] = 'aws-sdk-comprehendmedical'
1869
- context[:gem_version] = '1.48.0'
1869
+ context[:gem_version] = '1.50.0'
1870
1870
  Seahorse::Client::Request.new(handlers, context)
1871
1871
  end
1872
1872
 
@@ -14,6 +14,7 @@ module Aws::ComprehendMedical
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::ComprehendMedical::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -25,16 +26,17 @@ module Aws::ComprehendMedical
25
26
  # @api private
26
27
  class Handler < Seahorse::Client::Handler
27
28
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
29
  unless context[:discovered_endpoint]
30
30
  params = parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
34
34
  apply_endpoint_headers(context, endpoint.headers)
35
+
36
+ context[:endpoint_params] = params
37
+ context[:endpoint_properties] = endpoint.properties
35
38
  end
36
39
 
37
- context[:endpoint_params] = params
38
40
  context[:auth_scheme] =
39
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
42
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-comprehendmedical/customizations'
52
52
  # @!group service
53
53
  module Aws::ComprehendMedical
54
54
 
55
- GEM_VERSION = '1.48.0'
55
+ GEM_VERSION = '1.50.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,454 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ComprehendMedical
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _DescribeEntitiesDetectionV2JobResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEntitiesDetectionV2JobResponse]
78
+ def comprehend_medical_async_job_properties: () -> Types::ComprehendMedicalAsyncJobProperties
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#describe_entities_detection_v2_job-instance_method
81
+ def describe_entities_detection_v2_job: (
82
+ job_id: ::String
83
+ ) -> _DescribeEntitiesDetectionV2JobResponseSuccess
84
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEntitiesDetectionV2JobResponseSuccess
85
+
86
+ interface _DescribeICD10CMInferenceJobResponseSuccess
87
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeICD10CMInferenceJobResponse]
88
+ def comprehend_medical_async_job_properties: () -> Types::ComprehendMedicalAsyncJobProperties
89
+ end
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#describe_icd10cm_inference_job-instance_method
91
+ def describe_icd10cm_inference_job: (
92
+ job_id: ::String
93
+ ) -> _DescribeICD10CMInferenceJobResponseSuccess
94
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeICD10CMInferenceJobResponseSuccess
95
+
96
+ interface _DescribePHIDetectionJobResponseSuccess
97
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribePHIDetectionJobResponse]
98
+ def comprehend_medical_async_job_properties: () -> Types::ComprehendMedicalAsyncJobProperties
99
+ end
100
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#describe_phi_detection_job-instance_method
101
+ def describe_phi_detection_job: (
102
+ job_id: ::String
103
+ ) -> _DescribePHIDetectionJobResponseSuccess
104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePHIDetectionJobResponseSuccess
105
+
106
+ interface _DescribeRxNormInferenceJobResponseSuccess
107
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRxNormInferenceJobResponse]
108
+ def comprehend_medical_async_job_properties: () -> Types::ComprehendMedicalAsyncJobProperties
109
+ end
110
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#describe_rx_norm_inference_job-instance_method
111
+ def describe_rx_norm_inference_job: (
112
+ job_id: ::String
113
+ ) -> _DescribeRxNormInferenceJobResponseSuccess
114
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRxNormInferenceJobResponseSuccess
115
+
116
+ interface _DescribeSNOMEDCTInferenceJobResponseSuccess
117
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSNOMEDCTInferenceJobResponse]
118
+ def comprehend_medical_async_job_properties: () -> Types::ComprehendMedicalAsyncJobProperties
119
+ end
120
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#describe_snomedct_inference_job-instance_method
121
+ def describe_snomedct_inference_job: (
122
+ job_id: ::String
123
+ ) -> _DescribeSNOMEDCTInferenceJobResponseSuccess
124
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSNOMEDCTInferenceJobResponseSuccess
125
+
126
+ interface _DetectEntitiesResponseSuccess
127
+ include ::Seahorse::Client::_ResponseSuccess[Types::DetectEntitiesResponse]
128
+ def entities: () -> ::Array[Types::Entity]
129
+ def unmapped_attributes: () -> ::Array[Types::UnmappedAttribute]
130
+ def pagination_token: () -> ::String
131
+ def model_version: () -> ::String
132
+ end
133
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#detect_entities-instance_method
134
+ def detect_entities: (
135
+ text: ::String
136
+ ) -> _DetectEntitiesResponseSuccess
137
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectEntitiesResponseSuccess
138
+
139
+ interface _DetectEntitiesV2ResponseSuccess
140
+ include ::Seahorse::Client::_ResponseSuccess[Types::DetectEntitiesV2Response]
141
+ def entities: () -> ::Array[Types::Entity]
142
+ def unmapped_attributes: () -> ::Array[Types::UnmappedAttribute]
143
+ def pagination_token: () -> ::String
144
+ def model_version: () -> ::String
145
+ end
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#detect_entities_v2-instance_method
147
+ def detect_entities_v2: (
148
+ text: ::String
149
+ ) -> _DetectEntitiesV2ResponseSuccess
150
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectEntitiesV2ResponseSuccess
151
+
152
+ interface _DetectPHIResponseSuccess
153
+ include ::Seahorse::Client::_ResponseSuccess[Types::DetectPHIResponse]
154
+ def entities: () -> ::Array[Types::Entity]
155
+ def pagination_token: () -> ::String
156
+ def model_version: () -> ::String
157
+ end
158
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#detect_phi-instance_method
159
+ def detect_phi: (
160
+ text: ::String
161
+ ) -> _DetectPHIResponseSuccess
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectPHIResponseSuccess
163
+
164
+ interface _InferICD10CMResponseSuccess
165
+ include ::Seahorse::Client::_ResponseSuccess[Types::InferICD10CMResponse]
166
+ def entities: () -> ::Array[Types::ICD10CMEntity]
167
+ def pagination_token: () -> ::String
168
+ def model_version: () -> ::String
169
+ end
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#infer_icd10cm-instance_method
171
+ def infer_icd10cm: (
172
+ text: ::String
173
+ ) -> _InferICD10CMResponseSuccess
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InferICD10CMResponseSuccess
175
+
176
+ interface _InferRxNormResponseSuccess
177
+ include ::Seahorse::Client::_ResponseSuccess[Types::InferRxNormResponse]
178
+ def entities: () -> ::Array[Types::RxNormEntity]
179
+ def pagination_token: () -> ::String
180
+ def model_version: () -> ::String
181
+ end
182
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#infer_rx_norm-instance_method
183
+ def infer_rx_norm: (
184
+ text: ::String
185
+ ) -> _InferRxNormResponseSuccess
186
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InferRxNormResponseSuccess
187
+
188
+ interface _InferSNOMEDCTResponseSuccess
189
+ include ::Seahorse::Client::_ResponseSuccess[Types::InferSNOMEDCTResponse]
190
+ def entities: () -> ::Array[Types::SNOMEDCTEntity]
191
+ def pagination_token: () -> ::String
192
+ def model_version: () -> ::String
193
+ def snomedct_details: () -> Types::SNOMEDCTDetails
194
+ def characters: () -> Types::Characters
195
+ end
196
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#infer_snomedct-instance_method
197
+ def infer_snomedct: (
198
+ text: ::String
199
+ ) -> _InferSNOMEDCTResponseSuccess
200
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InferSNOMEDCTResponseSuccess
201
+
202
+ interface _ListEntitiesDetectionV2JobsResponseSuccess
203
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEntitiesDetectionV2JobsResponse]
204
+ def comprehend_medical_async_job_properties_list: () -> ::Array[Types::ComprehendMedicalAsyncJobProperties]
205
+ def next_token: () -> ::String
206
+ end
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#list_entities_detection_v2_jobs-instance_method
208
+ def list_entities_detection_v2_jobs: (
209
+ ?filter: {
210
+ job_name: ::String?,
211
+ job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "PARTIAL_SUCCESS" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
212
+ submit_time_before: ::Time?,
213
+ submit_time_after: ::Time?
214
+ },
215
+ ?next_token: ::String,
216
+ ?max_results: ::Integer
217
+ ) -> _ListEntitiesDetectionV2JobsResponseSuccess
218
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEntitiesDetectionV2JobsResponseSuccess
219
+
220
+ interface _ListICD10CMInferenceJobsResponseSuccess
221
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListICD10CMInferenceJobsResponse]
222
+ def comprehend_medical_async_job_properties_list: () -> ::Array[Types::ComprehendMedicalAsyncJobProperties]
223
+ def next_token: () -> ::String
224
+ end
225
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#list_icd10cm_inference_jobs-instance_method
226
+ def list_icd10cm_inference_jobs: (
227
+ ?filter: {
228
+ job_name: ::String?,
229
+ job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "PARTIAL_SUCCESS" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
230
+ submit_time_before: ::Time?,
231
+ submit_time_after: ::Time?
232
+ },
233
+ ?next_token: ::String,
234
+ ?max_results: ::Integer
235
+ ) -> _ListICD10CMInferenceJobsResponseSuccess
236
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListICD10CMInferenceJobsResponseSuccess
237
+
238
+ interface _ListPHIDetectionJobsResponseSuccess
239
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPHIDetectionJobsResponse]
240
+ def comprehend_medical_async_job_properties_list: () -> ::Array[Types::ComprehendMedicalAsyncJobProperties]
241
+ def next_token: () -> ::String
242
+ end
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#list_phi_detection_jobs-instance_method
244
+ def list_phi_detection_jobs: (
245
+ ?filter: {
246
+ job_name: ::String?,
247
+ job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "PARTIAL_SUCCESS" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
248
+ submit_time_before: ::Time?,
249
+ submit_time_after: ::Time?
250
+ },
251
+ ?next_token: ::String,
252
+ ?max_results: ::Integer
253
+ ) -> _ListPHIDetectionJobsResponseSuccess
254
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPHIDetectionJobsResponseSuccess
255
+
256
+ interface _ListRxNormInferenceJobsResponseSuccess
257
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRxNormInferenceJobsResponse]
258
+ def comprehend_medical_async_job_properties_list: () -> ::Array[Types::ComprehendMedicalAsyncJobProperties]
259
+ def next_token: () -> ::String
260
+ end
261
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#list_rx_norm_inference_jobs-instance_method
262
+ def list_rx_norm_inference_jobs: (
263
+ ?filter: {
264
+ job_name: ::String?,
265
+ job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "PARTIAL_SUCCESS" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
266
+ submit_time_before: ::Time?,
267
+ submit_time_after: ::Time?
268
+ },
269
+ ?next_token: ::String,
270
+ ?max_results: ::Integer
271
+ ) -> _ListRxNormInferenceJobsResponseSuccess
272
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRxNormInferenceJobsResponseSuccess
273
+
274
+ interface _ListSNOMEDCTInferenceJobsResponseSuccess
275
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSNOMEDCTInferenceJobsResponse]
276
+ def comprehend_medical_async_job_properties_list: () -> ::Array[Types::ComprehendMedicalAsyncJobProperties]
277
+ def next_token: () -> ::String
278
+ end
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#list_snomedct_inference_jobs-instance_method
280
+ def list_snomedct_inference_jobs: (
281
+ ?filter: {
282
+ job_name: ::String?,
283
+ job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "PARTIAL_SUCCESS" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
284
+ submit_time_before: ::Time?,
285
+ submit_time_after: ::Time?
286
+ },
287
+ ?next_token: ::String,
288
+ ?max_results: ::Integer
289
+ ) -> _ListSNOMEDCTInferenceJobsResponseSuccess
290
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSNOMEDCTInferenceJobsResponseSuccess
291
+
292
+ interface _StartEntitiesDetectionV2JobResponseSuccess
293
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartEntitiesDetectionV2JobResponse]
294
+ def job_id: () -> ::String
295
+ end
296
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#start_entities_detection_v2_job-instance_method
297
+ def start_entities_detection_v2_job: (
298
+ input_data_config: {
299
+ s3_bucket: ::String,
300
+ s3_key: ::String?
301
+ },
302
+ output_data_config: {
303
+ s3_bucket: ::String,
304
+ s3_key: ::String?
305
+ },
306
+ data_access_role_arn: ::String,
307
+ ?job_name: ::String,
308
+ ?client_request_token: ::String,
309
+ ?kms_key: ::String,
310
+ language_code: ("en")
311
+ ) -> _StartEntitiesDetectionV2JobResponseSuccess
312
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartEntitiesDetectionV2JobResponseSuccess
313
+
314
+ interface _StartICD10CMInferenceJobResponseSuccess
315
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartICD10CMInferenceJobResponse]
316
+ def job_id: () -> ::String
317
+ end
318
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#start_icd10cm_inference_job-instance_method
319
+ def start_icd10cm_inference_job: (
320
+ input_data_config: {
321
+ s3_bucket: ::String,
322
+ s3_key: ::String?
323
+ },
324
+ output_data_config: {
325
+ s3_bucket: ::String,
326
+ s3_key: ::String?
327
+ },
328
+ data_access_role_arn: ::String,
329
+ ?job_name: ::String,
330
+ ?client_request_token: ::String,
331
+ ?kms_key: ::String,
332
+ language_code: ("en")
333
+ ) -> _StartICD10CMInferenceJobResponseSuccess
334
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartICD10CMInferenceJobResponseSuccess
335
+
336
+ interface _StartPHIDetectionJobResponseSuccess
337
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartPHIDetectionJobResponse]
338
+ def job_id: () -> ::String
339
+ end
340
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#start_phi_detection_job-instance_method
341
+ def start_phi_detection_job: (
342
+ input_data_config: {
343
+ s3_bucket: ::String,
344
+ s3_key: ::String?
345
+ },
346
+ output_data_config: {
347
+ s3_bucket: ::String,
348
+ s3_key: ::String?
349
+ },
350
+ data_access_role_arn: ::String,
351
+ ?job_name: ::String,
352
+ ?client_request_token: ::String,
353
+ ?kms_key: ::String,
354
+ language_code: ("en")
355
+ ) -> _StartPHIDetectionJobResponseSuccess
356
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPHIDetectionJobResponseSuccess
357
+
358
+ interface _StartRxNormInferenceJobResponseSuccess
359
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartRxNormInferenceJobResponse]
360
+ def job_id: () -> ::String
361
+ end
362
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#start_rx_norm_inference_job-instance_method
363
+ def start_rx_norm_inference_job: (
364
+ input_data_config: {
365
+ s3_bucket: ::String,
366
+ s3_key: ::String?
367
+ },
368
+ output_data_config: {
369
+ s3_bucket: ::String,
370
+ s3_key: ::String?
371
+ },
372
+ data_access_role_arn: ::String,
373
+ ?job_name: ::String,
374
+ ?client_request_token: ::String,
375
+ ?kms_key: ::String,
376
+ language_code: ("en")
377
+ ) -> _StartRxNormInferenceJobResponseSuccess
378
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartRxNormInferenceJobResponseSuccess
379
+
380
+ interface _StartSNOMEDCTInferenceJobResponseSuccess
381
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartSNOMEDCTInferenceJobResponse]
382
+ def job_id: () -> ::String
383
+ end
384
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#start_snomedct_inference_job-instance_method
385
+ def start_snomedct_inference_job: (
386
+ input_data_config: {
387
+ s3_bucket: ::String,
388
+ s3_key: ::String?
389
+ },
390
+ output_data_config: {
391
+ s3_bucket: ::String,
392
+ s3_key: ::String?
393
+ },
394
+ data_access_role_arn: ::String,
395
+ ?job_name: ::String,
396
+ ?client_request_token: ::String,
397
+ ?kms_key: ::String,
398
+ language_code: ("en")
399
+ ) -> _StartSNOMEDCTInferenceJobResponseSuccess
400
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSNOMEDCTInferenceJobResponseSuccess
401
+
402
+ interface _StopEntitiesDetectionV2JobResponseSuccess
403
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopEntitiesDetectionV2JobResponse]
404
+ def job_id: () -> ::String
405
+ end
406
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#stop_entities_detection_v2_job-instance_method
407
+ def stop_entities_detection_v2_job: (
408
+ job_id: ::String
409
+ ) -> _StopEntitiesDetectionV2JobResponseSuccess
410
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopEntitiesDetectionV2JobResponseSuccess
411
+
412
+ interface _StopICD10CMInferenceJobResponseSuccess
413
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopICD10CMInferenceJobResponse]
414
+ def job_id: () -> ::String
415
+ end
416
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#stop_icd10cm_inference_job-instance_method
417
+ def stop_icd10cm_inference_job: (
418
+ job_id: ::String
419
+ ) -> _StopICD10CMInferenceJobResponseSuccess
420
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopICD10CMInferenceJobResponseSuccess
421
+
422
+ interface _StopPHIDetectionJobResponseSuccess
423
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopPHIDetectionJobResponse]
424
+ def job_id: () -> ::String
425
+ end
426
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#stop_phi_detection_job-instance_method
427
+ def stop_phi_detection_job: (
428
+ job_id: ::String
429
+ ) -> _StopPHIDetectionJobResponseSuccess
430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopPHIDetectionJobResponseSuccess
431
+
432
+ interface _StopRxNormInferenceJobResponseSuccess
433
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopRxNormInferenceJobResponse]
434
+ def job_id: () -> ::String
435
+ end
436
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#stop_rx_norm_inference_job-instance_method
437
+ def stop_rx_norm_inference_job: (
438
+ job_id: ::String
439
+ ) -> _StopRxNormInferenceJobResponseSuccess
440
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopRxNormInferenceJobResponseSuccess
441
+
442
+ interface _StopSNOMEDCTInferenceJobResponseSuccess
443
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopSNOMEDCTInferenceJobResponse]
444
+ def job_id: () -> ::String
445
+ end
446
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Client.html#stop_snomedct_inference_job-instance_method
447
+ def stop_snomedct_inference_job: (
448
+ job_id: ::String
449
+ ) -> _StopSNOMEDCTInferenceJobResponseSuccess
450
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopSNOMEDCTInferenceJobResponseSuccess
451
+ end
452
+ end
453
+ end
454
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,40 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ComprehendMedical
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class InternalServerException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InvalidEncodingException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InvalidRequestException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ServiceUnavailableException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class TextSizeLimitExceededException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class TooManyRequestsException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class ValidationException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ end
39
+ end
40
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,80 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ComprehendMedical
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ComprehendMedical/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> void
73
+ | (?Hash[Symbol, untyped]) -> void
74
+
75
+ def client: () -> Client
76
+
77
+
78
+ end
79
+ end
80
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,583 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::ComprehendMedical
9
+ module Types
10
+
11
+ class Attribute
12
+ attr_accessor type: ("NAME" | "DX_NAME" | "DOSAGE" | "ROUTE_OR_MODE" | "FORM" | "FREQUENCY" | "DURATION" | "GENERIC_NAME" | "BRAND_NAME" | "STRENGTH" | "RATE" | "ACUITY" | "TEST_NAME" | "TEST_VALUE" | "TEST_UNITS" | "TEST_UNIT" | "PROCEDURE_NAME" | "TREATMENT_NAME" | "DATE" | "AGE" | "CONTACT_POINT" | "PHONE_OR_FAX" | "EMAIL" | "IDENTIFIER" | "ID" | "URL" | "ADDRESS" | "PROFESSION" | "SYSTEM_ORGAN_SITE" | "DIRECTION" | "QUALITY" | "QUANTITY" | "TIME_EXPRESSION" | "TIME_TO_MEDICATION_NAME" | "TIME_TO_DX_NAME" | "TIME_TO_TEST_NAME" | "TIME_TO_PROCEDURE_NAME" | "TIME_TO_TREATMENT_NAME" | "AMOUNT" | "GENDER" | "RACE_ETHNICITY" | "ALLERGIES" | "TOBACCO_USE" | "ALCOHOL_CONSUMPTION" | "REC_DRUG_USE")
13
+ attr_accessor score: ::Float
14
+ attr_accessor relationship_score: ::Float
15
+ attr_accessor relationship_type: ("EVERY" | "WITH_DOSAGE" | "ADMINISTERED_VIA" | "FOR" | "NEGATIVE" | "OVERLAP" | "DOSAGE" | "ROUTE_OR_MODE" | "FORM" | "FREQUENCY" | "DURATION" | "STRENGTH" | "RATE" | "ACUITY" | "TEST_VALUE" | "TEST_UNITS" | "TEST_UNIT" | "DIRECTION" | "SYSTEM_ORGAN_SITE" | "AMOUNT" | "USAGE" | "QUALITY")
16
+ attr_accessor id: ::Integer
17
+ attr_accessor begin_offset: ::Integer
18
+ attr_accessor end_offset: ::Integer
19
+ attr_accessor text: ::String
20
+ attr_accessor category: ("MEDICATION" | "MEDICAL_CONDITION" | "PROTECTED_HEALTH_INFORMATION" | "TEST_TREATMENT_PROCEDURE" | "ANATOMY" | "TIME_EXPRESSION" | "BEHAVIORAL_ENVIRONMENTAL_SOCIAL")
21
+ attr_accessor traits: ::Array[Types::Trait]
22
+ SENSITIVE: []
23
+ end
24
+
25
+ class Characters
26
+ attr_accessor original_text_characters: ::Integer
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class ComprehendMedicalAsyncJobFilter
31
+ attr_accessor job_name: ::String
32
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "PARTIAL_SUCCESS" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
33
+ attr_accessor submit_time_before: ::Time
34
+ attr_accessor submit_time_after: ::Time
35
+ SENSITIVE: []
36
+ end
37
+
38
+ class ComprehendMedicalAsyncJobProperties
39
+ attr_accessor job_id: ::String
40
+ attr_accessor job_name: ::String
41
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "PARTIAL_SUCCESS" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
42
+ attr_accessor message: ::String
43
+ attr_accessor submit_time: ::Time
44
+ attr_accessor end_time: ::Time
45
+ attr_accessor expiration_time: ::Time
46
+ attr_accessor input_data_config: Types::InputDataConfig
47
+ attr_accessor output_data_config: Types::OutputDataConfig
48
+ attr_accessor language_code: ("en")
49
+ attr_accessor data_access_role_arn: ::String
50
+ attr_accessor manifest_file_path: ::String
51
+ attr_accessor kms_key: ::String
52
+ attr_accessor model_version: ::String
53
+ SENSITIVE: []
54
+ end
55
+
56
+ class DescribeEntitiesDetectionV2JobRequest
57
+ attr_accessor job_id: ::String
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class DescribeEntitiesDetectionV2JobResponse
62
+ attr_accessor comprehend_medical_async_job_properties: Types::ComprehendMedicalAsyncJobProperties
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class DescribeICD10CMInferenceJobRequest
67
+ attr_accessor job_id: ::String
68
+ SENSITIVE: []
69
+ end
70
+
71
+ class DescribeICD10CMInferenceJobResponse
72
+ attr_accessor comprehend_medical_async_job_properties: Types::ComprehendMedicalAsyncJobProperties
73
+ SENSITIVE: []
74
+ end
75
+
76
+ class DescribePHIDetectionJobRequest
77
+ attr_accessor job_id: ::String
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class DescribePHIDetectionJobResponse
82
+ attr_accessor comprehend_medical_async_job_properties: Types::ComprehendMedicalAsyncJobProperties
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class DescribeRxNormInferenceJobRequest
87
+ attr_accessor job_id: ::String
88
+ SENSITIVE: []
89
+ end
90
+
91
+ class DescribeRxNormInferenceJobResponse
92
+ attr_accessor comprehend_medical_async_job_properties: Types::ComprehendMedicalAsyncJobProperties
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class DescribeSNOMEDCTInferenceJobRequest
97
+ attr_accessor job_id: ::String
98
+ SENSITIVE: []
99
+ end
100
+
101
+ class DescribeSNOMEDCTInferenceJobResponse
102
+ attr_accessor comprehend_medical_async_job_properties: Types::ComprehendMedicalAsyncJobProperties
103
+ SENSITIVE: []
104
+ end
105
+
106
+ class DetectEntitiesRequest
107
+ attr_accessor text: ::String
108
+ SENSITIVE: []
109
+ end
110
+
111
+ class DetectEntitiesResponse
112
+ attr_accessor entities: ::Array[Types::Entity]
113
+ attr_accessor unmapped_attributes: ::Array[Types::UnmappedAttribute]
114
+ attr_accessor pagination_token: ::String
115
+ attr_accessor model_version: ::String
116
+ SENSITIVE: []
117
+ end
118
+
119
+ class DetectEntitiesV2Request
120
+ attr_accessor text: ::String
121
+ SENSITIVE: []
122
+ end
123
+
124
+ class DetectEntitiesV2Response
125
+ attr_accessor entities: ::Array[Types::Entity]
126
+ attr_accessor unmapped_attributes: ::Array[Types::UnmappedAttribute]
127
+ attr_accessor pagination_token: ::String
128
+ attr_accessor model_version: ::String
129
+ SENSITIVE: []
130
+ end
131
+
132
+ class DetectPHIRequest
133
+ attr_accessor text: ::String
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class DetectPHIResponse
138
+ attr_accessor entities: ::Array[Types::Entity]
139
+ attr_accessor pagination_token: ::String
140
+ attr_accessor model_version: ::String
141
+ SENSITIVE: []
142
+ end
143
+
144
+ class Entity
145
+ attr_accessor id: ::Integer
146
+ attr_accessor begin_offset: ::Integer
147
+ attr_accessor end_offset: ::Integer
148
+ attr_accessor score: ::Float
149
+ attr_accessor text: ::String
150
+ attr_accessor category: ("MEDICATION" | "MEDICAL_CONDITION" | "PROTECTED_HEALTH_INFORMATION" | "TEST_TREATMENT_PROCEDURE" | "ANATOMY" | "TIME_EXPRESSION" | "BEHAVIORAL_ENVIRONMENTAL_SOCIAL")
151
+ attr_accessor type: ("NAME" | "DX_NAME" | "DOSAGE" | "ROUTE_OR_MODE" | "FORM" | "FREQUENCY" | "DURATION" | "GENERIC_NAME" | "BRAND_NAME" | "STRENGTH" | "RATE" | "ACUITY" | "TEST_NAME" | "TEST_VALUE" | "TEST_UNITS" | "TEST_UNIT" | "PROCEDURE_NAME" | "TREATMENT_NAME" | "DATE" | "AGE" | "CONTACT_POINT" | "PHONE_OR_FAX" | "EMAIL" | "IDENTIFIER" | "ID" | "URL" | "ADDRESS" | "PROFESSION" | "SYSTEM_ORGAN_SITE" | "DIRECTION" | "QUALITY" | "QUANTITY" | "TIME_EXPRESSION" | "TIME_TO_MEDICATION_NAME" | "TIME_TO_DX_NAME" | "TIME_TO_TEST_NAME" | "TIME_TO_PROCEDURE_NAME" | "TIME_TO_TREATMENT_NAME" | "AMOUNT" | "GENDER" | "RACE_ETHNICITY" | "ALLERGIES" | "TOBACCO_USE" | "ALCOHOL_CONSUMPTION" | "REC_DRUG_USE")
152
+ attr_accessor traits: ::Array[Types::Trait]
153
+ attr_accessor attributes: ::Array[Types::Attribute]
154
+ SENSITIVE: []
155
+ end
156
+
157
+ class ICD10CMAttribute
158
+ attr_accessor type: ("ACUITY" | "DIRECTION" | "SYSTEM_ORGAN_SITE" | "QUALITY" | "QUANTITY" | "TIME_TO_DX_NAME" | "TIME_EXPRESSION")
159
+ attr_accessor score: ::Float
160
+ attr_accessor relationship_score: ::Float
161
+ attr_accessor id: ::Integer
162
+ attr_accessor begin_offset: ::Integer
163
+ attr_accessor end_offset: ::Integer
164
+ attr_accessor text: ::String
165
+ attr_accessor traits: ::Array[Types::ICD10CMTrait]
166
+ attr_accessor category: ("DX_NAME" | "TIME_EXPRESSION")
167
+ attr_accessor relationship_type: ("OVERLAP" | "SYSTEM_ORGAN_SITE" | "QUALITY")
168
+ SENSITIVE: []
169
+ end
170
+
171
+ class ICD10CMConcept
172
+ attr_accessor description: ::String
173
+ attr_accessor code: ::String
174
+ attr_accessor score: ::Float
175
+ SENSITIVE: []
176
+ end
177
+
178
+ class ICD10CMEntity
179
+ attr_accessor id: ::Integer
180
+ attr_accessor text: ::String
181
+ attr_accessor category: ("MEDICAL_CONDITION")
182
+ attr_accessor type: ("DX_NAME" | "TIME_EXPRESSION")
183
+ attr_accessor score: ::Float
184
+ attr_accessor begin_offset: ::Integer
185
+ attr_accessor end_offset: ::Integer
186
+ attr_accessor attributes: ::Array[Types::ICD10CMAttribute]
187
+ attr_accessor traits: ::Array[Types::ICD10CMTrait]
188
+ attr_accessor icd10cm_concepts: ::Array[Types::ICD10CMConcept]
189
+ SENSITIVE: []
190
+ end
191
+
192
+ class ICD10CMTrait
193
+ attr_accessor name: ("NEGATION" | "DIAGNOSIS" | "SIGN" | "SYMPTOM" | "PERTAINS_TO_FAMILY" | "HYPOTHETICAL" | "LOW_CONFIDENCE")
194
+ attr_accessor score: ::Float
195
+ SENSITIVE: []
196
+ end
197
+
198
+ class InferICD10CMRequest
199
+ attr_accessor text: ::String
200
+ SENSITIVE: []
201
+ end
202
+
203
+ class InferICD10CMResponse
204
+ attr_accessor entities: ::Array[Types::ICD10CMEntity]
205
+ attr_accessor pagination_token: ::String
206
+ attr_accessor model_version: ::String
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class InferRxNormRequest
211
+ attr_accessor text: ::String
212
+ SENSITIVE: []
213
+ end
214
+
215
+ class InferRxNormResponse
216
+ attr_accessor entities: ::Array[Types::RxNormEntity]
217
+ attr_accessor pagination_token: ::String
218
+ attr_accessor model_version: ::String
219
+ SENSITIVE: []
220
+ end
221
+
222
+ class InferSNOMEDCTRequest
223
+ attr_accessor text: ::String
224
+ SENSITIVE: []
225
+ end
226
+
227
+ class InferSNOMEDCTResponse
228
+ attr_accessor entities: ::Array[Types::SNOMEDCTEntity]
229
+ attr_accessor pagination_token: ::String
230
+ attr_accessor model_version: ::String
231
+ attr_accessor snomedct_details: Types::SNOMEDCTDetails
232
+ attr_accessor characters: Types::Characters
233
+ SENSITIVE: []
234
+ end
235
+
236
+ class InputDataConfig
237
+ attr_accessor s3_bucket: ::String
238
+ attr_accessor s3_key: ::String
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class InternalServerException
243
+ attr_accessor message: ::String
244
+ SENSITIVE: []
245
+ end
246
+
247
+ class InvalidEncodingException
248
+ attr_accessor message: ::String
249
+ SENSITIVE: []
250
+ end
251
+
252
+ class InvalidRequestException
253
+ attr_accessor message: ::String
254
+ SENSITIVE: []
255
+ end
256
+
257
+ class ListEntitiesDetectionV2JobsRequest
258
+ attr_accessor filter: Types::ComprehendMedicalAsyncJobFilter
259
+ attr_accessor next_token: ::String
260
+ attr_accessor max_results: ::Integer
261
+ SENSITIVE: []
262
+ end
263
+
264
+ class ListEntitiesDetectionV2JobsResponse
265
+ attr_accessor comprehend_medical_async_job_properties_list: ::Array[Types::ComprehendMedicalAsyncJobProperties]
266
+ attr_accessor next_token: ::String
267
+ SENSITIVE: []
268
+ end
269
+
270
+ class ListICD10CMInferenceJobsRequest
271
+ attr_accessor filter: Types::ComprehendMedicalAsyncJobFilter
272
+ attr_accessor next_token: ::String
273
+ attr_accessor max_results: ::Integer
274
+ SENSITIVE: []
275
+ end
276
+
277
+ class ListICD10CMInferenceJobsResponse
278
+ attr_accessor comprehend_medical_async_job_properties_list: ::Array[Types::ComprehendMedicalAsyncJobProperties]
279
+ attr_accessor next_token: ::String
280
+ SENSITIVE: []
281
+ end
282
+
283
+ class ListPHIDetectionJobsRequest
284
+ attr_accessor filter: Types::ComprehendMedicalAsyncJobFilter
285
+ attr_accessor next_token: ::String
286
+ attr_accessor max_results: ::Integer
287
+ SENSITIVE: []
288
+ end
289
+
290
+ class ListPHIDetectionJobsResponse
291
+ attr_accessor comprehend_medical_async_job_properties_list: ::Array[Types::ComprehendMedicalAsyncJobProperties]
292
+ attr_accessor next_token: ::String
293
+ SENSITIVE: []
294
+ end
295
+
296
+ class ListRxNormInferenceJobsRequest
297
+ attr_accessor filter: Types::ComprehendMedicalAsyncJobFilter
298
+ attr_accessor next_token: ::String
299
+ attr_accessor max_results: ::Integer
300
+ SENSITIVE: []
301
+ end
302
+
303
+ class ListRxNormInferenceJobsResponse
304
+ attr_accessor comprehend_medical_async_job_properties_list: ::Array[Types::ComprehendMedicalAsyncJobProperties]
305
+ attr_accessor next_token: ::String
306
+ SENSITIVE: []
307
+ end
308
+
309
+ class ListSNOMEDCTInferenceJobsRequest
310
+ attr_accessor filter: Types::ComprehendMedicalAsyncJobFilter
311
+ attr_accessor next_token: ::String
312
+ attr_accessor max_results: ::Integer
313
+ SENSITIVE: []
314
+ end
315
+
316
+ class ListSNOMEDCTInferenceJobsResponse
317
+ attr_accessor comprehend_medical_async_job_properties_list: ::Array[Types::ComprehendMedicalAsyncJobProperties]
318
+ attr_accessor next_token: ::String
319
+ SENSITIVE: []
320
+ end
321
+
322
+ class OutputDataConfig
323
+ attr_accessor s3_bucket: ::String
324
+ attr_accessor s3_key: ::String
325
+ SENSITIVE: []
326
+ end
327
+
328
+ class ResourceNotFoundException
329
+ attr_accessor message: ::String
330
+ SENSITIVE: []
331
+ end
332
+
333
+ class RxNormAttribute
334
+ attr_accessor type: ("DOSAGE" | "DURATION" | "FORM" | "FREQUENCY" | "RATE" | "ROUTE_OR_MODE" | "STRENGTH")
335
+ attr_accessor score: ::Float
336
+ attr_accessor relationship_score: ::Float
337
+ attr_accessor id: ::Integer
338
+ attr_accessor begin_offset: ::Integer
339
+ attr_accessor end_offset: ::Integer
340
+ attr_accessor text: ::String
341
+ attr_accessor traits: ::Array[Types::RxNormTrait]
342
+ SENSITIVE: []
343
+ end
344
+
345
+ class RxNormConcept
346
+ attr_accessor description: ::String
347
+ attr_accessor code: ::String
348
+ attr_accessor score: ::Float
349
+ SENSITIVE: []
350
+ end
351
+
352
+ class RxNormEntity
353
+ attr_accessor id: ::Integer
354
+ attr_accessor text: ::String
355
+ attr_accessor category: ("MEDICATION")
356
+ attr_accessor type: ("BRAND_NAME" | "GENERIC_NAME")
357
+ attr_accessor score: ::Float
358
+ attr_accessor begin_offset: ::Integer
359
+ attr_accessor end_offset: ::Integer
360
+ attr_accessor attributes: ::Array[Types::RxNormAttribute]
361
+ attr_accessor traits: ::Array[Types::RxNormTrait]
362
+ attr_accessor rx_norm_concepts: ::Array[Types::RxNormConcept]
363
+ SENSITIVE: []
364
+ end
365
+
366
+ class RxNormTrait
367
+ attr_accessor name: ("NEGATION" | "PAST_HISTORY")
368
+ attr_accessor score: ::Float
369
+ SENSITIVE: []
370
+ end
371
+
372
+ class SNOMEDCTAttribute
373
+ attr_accessor category: ("MEDICAL_CONDITION" | "ANATOMY" | "TEST_TREATMENT_PROCEDURE")
374
+ attr_accessor type: ("ACUITY" | "QUALITY" | "DIRECTION" | "SYSTEM_ORGAN_SITE" | "TEST_VALUE" | "TEST_UNIT")
375
+ attr_accessor score: ::Float
376
+ attr_accessor relationship_score: ::Float
377
+ attr_accessor relationship_type: ("ACUITY" | "QUALITY" | "TEST_VALUE" | "TEST_UNITS" | "DIRECTION" | "SYSTEM_ORGAN_SITE" | "TEST_UNIT")
378
+ attr_accessor id: ::Integer
379
+ attr_accessor begin_offset: ::Integer
380
+ attr_accessor end_offset: ::Integer
381
+ attr_accessor text: ::String
382
+ attr_accessor traits: ::Array[Types::SNOMEDCTTrait]
383
+ attr_accessor snomedct_concepts: ::Array[Types::SNOMEDCTConcept]
384
+ SENSITIVE: []
385
+ end
386
+
387
+ class SNOMEDCTConcept
388
+ attr_accessor description: ::String
389
+ attr_accessor code: ::String
390
+ attr_accessor score: ::Float
391
+ SENSITIVE: []
392
+ end
393
+
394
+ class SNOMEDCTDetails
395
+ attr_accessor edition: ::String
396
+ attr_accessor language: ::String
397
+ attr_accessor version_date: ::String
398
+ SENSITIVE: []
399
+ end
400
+
401
+ class SNOMEDCTEntity
402
+ attr_accessor id: ::Integer
403
+ attr_accessor text: ::String
404
+ attr_accessor category: ("MEDICAL_CONDITION" | "ANATOMY" | "TEST_TREATMENT_PROCEDURE")
405
+ attr_accessor type: ("DX_NAME" | "TEST_NAME" | "PROCEDURE_NAME" | "TREATMENT_NAME")
406
+ attr_accessor score: ::Float
407
+ attr_accessor begin_offset: ::Integer
408
+ attr_accessor end_offset: ::Integer
409
+ attr_accessor attributes: ::Array[Types::SNOMEDCTAttribute]
410
+ attr_accessor traits: ::Array[Types::SNOMEDCTTrait]
411
+ attr_accessor snomedct_concepts: ::Array[Types::SNOMEDCTConcept]
412
+ SENSITIVE: []
413
+ end
414
+
415
+ class SNOMEDCTTrait
416
+ attr_accessor name: ("NEGATION" | "DIAGNOSIS" | "SIGN" | "SYMPTOM" | "PERTAINS_TO_FAMILY" | "HYPOTHETICAL" | "LOW_CONFIDENCE" | "PAST_HISTORY" | "FUTURE")
417
+ attr_accessor score: ::Float
418
+ SENSITIVE: []
419
+ end
420
+
421
+ class ServiceUnavailableException
422
+ attr_accessor message: ::String
423
+ SENSITIVE: []
424
+ end
425
+
426
+ class StartEntitiesDetectionV2JobRequest
427
+ attr_accessor input_data_config: Types::InputDataConfig
428
+ attr_accessor output_data_config: Types::OutputDataConfig
429
+ attr_accessor data_access_role_arn: ::String
430
+ attr_accessor job_name: ::String
431
+ attr_accessor client_request_token: ::String
432
+ attr_accessor kms_key: ::String
433
+ attr_accessor language_code: ("en")
434
+ SENSITIVE: []
435
+ end
436
+
437
+ class StartEntitiesDetectionV2JobResponse
438
+ attr_accessor job_id: ::String
439
+ SENSITIVE: []
440
+ end
441
+
442
+ class StartICD10CMInferenceJobRequest
443
+ attr_accessor input_data_config: Types::InputDataConfig
444
+ attr_accessor output_data_config: Types::OutputDataConfig
445
+ attr_accessor data_access_role_arn: ::String
446
+ attr_accessor job_name: ::String
447
+ attr_accessor client_request_token: ::String
448
+ attr_accessor kms_key: ::String
449
+ attr_accessor language_code: ("en")
450
+ SENSITIVE: []
451
+ end
452
+
453
+ class StartICD10CMInferenceJobResponse
454
+ attr_accessor job_id: ::String
455
+ SENSITIVE: []
456
+ end
457
+
458
+ class StartPHIDetectionJobRequest
459
+ attr_accessor input_data_config: Types::InputDataConfig
460
+ attr_accessor output_data_config: Types::OutputDataConfig
461
+ attr_accessor data_access_role_arn: ::String
462
+ attr_accessor job_name: ::String
463
+ attr_accessor client_request_token: ::String
464
+ attr_accessor kms_key: ::String
465
+ attr_accessor language_code: ("en")
466
+ SENSITIVE: []
467
+ end
468
+
469
+ class StartPHIDetectionJobResponse
470
+ attr_accessor job_id: ::String
471
+ SENSITIVE: []
472
+ end
473
+
474
+ class StartRxNormInferenceJobRequest
475
+ attr_accessor input_data_config: Types::InputDataConfig
476
+ attr_accessor output_data_config: Types::OutputDataConfig
477
+ attr_accessor data_access_role_arn: ::String
478
+ attr_accessor job_name: ::String
479
+ attr_accessor client_request_token: ::String
480
+ attr_accessor kms_key: ::String
481
+ attr_accessor language_code: ("en")
482
+ SENSITIVE: []
483
+ end
484
+
485
+ class StartRxNormInferenceJobResponse
486
+ attr_accessor job_id: ::String
487
+ SENSITIVE: []
488
+ end
489
+
490
+ class StartSNOMEDCTInferenceJobRequest
491
+ attr_accessor input_data_config: Types::InputDataConfig
492
+ attr_accessor output_data_config: Types::OutputDataConfig
493
+ attr_accessor data_access_role_arn: ::String
494
+ attr_accessor job_name: ::String
495
+ attr_accessor client_request_token: ::String
496
+ attr_accessor kms_key: ::String
497
+ attr_accessor language_code: ("en")
498
+ SENSITIVE: []
499
+ end
500
+
501
+ class StartSNOMEDCTInferenceJobResponse
502
+ attr_accessor job_id: ::String
503
+ SENSITIVE: []
504
+ end
505
+
506
+ class StopEntitiesDetectionV2JobRequest
507
+ attr_accessor job_id: ::String
508
+ SENSITIVE: []
509
+ end
510
+
511
+ class StopEntitiesDetectionV2JobResponse
512
+ attr_accessor job_id: ::String
513
+ SENSITIVE: []
514
+ end
515
+
516
+ class StopICD10CMInferenceJobRequest
517
+ attr_accessor job_id: ::String
518
+ SENSITIVE: []
519
+ end
520
+
521
+ class StopICD10CMInferenceJobResponse
522
+ attr_accessor job_id: ::String
523
+ SENSITIVE: []
524
+ end
525
+
526
+ class StopPHIDetectionJobRequest
527
+ attr_accessor job_id: ::String
528
+ SENSITIVE: []
529
+ end
530
+
531
+ class StopPHIDetectionJobResponse
532
+ attr_accessor job_id: ::String
533
+ SENSITIVE: []
534
+ end
535
+
536
+ class StopRxNormInferenceJobRequest
537
+ attr_accessor job_id: ::String
538
+ SENSITIVE: []
539
+ end
540
+
541
+ class StopRxNormInferenceJobResponse
542
+ attr_accessor job_id: ::String
543
+ SENSITIVE: []
544
+ end
545
+
546
+ class StopSNOMEDCTInferenceJobRequest
547
+ attr_accessor job_id: ::String
548
+ SENSITIVE: []
549
+ end
550
+
551
+ class StopSNOMEDCTInferenceJobResponse
552
+ attr_accessor job_id: ::String
553
+ SENSITIVE: []
554
+ end
555
+
556
+ class TextSizeLimitExceededException
557
+ attr_accessor message: ::String
558
+ SENSITIVE: []
559
+ end
560
+
561
+ class TooManyRequestsException
562
+ attr_accessor message: ::String
563
+ SENSITIVE: []
564
+ end
565
+
566
+ class Trait
567
+ attr_accessor name: ("SIGN" | "SYMPTOM" | "DIAGNOSIS" | "NEGATION" | "PERTAINS_TO_FAMILY" | "HYPOTHETICAL" | "LOW_CONFIDENCE" | "PAST_HISTORY" | "FUTURE")
568
+ attr_accessor score: ::Float
569
+ SENSITIVE: []
570
+ end
571
+
572
+ class UnmappedAttribute
573
+ attr_accessor type: ("MEDICATION" | "MEDICAL_CONDITION" | "PROTECTED_HEALTH_INFORMATION" | "TEST_TREATMENT_PROCEDURE" | "ANATOMY" | "TIME_EXPRESSION" | "BEHAVIORAL_ENVIRONMENTAL_SOCIAL")
574
+ attr_accessor attribute: Types::Attribute
575
+ SENSITIVE: []
576
+ end
577
+
578
+ class ValidationException
579
+ attr_accessor message: ::String
580
+ SENSITIVE: []
581
+ end
582
+ end
583
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ComprehendMedical
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-comprehendmedical
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.0
4
+ version: 1.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2024-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.188.0
22
+ version: 3.191.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-comprehendmedical/plugins/endpoints.rb
67
67
  - lib/aws-sdk-comprehendmedical/resource.rb
68
68
  - lib/aws-sdk-comprehendmedical/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-comprehendmedical
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-comprehendmedical/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - ComprehendMedical
94
99
  test_files: []