aws-sdk-comprehend 1.78.0 → 1.79.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,2088 @@
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::Comprehend
9
+ module Types
10
+
11
+ class AugmentedManifestsListItem
12
+ attr_accessor s3_uri: ::String
13
+ attr_accessor split: ("TRAIN" | "TEST")
14
+ attr_accessor attribute_names: ::Array[::String]
15
+ attr_accessor annotation_data_s3_uri: ::String
16
+ attr_accessor source_documents_s3_uri: ::String
17
+ attr_accessor document_type: ("PLAIN_TEXT_DOCUMENT" | "SEMI_STRUCTURED_DOCUMENT")
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class BatchDetectDominantLanguageItemResult
22
+ attr_accessor index: ::Integer
23
+ attr_accessor languages: ::Array[Types::DominantLanguage]
24
+ SENSITIVE: []
25
+ end
26
+
27
+ class BatchDetectDominantLanguageRequest
28
+ attr_accessor text_list: ::Array[::String]
29
+ SENSITIVE: [:text_list]
30
+ end
31
+
32
+ class BatchDetectDominantLanguageResponse
33
+ attr_accessor result_list: ::Array[Types::BatchDetectDominantLanguageItemResult]
34
+ attr_accessor error_list: ::Array[Types::BatchItemError]
35
+ SENSITIVE: []
36
+ end
37
+
38
+ class BatchDetectEntitiesItemResult
39
+ attr_accessor index: ::Integer
40
+ attr_accessor entities: ::Array[Types::Entity]
41
+ SENSITIVE: []
42
+ end
43
+
44
+ class BatchDetectEntitiesRequest
45
+ attr_accessor text_list: ::Array[::String]
46
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
47
+ SENSITIVE: [:text_list]
48
+ end
49
+
50
+ class BatchDetectEntitiesResponse
51
+ attr_accessor result_list: ::Array[Types::BatchDetectEntitiesItemResult]
52
+ attr_accessor error_list: ::Array[Types::BatchItemError]
53
+ SENSITIVE: []
54
+ end
55
+
56
+ class BatchDetectKeyPhrasesItemResult
57
+ attr_accessor index: ::Integer
58
+ attr_accessor key_phrases: ::Array[Types::KeyPhrase]
59
+ SENSITIVE: []
60
+ end
61
+
62
+ class BatchDetectKeyPhrasesRequest
63
+ attr_accessor text_list: ::Array[::String]
64
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
65
+ SENSITIVE: [:text_list]
66
+ end
67
+
68
+ class BatchDetectKeyPhrasesResponse
69
+ attr_accessor result_list: ::Array[Types::BatchDetectKeyPhrasesItemResult]
70
+ attr_accessor error_list: ::Array[Types::BatchItemError]
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class BatchDetectSentimentItemResult
75
+ attr_accessor index: ::Integer
76
+ attr_accessor sentiment: ("POSITIVE" | "NEGATIVE" | "NEUTRAL" | "MIXED")
77
+ attr_accessor sentiment_score: Types::SentimentScore
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class BatchDetectSentimentRequest
82
+ attr_accessor text_list: ::Array[::String]
83
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
84
+ SENSITIVE: [:text_list]
85
+ end
86
+
87
+ class BatchDetectSentimentResponse
88
+ attr_accessor result_list: ::Array[Types::BatchDetectSentimentItemResult]
89
+ attr_accessor error_list: ::Array[Types::BatchItemError]
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class BatchDetectSyntaxItemResult
94
+ attr_accessor index: ::Integer
95
+ attr_accessor syntax_tokens: ::Array[Types::SyntaxToken]
96
+ SENSITIVE: []
97
+ end
98
+
99
+ class BatchDetectSyntaxRequest
100
+ attr_accessor text_list: ::Array[::String]
101
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt")
102
+ SENSITIVE: [:text_list]
103
+ end
104
+
105
+ class BatchDetectSyntaxResponse
106
+ attr_accessor result_list: ::Array[Types::BatchDetectSyntaxItemResult]
107
+ attr_accessor error_list: ::Array[Types::BatchItemError]
108
+ SENSITIVE: []
109
+ end
110
+
111
+ class BatchDetectTargetedSentimentItemResult
112
+ attr_accessor index: ::Integer
113
+ attr_accessor entities: ::Array[Types::TargetedSentimentEntity]
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class BatchDetectTargetedSentimentRequest
118
+ attr_accessor text_list: ::Array[::String]
119
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
120
+ SENSITIVE: [:text_list]
121
+ end
122
+
123
+ class BatchDetectTargetedSentimentResponse
124
+ attr_accessor result_list: ::Array[Types::BatchDetectTargetedSentimentItemResult]
125
+ attr_accessor error_list: ::Array[Types::BatchItemError]
126
+ SENSITIVE: []
127
+ end
128
+
129
+ class BatchItemError
130
+ attr_accessor index: ::Integer
131
+ attr_accessor error_code: ::String
132
+ attr_accessor error_message: ::String
133
+ SENSITIVE: []
134
+ end
135
+
136
+ class BatchSizeLimitExceededException
137
+ attr_accessor message: ::String
138
+ SENSITIVE: []
139
+ end
140
+
141
+ class Block
142
+ attr_accessor id: ::String
143
+ attr_accessor block_type: ("LINE" | "WORD")
144
+ attr_accessor text: ::String
145
+ attr_accessor page: ::Integer
146
+ attr_accessor geometry: Types::Geometry
147
+ attr_accessor relationships: ::Array[Types::RelationshipsListItem]
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class BlockReference
152
+ attr_accessor block_id: ::String
153
+ attr_accessor begin_offset: ::Integer
154
+ attr_accessor end_offset: ::Integer
155
+ attr_accessor child_blocks: ::Array[Types::ChildBlock]
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class BoundingBox
160
+ attr_accessor height: ::Float
161
+ attr_accessor left: ::Float
162
+ attr_accessor top: ::Float
163
+ attr_accessor width: ::Float
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class ChildBlock
168
+ attr_accessor child_block_id: ::String
169
+ attr_accessor begin_offset: ::Integer
170
+ attr_accessor end_offset: ::Integer
171
+ SENSITIVE: []
172
+ end
173
+
174
+ class ClassifierEvaluationMetrics
175
+ attr_accessor accuracy: ::Float
176
+ attr_accessor precision: ::Float
177
+ attr_accessor recall: ::Float
178
+ attr_accessor f1_score: ::Float
179
+ attr_accessor micro_precision: ::Float
180
+ attr_accessor micro_recall: ::Float
181
+ attr_accessor micro_f1_score: ::Float
182
+ attr_accessor hamming_loss: ::Float
183
+ SENSITIVE: []
184
+ end
185
+
186
+ class ClassifierMetadata
187
+ attr_accessor number_of_labels: ::Integer
188
+ attr_accessor number_of_trained_documents: ::Integer
189
+ attr_accessor number_of_test_documents: ::Integer
190
+ attr_accessor evaluation_metrics: Types::ClassifierEvaluationMetrics
191
+ SENSITIVE: []
192
+ end
193
+
194
+ class ClassifyDocumentRequest
195
+ attr_accessor text: ::String
196
+ attr_accessor endpoint_arn: ::String
197
+ attr_accessor bytes: ::String
198
+ attr_accessor document_reader_config: Types::DocumentReaderConfig
199
+ SENSITIVE: [:text]
200
+ end
201
+
202
+ class ClassifyDocumentResponse
203
+ attr_accessor classes: ::Array[Types::DocumentClass]
204
+ attr_accessor labels: ::Array[Types::DocumentLabel]
205
+ attr_accessor document_metadata: Types::DocumentMetadata
206
+ attr_accessor document_type: ::Array[Types::DocumentTypeListItem]
207
+ attr_accessor errors: ::Array[Types::ErrorsListItem]
208
+ attr_accessor warnings: ::Array[Types::WarningsListItem]
209
+ SENSITIVE: []
210
+ end
211
+
212
+ class ConcurrentModificationException
213
+ attr_accessor message: ::String
214
+ SENSITIVE: []
215
+ end
216
+
217
+ class ContainsPiiEntitiesRequest
218
+ attr_accessor text: ::String
219
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
220
+ SENSITIVE: []
221
+ end
222
+
223
+ class ContainsPiiEntitiesResponse
224
+ attr_accessor labels: ::Array[Types::EntityLabel]
225
+ SENSITIVE: []
226
+ end
227
+
228
+ class CreateDatasetRequest
229
+ attr_accessor flywheel_arn: ::String
230
+ attr_accessor dataset_name: ::String
231
+ attr_accessor dataset_type: ("TRAIN" | "TEST")
232
+ attr_accessor description: ::String
233
+ attr_accessor input_data_config: Types::DatasetInputDataConfig
234
+ attr_accessor client_request_token: ::String
235
+ attr_accessor tags: ::Array[Types::Tag]
236
+ SENSITIVE: []
237
+ end
238
+
239
+ class CreateDatasetResponse
240
+ attr_accessor dataset_arn: ::String
241
+ SENSITIVE: []
242
+ end
243
+
244
+ class CreateDocumentClassifierRequest
245
+ attr_accessor document_classifier_name: ::String
246
+ attr_accessor version_name: ::String
247
+ attr_accessor data_access_role_arn: ::String
248
+ attr_accessor tags: ::Array[Types::Tag]
249
+ attr_accessor input_data_config: Types::DocumentClassifierInputDataConfig
250
+ attr_accessor output_data_config: Types::DocumentClassifierOutputDataConfig
251
+ attr_accessor client_request_token: ::String
252
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
253
+ attr_accessor volume_kms_key_id: ::String
254
+ attr_accessor vpc_config: Types::VpcConfig
255
+ attr_accessor mode: ("MULTI_CLASS" | "MULTI_LABEL")
256
+ attr_accessor model_kms_key_id: ::String
257
+ attr_accessor model_policy: ::String
258
+ SENSITIVE: []
259
+ end
260
+
261
+ class CreateDocumentClassifierResponse
262
+ attr_accessor document_classifier_arn: ::String
263
+ SENSITIVE: []
264
+ end
265
+
266
+ class CreateEndpointRequest
267
+ attr_accessor endpoint_name: ::String
268
+ attr_accessor model_arn: ::String
269
+ attr_accessor desired_inference_units: ::Integer
270
+ attr_accessor client_request_token: ::String
271
+ attr_accessor tags: ::Array[Types::Tag]
272
+ attr_accessor data_access_role_arn: ::String
273
+ attr_accessor flywheel_arn: ::String
274
+ SENSITIVE: []
275
+ end
276
+
277
+ class CreateEndpointResponse
278
+ attr_accessor endpoint_arn: ::String
279
+ attr_accessor model_arn: ::String
280
+ SENSITIVE: []
281
+ end
282
+
283
+ class CreateEntityRecognizerRequest
284
+ attr_accessor recognizer_name: ::String
285
+ attr_accessor version_name: ::String
286
+ attr_accessor data_access_role_arn: ::String
287
+ attr_accessor tags: ::Array[Types::Tag]
288
+ attr_accessor input_data_config: Types::EntityRecognizerInputDataConfig
289
+ attr_accessor client_request_token: ::String
290
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
291
+ attr_accessor volume_kms_key_id: ::String
292
+ attr_accessor vpc_config: Types::VpcConfig
293
+ attr_accessor model_kms_key_id: ::String
294
+ attr_accessor model_policy: ::String
295
+ SENSITIVE: []
296
+ end
297
+
298
+ class CreateEntityRecognizerResponse
299
+ attr_accessor entity_recognizer_arn: ::String
300
+ SENSITIVE: []
301
+ end
302
+
303
+ class CreateFlywheelRequest
304
+ attr_accessor flywheel_name: ::String
305
+ attr_accessor active_model_arn: ::String
306
+ attr_accessor data_access_role_arn: ::String
307
+ attr_accessor task_config: Types::TaskConfig
308
+ attr_accessor model_type: ("DOCUMENT_CLASSIFIER" | "ENTITY_RECOGNIZER")
309
+ attr_accessor data_lake_s3_uri: ::String
310
+ attr_accessor data_security_config: Types::DataSecurityConfig
311
+ attr_accessor client_request_token: ::String
312
+ attr_accessor tags: ::Array[Types::Tag]
313
+ SENSITIVE: []
314
+ end
315
+
316
+ class CreateFlywheelResponse
317
+ attr_accessor flywheel_arn: ::String
318
+ attr_accessor active_model_arn: ::String
319
+ SENSITIVE: []
320
+ end
321
+
322
+ class DataSecurityConfig
323
+ attr_accessor model_kms_key_id: ::String
324
+ attr_accessor volume_kms_key_id: ::String
325
+ attr_accessor data_lake_kms_key_id: ::String
326
+ attr_accessor vpc_config: Types::VpcConfig
327
+ SENSITIVE: []
328
+ end
329
+
330
+ class DatasetAugmentedManifestsListItem
331
+ attr_accessor attribute_names: ::Array[::String]
332
+ attr_accessor s3_uri: ::String
333
+ attr_accessor annotation_data_s3_uri: ::String
334
+ attr_accessor source_documents_s3_uri: ::String
335
+ attr_accessor document_type: ("PLAIN_TEXT_DOCUMENT" | "SEMI_STRUCTURED_DOCUMENT")
336
+ SENSITIVE: []
337
+ end
338
+
339
+ class DatasetDocumentClassifierInputDataConfig
340
+ attr_accessor s3_uri: ::String
341
+ attr_accessor label_delimiter: ::String
342
+ SENSITIVE: []
343
+ end
344
+
345
+ class DatasetEntityRecognizerAnnotations
346
+ attr_accessor s3_uri: ::String
347
+ SENSITIVE: []
348
+ end
349
+
350
+ class DatasetEntityRecognizerDocuments
351
+ attr_accessor s3_uri: ::String
352
+ attr_accessor input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class DatasetEntityRecognizerEntityList
357
+ attr_accessor s3_uri: ::String
358
+ SENSITIVE: []
359
+ end
360
+
361
+ class DatasetEntityRecognizerInputDataConfig
362
+ attr_accessor annotations: Types::DatasetEntityRecognizerAnnotations
363
+ attr_accessor documents: Types::DatasetEntityRecognizerDocuments
364
+ attr_accessor entity_list: Types::DatasetEntityRecognizerEntityList
365
+ SENSITIVE: []
366
+ end
367
+
368
+ class DatasetFilter
369
+ attr_accessor status: ("CREATING" | "COMPLETED" | "FAILED")
370
+ attr_accessor dataset_type: ("TRAIN" | "TEST")
371
+ attr_accessor creation_time_after: ::Time
372
+ attr_accessor creation_time_before: ::Time
373
+ SENSITIVE: []
374
+ end
375
+
376
+ class DatasetInputDataConfig
377
+ attr_accessor augmented_manifests: ::Array[Types::DatasetAugmentedManifestsListItem]
378
+ attr_accessor data_format: ("COMPREHEND_CSV" | "AUGMENTED_MANIFEST")
379
+ attr_accessor document_classifier_input_data_config: Types::DatasetDocumentClassifierInputDataConfig
380
+ attr_accessor entity_recognizer_input_data_config: Types::DatasetEntityRecognizerInputDataConfig
381
+ SENSITIVE: []
382
+ end
383
+
384
+ class DatasetProperties
385
+ attr_accessor dataset_arn: ::String
386
+ attr_accessor dataset_name: ::String
387
+ attr_accessor dataset_type: ("TRAIN" | "TEST")
388
+ attr_accessor dataset_s3_uri: ::String
389
+ attr_accessor description: ::String
390
+ attr_accessor status: ("CREATING" | "COMPLETED" | "FAILED")
391
+ attr_accessor message: ::String
392
+ attr_accessor number_of_documents: ::Integer
393
+ attr_accessor creation_time: ::Time
394
+ attr_accessor end_time: ::Time
395
+ SENSITIVE: []
396
+ end
397
+
398
+ class DeleteDocumentClassifierRequest
399
+ attr_accessor document_classifier_arn: ::String
400
+ SENSITIVE: []
401
+ end
402
+
403
+ class DeleteDocumentClassifierResponse < Aws::EmptyStructure
404
+ end
405
+
406
+ class DeleteEndpointRequest
407
+ attr_accessor endpoint_arn: ::String
408
+ SENSITIVE: []
409
+ end
410
+
411
+ class DeleteEndpointResponse < Aws::EmptyStructure
412
+ end
413
+
414
+ class DeleteEntityRecognizerRequest
415
+ attr_accessor entity_recognizer_arn: ::String
416
+ SENSITIVE: []
417
+ end
418
+
419
+ class DeleteEntityRecognizerResponse < Aws::EmptyStructure
420
+ end
421
+
422
+ class DeleteFlywheelRequest
423
+ attr_accessor flywheel_arn: ::String
424
+ SENSITIVE: []
425
+ end
426
+
427
+ class DeleteFlywheelResponse < Aws::EmptyStructure
428
+ end
429
+
430
+ class DeleteResourcePolicyRequest
431
+ attr_accessor resource_arn: ::String
432
+ attr_accessor policy_revision_id: ::String
433
+ SENSITIVE: []
434
+ end
435
+
436
+ class DeleteResourcePolicyResponse < Aws::EmptyStructure
437
+ end
438
+
439
+ class DescribeDatasetRequest
440
+ attr_accessor dataset_arn: ::String
441
+ SENSITIVE: []
442
+ end
443
+
444
+ class DescribeDatasetResponse
445
+ attr_accessor dataset_properties: Types::DatasetProperties
446
+ SENSITIVE: []
447
+ end
448
+
449
+ class DescribeDocumentClassificationJobRequest
450
+ attr_accessor job_id: ::String
451
+ SENSITIVE: []
452
+ end
453
+
454
+ class DescribeDocumentClassificationJobResponse
455
+ attr_accessor document_classification_job_properties: Types::DocumentClassificationJobProperties
456
+ SENSITIVE: []
457
+ end
458
+
459
+ class DescribeDocumentClassifierRequest
460
+ attr_accessor document_classifier_arn: ::String
461
+ SENSITIVE: []
462
+ end
463
+
464
+ class DescribeDocumentClassifierResponse
465
+ attr_accessor document_classifier_properties: Types::DocumentClassifierProperties
466
+ SENSITIVE: []
467
+ end
468
+
469
+ class DescribeDominantLanguageDetectionJobRequest
470
+ attr_accessor job_id: ::String
471
+ SENSITIVE: []
472
+ end
473
+
474
+ class DescribeDominantLanguageDetectionJobResponse
475
+ attr_accessor dominant_language_detection_job_properties: Types::DominantLanguageDetectionJobProperties
476
+ SENSITIVE: []
477
+ end
478
+
479
+ class DescribeEndpointRequest
480
+ attr_accessor endpoint_arn: ::String
481
+ SENSITIVE: []
482
+ end
483
+
484
+ class DescribeEndpointResponse
485
+ attr_accessor endpoint_properties: Types::EndpointProperties
486
+ SENSITIVE: []
487
+ end
488
+
489
+ class DescribeEntitiesDetectionJobRequest
490
+ attr_accessor job_id: ::String
491
+ SENSITIVE: []
492
+ end
493
+
494
+ class DescribeEntitiesDetectionJobResponse
495
+ attr_accessor entities_detection_job_properties: Types::EntitiesDetectionJobProperties
496
+ SENSITIVE: []
497
+ end
498
+
499
+ class DescribeEntityRecognizerRequest
500
+ attr_accessor entity_recognizer_arn: ::String
501
+ SENSITIVE: []
502
+ end
503
+
504
+ class DescribeEntityRecognizerResponse
505
+ attr_accessor entity_recognizer_properties: Types::EntityRecognizerProperties
506
+ SENSITIVE: []
507
+ end
508
+
509
+ class DescribeEventsDetectionJobRequest
510
+ attr_accessor job_id: ::String
511
+ SENSITIVE: []
512
+ end
513
+
514
+ class DescribeEventsDetectionJobResponse
515
+ attr_accessor events_detection_job_properties: Types::EventsDetectionJobProperties
516
+ SENSITIVE: []
517
+ end
518
+
519
+ class DescribeFlywheelIterationRequest
520
+ attr_accessor flywheel_arn: ::String
521
+ attr_accessor flywheel_iteration_id: ::String
522
+ SENSITIVE: []
523
+ end
524
+
525
+ class DescribeFlywheelIterationResponse
526
+ attr_accessor flywheel_iteration_properties: Types::FlywheelIterationProperties
527
+ SENSITIVE: []
528
+ end
529
+
530
+ class DescribeFlywheelRequest
531
+ attr_accessor flywheel_arn: ::String
532
+ SENSITIVE: []
533
+ end
534
+
535
+ class DescribeFlywheelResponse
536
+ attr_accessor flywheel_properties: Types::FlywheelProperties
537
+ SENSITIVE: []
538
+ end
539
+
540
+ class DescribeKeyPhrasesDetectionJobRequest
541
+ attr_accessor job_id: ::String
542
+ SENSITIVE: []
543
+ end
544
+
545
+ class DescribeKeyPhrasesDetectionJobResponse
546
+ attr_accessor key_phrases_detection_job_properties: Types::KeyPhrasesDetectionJobProperties
547
+ SENSITIVE: []
548
+ end
549
+
550
+ class DescribePiiEntitiesDetectionJobRequest
551
+ attr_accessor job_id: ::String
552
+ SENSITIVE: []
553
+ end
554
+
555
+ class DescribePiiEntitiesDetectionJobResponse
556
+ attr_accessor pii_entities_detection_job_properties: Types::PiiEntitiesDetectionJobProperties
557
+ SENSITIVE: []
558
+ end
559
+
560
+ class DescribeResourcePolicyRequest
561
+ attr_accessor resource_arn: ::String
562
+ SENSITIVE: []
563
+ end
564
+
565
+ class DescribeResourcePolicyResponse
566
+ attr_accessor resource_policy: ::String
567
+ attr_accessor creation_time: ::Time
568
+ attr_accessor last_modified_time: ::Time
569
+ attr_accessor policy_revision_id: ::String
570
+ SENSITIVE: []
571
+ end
572
+
573
+ class DescribeSentimentDetectionJobRequest
574
+ attr_accessor job_id: ::String
575
+ SENSITIVE: []
576
+ end
577
+
578
+ class DescribeSentimentDetectionJobResponse
579
+ attr_accessor sentiment_detection_job_properties: Types::SentimentDetectionJobProperties
580
+ SENSITIVE: []
581
+ end
582
+
583
+ class DescribeTargetedSentimentDetectionJobRequest
584
+ attr_accessor job_id: ::String
585
+ SENSITIVE: []
586
+ end
587
+
588
+ class DescribeTargetedSentimentDetectionJobResponse
589
+ attr_accessor targeted_sentiment_detection_job_properties: Types::TargetedSentimentDetectionJobProperties
590
+ SENSITIVE: []
591
+ end
592
+
593
+ class DescribeTopicsDetectionJobRequest
594
+ attr_accessor job_id: ::String
595
+ SENSITIVE: []
596
+ end
597
+
598
+ class DescribeTopicsDetectionJobResponse
599
+ attr_accessor topics_detection_job_properties: Types::TopicsDetectionJobProperties
600
+ SENSITIVE: []
601
+ end
602
+
603
+ class DetectDominantLanguageRequest
604
+ attr_accessor text: ::String
605
+ SENSITIVE: [:text]
606
+ end
607
+
608
+ class DetectDominantLanguageResponse
609
+ attr_accessor languages: ::Array[Types::DominantLanguage]
610
+ SENSITIVE: []
611
+ end
612
+
613
+ class DetectEntitiesRequest
614
+ attr_accessor text: ::String
615
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
616
+ attr_accessor endpoint_arn: ::String
617
+ attr_accessor bytes: ::String
618
+ attr_accessor document_reader_config: Types::DocumentReaderConfig
619
+ SENSITIVE: [:text]
620
+ end
621
+
622
+ class DetectEntitiesResponse
623
+ attr_accessor entities: ::Array[Types::Entity]
624
+ attr_accessor document_metadata: Types::DocumentMetadata
625
+ attr_accessor document_type: ::Array[Types::DocumentTypeListItem]
626
+ attr_accessor blocks: ::Array[Types::Block]
627
+ attr_accessor errors: ::Array[Types::ErrorsListItem]
628
+ SENSITIVE: []
629
+ end
630
+
631
+ class DetectKeyPhrasesRequest
632
+ attr_accessor text: ::String
633
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
634
+ SENSITIVE: [:text]
635
+ end
636
+
637
+ class DetectKeyPhrasesResponse
638
+ attr_accessor key_phrases: ::Array[Types::KeyPhrase]
639
+ SENSITIVE: []
640
+ end
641
+
642
+ class DetectPiiEntitiesRequest
643
+ attr_accessor text: ::String
644
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
645
+ SENSITIVE: []
646
+ end
647
+
648
+ class DetectPiiEntitiesResponse
649
+ attr_accessor entities: ::Array[Types::PiiEntity]
650
+ SENSITIVE: []
651
+ end
652
+
653
+ class DetectSentimentRequest
654
+ attr_accessor text: ::String
655
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
656
+ SENSITIVE: [:text]
657
+ end
658
+
659
+ class DetectSentimentResponse
660
+ attr_accessor sentiment: ("POSITIVE" | "NEGATIVE" | "NEUTRAL" | "MIXED")
661
+ attr_accessor sentiment_score: Types::SentimentScore
662
+ SENSITIVE: []
663
+ end
664
+
665
+ class DetectSyntaxRequest
666
+ attr_accessor text: ::String
667
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt")
668
+ SENSITIVE: [:text]
669
+ end
670
+
671
+ class DetectSyntaxResponse
672
+ attr_accessor syntax_tokens: ::Array[Types::SyntaxToken]
673
+ SENSITIVE: []
674
+ end
675
+
676
+ class DetectTargetedSentimentRequest
677
+ attr_accessor text: ::String
678
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
679
+ SENSITIVE: [:text]
680
+ end
681
+
682
+ class DetectTargetedSentimentResponse
683
+ attr_accessor entities: ::Array[Types::TargetedSentimentEntity]
684
+ SENSITIVE: []
685
+ end
686
+
687
+ class DetectToxicContentRequest
688
+ attr_accessor text_segments: ::Array[Types::TextSegment]
689
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
690
+ SENSITIVE: [:text_segments]
691
+ end
692
+
693
+ class DetectToxicContentResponse
694
+ attr_accessor result_list: ::Array[Types::ToxicLabels]
695
+ SENSITIVE: []
696
+ end
697
+
698
+ class DocumentClass
699
+ attr_accessor name: ::String
700
+ attr_accessor score: ::Float
701
+ attr_accessor page: ::Integer
702
+ SENSITIVE: []
703
+ end
704
+
705
+ class DocumentClassificationConfig
706
+ attr_accessor mode: ("MULTI_CLASS" | "MULTI_LABEL")
707
+ attr_accessor labels: ::Array[::String]
708
+ SENSITIVE: []
709
+ end
710
+
711
+ class DocumentClassificationJobFilter
712
+ attr_accessor job_name: ::String
713
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
714
+ attr_accessor submit_time_before: ::Time
715
+ attr_accessor submit_time_after: ::Time
716
+ SENSITIVE: []
717
+ end
718
+
719
+ class DocumentClassificationJobProperties
720
+ attr_accessor job_id: ::String
721
+ attr_accessor job_arn: ::String
722
+ attr_accessor job_name: ::String
723
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
724
+ attr_accessor message: ::String
725
+ attr_accessor submit_time: ::Time
726
+ attr_accessor end_time: ::Time
727
+ attr_accessor document_classifier_arn: ::String
728
+ attr_accessor input_data_config: Types::InputDataConfig
729
+ attr_accessor output_data_config: Types::OutputDataConfig
730
+ attr_accessor data_access_role_arn: ::String
731
+ attr_accessor volume_kms_key_id: ::String
732
+ attr_accessor vpc_config: Types::VpcConfig
733
+ attr_accessor flywheel_arn: ::String
734
+ SENSITIVE: []
735
+ end
736
+
737
+ class DocumentClassifierDocuments
738
+ attr_accessor s3_uri: ::String
739
+ attr_accessor test_s3_uri: ::String
740
+ SENSITIVE: []
741
+ end
742
+
743
+ class DocumentClassifierFilter
744
+ attr_accessor status: ("SUBMITTED" | "TRAINING" | "DELETING" | "STOP_REQUESTED" | "STOPPED" | "IN_ERROR" | "TRAINED" | "TRAINED_WITH_WARNING")
745
+ attr_accessor document_classifier_name: ::String
746
+ attr_accessor submit_time_before: ::Time
747
+ attr_accessor submit_time_after: ::Time
748
+ SENSITIVE: []
749
+ end
750
+
751
+ class DocumentClassifierInputDataConfig
752
+ attr_accessor data_format: ("COMPREHEND_CSV" | "AUGMENTED_MANIFEST")
753
+ attr_accessor s3_uri: ::String
754
+ attr_accessor test_s3_uri: ::String
755
+ attr_accessor label_delimiter: ::String
756
+ attr_accessor augmented_manifests: ::Array[Types::AugmentedManifestsListItem]
757
+ attr_accessor document_type: ("PLAIN_TEXT_DOCUMENT" | "SEMI_STRUCTURED_DOCUMENT")
758
+ attr_accessor documents: Types::DocumentClassifierDocuments
759
+ attr_accessor document_reader_config: Types::DocumentReaderConfig
760
+ SENSITIVE: []
761
+ end
762
+
763
+ class DocumentClassifierOutputDataConfig
764
+ attr_accessor s3_uri: ::String
765
+ attr_accessor kms_key_id: ::String
766
+ attr_accessor flywheel_stats_s3_prefix: ::String
767
+ SENSITIVE: []
768
+ end
769
+
770
+ class DocumentClassifierProperties
771
+ attr_accessor document_classifier_arn: ::String
772
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
773
+ attr_accessor status: ("SUBMITTED" | "TRAINING" | "DELETING" | "STOP_REQUESTED" | "STOPPED" | "IN_ERROR" | "TRAINED" | "TRAINED_WITH_WARNING")
774
+ attr_accessor message: ::String
775
+ attr_accessor submit_time: ::Time
776
+ attr_accessor end_time: ::Time
777
+ attr_accessor training_start_time: ::Time
778
+ attr_accessor training_end_time: ::Time
779
+ attr_accessor input_data_config: Types::DocumentClassifierInputDataConfig
780
+ attr_accessor output_data_config: Types::DocumentClassifierOutputDataConfig
781
+ attr_accessor classifier_metadata: Types::ClassifierMetadata
782
+ attr_accessor data_access_role_arn: ::String
783
+ attr_accessor volume_kms_key_id: ::String
784
+ attr_accessor vpc_config: Types::VpcConfig
785
+ attr_accessor mode: ("MULTI_CLASS" | "MULTI_LABEL")
786
+ attr_accessor model_kms_key_id: ::String
787
+ attr_accessor version_name: ::String
788
+ attr_accessor source_model_arn: ::String
789
+ attr_accessor flywheel_arn: ::String
790
+ SENSITIVE: [:classifier_metadata]
791
+ end
792
+
793
+ class DocumentClassifierSummary
794
+ attr_accessor document_classifier_name: ::String
795
+ attr_accessor number_of_versions: ::Integer
796
+ attr_accessor latest_version_created_at: ::Time
797
+ attr_accessor latest_version_name: ::String
798
+ attr_accessor latest_version_status: ("SUBMITTED" | "TRAINING" | "DELETING" | "STOP_REQUESTED" | "STOPPED" | "IN_ERROR" | "TRAINED" | "TRAINED_WITH_WARNING")
799
+ SENSITIVE: []
800
+ end
801
+
802
+ class DocumentLabel
803
+ attr_accessor name: ::String
804
+ attr_accessor score: ::Float
805
+ attr_accessor page: ::Integer
806
+ SENSITIVE: []
807
+ end
808
+
809
+ class DocumentMetadata
810
+ attr_accessor pages: ::Integer
811
+ attr_accessor extracted_characters: ::Array[Types::ExtractedCharactersListItem]
812
+ SENSITIVE: []
813
+ end
814
+
815
+ class DocumentReaderConfig
816
+ attr_accessor document_read_action: ("TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT")
817
+ attr_accessor document_read_mode: ("SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION")
818
+ attr_accessor feature_types: ::Array[("TABLES" | "FORMS")]
819
+ SENSITIVE: []
820
+ end
821
+
822
+ class DocumentTypeListItem
823
+ attr_accessor page: ::Integer
824
+ attr_accessor type: ("NATIVE_PDF" | "SCANNED_PDF" | "MS_WORD" | "IMAGE" | "PLAIN_TEXT" | "TEXTRACT_DETECT_DOCUMENT_TEXT_JSON" | "TEXTRACT_ANALYZE_DOCUMENT_JSON")
825
+ SENSITIVE: []
826
+ end
827
+
828
+ class DominantLanguage
829
+ attr_accessor language_code: ::String
830
+ attr_accessor score: ::Float
831
+ SENSITIVE: []
832
+ end
833
+
834
+ class DominantLanguageDetectionJobFilter
835
+ attr_accessor job_name: ::String
836
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
837
+ attr_accessor submit_time_before: ::Time
838
+ attr_accessor submit_time_after: ::Time
839
+ SENSITIVE: []
840
+ end
841
+
842
+ class DominantLanguageDetectionJobProperties
843
+ attr_accessor job_id: ::String
844
+ attr_accessor job_arn: ::String
845
+ attr_accessor job_name: ::String
846
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
847
+ attr_accessor message: ::String
848
+ attr_accessor submit_time: ::Time
849
+ attr_accessor end_time: ::Time
850
+ attr_accessor input_data_config: Types::InputDataConfig
851
+ attr_accessor output_data_config: Types::OutputDataConfig
852
+ attr_accessor data_access_role_arn: ::String
853
+ attr_accessor volume_kms_key_id: ::String
854
+ attr_accessor vpc_config: Types::VpcConfig
855
+ SENSITIVE: []
856
+ end
857
+
858
+ class EndpointFilter
859
+ attr_accessor model_arn: ::String
860
+ attr_accessor status: ("CREATING" | "DELETING" | "FAILED" | "IN_SERVICE" | "UPDATING")
861
+ attr_accessor creation_time_before: ::Time
862
+ attr_accessor creation_time_after: ::Time
863
+ SENSITIVE: []
864
+ end
865
+
866
+ class EndpointProperties
867
+ attr_accessor endpoint_arn: ::String
868
+ attr_accessor status: ("CREATING" | "DELETING" | "FAILED" | "IN_SERVICE" | "UPDATING")
869
+ attr_accessor message: ::String
870
+ attr_accessor model_arn: ::String
871
+ attr_accessor desired_model_arn: ::String
872
+ attr_accessor desired_inference_units: ::Integer
873
+ attr_accessor current_inference_units: ::Integer
874
+ attr_accessor creation_time: ::Time
875
+ attr_accessor last_modified_time: ::Time
876
+ attr_accessor data_access_role_arn: ::String
877
+ attr_accessor desired_data_access_role_arn: ::String
878
+ attr_accessor flywheel_arn: ::String
879
+ SENSITIVE: []
880
+ end
881
+
882
+ class EntitiesDetectionJobFilter
883
+ attr_accessor job_name: ::String
884
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
885
+ attr_accessor submit_time_before: ::Time
886
+ attr_accessor submit_time_after: ::Time
887
+ SENSITIVE: []
888
+ end
889
+
890
+ class EntitiesDetectionJobProperties
891
+ attr_accessor job_id: ::String
892
+ attr_accessor job_arn: ::String
893
+ attr_accessor job_name: ::String
894
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
895
+ attr_accessor message: ::String
896
+ attr_accessor submit_time: ::Time
897
+ attr_accessor end_time: ::Time
898
+ attr_accessor entity_recognizer_arn: ::String
899
+ attr_accessor input_data_config: Types::InputDataConfig
900
+ attr_accessor output_data_config: Types::OutputDataConfig
901
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
902
+ attr_accessor data_access_role_arn: ::String
903
+ attr_accessor volume_kms_key_id: ::String
904
+ attr_accessor vpc_config: Types::VpcConfig
905
+ attr_accessor flywheel_arn: ::String
906
+ SENSITIVE: []
907
+ end
908
+
909
+ class Entity
910
+ attr_accessor score: ::Float
911
+ attr_accessor type: ("PERSON" | "LOCATION" | "ORGANIZATION" | "COMMERCIAL_ITEM" | "EVENT" | "DATE" | "QUANTITY" | "TITLE" | "OTHER")
912
+ attr_accessor text: ::String
913
+ attr_accessor begin_offset: ::Integer
914
+ attr_accessor end_offset: ::Integer
915
+ attr_accessor block_references: ::Array[Types::BlockReference]
916
+ SENSITIVE: []
917
+ end
918
+
919
+ class EntityLabel
920
+ attr_accessor name: ("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")
921
+ attr_accessor score: ::Float
922
+ SENSITIVE: []
923
+ end
924
+
925
+ class EntityRecognitionConfig
926
+ attr_accessor entity_types: ::Array[Types::EntityTypesListItem]
927
+ SENSITIVE: []
928
+ end
929
+
930
+ class EntityRecognizerAnnotations
931
+ attr_accessor s3_uri: ::String
932
+ attr_accessor test_s3_uri: ::String
933
+ SENSITIVE: []
934
+ end
935
+
936
+ class EntityRecognizerDocuments
937
+ attr_accessor s3_uri: ::String
938
+ attr_accessor test_s3_uri: ::String
939
+ attr_accessor input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")
940
+ SENSITIVE: []
941
+ end
942
+
943
+ class EntityRecognizerEntityList
944
+ attr_accessor s3_uri: ::String
945
+ SENSITIVE: []
946
+ end
947
+
948
+ class EntityRecognizerEvaluationMetrics
949
+ attr_accessor precision: ::Float
950
+ attr_accessor recall: ::Float
951
+ attr_accessor f1_score: ::Float
952
+ SENSITIVE: []
953
+ end
954
+
955
+ class EntityRecognizerFilter
956
+ attr_accessor status: ("SUBMITTED" | "TRAINING" | "DELETING" | "STOP_REQUESTED" | "STOPPED" | "IN_ERROR" | "TRAINED" | "TRAINED_WITH_WARNING")
957
+ attr_accessor recognizer_name: ::String
958
+ attr_accessor submit_time_before: ::Time
959
+ attr_accessor submit_time_after: ::Time
960
+ SENSITIVE: []
961
+ end
962
+
963
+ class EntityRecognizerInputDataConfig
964
+ attr_accessor data_format: ("COMPREHEND_CSV" | "AUGMENTED_MANIFEST")
965
+ attr_accessor entity_types: ::Array[Types::EntityTypesListItem]
966
+ attr_accessor documents: Types::EntityRecognizerDocuments
967
+ attr_accessor annotations: Types::EntityRecognizerAnnotations
968
+ attr_accessor entity_list: Types::EntityRecognizerEntityList
969
+ attr_accessor augmented_manifests: ::Array[Types::AugmentedManifestsListItem]
970
+ SENSITIVE: []
971
+ end
972
+
973
+ class EntityRecognizerMetadata
974
+ attr_accessor number_of_trained_documents: ::Integer
975
+ attr_accessor number_of_test_documents: ::Integer
976
+ attr_accessor evaluation_metrics: Types::EntityRecognizerEvaluationMetrics
977
+ attr_accessor entity_types: ::Array[Types::EntityRecognizerMetadataEntityTypesListItem]
978
+ SENSITIVE: []
979
+ end
980
+
981
+ class EntityRecognizerMetadataEntityTypesListItem
982
+ attr_accessor type: ::String
983
+ attr_accessor evaluation_metrics: Types::EntityTypesEvaluationMetrics
984
+ attr_accessor number_of_train_mentions: ::Integer
985
+ SENSITIVE: []
986
+ end
987
+
988
+ class EntityRecognizerOutputDataConfig
989
+ attr_accessor flywheel_stats_s3_prefix: ::String
990
+ SENSITIVE: []
991
+ end
992
+
993
+ class EntityRecognizerProperties
994
+ attr_accessor entity_recognizer_arn: ::String
995
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
996
+ attr_accessor status: ("SUBMITTED" | "TRAINING" | "DELETING" | "STOP_REQUESTED" | "STOPPED" | "IN_ERROR" | "TRAINED" | "TRAINED_WITH_WARNING")
997
+ attr_accessor message: ::String
998
+ attr_accessor submit_time: ::Time
999
+ attr_accessor end_time: ::Time
1000
+ attr_accessor training_start_time: ::Time
1001
+ attr_accessor training_end_time: ::Time
1002
+ attr_accessor input_data_config: Types::EntityRecognizerInputDataConfig
1003
+ attr_accessor recognizer_metadata: Types::EntityRecognizerMetadata
1004
+ attr_accessor data_access_role_arn: ::String
1005
+ attr_accessor volume_kms_key_id: ::String
1006
+ attr_accessor vpc_config: Types::VpcConfig
1007
+ attr_accessor model_kms_key_id: ::String
1008
+ attr_accessor version_name: ::String
1009
+ attr_accessor source_model_arn: ::String
1010
+ attr_accessor flywheel_arn: ::String
1011
+ attr_accessor output_data_config: Types::EntityRecognizerOutputDataConfig
1012
+ SENSITIVE: [:recognizer_metadata]
1013
+ end
1014
+
1015
+ class EntityRecognizerSummary
1016
+ attr_accessor recognizer_name: ::String
1017
+ attr_accessor number_of_versions: ::Integer
1018
+ attr_accessor latest_version_created_at: ::Time
1019
+ attr_accessor latest_version_name: ::String
1020
+ attr_accessor latest_version_status: ("SUBMITTED" | "TRAINING" | "DELETING" | "STOP_REQUESTED" | "STOPPED" | "IN_ERROR" | "TRAINED" | "TRAINED_WITH_WARNING")
1021
+ SENSITIVE: []
1022
+ end
1023
+
1024
+ class EntityTypesEvaluationMetrics
1025
+ attr_accessor precision: ::Float
1026
+ attr_accessor recall: ::Float
1027
+ attr_accessor f1_score: ::Float
1028
+ SENSITIVE: []
1029
+ end
1030
+
1031
+ class EntityTypesListItem
1032
+ attr_accessor type: ::String
1033
+ SENSITIVE: []
1034
+ end
1035
+
1036
+ class ErrorsListItem
1037
+ attr_accessor page: ::Integer
1038
+ attr_accessor error_code: ("TEXTRACT_BAD_PAGE" | "TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED" | "PAGE_CHARACTERS_EXCEEDED" | "PAGE_SIZE_EXCEEDED" | "INTERNAL_SERVER_ERROR")
1039
+ attr_accessor error_message: ::String
1040
+ SENSITIVE: []
1041
+ end
1042
+
1043
+ class EventsDetectionJobFilter
1044
+ attr_accessor job_name: ::String
1045
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1046
+ attr_accessor submit_time_before: ::Time
1047
+ attr_accessor submit_time_after: ::Time
1048
+ SENSITIVE: []
1049
+ end
1050
+
1051
+ class EventsDetectionJobProperties
1052
+ attr_accessor job_id: ::String
1053
+ attr_accessor job_arn: ::String
1054
+ attr_accessor job_name: ::String
1055
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1056
+ attr_accessor message: ::String
1057
+ attr_accessor submit_time: ::Time
1058
+ attr_accessor end_time: ::Time
1059
+ attr_accessor input_data_config: Types::InputDataConfig
1060
+ attr_accessor output_data_config: Types::OutputDataConfig
1061
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1062
+ attr_accessor data_access_role_arn: ::String
1063
+ attr_accessor target_event_types: ::Array[::String]
1064
+ SENSITIVE: []
1065
+ end
1066
+
1067
+ class ExtractedCharactersListItem
1068
+ attr_accessor page: ::Integer
1069
+ attr_accessor count: ::Integer
1070
+ SENSITIVE: []
1071
+ end
1072
+
1073
+ class FlywheelFilter
1074
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED")
1075
+ attr_accessor creation_time_after: ::Time
1076
+ attr_accessor creation_time_before: ::Time
1077
+ SENSITIVE: []
1078
+ end
1079
+
1080
+ class FlywheelIterationFilter
1081
+ attr_accessor creation_time_after: ::Time
1082
+ attr_accessor creation_time_before: ::Time
1083
+ SENSITIVE: []
1084
+ end
1085
+
1086
+ class FlywheelIterationProperties
1087
+ attr_accessor flywheel_arn: ::String
1088
+ attr_accessor flywheel_iteration_id: ::String
1089
+ attr_accessor creation_time: ::Time
1090
+ attr_accessor end_time: ::Time
1091
+ attr_accessor status: ("TRAINING" | "EVALUATING" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1092
+ attr_accessor message: ::String
1093
+ attr_accessor evaluated_model_arn: ::String
1094
+ attr_accessor evaluated_model_metrics: Types::FlywheelModelEvaluationMetrics
1095
+ attr_accessor trained_model_arn: ::String
1096
+ attr_accessor trained_model_metrics: Types::FlywheelModelEvaluationMetrics
1097
+ attr_accessor evaluation_manifest_s3_prefix: ::String
1098
+ SENSITIVE: []
1099
+ end
1100
+
1101
+ class FlywheelModelEvaluationMetrics
1102
+ attr_accessor average_f1_score: ::Float
1103
+ attr_accessor average_precision: ::Float
1104
+ attr_accessor average_recall: ::Float
1105
+ attr_accessor average_accuracy: ::Float
1106
+ SENSITIVE: []
1107
+ end
1108
+
1109
+ class FlywheelProperties
1110
+ attr_accessor flywheel_arn: ::String
1111
+ attr_accessor active_model_arn: ::String
1112
+ attr_accessor data_access_role_arn: ::String
1113
+ attr_accessor task_config: Types::TaskConfig
1114
+ attr_accessor data_lake_s3_uri: ::String
1115
+ attr_accessor data_security_config: Types::DataSecurityConfig
1116
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED")
1117
+ attr_accessor model_type: ("DOCUMENT_CLASSIFIER" | "ENTITY_RECOGNIZER")
1118
+ attr_accessor message: ::String
1119
+ attr_accessor creation_time: ::Time
1120
+ attr_accessor last_modified_time: ::Time
1121
+ attr_accessor latest_flywheel_iteration: ::String
1122
+ SENSITIVE: []
1123
+ end
1124
+
1125
+ class FlywheelSummary
1126
+ attr_accessor flywheel_arn: ::String
1127
+ attr_accessor active_model_arn: ::String
1128
+ attr_accessor data_lake_s3_uri: ::String
1129
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED")
1130
+ attr_accessor model_type: ("DOCUMENT_CLASSIFIER" | "ENTITY_RECOGNIZER")
1131
+ attr_accessor message: ::String
1132
+ attr_accessor creation_time: ::Time
1133
+ attr_accessor last_modified_time: ::Time
1134
+ attr_accessor latest_flywheel_iteration: ::String
1135
+ SENSITIVE: []
1136
+ end
1137
+
1138
+ class Geometry
1139
+ attr_accessor bounding_box: Types::BoundingBox
1140
+ attr_accessor polygon: ::Array[Types::Point]
1141
+ SENSITIVE: []
1142
+ end
1143
+
1144
+ class ImportModelRequest
1145
+ attr_accessor source_model_arn: ::String
1146
+ attr_accessor model_name: ::String
1147
+ attr_accessor version_name: ::String
1148
+ attr_accessor model_kms_key_id: ::String
1149
+ attr_accessor data_access_role_arn: ::String
1150
+ attr_accessor tags: ::Array[Types::Tag]
1151
+ SENSITIVE: []
1152
+ end
1153
+
1154
+ class ImportModelResponse
1155
+ attr_accessor model_arn: ::String
1156
+ SENSITIVE: []
1157
+ end
1158
+
1159
+ class InputDataConfig
1160
+ attr_accessor s3_uri: ::String
1161
+ attr_accessor input_format: ("ONE_DOC_PER_FILE" | "ONE_DOC_PER_LINE")
1162
+ attr_accessor document_reader_config: Types::DocumentReaderConfig
1163
+ SENSITIVE: []
1164
+ end
1165
+
1166
+ class InternalServerException
1167
+ attr_accessor message: ::String
1168
+ SENSITIVE: []
1169
+ end
1170
+
1171
+ class InvalidFilterException
1172
+ attr_accessor message: ::String
1173
+ SENSITIVE: []
1174
+ end
1175
+
1176
+ class InvalidRequestDetail
1177
+ attr_accessor reason: ("DOCUMENT_SIZE_EXCEEDED" | "UNSUPPORTED_DOC_TYPE" | "PAGE_LIMIT_EXCEEDED" | "TEXTRACT_ACCESS_DENIED")
1178
+ SENSITIVE: []
1179
+ end
1180
+
1181
+ class InvalidRequestException
1182
+ attr_accessor message: ::String
1183
+ attr_accessor reason: ("INVALID_DOCUMENT")
1184
+ attr_accessor detail: Types::InvalidRequestDetail
1185
+ SENSITIVE: []
1186
+ end
1187
+
1188
+ class JobNotFoundException
1189
+ attr_accessor message: ::String
1190
+ SENSITIVE: []
1191
+ end
1192
+
1193
+ class KeyPhrase
1194
+ attr_accessor score: ::Float
1195
+ attr_accessor text: ::String
1196
+ attr_accessor begin_offset: ::Integer
1197
+ attr_accessor end_offset: ::Integer
1198
+ SENSITIVE: []
1199
+ end
1200
+
1201
+ class KeyPhrasesDetectionJobFilter
1202
+ attr_accessor job_name: ::String
1203
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1204
+ attr_accessor submit_time_before: ::Time
1205
+ attr_accessor submit_time_after: ::Time
1206
+ SENSITIVE: []
1207
+ end
1208
+
1209
+ class KeyPhrasesDetectionJobProperties
1210
+ attr_accessor job_id: ::String
1211
+ attr_accessor job_arn: ::String
1212
+ attr_accessor job_name: ::String
1213
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1214
+ attr_accessor message: ::String
1215
+ attr_accessor submit_time: ::Time
1216
+ attr_accessor end_time: ::Time
1217
+ attr_accessor input_data_config: Types::InputDataConfig
1218
+ attr_accessor output_data_config: Types::OutputDataConfig
1219
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1220
+ attr_accessor data_access_role_arn: ::String
1221
+ attr_accessor volume_kms_key_id: ::String
1222
+ attr_accessor vpc_config: Types::VpcConfig
1223
+ SENSITIVE: []
1224
+ end
1225
+
1226
+ class KmsKeyValidationException
1227
+ attr_accessor message: ::String
1228
+ SENSITIVE: []
1229
+ end
1230
+
1231
+ class ListDatasetsRequest
1232
+ attr_accessor flywheel_arn: ::String
1233
+ attr_accessor filter: Types::DatasetFilter
1234
+ attr_accessor next_token: ::String
1235
+ attr_accessor max_results: ::Integer
1236
+ SENSITIVE: []
1237
+ end
1238
+
1239
+ class ListDatasetsResponse
1240
+ attr_accessor dataset_properties_list: ::Array[Types::DatasetProperties]
1241
+ attr_accessor next_token: ::String
1242
+ SENSITIVE: []
1243
+ end
1244
+
1245
+ class ListDocumentClassificationJobsRequest
1246
+ attr_accessor filter: Types::DocumentClassificationJobFilter
1247
+ attr_accessor next_token: ::String
1248
+ attr_accessor max_results: ::Integer
1249
+ SENSITIVE: []
1250
+ end
1251
+
1252
+ class ListDocumentClassificationJobsResponse
1253
+ attr_accessor document_classification_job_properties_list: ::Array[Types::DocumentClassificationJobProperties]
1254
+ attr_accessor next_token: ::String
1255
+ SENSITIVE: []
1256
+ end
1257
+
1258
+ class ListDocumentClassifierSummariesRequest
1259
+ attr_accessor next_token: ::String
1260
+ attr_accessor max_results: ::Integer
1261
+ SENSITIVE: []
1262
+ end
1263
+
1264
+ class ListDocumentClassifierSummariesResponse
1265
+ attr_accessor document_classifier_summaries_list: ::Array[Types::DocumentClassifierSummary]
1266
+ attr_accessor next_token: ::String
1267
+ SENSITIVE: []
1268
+ end
1269
+
1270
+ class ListDocumentClassifiersRequest
1271
+ attr_accessor filter: Types::DocumentClassifierFilter
1272
+ attr_accessor next_token: ::String
1273
+ attr_accessor max_results: ::Integer
1274
+ SENSITIVE: []
1275
+ end
1276
+
1277
+ class ListDocumentClassifiersResponse
1278
+ attr_accessor document_classifier_properties_list: ::Array[Types::DocumentClassifierProperties]
1279
+ attr_accessor next_token: ::String
1280
+ SENSITIVE: []
1281
+ end
1282
+
1283
+ class ListDominantLanguageDetectionJobsRequest
1284
+ attr_accessor filter: Types::DominantLanguageDetectionJobFilter
1285
+ attr_accessor next_token: ::String
1286
+ attr_accessor max_results: ::Integer
1287
+ SENSITIVE: []
1288
+ end
1289
+
1290
+ class ListDominantLanguageDetectionJobsResponse
1291
+ attr_accessor dominant_language_detection_job_properties_list: ::Array[Types::DominantLanguageDetectionJobProperties]
1292
+ attr_accessor next_token: ::String
1293
+ SENSITIVE: []
1294
+ end
1295
+
1296
+ class ListEndpointsRequest
1297
+ attr_accessor filter: Types::EndpointFilter
1298
+ attr_accessor next_token: ::String
1299
+ attr_accessor max_results: ::Integer
1300
+ SENSITIVE: []
1301
+ end
1302
+
1303
+ class ListEndpointsResponse
1304
+ attr_accessor endpoint_properties_list: ::Array[Types::EndpointProperties]
1305
+ attr_accessor next_token: ::String
1306
+ SENSITIVE: []
1307
+ end
1308
+
1309
+ class ListEntitiesDetectionJobsRequest
1310
+ attr_accessor filter: Types::EntitiesDetectionJobFilter
1311
+ attr_accessor next_token: ::String
1312
+ attr_accessor max_results: ::Integer
1313
+ SENSITIVE: []
1314
+ end
1315
+
1316
+ class ListEntitiesDetectionJobsResponse
1317
+ attr_accessor entities_detection_job_properties_list: ::Array[Types::EntitiesDetectionJobProperties]
1318
+ attr_accessor next_token: ::String
1319
+ SENSITIVE: []
1320
+ end
1321
+
1322
+ class ListEntityRecognizerSummariesRequest
1323
+ attr_accessor next_token: ::String
1324
+ attr_accessor max_results: ::Integer
1325
+ SENSITIVE: []
1326
+ end
1327
+
1328
+ class ListEntityRecognizerSummariesResponse
1329
+ attr_accessor entity_recognizer_summaries_list: ::Array[Types::EntityRecognizerSummary]
1330
+ attr_accessor next_token: ::String
1331
+ SENSITIVE: []
1332
+ end
1333
+
1334
+ class ListEntityRecognizersRequest
1335
+ attr_accessor filter: Types::EntityRecognizerFilter
1336
+ attr_accessor next_token: ::String
1337
+ attr_accessor max_results: ::Integer
1338
+ SENSITIVE: []
1339
+ end
1340
+
1341
+ class ListEntityRecognizersResponse
1342
+ attr_accessor entity_recognizer_properties_list: ::Array[Types::EntityRecognizerProperties]
1343
+ attr_accessor next_token: ::String
1344
+ SENSITIVE: []
1345
+ end
1346
+
1347
+ class ListEventsDetectionJobsRequest
1348
+ attr_accessor filter: Types::EventsDetectionJobFilter
1349
+ attr_accessor next_token: ::String
1350
+ attr_accessor max_results: ::Integer
1351
+ SENSITIVE: []
1352
+ end
1353
+
1354
+ class ListEventsDetectionJobsResponse
1355
+ attr_accessor events_detection_job_properties_list: ::Array[Types::EventsDetectionJobProperties]
1356
+ attr_accessor next_token: ::String
1357
+ SENSITIVE: []
1358
+ end
1359
+
1360
+ class ListFlywheelIterationHistoryRequest
1361
+ attr_accessor flywheel_arn: ::String
1362
+ attr_accessor filter: Types::FlywheelIterationFilter
1363
+ attr_accessor next_token: ::String
1364
+ attr_accessor max_results: ::Integer
1365
+ SENSITIVE: []
1366
+ end
1367
+
1368
+ class ListFlywheelIterationHistoryResponse
1369
+ attr_accessor flywheel_iteration_properties_list: ::Array[Types::FlywheelIterationProperties]
1370
+ attr_accessor next_token: ::String
1371
+ SENSITIVE: []
1372
+ end
1373
+
1374
+ class ListFlywheelsRequest
1375
+ attr_accessor filter: Types::FlywheelFilter
1376
+ attr_accessor next_token: ::String
1377
+ attr_accessor max_results: ::Integer
1378
+ SENSITIVE: []
1379
+ end
1380
+
1381
+ class ListFlywheelsResponse
1382
+ attr_accessor flywheel_summary_list: ::Array[Types::FlywheelSummary]
1383
+ attr_accessor next_token: ::String
1384
+ SENSITIVE: []
1385
+ end
1386
+
1387
+ class ListKeyPhrasesDetectionJobsRequest
1388
+ attr_accessor filter: Types::KeyPhrasesDetectionJobFilter
1389
+ attr_accessor next_token: ::String
1390
+ attr_accessor max_results: ::Integer
1391
+ SENSITIVE: []
1392
+ end
1393
+
1394
+ class ListKeyPhrasesDetectionJobsResponse
1395
+ attr_accessor key_phrases_detection_job_properties_list: ::Array[Types::KeyPhrasesDetectionJobProperties]
1396
+ attr_accessor next_token: ::String
1397
+ SENSITIVE: []
1398
+ end
1399
+
1400
+ class ListPiiEntitiesDetectionJobsRequest
1401
+ attr_accessor filter: Types::PiiEntitiesDetectionJobFilter
1402
+ attr_accessor next_token: ::String
1403
+ attr_accessor max_results: ::Integer
1404
+ SENSITIVE: []
1405
+ end
1406
+
1407
+ class ListPiiEntitiesDetectionJobsResponse
1408
+ attr_accessor pii_entities_detection_job_properties_list: ::Array[Types::PiiEntitiesDetectionJobProperties]
1409
+ attr_accessor next_token: ::String
1410
+ SENSITIVE: []
1411
+ end
1412
+
1413
+ class ListSentimentDetectionJobsRequest
1414
+ attr_accessor filter: Types::SentimentDetectionJobFilter
1415
+ attr_accessor next_token: ::String
1416
+ attr_accessor max_results: ::Integer
1417
+ SENSITIVE: []
1418
+ end
1419
+
1420
+ class ListSentimentDetectionJobsResponse
1421
+ attr_accessor sentiment_detection_job_properties_list: ::Array[Types::SentimentDetectionJobProperties]
1422
+ attr_accessor next_token: ::String
1423
+ SENSITIVE: []
1424
+ end
1425
+
1426
+ class ListTagsForResourceRequest
1427
+ attr_accessor resource_arn: ::String
1428
+ SENSITIVE: []
1429
+ end
1430
+
1431
+ class ListTagsForResourceResponse
1432
+ attr_accessor resource_arn: ::String
1433
+ attr_accessor tags: ::Array[Types::Tag]
1434
+ SENSITIVE: []
1435
+ end
1436
+
1437
+ class ListTargetedSentimentDetectionJobsRequest
1438
+ attr_accessor filter: Types::TargetedSentimentDetectionJobFilter
1439
+ attr_accessor next_token: ::String
1440
+ attr_accessor max_results: ::Integer
1441
+ SENSITIVE: []
1442
+ end
1443
+
1444
+ class ListTargetedSentimentDetectionJobsResponse
1445
+ attr_accessor targeted_sentiment_detection_job_properties_list: ::Array[Types::TargetedSentimentDetectionJobProperties]
1446
+ attr_accessor next_token: ::String
1447
+ SENSITIVE: []
1448
+ end
1449
+
1450
+ class ListTopicsDetectionJobsRequest
1451
+ attr_accessor filter: Types::TopicsDetectionJobFilter
1452
+ attr_accessor next_token: ::String
1453
+ attr_accessor max_results: ::Integer
1454
+ SENSITIVE: []
1455
+ end
1456
+
1457
+ class ListTopicsDetectionJobsResponse
1458
+ attr_accessor topics_detection_job_properties_list: ::Array[Types::TopicsDetectionJobProperties]
1459
+ attr_accessor next_token: ::String
1460
+ SENSITIVE: []
1461
+ end
1462
+
1463
+ class MentionSentiment
1464
+ attr_accessor sentiment: ("POSITIVE" | "NEGATIVE" | "NEUTRAL" | "MIXED")
1465
+ attr_accessor sentiment_score: Types::SentimentScore
1466
+ SENSITIVE: []
1467
+ end
1468
+
1469
+ class OutputDataConfig
1470
+ attr_accessor s3_uri: ::String
1471
+ attr_accessor kms_key_id: ::String
1472
+ SENSITIVE: []
1473
+ end
1474
+
1475
+ class PartOfSpeechTag
1476
+ attr_accessor tag: ("ADJ" | "ADP" | "ADV" | "AUX" | "CONJ" | "CCONJ" | "DET" | "INTJ" | "NOUN" | "NUM" | "O" | "PART" | "PRON" | "PROPN" | "PUNCT" | "SCONJ" | "SYM" | "VERB")
1477
+ attr_accessor score: ::Float
1478
+ SENSITIVE: []
1479
+ end
1480
+
1481
+ class PiiEntitiesDetectionJobFilter
1482
+ attr_accessor job_name: ::String
1483
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1484
+ attr_accessor submit_time_before: ::Time
1485
+ attr_accessor submit_time_after: ::Time
1486
+ SENSITIVE: []
1487
+ end
1488
+
1489
+ class PiiEntitiesDetectionJobProperties
1490
+ attr_accessor job_id: ::String
1491
+ attr_accessor job_arn: ::String
1492
+ attr_accessor job_name: ::String
1493
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1494
+ attr_accessor message: ::String
1495
+ attr_accessor submit_time: ::Time
1496
+ attr_accessor end_time: ::Time
1497
+ attr_accessor input_data_config: Types::InputDataConfig
1498
+ attr_accessor output_data_config: Types::PiiOutputDataConfig
1499
+ attr_accessor redaction_config: Types::RedactionConfig
1500
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1501
+ attr_accessor data_access_role_arn: ::String
1502
+ attr_accessor mode: ("ONLY_REDACTION" | "ONLY_OFFSETS")
1503
+ SENSITIVE: []
1504
+ end
1505
+
1506
+ class PiiEntity
1507
+ attr_accessor score: ::Float
1508
+ attr_accessor type: ("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")
1509
+ attr_accessor begin_offset: ::Integer
1510
+ attr_accessor end_offset: ::Integer
1511
+ SENSITIVE: []
1512
+ end
1513
+
1514
+ class PiiOutputDataConfig
1515
+ attr_accessor s3_uri: ::String
1516
+ attr_accessor kms_key_id: ::String
1517
+ SENSITIVE: []
1518
+ end
1519
+
1520
+ class Point
1521
+ attr_accessor x: ::Float
1522
+ attr_accessor y: ::Float
1523
+ SENSITIVE: []
1524
+ end
1525
+
1526
+ class PutResourcePolicyRequest
1527
+ attr_accessor resource_arn: ::String
1528
+ attr_accessor resource_policy: ::String
1529
+ attr_accessor policy_revision_id: ::String
1530
+ SENSITIVE: []
1531
+ end
1532
+
1533
+ class PutResourcePolicyResponse
1534
+ attr_accessor policy_revision_id: ::String
1535
+ SENSITIVE: []
1536
+ end
1537
+
1538
+ class RedactionConfig
1539
+ attr_accessor 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")]
1540
+ attr_accessor mask_mode: ("MASK" | "REPLACE_WITH_PII_ENTITY_TYPE")
1541
+ attr_accessor mask_character: ::String
1542
+ SENSITIVE: []
1543
+ end
1544
+
1545
+ class RelationshipsListItem
1546
+ attr_accessor ids: ::Array[::String]
1547
+ attr_accessor type: ("CHILD")
1548
+ SENSITIVE: []
1549
+ end
1550
+
1551
+ class ResourceInUseException
1552
+ attr_accessor message: ::String
1553
+ SENSITIVE: []
1554
+ end
1555
+
1556
+ class ResourceLimitExceededException
1557
+ attr_accessor message: ::String
1558
+ SENSITIVE: []
1559
+ end
1560
+
1561
+ class ResourceNotFoundException
1562
+ attr_accessor message: ::String
1563
+ SENSITIVE: []
1564
+ end
1565
+
1566
+ class ResourceUnavailableException
1567
+ attr_accessor message: ::String
1568
+ SENSITIVE: []
1569
+ end
1570
+
1571
+ class SentimentDetectionJobFilter
1572
+ attr_accessor job_name: ::String
1573
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1574
+ attr_accessor submit_time_before: ::Time
1575
+ attr_accessor submit_time_after: ::Time
1576
+ SENSITIVE: []
1577
+ end
1578
+
1579
+ class SentimentDetectionJobProperties
1580
+ attr_accessor job_id: ::String
1581
+ attr_accessor job_arn: ::String
1582
+ attr_accessor job_name: ::String
1583
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1584
+ attr_accessor message: ::String
1585
+ attr_accessor submit_time: ::Time
1586
+ attr_accessor end_time: ::Time
1587
+ attr_accessor input_data_config: Types::InputDataConfig
1588
+ attr_accessor output_data_config: Types::OutputDataConfig
1589
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1590
+ attr_accessor data_access_role_arn: ::String
1591
+ attr_accessor volume_kms_key_id: ::String
1592
+ attr_accessor vpc_config: Types::VpcConfig
1593
+ SENSITIVE: []
1594
+ end
1595
+
1596
+ class SentimentScore
1597
+ attr_accessor positive: ::Float
1598
+ attr_accessor negative: ::Float
1599
+ attr_accessor neutral: ::Float
1600
+ attr_accessor mixed: ::Float
1601
+ SENSITIVE: []
1602
+ end
1603
+
1604
+ class StartDocumentClassificationJobRequest
1605
+ attr_accessor job_name: ::String
1606
+ attr_accessor document_classifier_arn: ::String
1607
+ attr_accessor input_data_config: Types::InputDataConfig
1608
+ attr_accessor output_data_config: Types::OutputDataConfig
1609
+ attr_accessor data_access_role_arn: ::String
1610
+ attr_accessor client_request_token: ::String
1611
+ attr_accessor volume_kms_key_id: ::String
1612
+ attr_accessor vpc_config: Types::VpcConfig
1613
+ attr_accessor tags: ::Array[Types::Tag]
1614
+ attr_accessor flywheel_arn: ::String
1615
+ SENSITIVE: []
1616
+ end
1617
+
1618
+ class StartDocumentClassificationJobResponse
1619
+ attr_accessor job_id: ::String
1620
+ attr_accessor job_arn: ::String
1621
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1622
+ attr_accessor document_classifier_arn: ::String
1623
+ SENSITIVE: []
1624
+ end
1625
+
1626
+ class StartDominantLanguageDetectionJobRequest
1627
+ attr_accessor input_data_config: Types::InputDataConfig
1628
+ attr_accessor output_data_config: Types::OutputDataConfig
1629
+ attr_accessor data_access_role_arn: ::String
1630
+ attr_accessor job_name: ::String
1631
+ attr_accessor client_request_token: ::String
1632
+ attr_accessor volume_kms_key_id: ::String
1633
+ attr_accessor vpc_config: Types::VpcConfig
1634
+ attr_accessor tags: ::Array[Types::Tag]
1635
+ SENSITIVE: []
1636
+ end
1637
+
1638
+ class StartDominantLanguageDetectionJobResponse
1639
+ attr_accessor job_id: ::String
1640
+ attr_accessor job_arn: ::String
1641
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1642
+ SENSITIVE: []
1643
+ end
1644
+
1645
+ class StartEntitiesDetectionJobRequest
1646
+ attr_accessor input_data_config: Types::InputDataConfig
1647
+ attr_accessor output_data_config: Types::OutputDataConfig
1648
+ attr_accessor data_access_role_arn: ::String
1649
+ attr_accessor job_name: ::String
1650
+ attr_accessor entity_recognizer_arn: ::String
1651
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1652
+ attr_accessor client_request_token: ::String
1653
+ attr_accessor volume_kms_key_id: ::String
1654
+ attr_accessor vpc_config: Types::VpcConfig
1655
+ attr_accessor tags: ::Array[Types::Tag]
1656
+ attr_accessor flywheel_arn: ::String
1657
+ SENSITIVE: []
1658
+ end
1659
+
1660
+ class StartEntitiesDetectionJobResponse
1661
+ attr_accessor job_id: ::String
1662
+ attr_accessor job_arn: ::String
1663
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1664
+ attr_accessor entity_recognizer_arn: ::String
1665
+ SENSITIVE: []
1666
+ end
1667
+
1668
+ class StartEventsDetectionJobRequest
1669
+ attr_accessor input_data_config: Types::InputDataConfig
1670
+ attr_accessor output_data_config: Types::OutputDataConfig
1671
+ attr_accessor data_access_role_arn: ::String
1672
+ attr_accessor job_name: ::String
1673
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1674
+ attr_accessor client_request_token: ::String
1675
+ attr_accessor target_event_types: ::Array[::String]
1676
+ attr_accessor tags: ::Array[Types::Tag]
1677
+ SENSITIVE: []
1678
+ end
1679
+
1680
+ class StartEventsDetectionJobResponse
1681
+ attr_accessor job_id: ::String
1682
+ attr_accessor job_arn: ::String
1683
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1684
+ SENSITIVE: []
1685
+ end
1686
+
1687
+ class StartFlywheelIterationRequest
1688
+ attr_accessor flywheel_arn: ::String
1689
+ attr_accessor client_request_token: ::String
1690
+ SENSITIVE: []
1691
+ end
1692
+
1693
+ class StartFlywheelIterationResponse
1694
+ attr_accessor flywheel_arn: ::String
1695
+ attr_accessor flywheel_iteration_id: ::String
1696
+ SENSITIVE: []
1697
+ end
1698
+
1699
+ class StartKeyPhrasesDetectionJobRequest
1700
+ attr_accessor input_data_config: Types::InputDataConfig
1701
+ attr_accessor output_data_config: Types::OutputDataConfig
1702
+ attr_accessor data_access_role_arn: ::String
1703
+ attr_accessor job_name: ::String
1704
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1705
+ attr_accessor client_request_token: ::String
1706
+ attr_accessor volume_kms_key_id: ::String
1707
+ attr_accessor vpc_config: Types::VpcConfig
1708
+ attr_accessor tags: ::Array[Types::Tag]
1709
+ SENSITIVE: []
1710
+ end
1711
+
1712
+ class StartKeyPhrasesDetectionJobResponse
1713
+ attr_accessor job_id: ::String
1714
+ attr_accessor job_arn: ::String
1715
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1716
+ SENSITIVE: []
1717
+ end
1718
+
1719
+ class StartPiiEntitiesDetectionJobRequest
1720
+ attr_accessor input_data_config: Types::InputDataConfig
1721
+ attr_accessor output_data_config: Types::OutputDataConfig
1722
+ attr_accessor mode: ("ONLY_REDACTION" | "ONLY_OFFSETS")
1723
+ attr_accessor redaction_config: Types::RedactionConfig
1724
+ attr_accessor data_access_role_arn: ::String
1725
+ attr_accessor job_name: ::String
1726
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1727
+ attr_accessor client_request_token: ::String
1728
+ attr_accessor tags: ::Array[Types::Tag]
1729
+ SENSITIVE: []
1730
+ end
1731
+
1732
+ class StartPiiEntitiesDetectionJobResponse
1733
+ attr_accessor job_id: ::String
1734
+ attr_accessor job_arn: ::String
1735
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1736
+ SENSITIVE: []
1737
+ end
1738
+
1739
+ class StartSentimentDetectionJobRequest
1740
+ attr_accessor input_data_config: Types::InputDataConfig
1741
+ attr_accessor output_data_config: Types::OutputDataConfig
1742
+ attr_accessor data_access_role_arn: ::String
1743
+ attr_accessor job_name: ::String
1744
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1745
+ attr_accessor client_request_token: ::String
1746
+ attr_accessor volume_kms_key_id: ::String
1747
+ attr_accessor vpc_config: Types::VpcConfig
1748
+ attr_accessor tags: ::Array[Types::Tag]
1749
+ SENSITIVE: []
1750
+ end
1751
+
1752
+ class StartSentimentDetectionJobResponse
1753
+ attr_accessor job_id: ::String
1754
+ attr_accessor job_arn: ::String
1755
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1756
+ SENSITIVE: []
1757
+ end
1758
+
1759
+ class StartTargetedSentimentDetectionJobRequest
1760
+ attr_accessor input_data_config: Types::InputDataConfig
1761
+ attr_accessor output_data_config: Types::OutputDataConfig
1762
+ attr_accessor data_access_role_arn: ::String
1763
+ attr_accessor job_name: ::String
1764
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1765
+ attr_accessor client_request_token: ::String
1766
+ attr_accessor volume_kms_key_id: ::String
1767
+ attr_accessor vpc_config: Types::VpcConfig
1768
+ attr_accessor tags: ::Array[Types::Tag]
1769
+ SENSITIVE: []
1770
+ end
1771
+
1772
+ class StartTargetedSentimentDetectionJobResponse
1773
+ attr_accessor job_id: ::String
1774
+ attr_accessor job_arn: ::String
1775
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1776
+ SENSITIVE: []
1777
+ end
1778
+
1779
+ class StartTopicsDetectionJobRequest
1780
+ attr_accessor input_data_config: Types::InputDataConfig
1781
+ attr_accessor output_data_config: Types::OutputDataConfig
1782
+ attr_accessor data_access_role_arn: ::String
1783
+ attr_accessor job_name: ::String
1784
+ attr_accessor number_of_topics: ::Integer
1785
+ attr_accessor client_request_token: ::String
1786
+ attr_accessor volume_kms_key_id: ::String
1787
+ attr_accessor vpc_config: Types::VpcConfig
1788
+ attr_accessor tags: ::Array[Types::Tag]
1789
+ SENSITIVE: []
1790
+ end
1791
+
1792
+ class StartTopicsDetectionJobResponse
1793
+ attr_accessor job_id: ::String
1794
+ attr_accessor job_arn: ::String
1795
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1796
+ SENSITIVE: []
1797
+ end
1798
+
1799
+ class StopDominantLanguageDetectionJobRequest
1800
+ attr_accessor job_id: ::String
1801
+ SENSITIVE: []
1802
+ end
1803
+
1804
+ class StopDominantLanguageDetectionJobResponse
1805
+ attr_accessor job_id: ::String
1806
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1807
+ SENSITIVE: []
1808
+ end
1809
+
1810
+ class StopEntitiesDetectionJobRequest
1811
+ attr_accessor job_id: ::String
1812
+ SENSITIVE: []
1813
+ end
1814
+
1815
+ class StopEntitiesDetectionJobResponse
1816
+ attr_accessor job_id: ::String
1817
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1818
+ SENSITIVE: []
1819
+ end
1820
+
1821
+ class StopEventsDetectionJobRequest
1822
+ attr_accessor job_id: ::String
1823
+ SENSITIVE: []
1824
+ end
1825
+
1826
+ class StopEventsDetectionJobResponse
1827
+ attr_accessor job_id: ::String
1828
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1829
+ SENSITIVE: []
1830
+ end
1831
+
1832
+ class StopKeyPhrasesDetectionJobRequest
1833
+ attr_accessor job_id: ::String
1834
+ SENSITIVE: []
1835
+ end
1836
+
1837
+ class StopKeyPhrasesDetectionJobResponse
1838
+ attr_accessor job_id: ::String
1839
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1840
+ SENSITIVE: []
1841
+ end
1842
+
1843
+ class StopPiiEntitiesDetectionJobRequest
1844
+ attr_accessor job_id: ::String
1845
+ SENSITIVE: []
1846
+ end
1847
+
1848
+ class StopPiiEntitiesDetectionJobResponse
1849
+ attr_accessor job_id: ::String
1850
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1851
+ SENSITIVE: []
1852
+ end
1853
+
1854
+ class StopSentimentDetectionJobRequest
1855
+ attr_accessor job_id: ::String
1856
+ SENSITIVE: []
1857
+ end
1858
+
1859
+ class StopSentimentDetectionJobResponse
1860
+ attr_accessor job_id: ::String
1861
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1862
+ SENSITIVE: []
1863
+ end
1864
+
1865
+ class StopTargetedSentimentDetectionJobRequest
1866
+ attr_accessor job_id: ::String
1867
+ SENSITIVE: []
1868
+ end
1869
+
1870
+ class StopTargetedSentimentDetectionJobResponse
1871
+ attr_accessor job_id: ::String
1872
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1873
+ SENSITIVE: []
1874
+ end
1875
+
1876
+ class StopTrainingDocumentClassifierRequest
1877
+ attr_accessor document_classifier_arn: ::String
1878
+ SENSITIVE: []
1879
+ end
1880
+
1881
+ class StopTrainingDocumentClassifierResponse < Aws::EmptyStructure
1882
+ end
1883
+
1884
+ class StopTrainingEntityRecognizerRequest
1885
+ attr_accessor entity_recognizer_arn: ::String
1886
+ SENSITIVE: []
1887
+ end
1888
+
1889
+ class StopTrainingEntityRecognizerResponse < Aws::EmptyStructure
1890
+ end
1891
+
1892
+ class SyntaxToken
1893
+ attr_accessor token_id: ::Integer
1894
+ attr_accessor text: ::String
1895
+ attr_accessor begin_offset: ::Integer
1896
+ attr_accessor end_offset: ::Integer
1897
+ attr_accessor part_of_speech: Types::PartOfSpeechTag
1898
+ SENSITIVE: []
1899
+ end
1900
+
1901
+ class Tag
1902
+ attr_accessor key: ::String
1903
+ attr_accessor value: ::String
1904
+ SENSITIVE: []
1905
+ end
1906
+
1907
+ class TagResourceRequest
1908
+ attr_accessor resource_arn: ::String
1909
+ attr_accessor tags: ::Array[Types::Tag]
1910
+ SENSITIVE: []
1911
+ end
1912
+
1913
+ class TagResourceResponse < Aws::EmptyStructure
1914
+ end
1915
+
1916
+ class TargetedSentimentDetectionJobFilter
1917
+ attr_accessor job_name: ::String
1918
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1919
+ attr_accessor submit_time_before: ::Time
1920
+ attr_accessor submit_time_after: ::Time
1921
+ SENSITIVE: []
1922
+ end
1923
+
1924
+ class TargetedSentimentDetectionJobProperties
1925
+ attr_accessor job_id: ::String
1926
+ attr_accessor job_arn: ::String
1927
+ attr_accessor job_name: ::String
1928
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1929
+ attr_accessor message: ::String
1930
+ attr_accessor submit_time: ::Time
1931
+ attr_accessor end_time: ::Time
1932
+ attr_accessor input_data_config: Types::InputDataConfig
1933
+ attr_accessor output_data_config: Types::OutputDataConfig
1934
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1935
+ attr_accessor data_access_role_arn: ::String
1936
+ attr_accessor volume_kms_key_id: ::String
1937
+ attr_accessor vpc_config: Types::VpcConfig
1938
+ SENSITIVE: []
1939
+ end
1940
+
1941
+ class TargetedSentimentEntity
1942
+ attr_accessor descriptive_mention_index: ::Array[::Integer]
1943
+ attr_accessor mentions: ::Array[Types::TargetedSentimentMention]
1944
+ SENSITIVE: []
1945
+ end
1946
+
1947
+ class TargetedSentimentMention
1948
+ attr_accessor score: ::Float
1949
+ attr_accessor group_score: ::Float
1950
+ attr_accessor text: ::String
1951
+ attr_accessor type: ("PERSON" | "LOCATION" | "ORGANIZATION" | "FACILITY" | "BRAND" | "COMMERCIAL_ITEM" | "MOVIE" | "MUSIC" | "BOOK" | "SOFTWARE" | "GAME" | "PERSONAL_TITLE" | "EVENT" | "DATE" | "QUANTITY" | "ATTRIBUTE" | "OTHER")
1952
+ attr_accessor mention_sentiment: Types::MentionSentiment
1953
+ attr_accessor begin_offset: ::Integer
1954
+ attr_accessor end_offset: ::Integer
1955
+ SENSITIVE: []
1956
+ end
1957
+
1958
+ class TaskConfig
1959
+ attr_accessor language_code: ("en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW")
1960
+ attr_accessor document_classification_config: Types::DocumentClassificationConfig
1961
+ attr_accessor entity_recognition_config: Types::EntityRecognitionConfig
1962
+ SENSITIVE: []
1963
+ end
1964
+
1965
+ class TextSegment
1966
+ attr_accessor text: ::String
1967
+ SENSITIVE: [:text]
1968
+ end
1969
+
1970
+ class TextSizeLimitExceededException
1971
+ attr_accessor message: ::String
1972
+ SENSITIVE: []
1973
+ end
1974
+
1975
+ class TooManyRequestsException
1976
+ attr_accessor message: ::String
1977
+ SENSITIVE: []
1978
+ end
1979
+
1980
+ class TooManyTagKeysException
1981
+ attr_accessor message: ::String
1982
+ SENSITIVE: []
1983
+ end
1984
+
1985
+ class TooManyTagsException
1986
+ attr_accessor message: ::String
1987
+ SENSITIVE: []
1988
+ end
1989
+
1990
+ class TopicsDetectionJobFilter
1991
+ attr_accessor job_name: ::String
1992
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
1993
+ attr_accessor submit_time_before: ::Time
1994
+ attr_accessor submit_time_after: ::Time
1995
+ SENSITIVE: []
1996
+ end
1997
+
1998
+ class TopicsDetectionJobProperties
1999
+ attr_accessor job_id: ::String
2000
+ attr_accessor job_arn: ::String
2001
+ attr_accessor job_name: ::String
2002
+ attr_accessor job_status: ("SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED")
2003
+ attr_accessor message: ::String
2004
+ attr_accessor submit_time: ::Time
2005
+ attr_accessor end_time: ::Time
2006
+ attr_accessor input_data_config: Types::InputDataConfig
2007
+ attr_accessor output_data_config: Types::OutputDataConfig
2008
+ attr_accessor number_of_topics: ::Integer
2009
+ attr_accessor data_access_role_arn: ::String
2010
+ attr_accessor volume_kms_key_id: ::String
2011
+ attr_accessor vpc_config: Types::VpcConfig
2012
+ SENSITIVE: []
2013
+ end
2014
+
2015
+ class ToxicContent
2016
+ attr_accessor name: ("GRAPHIC" | "HARASSMENT_OR_ABUSE" | "HATE_SPEECH" | "INSULT" | "PROFANITY" | "SEXUAL" | "VIOLENCE_OR_THREAT")
2017
+ attr_accessor score: ::Float
2018
+ SENSITIVE: []
2019
+ end
2020
+
2021
+ class ToxicLabels
2022
+ attr_accessor labels: ::Array[Types::ToxicContent]
2023
+ attr_accessor toxicity: ::Float
2024
+ SENSITIVE: []
2025
+ end
2026
+
2027
+ class UnsupportedLanguageException
2028
+ attr_accessor message: ::String
2029
+ SENSITIVE: []
2030
+ end
2031
+
2032
+ class UntagResourceRequest
2033
+ attr_accessor resource_arn: ::String
2034
+ attr_accessor tag_keys: ::Array[::String]
2035
+ SENSITIVE: []
2036
+ end
2037
+
2038
+ class UntagResourceResponse < Aws::EmptyStructure
2039
+ end
2040
+
2041
+ class UpdateDataSecurityConfig
2042
+ attr_accessor model_kms_key_id: ::String
2043
+ attr_accessor volume_kms_key_id: ::String
2044
+ attr_accessor vpc_config: Types::VpcConfig
2045
+ SENSITIVE: []
2046
+ end
2047
+
2048
+ class UpdateEndpointRequest
2049
+ attr_accessor endpoint_arn: ::String
2050
+ attr_accessor desired_model_arn: ::String
2051
+ attr_accessor desired_inference_units: ::Integer
2052
+ attr_accessor desired_data_access_role_arn: ::String
2053
+ attr_accessor flywheel_arn: ::String
2054
+ SENSITIVE: []
2055
+ end
2056
+
2057
+ class UpdateEndpointResponse
2058
+ attr_accessor desired_model_arn: ::String
2059
+ SENSITIVE: []
2060
+ end
2061
+
2062
+ class UpdateFlywheelRequest
2063
+ attr_accessor flywheel_arn: ::String
2064
+ attr_accessor active_model_arn: ::String
2065
+ attr_accessor data_access_role_arn: ::String
2066
+ attr_accessor data_security_config: Types::UpdateDataSecurityConfig
2067
+ SENSITIVE: []
2068
+ end
2069
+
2070
+ class UpdateFlywheelResponse
2071
+ attr_accessor flywheel_properties: Types::FlywheelProperties
2072
+ SENSITIVE: []
2073
+ end
2074
+
2075
+ class VpcConfig
2076
+ attr_accessor security_group_ids: ::Array[::String]
2077
+ attr_accessor subnets: ::Array[::String]
2078
+ SENSITIVE: []
2079
+ end
2080
+
2081
+ class WarningsListItem
2082
+ attr_accessor page: ::Integer
2083
+ attr_accessor warn_code: ("INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL" | "INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL")
2084
+ attr_accessor warn_message: ::String
2085
+ SENSITIVE: []
2086
+ end
2087
+ end
2088
+ end