aws-sdk-comprehendmedical 1.49.0 → 1.51.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-comprehendmedical/client.rb +70 -46
- data/lib/aws-sdk-comprehendmedical/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-comprehendmedical.rb +1 -1
- data/sig/client.rbs +454 -0
- data/sig/errors.rbs +40 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +583 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
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
|