aws-sdk-comprehend 1.78.0 → 1.80.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-comprehend/client.rb +6 -7
- data/lib/aws-sdk-comprehend/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-comprehend/types.rb +6 -7
- data/lib/aws-sdk-comprehend.rb +1 -1
- data/sig/client.rbs +1580 -0
- data/sig/errors.rbs +66 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +2088 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,1580 @@
|
|
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 Comprehend
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/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 _BatchDetectDominantLanguageResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDetectDominantLanguageResponse]
|
78
|
+
def result_list: () -> ::Array[Types::BatchDetectDominantLanguageItemResult]
|
79
|
+
def error_list: () -> ::Array[Types::BatchItemError]
|
80
|
+
end
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#batch_detect_dominant_language-instance_method
|
82
|
+
def batch_detect_dominant_language: (
|
83
|
+
text_list: Array[::String]
|
84
|
+
) -> _BatchDetectDominantLanguageResponseSuccess
|
85
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDetectDominantLanguageResponseSuccess
|
86
|
+
|
87
|
+
interface _BatchDetectEntitiesResponseSuccess
|
88
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDetectEntitiesResponse]
|
89
|
+
def result_list: () -> ::Array[Types::BatchDetectEntitiesItemResult]
|
90
|
+
def error_list: () -> ::Array[Types::BatchItemError]
|
91
|
+
end
|
92
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#batch_detect_entities-instance_method
|
93
|
+
def batch_detect_entities: (
|
94
|
+
text_list: Array[::String],
|
95
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
|
96
|
+
) -> _BatchDetectEntitiesResponseSuccess
|
97
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDetectEntitiesResponseSuccess
|
98
|
+
|
99
|
+
interface _BatchDetectKeyPhrasesResponseSuccess
|
100
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDetectKeyPhrasesResponse]
|
101
|
+
def result_list: () -> ::Array[Types::BatchDetectKeyPhrasesItemResult]
|
102
|
+
def error_list: () -> ::Array[Types::BatchItemError]
|
103
|
+
end
|
104
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#batch_detect_key_phrases-instance_method
|
105
|
+
def batch_detect_key_phrases: (
|
106
|
+
text_list: Array[::String],
|
107
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
|
108
|
+
) -> _BatchDetectKeyPhrasesResponseSuccess
|
109
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDetectKeyPhrasesResponseSuccess
|
110
|
+
|
111
|
+
interface _BatchDetectSentimentResponseSuccess
|
112
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDetectSentimentResponse]
|
113
|
+
def result_list: () -> ::Array[Types::BatchDetectSentimentItemResult]
|
114
|
+
def error_list: () -> ::Array[Types::BatchItemError]
|
115
|
+
end
|
116
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#batch_detect_sentiment-instance_method
|
117
|
+
def batch_detect_sentiment: (
|
118
|
+
text_list: Array[::String],
|
119
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
|
120
|
+
) -> _BatchDetectSentimentResponseSuccess
|
121
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDetectSentimentResponseSuccess
|
122
|
+
|
123
|
+
interface _BatchDetectSyntaxResponseSuccess
|
124
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDetectSyntaxResponse]
|
125
|
+
def result_list: () -> ::Array[Types::BatchDetectSyntaxItemResult]
|
126
|
+
def error_list: () -> ::Array[Types::BatchItemError]
|
127
|
+
end
|
128
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#batch_detect_syntax-instance_method
|
129
|
+
def batch_detect_syntax: (
|
130
|
+
text_list: Array[::String],
|
131
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt")
|
132
|
+
) -> _BatchDetectSyntaxResponseSuccess
|
133
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDetectSyntaxResponseSuccess
|
134
|
+
|
135
|
+
interface _BatchDetectTargetedSentimentResponseSuccess
|
136
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDetectTargetedSentimentResponse]
|
137
|
+
def result_list: () -> ::Array[Types::BatchDetectTargetedSentimentItemResult]
|
138
|
+
def error_list: () -> ::Array[Types::BatchItemError]
|
139
|
+
end
|
140
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#batch_detect_targeted_sentiment-instance_method
|
141
|
+
def batch_detect_targeted_sentiment: (
|
142
|
+
text_list: Array[::String],
|
143
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
|
144
|
+
) -> _BatchDetectTargetedSentimentResponseSuccess
|
145
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDetectTargetedSentimentResponseSuccess
|
146
|
+
|
147
|
+
interface _ClassifyDocumentResponseSuccess
|
148
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ClassifyDocumentResponse]
|
149
|
+
def classes: () -> ::Array[Types::DocumentClass]
|
150
|
+
def labels: () -> ::Array[Types::DocumentLabel]
|
151
|
+
def document_metadata: () -> Types::DocumentMetadata
|
152
|
+
def document_type: () -> ::Array[Types::DocumentTypeListItem]
|
153
|
+
def errors: () -> ::Array[Types::ErrorsListItem]
|
154
|
+
def warnings: () -> ::Array[Types::WarningsListItem]
|
155
|
+
end
|
156
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#classify_document-instance_method
|
157
|
+
def classify_document: (
|
158
|
+
?text: ::String,
|
159
|
+
endpoint_arn: ::String,
|
160
|
+
?bytes: ::String,
|
161
|
+
?document_reader_config: {
|
162
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
163
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
164
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
165
|
+
}
|
166
|
+
) -> _ClassifyDocumentResponseSuccess
|
167
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ClassifyDocumentResponseSuccess
|
168
|
+
|
169
|
+
interface _ContainsPiiEntitiesResponseSuccess
|
170
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ContainsPiiEntitiesResponse]
|
171
|
+
def labels: () -> ::Array[Types::EntityLabel]
|
172
|
+
end
|
173
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#contains_pii_entities-instance_method
|
174
|
+
def contains_pii_entities: (
|
175
|
+
text: ::String,
|
176
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
|
177
|
+
) -> _ContainsPiiEntitiesResponseSuccess
|
178
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ContainsPiiEntitiesResponseSuccess
|
179
|
+
|
180
|
+
interface _CreateDatasetResponseSuccess
|
181
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDatasetResponse]
|
182
|
+
def dataset_arn: () -> ::String
|
183
|
+
end
|
184
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#create_dataset-instance_method
|
185
|
+
def create_dataset: (
|
186
|
+
flywheel_arn: ::String,
|
187
|
+
dataset_name: ::String,
|
188
|
+
?dataset_type: ("TRAIN" | "TEST"),
|
189
|
+
?description: ::String,
|
190
|
+
input_data_config: {
|
191
|
+
augmented_manifests: Array[
|
192
|
+
{
|
193
|
+
attribute_names: Array[::String],
|
194
|
+
s3_uri: ::String,
|
195
|
+
annotation_data_s3_uri: ::String?,
|
196
|
+
source_documents_s3_uri: ::String?,
|
197
|
+
document_type: ("PLAIN_TEXT_DOCUMENT" | "SEMI_STRUCTURED_DOCUMENT")?
|
198
|
+
},
|
199
|
+
]?,
|
200
|
+
data_format: ("COMPREHEND_CSV" | "AUGMENTED_MANIFEST")?,
|
201
|
+
document_classifier_input_data_config: {
|
202
|
+
s3_uri: ::String,
|
203
|
+
label_delimiter: ::String?
|
204
|
+
}?,
|
205
|
+
entity_recognizer_input_data_config: {
|
206
|
+
annotations: {
|
207
|
+
s3_uri: ::String
|
208
|
+
}?,
|
209
|
+
documents: {
|
210
|
+
s3_uri: ::String,
|
211
|
+
input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")?
|
212
|
+
},
|
213
|
+
entity_list: {
|
214
|
+
s3_uri: ::String
|
215
|
+
}?
|
216
|
+
}?
|
217
|
+
},
|
218
|
+
?client_request_token: ::String,
|
219
|
+
?tags: Array[
|
220
|
+
{
|
221
|
+
key: ::String,
|
222
|
+
value: ::String?
|
223
|
+
},
|
224
|
+
]
|
225
|
+
) -> _CreateDatasetResponseSuccess
|
226
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDatasetResponseSuccess
|
227
|
+
|
228
|
+
interface _CreateDocumentClassifierResponseSuccess
|
229
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDocumentClassifierResponse]
|
230
|
+
def document_classifier_arn: () -> ::String
|
231
|
+
end
|
232
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#create_document_classifier-instance_method
|
233
|
+
def create_document_classifier: (
|
234
|
+
document_classifier_name: ::String,
|
235
|
+
?version_name: ::String,
|
236
|
+
data_access_role_arn: ::String,
|
237
|
+
?tags: Array[
|
238
|
+
{
|
239
|
+
key: ::String,
|
240
|
+
value: ::String?
|
241
|
+
},
|
242
|
+
],
|
243
|
+
input_data_config: {
|
244
|
+
data_format: ("COMPREHEND_CSV" | "AUGMENTED_MANIFEST")?,
|
245
|
+
s3_uri: ::String?,
|
246
|
+
test_s3_uri: ::String?,
|
247
|
+
label_delimiter: ::String?,
|
248
|
+
augmented_manifests: Array[
|
249
|
+
{
|
250
|
+
s3_uri: ::String,
|
251
|
+
split: ("TRAIN" | "TEST")?,
|
252
|
+
attribute_names: Array[::String],
|
253
|
+
annotation_data_s3_uri: ::String?,
|
254
|
+
source_documents_s3_uri: ::String?,
|
255
|
+
document_type: ("PLAIN_TEXT_DOCUMENT" | "SEMI_STRUCTURED_DOCUMENT")?
|
256
|
+
},
|
257
|
+
]?,
|
258
|
+
document_type: ("PLAIN_TEXT_DOCUMENT" | "SEMI_STRUCTURED_DOCUMENT")?,
|
259
|
+
documents: {
|
260
|
+
s3_uri: ::String,
|
261
|
+
test_s3_uri: ::String?
|
262
|
+
}?,
|
263
|
+
document_reader_config: {
|
264
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
265
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
266
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
267
|
+
}?
|
268
|
+
},
|
269
|
+
?output_data_config: {
|
270
|
+
s3_uri: ::String?,
|
271
|
+
kms_key_id: ::String?,
|
272
|
+
flywheel_stats_s3_prefix: ::String?
|
273
|
+
},
|
274
|
+
?client_request_token: ::String,
|
275
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW"),
|
276
|
+
?volume_kms_key_id: ::String,
|
277
|
+
?vpc_config: {
|
278
|
+
security_group_ids: Array[::String],
|
279
|
+
subnets: Array[::String]
|
280
|
+
},
|
281
|
+
?mode: ("MULTI_CLASS" | "MULTI_LABEL"),
|
282
|
+
?model_kms_key_id: ::String,
|
283
|
+
?model_policy: ::String
|
284
|
+
) -> _CreateDocumentClassifierResponseSuccess
|
285
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDocumentClassifierResponseSuccess
|
286
|
+
|
287
|
+
interface _CreateEndpointResponseSuccess
|
288
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEndpointResponse]
|
289
|
+
def endpoint_arn: () -> ::String
|
290
|
+
def model_arn: () -> ::String
|
291
|
+
end
|
292
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#create_endpoint-instance_method
|
293
|
+
def create_endpoint: (
|
294
|
+
endpoint_name: ::String,
|
295
|
+
?model_arn: ::String,
|
296
|
+
desired_inference_units: ::Integer,
|
297
|
+
?client_request_token: ::String,
|
298
|
+
?tags: Array[
|
299
|
+
{
|
300
|
+
key: ::String,
|
301
|
+
value: ::String?
|
302
|
+
},
|
303
|
+
],
|
304
|
+
?data_access_role_arn: ::String,
|
305
|
+
?flywheel_arn: ::String
|
306
|
+
) -> _CreateEndpointResponseSuccess
|
307
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEndpointResponseSuccess
|
308
|
+
|
309
|
+
interface _CreateEntityRecognizerResponseSuccess
|
310
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEntityRecognizerResponse]
|
311
|
+
def entity_recognizer_arn: () -> ::String
|
312
|
+
end
|
313
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#create_entity_recognizer-instance_method
|
314
|
+
def create_entity_recognizer: (
|
315
|
+
recognizer_name: ::String,
|
316
|
+
?version_name: ::String,
|
317
|
+
data_access_role_arn: ::String,
|
318
|
+
?tags: Array[
|
319
|
+
{
|
320
|
+
key: ::String,
|
321
|
+
value: ::String?
|
322
|
+
},
|
323
|
+
],
|
324
|
+
input_data_config: {
|
325
|
+
data_format: ("COMPREHEND_CSV" | "AUGMENTED_MANIFEST")?,
|
326
|
+
entity_types: Array[
|
327
|
+
{
|
328
|
+
type: ::String
|
329
|
+
},
|
330
|
+
],
|
331
|
+
documents: {
|
332
|
+
s3_uri: ::String,
|
333
|
+
test_s3_uri: ::String?,
|
334
|
+
input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")?
|
335
|
+
}?,
|
336
|
+
annotations: {
|
337
|
+
s3_uri: ::String,
|
338
|
+
test_s3_uri: ::String?
|
339
|
+
}?,
|
340
|
+
entity_list: {
|
341
|
+
s3_uri: ::String
|
342
|
+
}?,
|
343
|
+
augmented_manifests: Array[
|
344
|
+
{
|
345
|
+
s3_uri: ::String,
|
346
|
+
split: ("TRAIN" | "TEST")?,
|
347
|
+
attribute_names: Array[::String],
|
348
|
+
annotation_data_s3_uri: ::String?,
|
349
|
+
source_documents_s3_uri: ::String?,
|
350
|
+
document_type: ("PLAIN_TEXT_DOCUMENT" | "SEMI_STRUCTURED_DOCUMENT")?
|
351
|
+
},
|
352
|
+
]?
|
353
|
+
},
|
354
|
+
?client_request_token: ::String,
|
355
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW"),
|
356
|
+
?volume_kms_key_id: ::String,
|
357
|
+
?vpc_config: {
|
358
|
+
security_group_ids: Array[::String],
|
359
|
+
subnets: Array[::String]
|
360
|
+
},
|
361
|
+
?model_kms_key_id: ::String,
|
362
|
+
?model_policy: ::String
|
363
|
+
) -> _CreateEntityRecognizerResponseSuccess
|
364
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEntityRecognizerResponseSuccess
|
365
|
+
|
366
|
+
interface _CreateFlywheelResponseSuccess
|
367
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateFlywheelResponse]
|
368
|
+
def flywheel_arn: () -> ::String
|
369
|
+
def active_model_arn: () -> ::String
|
370
|
+
end
|
371
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#create_flywheel-instance_method
|
372
|
+
def create_flywheel: (
|
373
|
+
flywheel_name: ::String,
|
374
|
+
?active_model_arn: ::String,
|
375
|
+
data_access_role_arn: ::String,
|
376
|
+
?task_config: {
|
377
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW"),
|
378
|
+
document_classification_config: {
|
379
|
+
mode: ("MULTI_CLASS" | "MULTI_LABEL"),
|
380
|
+
labels: Array[::String]?
|
381
|
+
}?,
|
382
|
+
entity_recognition_config: {
|
383
|
+
entity_types: Array[
|
384
|
+
{
|
385
|
+
type: ::String
|
386
|
+
},
|
387
|
+
]
|
388
|
+
}?
|
389
|
+
},
|
390
|
+
?model_type: ("DOCUMENT_CLASSIFIER" | "ENTITY_RECOGNIZER"),
|
391
|
+
data_lake_s3_uri: ::String,
|
392
|
+
?data_security_config: {
|
393
|
+
model_kms_key_id: ::String?,
|
394
|
+
volume_kms_key_id: ::String?,
|
395
|
+
data_lake_kms_key_id: ::String?,
|
396
|
+
vpc_config: {
|
397
|
+
security_group_ids: Array[::String],
|
398
|
+
subnets: Array[::String]
|
399
|
+
}?
|
400
|
+
},
|
401
|
+
?client_request_token: ::String,
|
402
|
+
?tags: Array[
|
403
|
+
{
|
404
|
+
key: ::String,
|
405
|
+
value: ::String?
|
406
|
+
},
|
407
|
+
]
|
408
|
+
) -> _CreateFlywheelResponseSuccess
|
409
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFlywheelResponseSuccess
|
410
|
+
|
411
|
+
interface _DeleteDocumentClassifierResponseSuccess
|
412
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDocumentClassifierResponse]
|
413
|
+
end
|
414
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#delete_document_classifier-instance_method
|
415
|
+
def delete_document_classifier: (
|
416
|
+
document_classifier_arn: ::String
|
417
|
+
) -> _DeleteDocumentClassifierResponseSuccess
|
418
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDocumentClassifierResponseSuccess
|
419
|
+
|
420
|
+
interface _DeleteEndpointResponseSuccess
|
421
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEndpointResponse]
|
422
|
+
end
|
423
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#delete_endpoint-instance_method
|
424
|
+
def delete_endpoint: (
|
425
|
+
endpoint_arn: ::String
|
426
|
+
) -> _DeleteEndpointResponseSuccess
|
427
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEndpointResponseSuccess
|
428
|
+
|
429
|
+
interface _DeleteEntityRecognizerResponseSuccess
|
430
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEntityRecognizerResponse]
|
431
|
+
end
|
432
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#delete_entity_recognizer-instance_method
|
433
|
+
def delete_entity_recognizer: (
|
434
|
+
entity_recognizer_arn: ::String
|
435
|
+
) -> _DeleteEntityRecognizerResponseSuccess
|
436
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEntityRecognizerResponseSuccess
|
437
|
+
|
438
|
+
interface _DeleteFlywheelResponseSuccess
|
439
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFlywheelResponse]
|
440
|
+
end
|
441
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#delete_flywheel-instance_method
|
442
|
+
def delete_flywheel: (
|
443
|
+
flywheel_arn: ::String
|
444
|
+
) -> _DeleteFlywheelResponseSuccess
|
445
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFlywheelResponseSuccess
|
446
|
+
|
447
|
+
interface _DeleteResourcePolicyResponseSuccess
|
448
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResponse]
|
449
|
+
end
|
450
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#delete_resource_policy-instance_method
|
451
|
+
def delete_resource_policy: (
|
452
|
+
resource_arn: ::String,
|
453
|
+
?policy_revision_id: ::String
|
454
|
+
) -> _DeleteResourcePolicyResponseSuccess
|
455
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
|
456
|
+
|
457
|
+
interface _DescribeDatasetResponseSuccess
|
458
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDatasetResponse]
|
459
|
+
def dataset_properties: () -> Types::DatasetProperties
|
460
|
+
end
|
461
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_dataset-instance_method
|
462
|
+
def describe_dataset: (
|
463
|
+
dataset_arn: ::String
|
464
|
+
) -> _DescribeDatasetResponseSuccess
|
465
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDatasetResponseSuccess
|
466
|
+
|
467
|
+
interface _DescribeDocumentClassificationJobResponseSuccess
|
468
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDocumentClassificationJobResponse]
|
469
|
+
def document_classification_job_properties: () -> Types::DocumentClassificationJobProperties
|
470
|
+
end
|
471
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_document_classification_job-instance_method
|
472
|
+
def describe_document_classification_job: (
|
473
|
+
job_id: ::String
|
474
|
+
) -> _DescribeDocumentClassificationJobResponseSuccess
|
475
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDocumentClassificationJobResponseSuccess
|
476
|
+
|
477
|
+
interface _DescribeDocumentClassifierResponseSuccess
|
478
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDocumentClassifierResponse]
|
479
|
+
def document_classifier_properties: () -> Types::DocumentClassifierProperties
|
480
|
+
end
|
481
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_document_classifier-instance_method
|
482
|
+
def describe_document_classifier: (
|
483
|
+
document_classifier_arn: ::String
|
484
|
+
) -> _DescribeDocumentClassifierResponseSuccess
|
485
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDocumentClassifierResponseSuccess
|
486
|
+
|
487
|
+
interface _DescribeDominantLanguageDetectionJobResponseSuccess
|
488
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDominantLanguageDetectionJobResponse]
|
489
|
+
def dominant_language_detection_job_properties: () -> Types::DominantLanguageDetectionJobProperties
|
490
|
+
end
|
491
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_dominant_language_detection_job-instance_method
|
492
|
+
def describe_dominant_language_detection_job: (
|
493
|
+
job_id: ::String
|
494
|
+
) -> _DescribeDominantLanguageDetectionJobResponseSuccess
|
495
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDominantLanguageDetectionJobResponseSuccess
|
496
|
+
|
497
|
+
interface _DescribeEndpointResponseSuccess
|
498
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEndpointResponse]
|
499
|
+
def endpoint_properties: () -> Types::EndpointProperties
|
500
|
+
end
|
501
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_endpoint-instance_method
|
502
|
+
def describe_endpoint: (
|
503
|
+
endpoint_arn: ::String
|
504
|
+
) -> _DescribeEndpointResponseSuccess
|
505
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEndpointResponseSuccess
|
506
|
+
|
507
|
+
interface _DescribeEntitiesDetectionJobResponseSuccess
|
508
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEntitiesDetectionJobResponse]
|
509
|
+
def entities_detection_job_properties: () -> Types::EntitiesDetectionJobProperties
|
510
|
+
end
|
511
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_entities_detection_job-instance_method
|
512
|
+
def describe_entities_detection_job: (
|
513
|
+
job_id: ::String
|
514
|
+
) -> _DescribeEntitiesDetectionJobResponseSuccess
|
515
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEntitiesDetectionJobResponseSuccess
|
516
|
+
|
517
|
+
interface _DescribeEntityRecognizerResponseSuccess
|
518
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEntityRecognizerResponse]
|
519
|
+
def entity_recognizer_properties: () -> Types::EntityRecognizerProperties
|
520
|
+
end
|
521
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_entity_recognizer-instance_method
|
522
|
+
def describe_entity_recognizer: (
|
523
|
+
entity_recognizer_arn: ::String
|
524
|
+
) -> _DescribeEntityRecognizerResponseSuccess
|
525
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEntityRecognizerResponseSuccess
|
526
|
+
|
527
|
+
interface _DescribeEventsDetectionJobResponseSuccess
|
528
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEventsDetectionJobResponse]
|
529
|
+
def events_detection_job_properties: () -> Types::EventsDetectionJobProperties
|
530
|
+
end
|
531
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_events_detection_job-instance_method
|
532
|
+
def describe_events_detection_job: (
|
533
|
+
job_id: ::String
|
534
|
+
) -> _DescribeEventsDetectionJobResponseSuccess
|
535
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEventsDetectionJobResponseSuccess
|
536
|
+
|
537
|
+
interface _DescribeFlywheelResponseSuccess
|
538
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFlywheelResponse]
|
539
|
+
def flywheel_properties: () -> Types::FlywheelProperties
|
540
|
+
end
|
541
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_flywheel-instance_method
|
542
|
+
def describe_flywheel: (
|
543
|
+
flywheel_arn: ::String
|
544
|
+
) -> _DescribeFlywheelResponseSuccess
|
545
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFlywheelResponseSuccess
|
546
|
+
|
547
|
+
interface _DescribeFlywheelIterationResponseSuccess
|
548
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFlywheelIterationResponse]
|
549
|
+
def flywheel_iteration_properties: () -> Types::FlywheelIterationProperties
|
550
|
+
end
|
551
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_flywheel_iteration-instance_method
|
552
|
+
def describe_flywheel_iteration: (
|
553
|
+
flywheel_arn: ::String,
|
554
|
+
flywheel_iteration_id: ::String
|
555
|
+
) -> _DescribeFlywheelIterationResponseSuccess
|
556
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFlywheelIterationResponseSuccess
|
557
|
+
|
558
|
+
interface _DescribeKeyPhrasesDetectionJobResponseSuccess
|
559
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeKeyPhrasesDetectionJobResponse]
|
560
|
+
def key_phrases_detection_job_properties: () -> Types::KeyPhrasesDetectionJobProperties
|
561
|
+
end
|
562
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_key_phrases_detection_job-instance_method
|
563
|
+
def describe_key_phrases_detection_job: (
|
564
|
+
job_id: ::String
|
565
|
+
) -> _DescribeKeyPhrasesDetectionJobResponseSuccess
|
566
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeKeyPhrasesDetectionJobResponseSuccess
|
567
|
+
|
568
|
+
interface _DescribePiiEntitiesDetectionJobResponseSuccess
|
569
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribePiiEntitiesDetectionJobResponse]
|
570
|
+
def pii_entities_detection_job_properties: () -> Types::PiiEntitiesDetectionJobProperties
|
571
|
+
end
|
572
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_pii_entities_detection_job-instance_method
|
573
|
+
def describe_pii_entities_detection_job: (
|
574
|
+
job_id: ::String
|
575
|
+
) -> _DescribePiiEntitiesDetectionJobResponseSuccess
|
576
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePiiEntitiesDetectionJobResponseSuccess
|
577
|
+
|
578
|
+
interface _DescribeResourcePolicyResponseSuccess
|
579
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResourcePolicyResponse]
|
580
|
+
def resource_policy: () -> ::String
|
581
|
+
def creation_time: () -> ::Time
|
582
|
+
def last_modified_time: () -> ::Time
|
583
|
+
def policy_revision_id: () -> ::String
|
584
|
+
end
|
585
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_resource_policy-instance_method
|
586
|
+
def describe_resource_policy: (
|
587
|
+
resource_arn: ::String
|
588
|
+
) -> _DescribeResourcePolicyResponseSuccess
|
589
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourcePolicyResponseSuccess
|
590
|
+
|
591
|
+
interface _DescribeSentimentDetectionJobResponseSuccess
|
592
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSentimentDetectionJobResponse]
|
593
|
+
def sentiment_detection_job_properties: () -> Types::SentimentDetectionJobProperties
|
594
|
+
end
|
595
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_sentiment_detection_job-instance_method
|
596
|
+
def describe_sentiment_detection_job: (
|
597
|
+
job_id: ::String
|
598
|
+
) -> _DescribeSentimentDetectionJobResponseSuccess
|
599
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSentimentDetectionJobResponseSuccess
|
600
|
+
|
601
|
+
interface _DescribeTargetedSentimentDetectionJobResponseSuccess
|
602
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTargetedSentimentDetectionJobResponse]
|
603
|
+
def targeted_sentiment_detection_job_properties: () -> Types::TargetedSentimentDetectionJobProperties
|
604
|
+
end
|
605
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_targeted_sentiment_detection_job-instance_method
|
606
|
+
def describe_targeted_sentiment_detection_job: (
|
607
|
+
job_id: ::String
|
608
|
+
) -> _DescribeTargetedSentimentDetectionJobResponseSuccess
|
609
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTargetedSentimentDetectionJobResponseSuccess
|
610
|
+
|
611
|
+
interface _DescribeTopicsDetectionJobResponseSuccess
|
612
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTopicsDetectionJobResponse]
|
613
|
+
def topics_detection_job_properties: () -> Types::TopicsDetectionJobProperties
|
614
|
+
end
|
615
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#describe_topics_detection_job-instance_method
|
616
|
+
def describe_topics_detection_job: (
|
617
|
+
job_id: ::String
|
618
|
+
) -> _DescribeTopicsDetectionJobResponseSuccess
|
619
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTopicsDetectionJobResponseSuccess
|
620
|
+
|
621
|
+
interface _DetectDominantLanguageResponseSuccess
|
622
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetectDominantLanguageResponse]
|
623
|
+
def languages: () -> ::Array[Types::DominantLanguage]
|
624
|
+
end
|
625
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#detect_dominant_language-instance_method
|
626
|
+
def detect_dominant_language: (
|
627
|
+
text: ::String
|
628
|
+
) -> _DetectDominantLanguageResponseSuccess
|
629
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectDominantLanguageResponseSuccess
|
630
|
+
|
631
|
+
interface _DetectEntitiesResponseSuccess
|
632
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetectEntitiesResponse]
|
633
|
+
def entities: () -> ::Array[Types::Entity]
|
634
|
+
def document_metadata: () -> Types::DocumentMetadata
|
635
|
+
def document_type: () -> ::Array[Types::DocumentTypeListItem]
|
636
|
+
def blocks: () -> ::Array[Types::Block]
|
637
|
+
def errors: () -> ::Array[Types::ErrorsListItem]
|
638
|
+
end
|
639
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#detect_entities-instance_method
|
640
|
+
def detect_entities: (
|
641
|
+
?text: ::String,
|
642
|
+
?language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW"),
|
643
|
+
?endpoint_arn: ::String,
|
644
|
+
?bytes: ::String,
|
645
|
+
?document_reader_config: {
|
646
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
647
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
648
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
649
|
+
}
|
650
|
+
) -> _DetectEntitiesResponseSuccess
|
651
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectEntitiesResponseSuccess
|
652
|
+
|
653
|
+
interface _DetectKeyPhrasesResponseSuccess
|
654
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetectKeyPhrasesResponse]
|
655
|
+
def key_phrases: () -> ::Array[Types::KeyPhrase]
|
656
|
+
end
|
657
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#detect_key_phrases-instance_method
|
658
|
+
def detect_key_phrases: (
|
659
|
+
text: ::String,
|
660
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
|
661
|
+
) -> _DetectKeyPhrasesResponseSuccess
|
662
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectKeyPhrasesResponseSuccess
|
663
|
+
|
664
|
+
interface _DetectPiiEntitiesResponseSuccess
|
665
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetectPiiEntitiesResponse]
|
666
|
+
def entities: () -> ::Array[Types::PiiEntity]
|
667
|
+
end
|
668
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#detect_pii_entities-instance_method
|
669
|
+
def detect_pii_entities: (
|
670
|
+
text: ::String,
|
671
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
|
672
|
+
) -> _DetectPiiEntitiesResponseSuccess
|
673
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectPiiEntitiesResponseSuccess
|
674
|
+
|
675
|
+
interface _DetectSentimentResponseSuccess
|
676
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetectSentimentResponse]
|
677
|
+
def sentiment: () -> ("POSITIVE" | "NEGATIVE" | "NEUTRAL" | "MIXED")
|
678
|
+
def sentiment_score: () -> Types::SentimentScore
|
679
|
+
end
|
680
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#detect_sentiment-instance_method
|
681
|
+
def detect_sentiment: (
|
682
|
+
text: ::String,
|
683
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
|
684
|
+
) -> _DetectSentimentResponseSuccess
|
685
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectSentimentResponseSuccess
|
686
|
+
|
687
|
+
interface _DetectSyntaxResponseSuccess
|
688
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetectSyntaxResponse]
|
689
|
+
def syntax_tokens: () -> ::Array[Types::SyntaxToken]
|
690
|
+
end
|
691
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#detect_syntax-instance_method
|
692
|
+
def detect_syntax: (
|
693
|
+
text: ::String,
|
694
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt")
|
695
|
+
) -> _DetectSyntaxResponseSuccess
|
696
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectSyntaxResponseSuccess
|
697
|
+
|
698
|
+
interface _DetectTargetedSentimentResponseSuccess
|
699
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetectTargetedSentimentResponse]
|
700
|
+
def entities: () -> ::Array[Types::TargetedSentimentEntity]
|
701
|
+
end
|
702
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#detect_targeted_sentiment-instance_method
|
703
|
+
def detect_targeted_sentiment: (
|
704
|
+
text: ::String,
|
705
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
|
706
|
+
) -> _DetectTargetedSentimentResponseSuccess
|
707
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectTargetedSentimentResponseSuccess
|
708
|
+
|
709
|
+
interface _DetectToxicContentResponseSuccess
|
710
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetectToxicContentResponse]
|
711
|
+
def result_list: () -> ::Array[Types::ToxicLabels]
|
712
|
+
end
|
713
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#detect_toxic_content-instance_method
|
714
|
+
def detect_toxic_content: (
|
715
|
+
text_segments: Array[
|
716
|
+
{
|
717
|
+
text: ::String
|
718
|
+
},
|
719
|
+
],
|
720
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
|
721
|
+
) -> _DetectToxicContentResponseSuccess
|
722
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectToxicContentResponseSuccess
|
723
|
+
|
724
|
+
interface _ImportModelResponseSuccess
|
725
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ImportModelResponse]
|
726
|
+
def model_arn: () -> ::String
|
727
|
+
end
|
728
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#import_model-instance_method
|
729
|
+
def import_model: (
|
730
|
+
source_model_arn: ::String,
|
731
|
+
?model_name: ::String,
|
732
|
+
?version_name: ::String,
|
733
|
+
?model_kms_key_id: ::String,
|
734
|
+
?data_access_role_arn: ::String,
|
735
|
+
?tags: Array[
|
736
|
+
{
|
737
|
+
key: ::String,
|
738
|
+
value: ::String?
|
739
|
+
},
|
740
|
+
]
|
741
|
+
) -> _ImportModelResponseSuccess
|
742
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportModelResponseSuccess
|
743
|
+
|
744
|
+
interface _ListDatasetsResponseSuccess
|
745
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDatasetsResponse]
|
746
|
+
def dataset_properties_list: () -> ::Array[Types::DatasetProperties]
|
747
|
+
def next_token: () -> ::String
|
748
|
+
end
|
749
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_datasets-instance_method
|
750
|
+
def list_datasets: (
|
751
|
+
?flywheel_arn: ::String,
|
752
|
+
?filter: {
|
753
|
+
status: ("CREATING" | "COMPLETED" | "FAILED")?,
|
754
|
+
dataset_type: ("TRAIN" | "TEST")?,
|
755
|
+
creation_time_after: ::Time?,
|
756
|
+
creation_time_before: ::Time?
|
757
|
+
},
|
758
|
+
?next_token: ::String,
|
759
|
+
?max_results: ::Integer
|
760
|
+
) -> _ListDatasetsResponseSuccess
|
761
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatasetsResponseSuccess
|
762
|
+
|
763
|
+
interface _ListDocumentClassificationJobsResponseSuccess
|
764
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDocumentClassificationJobsResponse]
|
765
|
+
def document_classification_job_properties_list: () -> ::Array[Types::DocumentClassificationJobProperties]
|
766
|
+
def next_token: () -> ::String
|
767
|
+
end
|
768
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_document_classification_jobs-instance_method
|
769
|
+
def list_document_classification_jobs: (
|
770
|
+
?filter: {
|
771
|
+
job_name: ::String?,
|
772
|
+
job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
|
773
|
+
submit_time_before: ::Time?,
|
774
|
+
submit_time_after: ::Time?
|
775
|
+
},
|
776
|
+
?next_token: ::String,
|
777
|
+
?max_results: ::Integer
|
778
|
+
) -> _ListDocumentClassificationJobsResponseSuccess
|
779
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDocumentClassificationJobsResponseSuccess
|
780
|
+
|
781
|
+
interface _ListDocumentClassifierSummariesResponseSuccess
|
782
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDocumentClassifierSummariesResponse]
|
783
|
+
def document_classifier_summaries_list: () -> ::Array[Types::DocumentClassifierSummary]
|
784
|
+
def next_token: () -> ::String
|
785
|
+
end
|
786
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_document_classifier_summaries-instance_method
|
787
|
+
def list_document_classifier_summaries: (
|
788
|
+
?next_token: ::String,
|
789
|
+
?max_results: ::Integer
|
790
|
+
) -> _ListDocumentClassifierSummariesResponseSuccess
|
791
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDocumentClassifierSummariesResponseSuccess
|
792
|
+
|
793
|
+
interface _ListDocumentClassifiersResponseSuccess
|
794
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDocumentClassifiersResponse]
|
795
|
+
def document_classifier_properties_list: () -> ::Array[Types::DocumentClassifierProperties]
|
796
|
+
def next_token: () -> ::String
|
797
|
+
end
|
798
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_document_classifiers-instance_method
|
799
|
+
def list_document_classifiers: (
|
800
|
+
?filter: {
|
801
|
+
status: ("SUBMITTED" | "TRAINING" | "DELETING" | "STOP_REQUESTED" | "STOPPED" | "IN_ERROR" | "TRAINED" | "TRAINED_WITH_WARNING")?,
|
802
|
+
document_classifier_name: ::String?,
|
803
|
+
submit_time_before: ::Time?,
|
804
|
+
submit_time_after: ::Time?
|
805
|
+
},
|
806
|
+
?next_token: ::String,
|
807
|
+
?max_results: ::Integer
|
808
|
+
) -> _ListDocumentClassifiersResponseSuccess
|
809
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDocumentClassifiersResponseSuccess
|
810
|
+
|
811
|
+
interface _ListDominantLanguageDetectionJobsResponseSuccess
|
812
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDominantLanguageDetectionJobsResponse]
|
813
|
+
def dominant_language_detection_job_properties_list: () -> ::Array[Types::DominantLanguageDetectionJobProperties]
|
814
|
+
def next_token: () -> ::String
|
815
|
+
end
|
816
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_dominant_language_detection_jobs-instance_method
|
817
|
+
def list_dominant_language_detection_jobs: (
|
818
|
+
?filter: {
|
819
|
+
job_name: ::String?,
|
820
|
+
job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
|
821
|
+
submit_time_before: ::Time?,
|
822
|
+
submit_time_after: ::Time?
|
823
|
+
},
|
824
|
+
?next_token: ::String,
|
825
|
+
?max_results: ::Integer
|
826
|
+
) -> _ListDominantLanguageDetectionJobsResponseSuccess
|
827
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDominantLanguageDetectionJobsResponseSuccess
|
828
|
+
|
829
|
+
interface _ListEndpointsResponseSuccess
|
830
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEndpointsResponse]
|
831
|
+
def endpoint_properties_list: () -> ::Array[Types::EndpointProperties]
|
832
|
+
def next_token: () -> ::String
|
833
|
+
end
|
834
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_endpoints-instance_method
|
835
|
+
def list_endpoints: (
|
836
|
+
?filter: {
|
837
|
+
model_arn: ::String?,
|
838
|
+
status: ("CREATING" | "DELETING" | "FAILED" | "IN_SERVICE" | "UPDATING")?,
|
839
|
+
creation_time_before: ::Time?,
|
840
|
+
creation_time_after: ::Time?
|
841
|
+
},
|
842
|
+
?next_token: ::String,
|
843
|
+
?max_results: ::Integer
|
844
|
+
) -> _ListEndpointsResponseSuccess
|
845
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEndpointsResponseSuccess
|
846
|
+
|
847
|
+
interface _ListEntitiesDetectionJobsResponseSuccess
|
848
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEntitiesDetectionJobsResponse]
|
849
|
+
def entities_detection_job_properties_list: () -> ::Array[Types::EntitiesDetectionJobProperties]
|
850
|
+
def next_token: () -> ::String
|
851
|
+
end
|
852
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_entities_detection_jobs-instance_method
|
853
|
+
def list_entities_detection_jobs: (
|
854
|
+
?filter: {
|
855
|
+
job_name: ::String?,
|
856
|
+
job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
|
857
|
+
submit_time_before: ::Time?,
|
858
|
+
submit_time_after: ::Time?
|
859
|
+
},
|
860
|
+
?next_token: ::String,
|
861
|
+
?max_results: ::Integer
|
862
|
+
) -> _ListEntitiesDetectionJobsResponseSuccess
|
863
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEntitiesDetectionJobsResponseSuccess
|
864
|
+
|
865
|
+
interface _ListEntityRecognizerSummariesResponseSuccess
|
866
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEntityRecognizerSummariesResponse]
|
867
|
+
def entity_recognizer_summaries_list: () -> ::Array[Types::EntityRecognizerSummary]
|
868
|
+
def next_token: () -> ::String
|
869
|
+
end
|
870
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_entity_recognizer_summaries-instance_method
|
871
|
+
def list_entity_recognizer_summaries: (
|
872
|
+
?next_token: ::String,
|
873
|
+
?max_results: ::Integer
|
874
|
+
) -> _ListEntityRecognizerSummariesResponseSuccess
|
875
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEntityRecognizerSummariesResponseSuccess
|
876
|
+
|
877
|
+
interface _ListEntityRecognizersResponseSuccess
|
878
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEntityRecognizersResponse]
|
879
|
+
def entity_recognizer_properties_list: () -> ::Array[Types::EntityRecognizerProperties]
|
880
|
+
def next_token: () -> ::String
|
881
|
+
end
|
882
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_entity_recognizers-instance_method
|
883
|
+
def list_entity_recognizers: (
|
884
|
+
?filter: {
|
885
|
+
status: ("SUBMITTED" | "TRAINING" | "DELETING" | "STOP_REQUESTED" | "STOPPED" | "IN_ERROR" | "TRAINED" | "TRAINED_WITH_WARNING")?,
|
886
|
+
recognizer_name: ::String?,
|
887
|
+
submit_time_before: ::Time?,
|
888
|
+
submit_time_after: ::Time?
|
889
|
+
},
|
890
|
+
?next_token: ::String,
|
891
|
+
?max_results: ::Integer
|
892
|
+
) -> _ListEntityRecognizersResponseSuccess
|
893
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEntityRecognizersResponseSuccess
|
894
|
+
|
895
|
+
interface _ListEventsDetectionJobsResponseSuccess
|
896
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEventsDetectionJobsResponse]
|
897
|
+
def events_detection_job_properties_list: () -> ::Array[Types::EventsDetectionJobProperties]
|
898
|
+
def next_token: () -> ::String
|
899
|
+
end
|
900
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_events_detection_jobs-instance_method
|
901
|
+
def list_events_detection_jobs: (
|
902
|
+
?filter: {
|
903
|
+
job_name: ::String?,
|
904
|
+
job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
|
905
|
+
submit_time_before: ::Time?,
|
906
|
+
submit_time_after: ::Time?
|
907
|
+
},
|
908
|
+
?next_token: ::String,
|
909
|
+
?max_results: ::Integer
|
910
|
+
) -> _ListEventsDetectionJobsResponseSuccess
|
911
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventsDetectionJobsResponseSuccess
|
912
|
+
|
913
|
+
interface _ListFlywheelIterationHistoryResponseSuccess
|
914
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFlywheelIterationHistoryResponse]
|
915
|
+
def flywheel_iteration_properties_list: () -> ::Array[Types::FlywheelIterationProperties]
|
916
|
+
def next_token: () -> ::String
|
917
|
+
end
|
918
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_flywheel_iteration_history-instance_method
|
919
|
+
def list_flywheel_iteration_history: (
|
920
|
+
flywheel_arn: ::String,
|
921
|
+
?filter: {
|
922
|
+
creation_time_after: ::Time?,
|
923
|
+
creation_time_before: ::Time?
|
924
|
+
},
|
925
|
+
?next_token: ::String,
|
926
|
+
?max_results: ::Integer
|
927
|
+
) -> _ListFlywheelIterationHistoryResponseSuccess
|
928
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFlywheelIterationHistoryResponseSuccess
|
929
|
+
|
930
|
+
interface _ListFlywheelsResponseSuccess
|
931
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFlywheelsResponse]
|
932
|
+
def flywheel_summary_list: () -> ::Array[Types::FlywheelSummary]
|
933
|
+
def next_token: () -> ::String
|
934
|
+
end
|
935
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_flywheels-instance_method
|
936
|
+
def list_flywheels: (
|
937
|
+
?filter: {
|
938
|
+
status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED")?,
|
939
|
+
creation_time_after: ::Time?,
|
940
|
+
creation_time_before: ::Time?
|
941
|
+
},
|
942
|
+
?next_token: ::String,
|
943
|
+
?max_results: ::Integer
|
944
|
+
) -> _ListFlywheelsResponseSuccess
|
945
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFlywheelsResponseSuccess
|
946
|
+
|
947
|
+
interface _ListKeyPhrasesDetectionJobsResponseSuccess
|
948
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListKeyPhrasesDetectionJobsResponse]
|
949
|
+
def key_phrases_detection_job_properties_list: () -> ::Array[Types::KeyPhrasesDetectionJobProperties]
|
950
|
+
def next_token: () -> ::String
|
951
|
+
end
|
952
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_key_phrases_detection_jobs-instance_method
|
953
|
+
def list_key_phrases_detection_jobs: (
|
954
|
+
?filter: {
|
955
|
+
job_name: ::String?,
|
956
|
+
job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
|
957
|
+
submit_time_before: ::Time?,
|
958
|
+
submit_time_after: ::Time?
|
959
|
+
},
|
960
|
+
?next_token: ::String,
|
961
|
+
?max_results: ::Integer
|
962
|
+
) -> _ListKeyPhrasesDetectionJobsResponseSuccess
|
963
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKeyPhrasesDetectionJobsResponseSuccess
|
964
|
+
|
965
|
+
interface _ListPiiEntitiesDetectionJobsResponseSuccess
|
966
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPiiEntitiesDetectionJobsResponse]
|
967
|
+
def pii_entities_detection_job_properties_list: () -> ::Array[Types::PiiEntitiesDetectionJobProperties]
|
968
|
+
def next_token: () -> ::String
|
969
|
+
end
|
970
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_pii_entities_detection_jobs-instance_method
|
971
|
+
def list_pii_entities_detection_jobs: (
|
972
|
+
?filter: {
|
973
|
+
job_name: ::String?,
|
974
|
+
job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
|
975
|
+
submit_time_before: ::Time?,
|
976
|
+
submit_time_after: ::Time?
|
977
|
+
},
|
978
|
+
?next_token: ::String,
|
979
|
+
?max_results: ::Integer
|
980
|
+
) -> _ListPiiEntitiesDetectionJobsResponseSuccess
|
981
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPiiEntitiesDetectionJobsResponseSuccess
|
982
|
+
|
983
|
+
interface _ListSentimentDetectionJobsResponseSuccess
|
984
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSentimentDetectionJobsResponse]
|
985
|
+
def sentiment_detection_job_properties_list: () -> ::Array[Types::SentimentDetectionJobProperties]
|
986
|
+
def next_token: () -> ::String
|
987
|
+
end
|
988
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_sentiment_detection_jobs-instance_method
|
989
|
+
def list_sentiment_detection_jobs: (
|
990
|
+
?filter: {
|
991
|
+
job_name: ::String?,
|
992
|
+
job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
|
993
|
+
submit_time_before: ::Time?,
|
994
|
+
submit_time_after: ::Time?
|
995
|
+
},
|
996
|
+
?next_token: ::String,
|
997
|
+
?max_results: ::Integer
|
998
|
+
) -> _ListSentimentDetectionJobsResponseSuccess
|
999
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSentimentDetectionJobsResponseSuccess
|
1000
|
+
|
1001
|
+
interface _ListTagsForResourceResponseSuccess
|
1002
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
1003
|
+
def resource_arn: () -> ::String
|
1004
|
+
def tags: () -> ::Array[Types::Tag]
|
1005
|
+
end
|
1006
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_tags_for_resource-instance_method
|
1007
|
+
def list_tags_for_resource: (
|
1008
|
+
resource_arn: ::String
|
1009
|
+
) -> _ListTagsForResourceResponseSuccess
|
1010
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
1011
|
+
|
1012
|
+
interface _ListTargetedSentimentDetectionJobsResponseSuccess
|
1013
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTargetedSentimentDetectionJobsResponse]
|
1014
|
+
def targeted_sentiment_detection_job_properties_list: () -> ::Array[Types::TargetedSentimentDetectionJobProperties]
|
1015
|
+
def next_token: () -> ::String
|
1016
|
+
end
|
1017
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_targeted_sentiment_detection_jobs-instance_method
|
1018
|
+
def list_targeted_sentiment_detection_jobs: (
|
1019
|
+
?filter: {
|
1020
|
+
job_name: ::String?,
|
1021
|
+
job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
|
1022
|
+
submit_time_before: ::Time?,
|
1023
|
+
submit_time_after: ::Time?
|
1024
|
+
},
|
1025
|
+
?next_token: ::String,
|
1026
|
+
?max_results: ::Integer
|
1027
|
+
) -> _ListTargetedSentimentDetectionJobsResponseSuccess
|
1028
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTargetedSentimentDetectionJobsResponseSuccess
|
1029
|
+
|
1030
|
+
interface _ListTopicsDetectionJobsResponseSuccess
|
1031
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTopicsDetectionJobsResponse]
|
1032
|
+
def topics_detection_job_properties_list: () -> ::Array[Types::TopicsDetectionJobProperties]
|
1033
|
+
def next_token: () -> ::String
|
1034
|
+
end
|
1035
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#list_topics_detection_jobs-instance_method
|
1036
|
+
def list_topics_detection_jobs: (
|
1037
|
+
?filter: {
|
1038
|
+
job_name: ::String?,
|
1039
|
+
job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")?,
|
1040
|
+
submit_time_before: ::Time?,
|
1041
|
+
submit_time_after: ::Time?
|
1042
|
+
},
|
1043
|
+
?next_token: ::String,
|
1044
|
+
?max_results: ::Integer
|
1045
|
+
) -> _ListTopicsDetectionJobsResponseSuccess
|
1046
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTopicsDetectionJobsResponseSuccess
|
1047
|
+
|
1048
|
+
interface _PutResourcePolicyResponseSuccess
|
1049
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
|
1050
|
+
def policy_revision_id: () -> ::String
|
1051
|
+
end
|
1052
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#put_resource_policy-instance_method
|
1053
|
+
def put_resource_policy: (
|
1054
|
+
resource_arn: ::String,
|
1055
|
+
resource_policy: ::String,
|
1056
|
+
?policy_revision_id: ::String
|
1057
|
+
) -> _PutResourcePolicyResponseSuccess
|
1058
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
|
1059
|
+
|
1060
|
+
interface _StartDocumentClassificationJobResponseSuccess
|
1061
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartDocumentClassificationJobResponse]
|
1062
|
+
def job_id: () -> ::String
|
1063
|
+
def job_arn: () -> ::String
|
1064
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1065
|
+
def document_classifier_arn: () -> ::String
|
1066
|
+
end
|
1067
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#start_document_classification_job-instance_method
|
1068
|
+
def start_document_classification_job: (
|
1069
|
+
?job_name: ::String,
|
1070
|
+
?document_classifier_arn: ::String,
|
1071
|
+
input_data_config: {
|
1072
|
+
s3_uri: ::String,
|
1073
|
+
input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")?,
|
1074
|
+
document_reader_config: {
|
1075
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
1076
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
1077
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
1078
|
+
}?
|
1079
|
+
},
|
1080
|
+
output_data_config: {
|
1081
|
+
s3_uri: ::String,
|
1082
|
+
kms_key_id: ::String?
|
1083
|
+
},
|
1084
|
+
data_access_role_arn: ::String,
|
1085
|
+
?client_request_token: ::String,
|
1086
|
+
?volume_kms_key_id: ::String,
|
1087
|
+
?vpc_config: {
|
1088
|
+
security_group_ids: Array[::String],
|
1089
|
+
subnets: Array[::String]
|
1090
|
+
},
|
1091
|
+
?tags: Array[
|
1092
|
+
{
|
1093
|
+
key: ::String,
|
1094
|
+
value: ::String?
|
1095
|
+
},
|
1096
|
+
],
|
1097
|
+
?flywheel_arn: ::String
|
1098
|
+
) -> _StartDocumentClassificationJobResponseSuccess
|
1099
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDocumentClassificationJobResponseSuccess
|
1100
|
+
|
1101
|
+
interface _StartDominantLanguageDetectionJobResponseSuccess
|
1102
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartDominantLanguageDetectionJobResponse]
|
1103
|
+
def job_id: () -> ::String
|
1104
|
+
def job_arn: () -> ::String
|
1105
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1106
|
+
end
|
1107
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#start_dominant_language_detection_job-instance_method
|
1108
|
+
def start_dominant_language_detection_job: (
|
1109
|
+
input_data_config: {
|
1110
|
+
s3_uri: ::String,
|
1111
|
+
input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")?,
|
1112
|
+
document_reader_config: {
|
1113
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
1114
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
1115
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
1116
|
+
}?
|
1117
|
+
},
|
1118
|
+
output_data_config: {
|
1119
|
+
s3_uri: ::String,
|
1120
|
+
kms_key_id: ::String?
|
1121
|
+
},
|
1122
|
+
data_access_role_arn: ::String,
|
1123
|
+
?job_name: ::String,
|
1124
|
+
?client_request_token: ::String,
|
1125
|
+
?volume_kms_key_id: ::String,
|
1126
|
+
?vpc_config: {
|
1127
|
+
security_group_ids: Array[::String],
|
1128
|
+
subnets: Array[::String]
|
1129
|
+
},
|
1130
|
+
?tags: Array[
|
1131
|
+
{
|
1132
|
+
key: ::String,
|
1133
|
+
value: ::String?
|
1134
|
+
},
|
1135
|
+
]
|
1136
|
+
) -> _StartDominantLanguageDetectionJobResponseSuccess
|
1137
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDominantLanguageDetectionJobResponseSuccess
|
1138
|
+
|
1139
|
+
interface _StartEntitiesDetectionJobResponseSuccess
|
1140
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartEntitiesDetectionJobResponse]
|
1141
|
+
def job_id: () -> ::String
|
1142
|
+
def job_arn: () -> ::String
|
1143
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1144
|
+
def entity_recognizer_arn: () -> ::String
|
1145
|
+
end
|
1146
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#start_entities_detection_job-instance_method
|
1147
|
+
def start_entities_detection_job: (
|
1148
|
+
input_data_config: {
|
1149
|
+
s3_uri: ::String,
|
1150
|
+
input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")?,
|
1151
|
+
document_reader_config: {
|
1152
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
1153
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
1154
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
1155
|
+
}?
|
1156
|
+
},
|
1157
|
+
output_data_config: {
|
1158
|
+
s3_uri: ::String,
|
1159
|
+
kms_key_id: ::String?
|
1160
|
+
},
|
1161
|
+
data_access_role_arn: ::String,
|
1162
|
+
?job_name: ::String,
|
1163
|
+
?entity_recognizer_arn: ::String,
|
1164
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW"),
|
1165
|
+
?client_request_token: ::String,
|
1166
|
+
?volume_kms_key_id: ::String,
|
1167
|
+
?vpc_config: {
|
1168
|
+
security_group_ids: Array[::String],
|
1169
|
+
subnets: Array[::String]
|
1170
|
+
},
|
1171
|
+
?tags: Array[
|
1172
|
+
{
|
1173
|
+
key: ::String,
|
1174
|
+
value: ::String?
|
1175
|
+
},
|
1176
|
+
],
|
1177
|
+
?flywheel_arn: ::String
|
1178
|
+
) -> _StartEntitiesDetectionJobResponseSuccess
|
1179
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartEntitiesDetectionJobResponseSuccess
|
1180
|
+
|
1181
|
+
interface _StartEventsDetectionJobResponseSuccess
|
1182
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartEventsDetectionJobResponse]
|
1183
|
+
def job_id: () -> ::String
|
1184
|
+
def job_arn: () -> ::String
|
1185
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1186
|
+
end
|
1187
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#start_events_detection_job-instance_method
|
1188
|
+
def start_events_detection_job: (
|
1189
|
+
input_data_config: {
|
1190
|
+
s3_uri: ::String,
|
1191
|
+
input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")?,
|
1192
|
+
document_reader_config: {
|
1193
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
1194
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
1195
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
1196
|
+
}?
|
1197
|
+
},
|
1198
|
+
output_data_config: {
|
1199
|
+
s3_uri: ::String,
|
1200
|
+
kms_key_id: ::String?
|
1201
|
+
},
|
1202
|
+
data_access_role_arn: ::String,
|
1203
|
+
?job_name: ::String,
|
1204
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW"),
|
1205
|
+
?client_request_token: ::String,
|
1206
|
+
target_event_types: Array[::String],
|
1207
|
+
?tags: Array[
|
1208
|
+
{
|
1209
|
+
key: ::String,
|
1210
|
+
value: ::String?
|
1211
|
+
},
|
1212
|
+
]
|
1213
|
+
) -> _StartEventsDetectionJobResponseSuccess
|
1214
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartEventsDetectionJobResponseSuccess
|
1215
|
+
|
1216
|
+
interface _StartFlywheelIterationResponseSuccess
|
1217
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartFlywheelIterationResponse]
|
1218
|
+
def flywheel_arn: () -> ::String
|
1219
|
+
def flywheel_iteration_id: () -> ::String
|
1220
|
+
end
|
1221
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#start_flywheel_iteration-instance_method
|
1222
|
+
def start_flywheel_iteration: (
|
1223
|
+
flywheel_arn: ::String,
|
1224
|
+
?client_request_token: ::String
|
1225
|
+
) -> _StartFlywheelIterationResponseSuccess
|
1226
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartFlywheelIterationResponseSuccess
|
1227
|
+
|
1228
|
+
interface _StartKeyPhrasesDetectionJobResponseSuccess
|
1229
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartKeyPhrasesDetectionJobResponse]
|
1230
|
+
def job_id: () -> ::String
|
1231
|
+
def job_arn: () -> ::String
|
1232
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1233
|
+
end
|
1234
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#start_key_phrases_detection_job-instance_method
|
1235
|
+
def start_key_phrases_detection_job: (
|
1236
|
+
input_data_config: {
|
1237
|
+
s3_uri: ::String,
|
1238
|
+
input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")?,
|
1239
|
+
document_reader_config: {
|
1240
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
1241
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
1242
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
1243
|
+
}?
|
1244
|
+
},
|
1245
|
+
output_data_config: {
|
1246
|
+
s3_uri: ::String,
|
1247
|
+
kms_key_id: ::String?
|
1248
|
+
},
|
1249
|
+
data_access_role_arn: ::String,
|
1250
|
+
?job_name: ::String,
|
1251
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW"),
|
1252
|
+
?client_request_token: ::String,
|
1253
|
+
?volume_kms_key_id: ::String,
|
1254
|
+
?vpc_config: {
|
1255
|
+
security_group_ids: Array[::String],
|
1256
|
+
subnets: Array[::String]
|
1257
|
+
},
|
1258
|
+
?tags: Array[
|
1259
|
+
{
|
1260
|
+
key: ::String,
|
1261
|
+
value: ::String?
|
1262
|
+
},
|
1263
|
+
]
|
1264
|
+
) -> _StartKeyPhrasesDetectionJobResponseSuccess
|
1265
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartKeyPhrasesDetectionJobResponseSuccess
|
1266
|
+
|
1267
|
+
interface _StartPiiEntitiesDetectionJobResponseSuccess
|
1268
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartPiiEntitiesDetectionJobResponse]
|
1269
|
+
def job_id: () -> ::String
|
1270
|
+
def job_arn: () -> ::String
|
1271
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1272
|
+
end
|
1273
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#start_pii_entities_detection_job-instance_method
|
1274
|
+
def start_pii_entities_detection_job: (
|
1275
|
+
input_data_config: {
|
1276
|
+
s3_uri: ::String,
|
1277
|
+
input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")?,
|
1278
|
+
document_reader_config: {
|
1279
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
1280
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
1281
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
1282
|
+
}?
|
1283
|
+
},
|
1284
|
+
output_data_config: {
|
1285
|
+
s3_uri: ::String,
|
1286
|
+
kms_key_id: ::String?
|
1287
|
+
},
|
1288
|
+
mode: ("ONLY_REDACTION" | "ONLY_OFFSETS"),
|
1289
|
+
?redaction_config: {
|
1290
|
+
pii_entity_types: Array[("BANK_ACCOUNT_NUMBER" | "BANK_ROUTING" | "CREDIT_DEBIT_NUMBER" | "CREDIT_DEBIT_CVV" | "CREDIT_DEBIT_EXPIRY" | "PIN" | "EMAIL" | "ADDRESS" | "NAME" | "PHONE" | "SSN" | "DATE_TIME" | "PASSPORT_NUMBER" | "DRIVER_ID" | "URL" | "AGE" | "USERNAME" | "PASSWORD" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "IP_ADDRESS" | "MAC_ADDRESS" | "ALL" | "LICENSE_PLATE" | "VEHICLE_IDENTIFICATION_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "IN_PERMANENT_ACCOUNT_NUMBER" | "IN_NREGA" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "CA_HEALTH_NUMBER" | "IN_AADHAAR" | "IN_VOTER_NUMBER")]?,
|
1291
|
+
mask_mode: ("MASK" | "REPLACE_WITH_PII_ENTITY_TYPE")?,
|
1292
|
+
mask_character: ::String?
|
1293
|
+
},
|
1294
|
+
data_access_role_arn: ::String,
|
1295
|
+
?job_name: ::String,
|
1296
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW"),
|
1297
|
+
?client_request_token: ::String,
|
1298
|
+
?tags: Array[
|
1299
|
+
{
|
1300
|
+
key: ::String,
|
1301
|
+
value: ::String?
|
1302
|
+
},
|
1303
|
+
]
|
1304
|
+
) -> _StartPiiEntitiesDetectionJobResponseSuccess
|
1305
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPiiEntitiesDetectionJobResponseSuccess
|
1306
|
+
|
1307
|
+
interface _StartSentimentDetectionJobResponseSuccess
|
1308
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartSentimentDetectionJobResponse]
|
1309
|
+
def job_id: () -> ::String
|
1310
|
+
def job_arn: () -> ::String
|
1311
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1312
|
+
end
|
1313
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#start_sentiment_detection_job-instance_method
|
1314
|
+
def start_sentiment_detection_job: (
|
1315
|
+
input_data_config: {
|
1316
|
+
s3_uri: ::String,
|
1317
|
+
input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")?,
|
1318
|
+
document_reader_config: {
|
1319
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
1320
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
1321
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
1322
|
+
}?
|
1323
|
+
},
|
1324
|
+
output_data_config: {
|
1325
|
+
s3_uri: ::String,
|
1326
|
+
kms_key_id: ::String?
|
1327
|
+
},
|
1328
|
+
data_access_role_arn: ::String,
|
1329
|
+
?job_name: ::String,
|
1330
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW"),
|
1331
|
+
?client_request_token: ::String,
|
1332
|
+
?volume_kms_key_id: ::String,
|
1333
|
+
?vpc_config: {
|
1334
|
+
security_group_ids: Array[::String],
|
1335
|
+
subnets: Array[::String]
|
1336
|
+
},
|
1337
|
+
?tags: Array[
|
1338
|
+
{
|
1339
|
+
key: ::String,
|
1340
|
+
value: ::String?
|
1341
|
+
},
|
1342
|
+
]
|
1343
|
+
) -> _StartSentimentDetectionJobResponseSuccess
|
1344
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSentimentDetectionJobResponseSuccess
|
1345
|
+
|
1346
|
+
interface _StartTargetedSentimentDetectionJobResponseSuccess
|
1347
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartTargetedSentimentDetectionJobResponse]
|
1348
|
+
def job_id: () -> ::String
|
1349
|
+
def job_arn: () -> ::String
|
1350
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1351
|
+
end
|
1352
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#start_targeted_sentiment_detection_job-instance_method
|
1353
|
+
def start_targeted_sentiment_detection_job: (
|
1354
|
+
input_data_config: {
|
1355
|
+
s3_uri: ::String,
|
1356
|
+
input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")?,
|
1357
|
+
document_reader_config: {
|
1358
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
1359
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
1360
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
1361
|
+
}?
|
1362
|
+
},
|
1363
|
+
output_data_config: {
|
1364
|
+
s3_uri: ::String,
|
1365
|
+
kms_key_id: ::String?
|
1366
|
+
},
|
1367
|
+
data_access_role_arn: ::String,
|
1368
|
+
?job_name: ::String,
|
1369
|
+
language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW"),
|
1370
|
+
?client_request_token: ::String,
|
1371
|
+
?volume_kms_key_id: ::String,
|
1372
|
+
?vpc_config: {
|
1373
|
+
security_group_ids: Array[::String],
|
1374
|
+
subnets: Array[::String]
|
1375
|
+
},
|
1376
|
+
?tags: Array[
|
1377
|
+
{
|
1378
|
+
key: ::String,
|
1379
|
+
value: ::String?
|
1380
|
+
},
|
1381
|
+
]
|
1382
|
+
) -> _StartTargetedSentimentDetectionJobResponseSuccess
|
1383
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTargetedSentimentDetectionJobResponseSuccess
|
1384
|
+
|
1385
|
+
interface _StartTopicsDetectionJobResponseSuccess
|
1386
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartTopicsDetectionJobResponse]
|
1387
|
+
def job_id: () -> ::String
|
1388
|
+
def job_arn: () -> ::String
|
1389
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1390
|
+
end
|
1391
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#start_topics_detection_job-instance_method
|
1392
|
+
def start_topics_detection_job: (
|
1393
|
+
input_data_config: {
|
1394
|
+
s3_uri: ::String,
|
1395
|
+
input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")?,
|
1396
|
+
document_reader_config: {
|
1397
|
+
document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"),
|
1398
|
+
document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")?,
|
1399
|
+
feature_types: Array[("TABLES" | "FORMS")]?
|
1400
|
+
}?
|
1401
|
+
},
|
1402
|
+
output_data_config: {
|
1403
|
+
s3_uri: ::String,
|
1404
|
+
kms_key_id: ::String?
|
1405
|
+
},
|
1406
|
+
data_access_role_arn: ::String,
|
1407
|
+
?job_name: ::String,
|
1408
|
+
?number_of_topics: ::Integer,
|
1409
|
+
?client_request_token: ::String,
|
1410
|
+
?volume_kms_key_id: ::String,
|
1411
|
+
?vpc_config: {
|
1412
|
+
security_group_ids: Array[::String],
|
1413
|
+
subnets: Array[::String]
|
1414
|
+
},
|
1415
|
+
?tags: Array[
|
1416
|
+
{
|
1417
|
+
key: ::String,
|
1418
|
+
value: ::String?
|
1419
|
+
},
|
1420
|
+
]
|
1421
|
+
) -> _StartTopicsDetectionJobResponseSuccess
|
1422
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTopicsDetectionJobResponseSuccess
|
1423
|
+
|
1424
|
+
interface _StopDominantLanguageDetectionJobResponseSuccess
|
1425
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopDominantLanguageDetectionJobResponse]
|
1426
|
+
def job_id: () -> ::String
|
1427
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1428
|
+
end
|
1429
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#stop_dominant_language_detection_job-instance_method
|
1430
|
+
def stop_dominant_language_detection_job: (
|
1431
|
+
job_id: ::String
|
1432
|
+
) -> _StopDominantLanguageDetectionJobResponseSuccess
|
1433
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDominantLanguageDetectionJobResponseSuccess
|
1434
|
+
|
1435
|
+
interface _StopEntitiesDetectionJobResponseSuccess
|
1436
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopEntitiesDetectionJobResponse]
|
1437
|
+
def job_id: () -> ::String
|
1438
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1439
|
+
end
|
1440
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#stop_entities_detection_job-instance_method
|
1441
|
+
def stop_entities_detection_job: (
|
1442
|
+
job_id: ::String
|
1443
|
+
) -> _StopEntitiesDetectionJobResponseSuccess
|
1444
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopEntitiesDetectionJobResponseSuccess
|
1445
|
+
|
1446
|
+
interface _StopEventsDetectionJobResponseSuccess
|
1447
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopEventsDetectionJobResponse]
|
1448
|
+
def job_id: () -> ::String
|
1449
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1450
|
+
end
|
1451
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#stop_events_detection_job-instance_method
|
1452
|
+
def stop_events_detection_job: (
|
1453
|
+
job_id: ::String
|
1454
|
+
) -> _StopEventsDetectionJobResponseSuccess
|
1455
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopEventsDetectionJobResponseSuccess
|
1456
|
+
|
1457
|
+
interface _StopKeyPhrasesDetectionJobResponseSuccess
|
1458
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopKeyPhrasesDetectionJobResponse]
|
1459
|
+
def job_id: () -> ::String
|
1460
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1461
|
+
end
|
1462
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#stop_key_phrases_detection_job-instance_method
|
1463
|
+
def stop_key_phrases_detection_job: (
|
1464
|
+
job_id: ::String
|
1465
|
+
) -> _StopKeyPhrasesDetectionJobResponseSuccess
|
1466
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopKeyPhrasesDetectionJobResponseSuccess
|
1467
|
+
|
1468
|
+
interface _StopPiiEntitiesDetectionJobResponseSuccess
|
1469
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopPiiEntitiesDetectionJobResponse]
|
1470
|
+
def job_id: () -> ::String
|
1471
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1472
|
+
end
|
1473
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#stop_pii_entities_detection_job-instance_method
|
1474
|
+
def stop_pii_entities_detection_job: (
|
1475
|
+
job_id: ::String
|
1476
|
+
) -> _StopPiiEntitiesDetectionJobResponseSuccess
|
1477
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopPiiEntitiesDetectionJobResponseSuccess
|
1478
|
+
|
1479
|
+
interface _StopSentimentDetectionJobResponseSuccess
|
1480
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopSentimentDetectionJobResponse]
|
1481
|
+
def job_id: () -> ::String
|
1482
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1483
|
+
end
|
1484
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#stop_sentiment_detection_job-instance_method
|
1485
|
+
def stop_sentiment_detection_job: (
|
1486
|
+
job_id: ::String
|
1487
|
+
) -> _StopSentimentDetectionJobResponseSuccess
|
1488
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopSentimentDetectionJobResponseSuccess
|
1489
|
+
|
1490
|
+
interface _StopTargetedSentimentDetectionJobResponseSuccess
|
1491
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopTargetedSentimentDetectionJobResponse]
|
1492
|
+
def job_id: () -> ::String
|
1493
|
+
def job_status: () -> ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
|
1494
|
+
end
|
1495
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#stop_targeted_sentiment_detection_job-instance_method
|
1496
|
+
def stop_targeted_sentiment_detection_job: (
|
1497
|
+
job_id: ::String
|
1498
|
+
) -> _StopTargetedSentimentDetectionJobResponseSuccess
|
1499
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopTargetedSentimentDetectionJobResponseSuccess
|
1500
|
+
|
1501
|
+
interface _StopTrainingDocumentClassifierResponseSuccess
|
1502
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopTrainingDocumentClassifierResponse]
|
1503
|
+
end
|
1504
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#stop_training_document_classifier-instance_method
|
1505
|
+
def stop_training_document_classifier: (
|
1506
|
+
document_classifier_arn: ::String
|
1507
|
+
) -> _StopTrainingDocumentClassifierResponseSuccess
|
1508
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopTrainingDocumentClassifierResponseSuccess
|
1509
|
+
|
1510
|
+
interface _StopTrainingEntityRecognizerResponseSuccess
|
1511
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopTrainingEntityRecognizerResponse]
|
1512
|
+
end
|
1513
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#stop_training_entity_recognizer-instance_method
|
1514
|
+
def stop_training_entity_recognizer: (
|
1515
|
+
entity_recognizer_arn: ::String
|
1516
|
+
) -> _StopTrainingEntityRecognizerResponseSuccess
|
1517
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopTrainingEntityRecognizerResponseSuccess
|
1518
|
+
|
1519
|
+
interface _TagResourceResponseSuccess
|
1520
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
1521
|
+
end
|
1522
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#tag_resource-instance_method
|
1523
|
+
def tag_resource: (
|
1524
|
+
resource_arn: ::String,
|
1525
|
+
tags: Array[
|
1526
|
+
{
|
1527
|
+
key: ::String,
|
1528
|
+
value: ::String?
|
1529
|
+
},
|
1530
|
+
]
|
1531
|
+
) -> _TagResourceResponseSuccess
|
1532
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
1533
|
+
|
1534
|
+
interface _UntagResourceResponseSuccess
|
1535
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
1536
|
+
end
|
1537
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#untag_resource-instance_method
|
1538
|
+
def untag_resource: (
|
1539
|
+
resource_arn: ::String,
|
1540
|
+
tag_keys: Array[::String]
|
1541
|
+
) -> _UntagResourceResponseSuccess
|
1542
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
1543
|
+
|
1544
|
+
interface _UpdateEndpointResponseSuccess
|
1545
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEndpointResponse]
|
1546
|
+
def desired_model_arn: () -> ::String
|
1547
|
+
end
|
1548
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#update_endpoint-instance_method
|
1549
|
+
def update_endpoint: (
|
1550
|
+
endpoint_arn: ::String,
|
1551
|
+
?desired_model_arn: ::String,
|
1552
|
+
?desired_inference_units: ::Integer,
|
1553
|
+
?desired_data_access_role_arn: ::String,
|
1554
|
+
?flywheel_arn: ::String
|
1555
|
+
) -> _UpdateEndpointResponseSuccess
|
1556
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEndpointResponseSuccess
|
1557
|
+
|
1558
|
+
interface _UpdateFlywheelResponseSuccess
|
1559
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFlywheelResponse]
|
1560
|
+
def flywheel_properties: () -> Types::FlywheelProperties
|
1561
|
+
end
|
1562
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Comprehend/Client.html#update_flywheel-instance_method
|
1563
|
+
def update_flywheel: (
|
1564
|
+
flywheel_arn: ::String,
|
1565
|
+
?active_model_arn: ::String,
|
1566
|
+
?data_access_role_arn: ::String,
|
1567
|
+
?data_security_config: {
|
1568
|
+
model_kms_key_id: ::String?,
|
1569
|
+
volume_kms_key_id: ::String?,
|
1570
|
+
vpc_config: {
|
1571
|
+
security_group_ids: Array[::String],
|
1572
|
+
subnets: Array[::String]
|
1573
|
+
}?
|
1574
|
+
}
|
1575
|
+
) -> _UpdateFlywheelResponseSuccess
|
1576
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFlywheelResponseSuccess
|
1577
|
+
end
|
1578
|
+
end
|
1579
|
+
end
|
1580
|
+
|