aws-sdk-comprehend 1.47.0 → 1.51.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef483dc3640138df9958b2e5c82316e39eb4fbfa8ae5a956d898df6cb2af90d2
4
- data.tar.gz: b3173670c33ed8cf311b8e5342a339d7ce223e40ba192b11cf0afdb4b570e182
3
+ metadata.gz: 6a9828628812834dcbad9932c47945231e7ba7f05b3948b59a349d0c7058f09f
4
+ data.tar.gz: 5141ec47d75e05488aa0fd4304c573d2e903b4072d7215f45aa30b1a42c33f80
5
5
  SHA512:
6
- metadata.gz: 1081b027bbaa8d97a2beb3b5e77ae2dbc6db00664cc4983d9e3954e7949337371e462f8aacc743f01bc75919908cbb53b102dea34a8f001eceddfafeebf52eb9
7
- data.tar.gz: 1f01a7232ef05809c637f4618d3edd384c952f5146140716e5b3b71e5cd5386b4cde61a4e1805332ff1fe1c6e388e58a7b265680e5f86561ead7c6c0791b7934
6
+ metadata.gz: 1f350f13013eb12272326dc8aea2df7dbf74d5e2ee2810febfcfd2badd7ae7169f1a68cff10b8dde8a8bdce477064169bf61a26f3bbf4e5b57077cf0ddd2fc1b
7
+ data.tar.gz: 4d40609712cf892f49e69f14b20e7a4f4c781b4803336e0bc2803eb4839d5ff072e8143c3d31b74ae10a02b6055349a22374ee72b9123b25c2af5cc5ebcf472d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2021-09-14)
5
+ ------------------
6
+
7
+ * Feature - Amazon Comprehend now allows you to train and run PDF and Word documents for custom entity recognition. With PDF and Word formats, you can extract information from documents containing headers, lists and tables.
8
+
9
+ 1.50.0 (2021-09-01)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.49.0 (2021-08-20)
15
+ ------------------
16
+
17
+ * Feature - Add tagging support for Comprehend async inference job.
18
+
19
+ 1.48.0 (2021-07-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.47.0 (2021-07-28)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.47.0
1
+ 1.51.0
@@ -761,6 +761,9 @@ module Aws::Comprehend
761
761
  # {
762
762
  # s3_uri: "S3Uri", # required
763
763
  # attribute_names: ["AttributeNamesListItem"], # required
764
+ # annotation_data_s3_uri: "S3Uri",
765
+ # source_documents_s3_uri: "S3Uri",
766
+ # document_type: "PLAIN_TEXT_DOCUMENT", # accepts PLAIN_TEXT_DOCUMENT, SEMI_STRUCTURED_DOCUMENT
764
767
  # },
765
768
  # ],
766
769
  # },
@@ -965,6 +968,9 @@ module Aws::Comprehend
965
968
  # {
966
969
  # s3_uri: "S3Uri", # required
967
970
  # attribute_names: ["AttributeNamesListItem"], # required
971
+ # annotation_data_s3_uri: "S3Uri",
972
+ # source_documents_s3_uri: "S3Uri",
973
+ # document_type: "PLAIN_TEXT_DOCUMENT", # accepts PLAIN_TEXT_DOCUMENT, SEMI_STRUCTURED_DOCUMENT
968
974
  # },
969
975
  # ],
970
976
  # },
@@ -1098,6 +1104,7 @@ module Aws::Comprehend
1098
1104
  # @example Response structure
1099
1105
  #
1100
1106
  # resp.document_classification_job_properties.job_id #=> String
1107
+ # resp.document_classification_job_properties.job_arn #=> String
1101
1108
  # resp.document_classification_job_properties.job_name #=> String
1102
1109
  # resp.document_classification_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
1103
1110
  # resp.document_classification_job_properties.message #=> String
@@ -1106,6 +1113,10 @@ module Aws::Comprehend
1106
1113
  # resp.document_classification_job_properties.document_classifier_arn #=> String
1107
1114
  # resp.document_classification_job_properties.input_data_config.s3_uri #=> String
1108
1115
  # resp.document_classification_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1116
+ # resp.document_classification_job_properties.input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
1117
+ # resp.document_classification_job_properties.input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
1118
+ # resp.document_classification_job_properties.input_data_config.document_reader_config.feature_types #=> Array
1119
+ # resp.document_classification_job_properties.input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
1109
1120
  # resp.document_classification_job_properties.output_data_config.s3_uri #=> String
1110
1121
  # resp.document_classification_job_properties.output_data_config.kms_key_id #=> String
1111
1122
  # resp.document_classification_job_properties.data_access_role_arn #=> String
@@ -1157,6 +1168,9 @@ module Aws::Comprehend
1157
1168
  # resp.document_classifier_properties.input_data_config.augmented_manifests[0].s3_uri #=> String
1158
1169
  # resp.document_classifier_properties.input_data_config.augmented_manifests[0].attribute_names #=> Array
1159
1170
  # resp.document_classifier_properties.input_data_config.augmented_manifests[0].attribute_names[0] #=> String
1171
+ # resp.document_classifier_properties.input_data_config.augmented_manifests[0].annotation_data_s3_uri #=> String
1172
+ # resp.document_classifier_properties.input_data_config.augmented_manifests[0].source_documents_s3_uri #=> String
1173
+ # resp.document_classifier_properties.input_data_config.augmented_manifests[0].document_type #=> String, one of "PLAIN_TEXT_DOCUMENT", "SEMI_STRUCTURED_DOCUMENT"
1160
1174
  # resp.document_classifier_properties.output_data_config.s3_uri #=> String
1161
1175
  # resp.document_classifier_properties.output_data_config.kms_key_id #=> String
1162
1176
  # resp.document_classifier_properties.classifier_metadata.number_of_labels #=> Integer
@@ -1208,6 +1222,7 @@ module Aws::Comprehend
1208
1222
  # @example Response structure
1209
1223
  #
1210
1224
  # resp.dominant_language_detection_job_properties.job_id #=> String
1225
+ # resp.dominant_language_detection_job_properties.job_arn #=> String
1211
1226
  # resp.dominant_language_detection_job_properties.job_name #=> String
1212
1227
  # resp.dominant_language_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
1213
1228
  # resp.dominant_language_detection_job_properties.message #=> String
@@ -1215,6 +1230,10 @@ module Aws::Comprehend
1215
1230
  # resp.dominant_language_detection_job_properties.end_time #=> Time
1216
1231
  # resp.dominant_language_detection_job_properties.input_data_config.s3_uri #=> String
1217
1232
  # resp.dominant_language_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1233
+ # resp.dominant_language_detection_job_properties.input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
1234
+ # resp.dominant_language_detection_job_properties.input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
1235
+ # resp.dominant_language_detection_job_properties.input_data_config.document_reader_config.feature_types #=> Array
1236
+ # resp.dominant_language_detection_job_properties.input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
1218
1237
  # resp.dominant_language_detection_job_properties.output_data_config.s3_uri #=> String
1219
1238
  # resp.dominant_language_detection_job_properties.output_data_config.kms_key_id #=> String
1220
1239
  # resp.dominant_language_detection_job_properties.data_access_role_arn #=> String
@@ -1290,6 +1309,7 @@ module Aws::Comprehend
1290
1309
  # @example Response structure
1291
1310
  #
1292
1311
  # resp.entities_detection_job_properties.job_id #=> String
1312
+ # resp.entities_detection_job_properties.job_arn #=> String
1293
1313
  # resp.entities_detection_job_properties.job_name #=> String
1294
1314
  # resp.entities_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
1295
1315
  # resp.entities_detection_job_properties.message #=> String
@@ -1298,6 +1318,10 @@ module Aws::Comprehend
1298
1318
  # resp.entities_detection_job_properties.entity_recognizer_arn #=> String
1299
1319
  # resp.entities_detection_job_properties.input_data_config.s3_uri #=> String
1300
1320
  # resp.entities_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1321
+ # resp.entities_detection_job_properties.input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
1322
+ # resp.entities_detection_job_properties.input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
1323
+ # resp.entities_detection_job_properties.input_data_config.document_reader_config.feature_types #=> Array
1324
+ # resp.entities_detection_job_properties.input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
1301
1325
  # resp.entities_detection_job_properties.output_data_config.s3_uri #=> String
1302
1326
  # resp.entities_detection_job_properties.output_data_config.kms_key_id #=> String
1303
1327
  # resp.entities_detection_job_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
@@ -1354,6 +1378,9 @@ module Aws::Comprehend
1354
1378
  # resp.entity_recognizer_properties.input_data_config.augmented_manifests[0].s3_uri #=> String
1355
1379
  # resp.entity_recognizer_properties.input_data_config.augmented_manifests[0].attribute_names #=> Array
1356
1380
  # resp.entity_recognizer_properties.input_data_config.augmented_manifests[0].attribute_names[0] #=> String
1381
+ # resp.entity_recognizer_properties.input_data_config.augmented_manifests[0].annotation_data_s3_uri #=> String
1382
+ # resp.entity_recognizer_properties.input_data_config.augmented_manifests[0].source_documents_s3_uri #=> String
1383
+ # resp.entity_recognizer_properties.input_data_config.augmented_manifests[0].document_type #=> String, one of "PLAIN_TEXT_DOCUMENT", "SEMI_STRUCTURED_DOCUMENT"
1357
1384
  # resp.entity_recognizer_properties.recognizer_metadata.number_of_trained_documents #=> Integer
1358
1385
  # resp.entity_recognizer_properties.recognizer_metadata.number_of_test_documents #=> Integer
1359
1386
  # resp.entity_recognizer_properties.recognizer_metadata.evaluation_metrics.precision #=> Float
@@ -1400,6 +1427,7 @@ module Aws::Comprehend
1400
1427
  # @example Response structure
1401
1428
  #
1402
1429
  # resp.events_detection_job_properties.job_id #=> String
1430
+ # resp.events_detection_job_properties.job_arn #=> String
1403
1431
  # resp.events_detection_job_properties.job_name #=> String
1404
1432
  # resp.events_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
1405
1433
  # resp.events_detection_job_properties.message #=> String
@@ -1407,6 +1435,10 @@ module Aws::Comprehend
1407
1435
  # resp.events_detection_job_properties.end_time #=> Time
1408
1436
  # resp.events_detection_job_properties.input_data_config.s3_uri #=> String
1409
1437
  # resp.events_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1438
+ # resp.events_detection_job_properties.input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
1439
+ # resp.events_detection_job_properties.input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
1440
+ # resp.events_detection_job_properties.input_data_config.document_reader_config.feature_types #=> Array
1441
+ # resp.events_detection_job_properties.input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
1410
1442
  # resp.events_detection_job_properties.output_data_config.s3_uri #=> String
1411
1443
  # resp.events_detection_job_properties.output_data_config.kms_key_id #=> String
1412
1444
  # resp.events_detection_job_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
@@ -1443,6 +1475,7 @@ module Aws::Comprehend
1443
1475
  # @example Response structure
1444
1476
  #
1445
1477
  # resp.key_phrases_detection_job_properties.job_id #=> String
1478
+ # resp.key_phrases_detection_job_properties.job_arn #=> String
1446
1479
  # resp.key_phrases_detection_job_properties.job_name #=> String
1447
1480
  # resp.key_phrases_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
1448
1481
  # resp.key_phrases_detection_job_properties.message #=> String
@@ -1450,6 +1483,10 @@ module Aws::Comprehend
1450
1483
  # resp.key_phrases_detection_job_properties.end_time #=> Time
1451
1484
  # resp.key_phrases_detection_job_properties.input_data_config.s3_uri #=> String
1452
1485
  # resp.key_phrases_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1486
+ # resp.key_phrases_detection_job_properties.input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
1487
+ # resp.key_phrases_detection_job_properties.input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
1488
+ # resp.key_phrases_detection_job_properties.input_data_config.document_reader_config.feature_types #=> Array
1489
+ # resp.key_phrases_detection_job_properties.input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
1453
1490
  # resp.key_phrases_detection_job_properties.output_data_config.s3_uri #=> String
1454
1491
  # resp.key_phrases_detection_job_properties.output_data_config.kms_key_id #=> String
1455
1492
  # resp.key_phrases_detection_job_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
@@ -1489,6 +1526,7 @@ module Aws::Comprehend
1489
1526
  # @example Response structure
1490
1527
  #
1491
1528
  # resp.pii_entities_detection_job_properties.job_id #=> String
1529
+ # resp.pii_entities_detection_job_properties.job_arn #=> String
1492
1530
  # resp.pii_entities_detection_job_properties.job_name #=> String
1493
1531
  # resp.pii_entities_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
1494
1532
  # resp.pii_entities_detection_job_properties.message #=> String
@@ -1496,6 +1534,10 @@ module Aws::Comprehend
1496
1534
  # resp.pii_entities_detection_job_properties.end_time #=> Time
1497
1535
  # resp.pii_entities_detection_job_properties.input_data_config.s3_uri #=> String
1498
1536
  # resp.pii_entities_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1537
+ # resp.pii_entities_detection_job_properties.input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
1538
+ # resp.pii_entities_detection_job_properties.input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
1539
+ # resp.pii_entities_detection_job_properties.input_data_config.document_reader_config.feature_types #=> Array
1540
+ # resp.pii_entities_detection_job_properties.input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
1499
1541
  # resp.pii_entities_detection_job_properties.output_data_config.s3_uri #=> String
1500
1542
  # resp.pii_entities_detection_job_properties.output_data_config.kms_key_id #=> String
1501
1543
  # resp.pii_entities_detection_job_properties.redaction_config.pii_entity_types #=> Array
@@ -1535,6 +1577,7 @@ module Aws::Comprehend
1535
1577
  # @example Response structure
1536
1578
  #
1537
1579
  # resp.sentiment_detection_job_properties.job_id #=> String
1580
+ # resp.sentiment_detection_job_properties.job_arn #=> String
1538
1581
  # resp.sentiment_detection_job_properties.job_name #=> String
1539
1582
  # resp.sentiment_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
1540
1583
  # resp.sentiment_detection_job_properties.message #=> String
@@ -1542,6 +1585,10 @@ module Aws::Comprehend
1542
1585
  # resp.sentiment_detection_job_properties.end_time #=> Time
1543
1586
  # resp.sentiment_detection_job_properties.input_data_config.s3_uri #=> String
1544
1587
  # resp.sentiment_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1588
+ # resp.sentiment_detection_job_properties.input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
1589
+ # resp.sentiment_detection_job_properties.input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
1590
+ # resp.sentiment_detection_job_properties.input_data_config.document_reader_config.feature_types #=> Array
1591
+ # resp.sentiment_detection_job_properties.input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
1545
1592
  # resp.sentiment_detection_job_properties.output_data_config.s3_uri #=> String
1546
1593
  # resp.sentiment_detection_job_properties.output_data_config.kms_key_id #=> String
1547
1594
  # resp.sentiment_detection_job_properties.language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
@@ -1580,6 +1627,7 @@ module Aws::Comprehend
1580
1627
  # @example Response structure
1581
1628
  #
1582
1629
  # resp.topics_detection_job_properties.job_id #=> String
1630
+ # resp.topics_detection_job_properties.job_arn #=> String
1583
1631
  # resp.topics_detection_job_properties.job_name #=> String
1584
1632
  # resp.topics_detection_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
1585
1633
  # resp.topics_detection_job_properties.message #=> String
@@ -1587,6 +1635,10 @@ module Aws::Comprehend
1587
1635
  # resp.topics_detection_job_properties.end_time #=> Time
1588
1636
  # resp.topics_detection_job_properties.input_data_config.s3_uri #=> String
1589
1637
  # resp.topics_detection_job_properties.input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1638
+ # resp.topics_detection_job_properties.input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
1639
+ # resp.topics_detection_job_properties.input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
1640
+ # resp.topics_detection_job_properties.input_data_config.document_reader_config.feature_types #=> Array
1641
+ # resp.topics_detection_job_properties.input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
1590
1642
  # resp.topics_detection_job_properties.output_data_config.s3_uri #=> String
1591
1643
  # resp.topics_detection_job_properties.output_data_config.kms_key_id #=> String
1592
1644
  # resp.topics_detection_job_properties.number_of_topics #=> Integer
@@ -1899,6 +1951,7 @@ module Aws::Comprehend
1899
1951
  #
1900
1952
  # resp.document_classification_job_properties_list #=> Array
1901
1953
  # resp.document_classification_job_properties_list[0].job_id #=> String
1954
+ # resp.document_classification_job_properties_list[0].job_arn #=> String
1902
1955
  # resp.document_classification_job_properties_list[0].job_name #=> String
1903
1956
  # resp.document_classification_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
1904
1957
  # resp.document_classification_job_properties_list[0].message #=> String
@@ -1907,6 +1960,10 @@ module Aws::Comprehend
1907
1960
  # resp.document_classification_job_properties_list[0].document_classifier_arn #=> String
1908
1961
  # resp.document_classification_job_properties_list[0].input_data_config.s3_uri #=> String
1909
1962
  # resp.document_classification_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
1963
+ # resp.document_classification_job_properties_list[0].input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
1964
+ # resp.document_classification_job_properties_list[0].input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
1965
+ # resp.document_classification_job_properties_list[0].input_data_config.document_reader_config.feature_types #=> Array
1966
+ # resp.document_classification_job_properties_list[0].input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
1910
1967
  # resp.document_classification_job_properties_list[0].output_data_config.s3_uri #=> String
1911
1968
  # resp.document_classification_job_properties_list[0].output_data_config.kms_key_id #=> String
1912
1969
  # resp.document_classification_job_properties_list[0].data_access_role_arn #=> String
@@ -1977,6 +2034,9 @@ module Aws::Comprehend
1977
2034
  # resp.document_classifier_properties_list[0].input_data_config.augmented_manifests[0].s3_uri #=> String
1978
2035
  # resp.document_classifier_properties_list[0].input_data_config.augmented_manifests[0].attribute_names #=> Array
1979
2036
  # resp.document_classifier_properties_list[0].input_data_config.augmented_manifests[0].attribute_names[0] #=> String
2037
+ # resp.document_classifier_properties_list[0].input_data_config.augmented_manifests[0].annotation_data_s3_uri #=> String
2038
+ # resp.document_classifier_properties_list[0].input_data_config.augmented_manifests[0].source_documents_s3_uri #=> String
2039
+ # resp.document_classifier_properties_list[0].input_data_config.augmented_manifests[0].document_type #=> String, one of "PLAIN_TEXT_DOCUMENT", "SEMI_STRUCTURED_DOCUMENT"
1980
2040
  # resp.document_classifier_properties_list[0].output_data_config.s3_uri #=> String
1981
2041
  # resp.document_classifier_properties_list[0].output_data_config.kms_key_id #=> String
1982
2042
  # resp.document_classifier_properties_list[0].classifier_metadata.number_of_labels #=> Integer
@@ -2048,6 +2108,7 @@ module Aws::Comprehend
2048
2108
  #
2049
2109
  # resp.dominant_language_detection_job_properties_list #=> Array
2050
2110
  # resp.dominant_language_detection_job_properties_list[0].job_id #=> String
2111
+ # resp.dominant_language_detection_job_properties_list[0].job_arn #=> String
2051
2112
  # resp.dominant_language_detection_job_properties_list[0].job_name #=> String
2052
2113
  # resp.dominant_language_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
2053
2114
  # resp.dominant_language_detection_job_properties_list[0].message #=> String
@@ -2055,6 +2116,10 @@ module Aws::Comprehend
2055
2116
  # resp.dominant_language_detection_job_properties_list[0].end_time #=> Time
2056
2117
  # resp.dominant_language_detection_job_properties_list[0].input_data_config.s3_uri #=> String
2057
2118
  # resp.dominant_language_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
2119
+ # resp.dominant_language_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
2120
+ # resp.dominant_language_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
2121
+ # resp.dominant_language_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types #=> Array
2122
+ # resp.dominant_language_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
2058
2123
  # resp.dominant_language_detection_job_properties_list[0].output_data_config.s3_uri #=> String
2059
2124
  # resp.dominant_language_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
2060
2125
  # resp.dominant_language_detection_job_properties_list[0].data_access_role_arn #=> String
@@ -2167,6 +2232,7 @@ module Aws::Comprehend
2167
2232
  #
2168
2233
  # resp.entities_detection_job_properties_list #=> Array
2169
2234
  # resp.entities_detection_job_properties_list[0].job_id #=> String
2235
+ # resp.entities_detection_job_properties_list[0].job_arn #=> String
2170
2236
  # resp.entities_detection_job_properties_list[0].job_name #=> String
2171
2237
  # resp.entities_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
2172
2238
  # resp.entities_detection_job_properties_list[0].message #=> String
@@ -2175,6 +2241,10 @@ module Aws::Comprehend
2175
2241
  # resp.entities_detection_job_properties_list[0].entity_recognizer_arn #=> String
2176
2242
  # resp.entities_detection_job_properties_list[0].input_data_config.s3_uri #=> String
2177
2243
  # resp.entities_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
2244
+ # resp.entities_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
2245
+ # resp.entities_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
2246
+ # resp.entities_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types #=> Array
2247
+ # resp.entities_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
2178
2248
  # resp.entities_detection_job_properties_list[0].output_data_config.s3_uri #=> String
2179
2249
  # resp.entities_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
2180
2250
  # resp.entities_detection_job_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
@@ -2256,6 +2326,9 @@ module Aws::Comprehend
2256
2326
  # resp.entity_recognizer_properties_list[0].input_data_config.augmented_manifests[0].s3_uri #=> String
2257
2327
  # resp.entity_recognizer_properties_list[0].input_data_config.augmented_manifests[0].attribute_names #=> Array
2258
2328
  # resp.entity_recognizer_properties_list[0].input_data_config.augmented_manifests[0].attribute_names[0] #=> String
2329
+ # resp.entity_recognizer_properties_list[0].input_data_config.augmented_manifests[0].annotation_data_s3_uri #=> String
2330
+ # resp.entity_recognizer_properties_list[0].input_data_config.augmented_manifests[0].source_documents_s3_uri #=> String
2331
+ # resp.entity_recognizer_properties_list[0].input_data_config.augmented_manifests[0].document_type #=> String, one of "PLAIN_TEXT_DOCUMENT", "SEMI_STRUCTURED_DOCUMENT"
2259
2332
  # resp.entity_recognizer_properties_list[0].recognizer_metadata.number_of_trained_documents #=> Integer
2260
2333
  # resp.entity_recognizer_properties_list[0].recognizer_metadata.number_of_test_documents #=> Integer
2261
2334
  # resp.entity_recognizer_properties_list[0].recognizer_metadata.evaluation_metrics.precision #=> Float
@@ -2322,6 +2395,7 @@ module Aws::Comprehend
2322
2395
  #
2323
2396
  # resp.events_detection_job_properties_list #=> Array
2324
2397
  # resp.events_detection_job_properties_list[0].job_id #=> String
2398
+ # resp.events_detection_job_properties_list[0].job_arn #=> String
2325
2399
  # resp.events_detection_job_properties_list[0].job_name #=> String
2326
2400
  # resp.events_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
2327
2401
  # resp.events_detection_job_properties_list[0].message #=> String
@@ -2329,6 +2403,10 @@ module Aws::Comprehend
2329
2403
  # resp.events_detection_job_properties_list[0].end_time #=> Time
2330
2404
  # resp.events_detection_job_properties_list[0].input_data_config.s3_uri #=> String
2331
2405
  # resp.events_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
2406
+ # resp.events_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
2407
+ # resp.events_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
2408
+ # resp.events_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types #=> Array
2409
+ # resp.events_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
2332
2410
  # resp.events_detection_job_properties_list[0].output_data_config.s3_uri #=> String
2333
2411
  # resp.events_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
2334
2412
  # resp.events_detection_job_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
@@ -2384,6 +2462,7 @@ module Aws::Comprehend
2384
2462
  #
2385
2463
  # resp.key_phrases_detection_job_properties_list #=> Array
2386
2464
  # resp.key_phrases_detection_job_properties_list[0].job_id #=> String
2465
+ # resp.key_phrases_detection_job_properties_list[0].job_arn #=> String
2387
2466
  # resp.key_phrases_detection_job_properties_list[0].job_name #=> String
2388
2467
  # resp.key_phrases_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
2389
2468
  # resp.key_phrases_detection_job_properties_list[0].message #=> String
@@ -2391,6 +2470,10 @@ module Aws::Comprehend
2391
2470
  # resp.key_phrases_detection_job_properties_list[0].end_time #=> Time
2392
2471
  # resp.key_phrases_detection_job_properties_list[0].input_data_config.s3_uri #=> String
2393
2472
  # resp.key_phrases_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
2473
+ # resp.key_phrases_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
2474
+ # resp.key_phrases_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
2475
+ # resp.key_phrases_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types #=> Array
2476
+ # resp.key_phrases_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
2394
2477
  # resp.key_phrases_detection_job_properties_list[0].output_data_config.s3_uri #=> String
2395
2478
  # resp.key_phrases_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
2396
2479
  # resp.key_phrases_detection_job_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
@@ -2446,6 +2529,7 @@ module Aws::Comprehend
2446
2529
  #
2447
2530
  # resp.pii_entities_detection_job_properties_list #=> Array
2448
2531
  # resp.pii_entities_detection_job_properties_list[0].job_id #=> String
2532
+ # resp.pii_entities_detection_job_properties_list[0].job_arn #=> String
2449
2533
  # resp.pii_entities_detection_job_properties_list[0].job_name #=> String
2450
2534
  # resp.pii_entities_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
2451
2535
  # resp.pii_entities_detection_job_properties_list[0].message #=> String
@@ -2453,6 +2537,10 @@ module Aws::Comprehend
2453
2537
  # resp.pii_entities_detection_job_properties_list[0].end_time #=> Time
2454
2538
  # resp.pii_entities_detection_job_properties_list[0].input_data_config.s3_uri #=> String
2455
2539
  # resp.pii_entities_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
2540
+ # resp.pii_entities_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
2541
+ # resp.pii_entities_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
2542
+ # resp.pii_entities_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types #=> Array
2543
+ # resp.pii_entities_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
2456
2544
  # resp.pii_entities_detection_job_properties_list[0].output_data_config.s3_uri #=> String
2457
2545
  # resp.pii_entities_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
2458
2546
  # resp.pii_entities_detection_job_properties_list[0].redaction_config.pii_entity_types #=> Array
@@ -2511,6 +2599,7 @@ module Aws::Comprehend
2511
2599
  #
2512
2600
  # resp.sentiment_detection_job_properties_list #=> Array
2513
2601
  # resp.sentiment_detection_job_properties_list[0].job_id #=> String
2602
+ # resp.sentiment_detection_job_properties_list[0].job_arn #=> String
2514
2603
  # resp.sentiment_detection_job_properties_list[0].job_name #=> String
2515
2604
  # resp.sentiment_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
2516
2605
  # resp.sentiment_detection_job_properties_list[0].message #=> String
@@ -2518,6 +2607,10 @@ module Aws::Comprehend
2518
2607
  # resp.sentiment_detection_job_properties_list[0].end_time #=> Time
2519
2608
  # resp.sentiment_detection_job_properties_list[0].input_data_config.s3_uri #=> String
2520
2609
  # resp.sentiment_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
2610
+ # resp.sentiment_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
2611
+ # resp.sentiment_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
2612
+ # resp.sentiment_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types #=> Array
2613
+ # resp.sentiment_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
2521
2614
  # resp.sentiment_detection_job_properties_list[0].output_data_config.s3_uri #=> String
2522
2615
  # resp.sentiment_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
2523
2616
  # resp.sentiment_detection_job_properties_list[0].language_code #=> String, one of "en", "es", "fr", "de", "it", "pt", "ar", "hi", "ja", "ko", "zh", "zh-TW"
@@ -2609,6 +2702,7 @@ module Aws::Comprehend
2609
2702
  #
2610
2703
  # resp.topics_detection_job_properties_list #=> Array
2611
2704
  # resp.topics_detection_job_properties_list[0].job_id #=> String
2705
+ # resp.topics_detection_job_properties_list[0].job_arn #=> String
2612
2706
  # resp.topics_detection_job_properties_list[0].job_name #=> String
2613
2707
  # resp.topics_detection_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
2614
2708
  # resp.topics_detection_job_properties_list[0].message #=> String
@@ -2616,6 +2710,10 @@ module Aws::Comprehend
2616
2710
  # resp.topics_detection_job_properties_list[0].end_time #=> Time
2617
2711
  # resp.topics_detection_job_properties_list[0].input_data_config.s3_uri #=> String
2618
2712
  # resp.topics_detection_job_properties_list[0].input_data_config.input_format #=> String, one of "ONE_DOC_PER_FILE", "ONE_DOC_PER_LINE"
2713
+ # resp.topics_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_action #=> String, one of "TEXTRACT_DETECT_DOCUMENT_TEXT", "TEXTRACT_ANALYZE_DOCUMENT"
2714
+ # resp.topics_detection_job_properties_list[0].input_data_config.document_reader_config.document_read_mode #=> String, one of "SERVICE_DEFAULT", "FORCE_DOCUMENT_READ_ACTION"
2715
+ # resp.topics_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types #=> Array
2716
+ # resp.topics_detection_job_properties_list[0].input_data_config.document_reader_config.feature_types[0] #=> String, one of "TABLES", "FORMS"
2619
2717
  # resp.topics_detection_job_properties_list[0].output_data_config.s3_uri #=> String
2620
2718
  # resp.topics_detection_job_properties_list[0].output_data_config.kms_key_id #=> String
2621
2719
  # resp.topics_detection_job_properties_list[0].number_of_topics #=> Integer
@@ -2684,9 +2782,16 @@ module Aws::Comprehend
2684
2782
  #
2685
2783
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
2686
2784
  #
2785
+ # @option params [Array<Types::Tag>] :tags
2786
+ # Tags to be associated with the document classification job. A tag is a
2787
+ # key-value pair that adds metadata to a resource used by Amazon
2788
+ # Comprehend. For example, a tag with "Sales" as the key might be
2789
+ # added to a resource to indicate its use by the sales department.
2790
+ #
2687
2791
  # @return [Types::StartDocumentClassificationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2688
2792
  #
2689
2793
  # * {Types::StartDocumentClassificationJobResponse#job_id #job_id} => String
2794
+ # * {Types::StartDocumentClassificationJobResponse#job_arn #job_arn} => String
2690
2795
  # * {Types::StartDocumentClassificationJobResponse#job_status #job_status} => String
2691
2796
  #
2692
2797
  # @example Request syntax with placeholder values
@@ -2697,6 +2802,11 @@ module Aws::Comprehend
2697
2802
  # input_data_config: { # required
2698
2803
  # s3_uri: "S3Uri", # required
2699
2804
  # input_format: "ONE_DOC_PER_FILE", # accepts ONE_DOC_PER_FILE, ONE_DOC_PER_LINE
2805
+ # document_reader_config: {
2806
+ # document_read_action: "TEXTRACT_DETECT_DOCUMENT_TEXT", # required, accepts TEXTRACT_DETECT_DOCUMENT_TEXT, TEXTRACT_ANALYZE_DOCUMENT
2807
+ # document_read_mode: "SERVICE_DEFAULT", # accepts SERVICE_DEFAULT, FORCE_DOCUMENT_READ_ACTION
2808
+ # feature_types: ["TABLES"], # accepts TABLES, FORMS
2809
+ # },
2700
2810
  # },
2701
2811
  # output_data_config: { # required
2702
2812
  # s3_uri: "S3Uri", # required
@@ -2709,11 +2819,18 @@ module Aws::Comprehend
2709
2819
  # security_group_ids: ["SecurityGroupId"], # required
2710
2820
  # subnets: ["SubnetId"], # required
2711
2821
  # },
2822
+ # tags: [
2823
+ # {
2824
+ # key: "TagKey", # required
2825
+ # value: "TagValue",
2826
+ # },
2827
+ # ],
2712
2828
  # })
2713
2829
  #
2714
2830
  # @example Response structure
2715
2831
  #
2716
2832
  # resp.job_id #=> String
2833
+ # resp.job_arn #=> String
2717
2834
  # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
2718
2835
  #
2719
2836
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDocumentClassificationJob AWS API Documentation
@@ -2775,9 +2892,16 @@ module Aws::Comprehend
2775
2892
  #
2776
2893
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
2777
2894
  #
2895
+ # @option params [Array<Types::Tag>] :tags
2896
+ # Tags to be associated with the dominant language detection job. A tag
2897
+ # is a key-value pair that adds metadata to a resource used by Amazon
2898
+ # Comprehend. For example, a tag with "Sales" as the key might be
2899
+ # added to a resource to indicate its use by the sales department.
2900
+ #
2778
2901
  # @return [Types::StartDominantLanguageDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2779
2902
  #
2780
2903
  # * {Types::StartDominantLanguageDetectionJobResponse#job_id #job_id} => String
2904
+ # * {Types::StartDominantLanguageDetectionJobResponse#job_arn #job_arn} => String
2781
2905
  # * {Types::StartDominantLanguageDetectionJobResponse#job_status #job_status} => String
2782
2906
  #
2783
2907
  # @example Request syntax with placeholder values
@@ -2786,6 +2910,11 @@ module Aws::Comprehend
2786
2910
  # input_data_config: { # required
2787
2911
  # s3_uri: "S3Uri", # required
2788
2912
  # input_format: "ONE_DOC_PER_FILE", # accepts ONE_DOC_PER_FILE, ONE_DOC_PER_LINE
2913
+ # document_reader_config: {
2914
+ # document_read_action: "TEXTRACT_DETECT_DOCUMENT_TEXT", # required, accepts TEXTRACT_DETECT_DOCUMENT_TEXT, TEXTRACT_ANALYZE_DOCUMENT
2915
+ # document_read_mode: "SERVICE_DEFAULT", # accepts SERVICE_DEFAULT, FORCE_DOCUMENT_READ_ACTION
2916
+ # feature_types: ["TABLES"], # accepts TABLES, FORMS
2917
+ # },
2789
2918
  # },
2790
2919
  # output_data_config: { # required
2791
2920
  # s3_uri: "S3Uri", # required
@@ -2799,11 +2928,18 @@ module Aws::Comprehend
2799
2928
  # security_group_ids: ["SecurityGroupId"], # required
2800
2929
  # subnets: ["SubnetId"], # required
2801
2930
  # },
2931
+ # tags: [
2932
+ # {
2933
+ # key: "TagKey", # required
2934
+ # value: "TagValue",
2935
+ # },
2936
+ # ],
2802
2937
  # })
2803
2938
  #
2804
2939
  # @example Response structure
2805
2940
  #
2806
2941
  # resp.job_id #=> String
2942
+ # resp.job_arn #=> String
2807
2943
  # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
2808
2944
  #
2809
2945
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDominantLanguageDetectionJob AWS API Documentation
@@ -2880,9 +3016,16 @@ module Aws::Comprehend
2880
3016
  #
2881
3017
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
2882
3018
  #
3019
+ # @option params [Array<Types::Tag>] :tags
3020
+ # Tags to be associated with the entities detection job. A tag is a
3021
+ # key-value pair that adds metadata to a resource used by Amazon
3022
+ # Comprehend. For example, a tag with "Sales" as the key might be
3023
+ # added to a resource to indicate its use by the sales department.
3024
+ #
2883
3025
  # @return [Types::StartEntitiesDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2884
3026
  #
2885
3027
  # * {Types::StartEntitiesDetectionJobResponse#job_id #job_id} => String
3028
+ # * {Types::StartEntitiesDetectionJobResponse#job_arn #job_arn} => String
2886
3029
  # * {Types::StartEntitiesDetectionJobResponse#job_status #job_status} => String
2887
3030
  #
2888
3031
  # @example Request syntax with placeholder values
@@ -2891,6 +3034,11 @@ module Aws::Comprehend
2891
3034
  # input_data_config: { # required
2892
3035
  # s3_uri: "S3Uri", # required
2893
3036
  # input_format: "ONE_DOC_PER_FILE", # accepts ONE_DOC_PER_FILE, ONE_DOC_PER_LINE
3037
+ # document_reader_config: {
3038
+ # document_read_action: "TEXTRACT_DETECT_DOCUMENT_TEXT", # required, accepts TEXTRACT_DETECT_DOCUMENT_TEXT, TEXTRACT_ANALYZE_DOCUMENT
3039
+ # document_read_mode: "SERVICE_DEFAULT", # accepts SERVICE_DEFAULT, FORCE_DOCUMENT_READ_ACTION
3040
+ # feature_types: ["TABLES"], # accepts TABLES, FORMS
3041
+ # },
2894
3042
  # },
2895
3043
  # output_data_config: { # required
2896
3044
  # s3_uri: "S3Uri", # required
@@ -2906,11 +3054,18 @@ module Aws::Comprehend
2906
3054
  # security_group_ids: ["SecurityGroupId"], # required
2907
3055
  # subnets: ["SubnetId"], # required
2908
3056
  # },
3057
+ # tags: [
3058
+ # {
3059
+ # key: "TagKey", # required
3060
+ # value: "TagValue",
3061
+ # },
3062
+ # ],
2909
3063
  # })
2910
3064
  #
2911
3065
  # @example Response structure
2912
3066
  #
2913
3067
  # resp.job_id #=> String
3068
+ # resp.job_arn #=> String
2914
3069
  # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
2915
3070
  #
2916
3071
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartEntitiesDetectionJob AWS API Documentation
@@ -2952,9 +3107,16 @@ module Aws::Comprehend
2952
3107
  # @option params [required, Array<String>] :target_event_types
2953
3108
  # The types of events to detect in the input documents.
2954
3109
  #
3110
+ # @option params [Array<Types::Tag>] :tags
3111
+ # Tags to be associated with the events detection job. A tag is a
3112
+ # key-value pair that adds metadata to a resource used by Amazon
3113
+ # Comprehend. For example, a tag with "Sales" as the key might be
3114
+ # added to a resource to indicate its use by the sales department.
3115
+ #
2955
3116
  # @return [Types::StartEventsDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2956
3117
  #
2957
3118
  # * {Types::StartEventsDetectionJobResponse#job_id #job_id} => String
3119
+ # * {Types::StartEventsDetectionJobResponse#job_arn #job_arn} => String
2958
3120
  # * {Types::StartEventsDetectionJobResponse#job_status #job_status} => String
2959
3121
  #
2960
3122
  # @example Request syntax with placeholder values
@@ -2963,6 +3125,11 @@ module Aws::Comprehend
2963
3125
  # input_data_config: { # required
2964
3126
  # s3_uri: "S3Uri", # required
2965
3127
  # input_format: "ONE_DOC_PER_FILE", # accepts ONE_DOC_PER_FILE, ONE_DOC_PER_LINE
3128
+ # document_reader_config: {
3129
+ # document_read_action: "TEXTRACT_DETECT_DOCUMENT_TEXT", # required, accepts TEXTRACT_DETECT_DOCUMENT_TEXT, TEXTRACT_ANALYZE_DOCUMENT
3130
+ # document_read_mode: "SERVICE_DEFAULT", # accepts SERVICE_DEFAULT, FORCE_DOCUMENT_READ_ACTION
3131
+ # feature_types: ["TABLES"], # accepts TABLES, FORMS
3132
+ # },
2966
3133
  # },
2967
3134
  # output_data_config: { # required
2968
3135
  # s3_uri: "S3Uri", # required
@@ -2973,11 +3140,18 @@ module Aws::Comprehend
2973
3140
  # language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
2974
3141
  # client_request_token: "ClientRequestTokenString",
2975
3142
  # target_event_types: ["EventTypeString"], # required
3143
+ # tags: [
3144
+ # {
3145
+ # key: "TagKey", # required
3146
+ # value: "TagValue",
3147
+ # },
3148
+ # ],
2976
3149
  # })
2977
3150
  #
2978
3151
  # @example Response structure
2979
3152
  #
2980
3153
  # resp.job_id #=> String
3154
+ # resp.job_arn #=> String
2981
3155
  # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
2982
3156
  #
2983
3157
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartEventsDetectionJob AWS API Documentation
@@ -3043,9 +3217,16 @@ module Aws::Comprehend
3043
3217
  #
3044
3218
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
3045
3219
  #
3220
+ # @option params [Array<Types::Tag>] :tags
3221
+ # Tags to be associated with the key phrases detection job. A tag is a
3222
+ # key-value pair that adds metadata to a resource used by Amazon
3223
+ # Comprehend. For example, a tag with "Sales" as the key might be
3224
+ # added to a resource to indicate its use by the sales department.
3225
+ #
3046
3226
  # @return [Types::StartKeyPhrasesDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3047
3227
  #
3048
3228
  # * {Types::StartKeyPhrasesDetectionJobResponse#job_id #job_id} => String
3229
+ # * {Types::StartKeyPhrasesDetectionJobResponse#job_arn #job_arn} => String
3049
3230
  # * {Types::StartKeyPhrasesDetectionJobResponse#job_status #job_status} => String
3050
3231
  #
3051
3232
  # @example Request syntax with placeholder values
@@ -3054,6 +3235,11 @@ module Aws::Comprehend
3054
3235
  # input_data_config: { # required
3055
3236
  # s3_uri: "S3Uri", # required
3056
3237
  # input_format: "ONE_DOC_PER_FILE", # accepts ONE_DOC_PER_FILE, ONE_DOC_PER_LINE
3238
+ # document_reader_config: {
3239
+ # document_read_action: "TEXTRACT_DETECT_DOCUMENT_TEXT", # required, accepts TEXTRACT_DETECT_DOCUMENT_TEXT, TEXTRACT_ANALYZE_DOCUMENT
3240
+ # document_read_mode: "SERVICE_DEFAULT", # accepts SERVICE_DEFAULT, FORCE_DOCUMENT_READ_ACTION
3241
+ # feature_types: ["TABLES"], # accepts TABLES, FORMS
3242
+ # },
3057
3243
  # },
3058
3244
  # output_data_config: { # required
3059
3245
  # s3_uri: "S3Uri", # required
@@ -3068,11 +3254,18 @@ module Aws::Comprehend
3068
3254
  # security_group_ids: ["SecurityGroupId"], # required
3069
3255
  # subnets: ["SubnetId"], # required
3070
3256
  # },
3257
+ # tags: [
3258
+ # {
3259
+ # key: "TagKey", # required
3260
+ # value: "TagValue",
3261
+ # },
3262
+ # ],
3071
3263
  # })
3072
3264
  #
3073
3265
  # @example Response structure
3074
3266
  #
3075
3267
  # resp.job_id #=> String
3268
+ # resp.job_arn #=> String
3076
3269
  # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
3077
3270
  #
3078
3271
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartKeyPhrasesDetectionJob AWS API Documentation
@@ -3123,9 +3316,16 @@ module Aws::Comprehend
3123
3316
  # **A suitable default value is auto-generated.** You should normally
3124
3317
  # not need to pass this option.**
3125
3318
  #
3319
+ # @option params [Array<Types::Tag>] :tags
3320
+ # Tags to be associated with the PII entities detection job. A tag is a
3321
+ # key-value pair that adds metadata to a resource used by Amazon
3322
+ # Comprehend. For example, a tag with "Sales" as the key might be
3323
+ # added to a resource to indicate its use by the sales department.
3324
+ #
3126
3325
  # @return [Types::StartPiiEntitiesDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3127
3326
  #
3128
3327
  # * {Types::StartPiiEntitiesDetectionJobResponse#job_id #job_id} => String
3328
+ # * {Types::StartPiiEntitiesDetectionJobResponse#job_arn #job_arn} => String
3129
3329
  # * {Types::StartPiiEntitiesDetectionJobResponse#job_status #job_status} => String
3130
3330
  #
3131
3331
  # @example Request syntax with placeholder values
@@ -3134,6 +3334,11 @@ module Aws::Comprehend
3134
3334
  # input_data_config: { # required
3135
3335
  # s3_uri: "S3Uri", # required
3136
3336
  # input_format: "ONE_DOC_PER_FILE", # accepts ONE_DOC_PER_FILE, ONE_DOC_PER_LINE
3337
+ # document_reader_config: {
3338
+ # document_read_action: "TEXTRACT_DETECT_DOCUMENT_TEXT", # required, accepts TEXTRACT_DETECT_DOCUMENT_TEXT, TEXTRACT_ANALYZE_DOCUMENT
3339
+ # document_read_mode: "SERVICE_DEFAULT", # accepts SERVICE_DEFAULT, FORCE_DOCUMENT_READ_ACTION
3340
+ # feature_types: ["TABLES"], # accepts TABLES, FORMS
3341
+ # },
3137
3342
  # },
3138
3343
  # output_data_config: { # required
3139
3344
  # s3_uri: "S3Uri", # required
@@ -3149,11 +3354,18 @@ module Aws::Comprehend
3149
3354
  # job_name: "JobName",
3150
3355
  # language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
3151
3356
  # client_request_token: "ClientRequestTokenString",
3357
+ # tags: [
3358
+ # {
3359
+ # key: "TagKey", # required
3360
+ # value: "TagValue",
3361
+ # },
3362
+ # ],
3152
3363
  # })
3153
3364
  #
3154
3365
  # @example Response structure
3155
3366
  #
3156
3367
  # resp.job_id #=> String
3368
+ # resp.job_arn #=> String
3157
3369
  # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
3158
3370
  #
3159
3371
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartPiiEntitiesDetectionJob AWS API Documentation
@@ -3219,9 +3431,16 @@ module Aws::Comprehend
3219
3431
  #
3220
3432
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
3221
3433
  #
3434
+ # @option params [Array<Types::Tag>] :tags
3435
+ # Tags to be associated with the sentiment detection job. A tag is a
3436
+ # key-value pair that adds metadata to a resource used by Amazon
3437
+ # Comprehend. For example, a tag with "Sales" as the key might be
3438
+ # added to a resource to indicate its use by the sales department.
3439
+ #
3222
3440
  # @return [Types::StartSentimentDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3223
3441
  #
3224
3442
  # * {Types::StartSentimentDetectionJobResponse#job_id #job_id} => String
3443
+ # * {Types::StartSentimentDetectionJobResponse#job_arn #job_arn} => String
3225
3444
  # * {Types::StartSentimentDetectionJobResponse#job_status #job_status} => String
3226
3445
  #
3227
3446
  # @example Request syntax with placeholder values
@@ -3230,6 +3449,11 @@ module Aws::Comprehend
3230
3449
  # input_data_config: { # required
3231
3450
  # s3_uri: "S3Uri", # required
3232
3451
  # input_format: "ONE_DOC_PER_FILE", # accepts ONE_DOC_PER_FILE, ONE_DOC_PER_LINE
3452
+ # document_reader_config: {
3453
+ # document_read_action: "TEXTRACT_DETECT_DOCUMENT_TEXT", # required, accepts TEXTRACT_DETECT_DOCUMENT_TEXT, TEXTRACT_ANALYZE_DOCUMENT
3454
+ # document_read_mode: "SERVICE_DEFAULT", # accepts SERVICE_DEFAULT, FORCE_DOCUMENT_READ_ACTION
3455
+ # feature_types: ["TABLES"], # accepts TABLES, FORMS
3456
+ # },
3233
3457
  # },
3234
3458
  # output_data_config: { # required
3235
3459
  # s3_uri: "S3Uri", # required
@@ -3244,11 +3468,18 @@ module Aws::Comprehend
3244
3468
  # security_group_ids: ["SecurityGroupId"], # required
3245
3469
  # subnets: ["SubnetId"], # required
3246
3470
  # },
3471
+ # tags: [
3472
+ # {
3473
+ # key: "TagKey", # required
3474
+ # value: "TagValue",
3475
+ # },
3476
+ # ],
3247
3477
  # })
3248
3478
  #
3249
3479
  # @example Response structure
3250
3480
  #
3251
3481
  # resp.job_id #=> String
3482
+ # resp.job_arn #=> String
3252
3483
  # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
3253
3484
  #
3254
3485
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartSentimentDetectionJob AWS API Documentation
@@ -3315,9 +3546,16 @@ module Aws::Comprehend
3315
3546
  #
3316
3547
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html
3317
3548
  #
3549
+ # @option params [Array<Types::Tag>] :tags
3550
+ # Tags to be associated with the topics detection job. A tag is a
3551
+ # key-value pair that adds metadata to a resource used by Amazon
3552
+ # Comprehend. For example, a tag with "Sales" as the key might be
3553
+ # added to a resource to indicate its use by the sales department.
3554
+ #
3318
3555
  # @return [Types::StartTopicsDetectionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3319
3556
  #
3320
3557
  # * {Types::StartTopicsDetectionJobResponse#job_id #job_id} => String
3558
+ # * {Types::StartTopicsDetectionJobResponse#job_arn #job_arn} => String
3321
3559
  # * {Types::StartTopicsDetectionJobResponse#job_status #job_status} => String
3322
3560
  #
3323
3561
  # @example Request syntax with placeholder values
@@ -3326,6 +3564,11 @@ module Aws::Comprehend
3326
3564
  # input_data_config: { # required
3327
3565
  # s3_uri: "S3Uri", # required
3328
3566
  # input_format: "ONE_DOC_PER_FILE", # accepts ONE_DOC_PER_FILE, ONE_DOC_PER_LINE
3567
+ # document_reader_config: {
3568
+ # document_read_action: "TEXTRACT_DETECT_DOCUMENT_TEXT", # required, accepts TEXTRACT_DETECT_DOCUMENT_TEXT, TEXTRACT_ANALYZE_DOCUMENT
3569
+ # document_read_mode: "SERVICE_DEFAULT", # accepts SERVICE_DEFAULT, FORCE_DOCUMENT_READ_ACTION
3570
+ # feature_types: ["TABLES"], # accepts TABLES, FORMS
3571
+ # },
3329
3572
  # },
3330
3573
  # output_data_config: { # required
3331
3574
  # s3_uri: "S3Uri", # required
@@ -3340,11 +3583,18 @@ module Aws::Comprehend
3340
3583
  # security_group_ids: ["SecurityGroupId"], # required
3341
3584
  # subnets: ["SubnetId"], # required
3342
3585
  # },
3586
+ # tags: [
3587
+ # {
3588
+ # key: "TagKey", # required
3589
+ # value: "TagValue",
3590
+ # },
3591
+ # ],
3343
3592
  # })
3344
3593
  #
3345
3594
  # @example Response structure
3346
3595
  #
3347
3596
  # resp.job_id #=> String
3597
+ # resp.job_arn #=> String
3348
3598
  # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED", "STOP_REQUESTED", "STOPPED"
3349
3599
  #
3350
3600
  # @see http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartTopicsDetectionJob AWS API Documentation
@@ -3753,7 +4003,7 @@ module Aws::Comprehend
3753
4003
  params: params,
3754
4004
  config: config)
3755
4005
  context[:gem_name] = 'aws-sdk-comprehend'
3756
- context[:gem_version] = '1.47.0'
4006
+ context[:gem_version] = '1.51.0'
3757
4007
  Seahorse::Client::Request.new(handlers, context)
3758
4008
  end
3759
4009