@aws-sdk/client-comprehend 3.278.0 → 3.281.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/README.md +675 -0
  2. package/dist-cjs/Comprehend.js +165 -0
  3. package/dist-cjs/commands/CreateDatasetCommand.js +46 -0
  4. package/dist-cjs/commands/CreateFlywheelCommand.js +46 -0
  5. package/dist-cjs/commands/DeleteFlywheelCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeDatasetCommand.js +46 -0
  7. package/dist-cjs/commands/DescribeFlywheelCommand.js +46 -0
  8. package/dist-cjs/commands/DescribeFlywheelIterationCommand.js +46 -0
  9. package/dist-cjs/commands/ListDatasetsCommand.js +46 -0
  10. package/dist-cjs/commands/ListFlywheelIterationHistoryCommand.js +46 -0
  11. package/dist-cjs/commands/ListFlywheelsCommand.js +46 -0
  12. package/dist-cjs/commands/StartFlywheelIterationCommand.js +46 -0
  13. package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +3 -3
  14. package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +3 -3
  15. package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +3 -3
  16. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  17. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  18. package/dist-cjs/commands/UpdateEndpointCommand.js +3 -3
  19. package/dist-cjs/commands/UpdateFlywheelCommand.js +46 -0
  20. package/dist-cjs/commands/index.js +11 -0
  21. package/dist-cjs/endpoint/ruleset.js +3 -3
  22. package/dist-cjs/models/index.js +1 -0
  23. package/dist-cjs/models/models_0.js +242 -120
  24. package/dist-cjs/models/models_1.js +92 -0
  25. package/dist-cjs/pagination/ListDatasetsPaginator.js +36 -0
  26. package/dist-cjs/pagination/ListFlywheelIterationHistoryPaginator.js +36 -0
  27. package/dist-cjs/pagination/ListFlywheelsPaginator.js +36 -0
  28. package/dist-cjs/pagination/index.js +3 -0
  29. package/dist-cjs/protocols/Aws_json1_1.js +1135 -26
  30. package/dist-es/Comprehend.js +165 -0
  31. package/dist-es/commands/CreateDatasetCommand.js +42 -0
  32. package/dist-es/commands/CreateFlywheelCommand.js +42 -0
  33. package/dist-es/commands/DeleteFlywheelCommand.js +42 -0
  34. package/dist-es/commands/DescribeDatasetCommand.js +42 -0
  35. package/dist-es/commands/DescribeFlywheelCommand.js +42 -0
  36. package/dist-es/commands/DescribeFlywheelIterationCommand.js +42 -0
  37. package/dist-es/commands/ListDatasetsCommand.js +42 -0
  38. package/dist-es/commands/ListFlywheelIterationHistoryCommand.js +42 -0
  39. package/dist-es/commands/ListFlywheelsCommand.js +42 -0
  40. package/dist-es/commands/StartFlywheelIterationCommand.js +42 -0
  41. package/dist-es/commands/StopTargetedSentimentDetectionJobCommand.js +1 -1
  42. package/dist-es/commands/StopTrainingDocumentClassifierCommand.js +1 -1
  43. package/dist-es/commands/StopTrainingEntityRecognizerCommand.js +1 -1
  44. package/dist-es/commands/TagResourceCommand.js +1 -1
  45. package/dist-es/commands/UntagResourceCommand.js +1 -1
  46. package/dist-es/commands/UpdateEndpointCommand.js +1 -1
  47. package/dist-es/commands/UpdateFlywheelCommand.js +42 -0
  48. package/dist-es/commands/index.js +11 -0
  49. package/dist-es/endpoint/ruleset.js +3 -3
  50. package/dist-es/models/index.js +1 -0
  51. package/dist-es/models/models_0.js +191 -95
  52. package/dist-es/models/models_1.js +72 -0
  53. package/dist-es/pagination/ListDatasetsPaginator.js +32 -0
  54. package/dist-es/pagination/ListFlywheelIterationHistoryPaginator.js +32 -0
  55. package/dist-es/pagination/ListFlywheelsPaginator.js +32 -0
  56. package/dist-es/pagination/index.js +3 -0
  57. package/dist-es/protocols/Aws_json1_1.js +1109 -23
  58. package/dist-types/Comprehend.d.ts +107 -4
  59. package/dist-types/ComprehendClient.d.ts +13 -2
  60. package/dist-types/commands/BatchDetectDominantLanguageCommand.d.ts +6 -0
  61. package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +6 -0
  62. package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +6 -0
  63. package/dist-types/commands/BatchDetectSentimentCommand.d.ts +6 -0
  64. package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +6 -0
  65. package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +6 -0
  66. package/dist-types/commands/ClassifyDocumentCommand.d.ts +6 -0
  67. package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +6 -0
  68. package/dist-types/commands/CreateDatasetCommand.d.ts +45 -0
  69. package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +6 -0
  70. package/dist-types/commands/CreateEndpointCommand.d.ts +6 -0
  71. package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +7 -1
  72. package/dist-types/commands/CreateFlywheelCommand.d.ts +53 -0
  73. package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +6 -0
  74. package/dist-types/commands/DeleteEndpointCommand.d.ts +6 -0
  75. package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +6 -0
  76. package/dist-types/commands/DeleteFlywheelCommand.d.ts +46 -0
  77. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -0
  78. package/dist-types/commands/DescribeDatasetCommand.d.ts +45 -0
  79. package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +6 -0
  80. package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +6 -0
  81. package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +6 -0
  82. package/dist-types/commands/DescribeEndpointCommand.d.ts +6 -0
  83. package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +6 -0
  84. package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +6 -0
  85. package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +6 -0
  86. package/dist-types/commands/DescribeFlywheelCommand.d.ts +44 -0
  87. package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +45 -0
  88. package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +6 -0
  89. package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +6 -0
  90. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +6 -0
  91. package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +6 -0
  92. package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +6 -0
  93. package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +6 -0
  94. package/dist-types/commands/DetectDominantLanguageCommand.d.ts +6 -0
  95. package/dist-types/commands/DetectEntitiesCommand.d.ts +6 -0
  96. package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +6 -0
  97. package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +6 -0
  98. package/dist-types/commands/DetectSentimentCommand.d.ts +6 -0
  99. package/dist-types/commands/DetectSyntaxCommand.d.ts +6 -0
  100. package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +6 -0
  101. package/dist-types/commands/ImportModelCommand.d.ts +6 -0
  102. package/dist-types/commands/ListDatasetsCommand.d.ts +44 -0
  103. package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +6 -0
  104. package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +6 -0
  105. package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +6 -0
  106. package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +6 -0
  107. package/dist-types/commands/ListEndpointsCommand.d.ts +6 -0
  108. package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +6 -0
  109. package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +6 -0
  110. package/dist-types/commands/ListEntityRecognizersCommand.d.ts +6 -0
  111. package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +6 -0
  112. package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +45 -0
  113. package/dist-types/commands/ListFlywheelsCommand.d.ts +43 -0
  114. package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +6 -0
  115. package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +6 -0
  116. package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +6 -0
  117. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
  118. package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +6 -0
  119. package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +6 -0
  120. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
  121. package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +9 -2
  122. package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +6 -0
  123. package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +6 -0
  124. package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +6 -0
  125. package/dist-types/commands/StartFlywheelIterationCommand.d.ts +45 -0
  126. package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +6 -0
  127. package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +6 -0
  128. package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +6 -0
  129. package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +7 -1
  130. package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +6 -0
  131. package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +6 -0
  132. package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +6 -0
  133. package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +6 -0
  134. package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +6 -0
  135. package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +6 -0
  136. package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +6 -0
  137. package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +7 -1
  138. package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +7 -1
  139. package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +7 -1
  140. package/dist-types/commands/TagResourceCommand.d.ts +7 -1
  141. package/dist-types/commands/UntagResourceCommand.d.ts +7 -1
  142. package/dist-types/commands/UpdateEndpointCommand.d.ts +7 -1
  143. package/dist-types/commands/UpdateFlywheelCommand.d.ts +43 -0
  144. package/dist-types/commands/index.d.ts +11 -0
  145. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  146. package/dist-types/models/index.d.ts +1 -0
  147. package/dist-types/models/models_0.d.ts +1145 -320
  148. package/dist-types/models/models_1.d.ts +241 -0
  149. package/dist-types/pagination/ListDatasetsPaginator.d.ts +4 -0
  150. package/dist-types/pagination/ListFlywheelIterationHistoryPaginator.d.ts +4 -0
  151. package/dist-types/pagination/ListFlywheelsPaginator.d.ts +4 -0
  152. package/dist-types/pagination/index.d.ts +3 -0
  153. package/dist-types/protocols/Aws_json1_1.d.ts +33 -0
  154. package/dist-types/ts3.4/Comprehend.d.ts +187 -0
  155. package/dist-types/ts3.4/ComprehendClient.d.ts +68 -2
  156. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +37 -0
  157. package/dist-types/ts3.4/commands/CreateFlywheelCommand.d.ts +37 -0
  158. package/dist-types/ts3.4/commands/DeleteFlywheelCommand.d.ts +37 -0
  159. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +37 -0
  160. package/dist-types/ts3.4/commands/DescribeFlywheelCommand.d.ts +37 -0
  161. package/dist-types/ts3.4/commands/DescribeFlywheelIterationCommand.d.ts +41 -0
  162. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +34 -0
  163. package/dist-types/ts3.4/commands/ListFlywheelIterationHistoryCommand.d.ts +41 -0
  164. package/dist-types/ts3.4/commands/ListFlywheelsCommand.d.ts +37 -0
  165. package/dist-types/ts3.4/commands/StartFlywheelIterationCommand.d.ts +41 -0
  166. package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  171. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/UpdateFlywheelCommand.d.ts +37 -0
  173. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  174. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  175. package/dist-types/ts3.4/models/index.d.ts +1 -0
  176. package/dist-types/ts3.4/models/models_0.d.ts +424 -138
  177. package/dist-types/ts3.4/models/models_1.d.ts +116 -0
  178. package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +11 -0
  179. package/dist-types/ts3.4/pagination/ListFlywheelIterationHistoryPaginator.d.ts +11 -0
  180. package/dist-types/ts3.4/pagination/ListFlywheelsPaginator.d.ts +11 -0
  181. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  182. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +132 -0
  183. package/package.json +6 -6
@@ -1354,6 +1354,295 @@ export interface ContainsPiiEntitiesResponse {
1354
1354
  */
1355
1355
  Labels?: EntityLabel[];
1356
1356
  }
1357
+ export declare enum DatasetType {
1358
+ TEST = "TEST",
1359
+ TRAIN = "TRAIN"
1360
+ }
1361
+ /**
1362
+ * <p>An augmented manifest file that provides training data for your custom model.
1363
+ * An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.</p>
1364
+ */
1365
+ export interface DatasetAugmentedManifestsListItem {
1366
+ /**
1367
+ * <p>The JSON attribute that contains the annotations for your training documents. The number
1368
+ * of attribute names that you specify depends on whether your augmented manifest file is the
1369
+ * output of a single labeling job or a chained labeling job.</p>
1370
+ * <p>If your file is the output of a single labeling job, specify the LabelAttributeName key
1371
+ * that was used when the job was created in Ground Truth.</p>
1372
+ * <p>If your file is the output of a chained labeling job, specify the LabelAttributeName key
1373
+ * for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from
1374
+ * an individual job.</p>
1375
+ */
1376
+ AttributeNames: string[] | undefined;
1377
+ /**
1378
+ * <p>The Amazon S3 location of the augmented manifest file.</p>
1379
+ */
1380
+ S3Uri: string | undefined;
1381
+ /**
1382
+ * <p>The S3 prefix to the annotation files that are referred in the augmented manifest
1383
+ * file.</p>
1384
+ */
1385
+ AnnotationDataS3Uri?: string;
1386
+ /**
1387
+ * <p>The S3 prefix to the source files (PDFs) that are referred to in the augmented manifest
1388
+ * file.</p>
1389
+ */
1390
+ SourceDocumentsS3Uri?: string;
1391
+ /**
1392
+ * <p>The type of augmented manifest. If you don't specify, the default is PlainTextDocument. </p>
1393
+ * <p>
1394
+ * <code>PLAIN_TEXT_DOCUMENT</code> A document type that represents any unicode text that
1395
+ * is encoded in UTF-8.</p>
1396
+ */
1397
+ DocumentType?: AugmentedManifestsDocumentTypeFormat | string;
1398
+ }
1399
+ export declare enum DatasetDataFormat {
1400
+ AUGMENTED_MANIFEST = "AUGMENTED_MANIFEST",
1401
+ COMPREHEND_CSV = "COMPREHEND_CSV"
1402
+ }
1403
+ /**
1404
+ * <p>Describes the dataset input data configuration for a document classifier model.</p>
1405
+ * <p>For more information on how the input file is formatted, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/prep-classifier-data.html">Preparing training data</a>
1406
+ * in the Comprehend Developer Guide. </p>
1407
+ */
1408
+ export interface DatasetDocumentClassifierInputDataConfig {
1409
+ /**
1410
+ * <p>The Amazon S3 URI for the input data. The S3 bucket must be in the same region as the API
1411
+ * endpoint that you are calling. The URI can point to a single input file or it can provide the
1412
+ * prefix for a collection of input files.</p>
1413
+ * <p>For example, if you use the URI <code>S3://bucketName/prefix</code>, if the prefix is a
1414
+ * single file, Amazon Comprehend uses that file as input. If more than one file begins with the
1415
+ * prefix, Amazon Comprehend uses all of them as input.</p>
1416
+ * <p>This parameter is required if you set <code>DataFormat</code> to
1417
+ * <code>COMPREHEND_CSV</code>.</p>
1418
+ */
1419
+ S3Uri: string | undefined;
1420
+ /**
1421
+ * <p>Indicates the delimiter used to separate each label for training a multi-label classifier.
1422
+ * The default delimiter between labels is a pipe (|). You can use a different character as a
1423
+ * delimiter (if it's an allowed character) by specifying it under Delimiter for labels. If the
1424
+ * training documents use a delimiter other than the default or the delimiter you specify, the
1425
+ * labels on that line will be combined to make a single unique label, such as
1426
+ * LABELLABELLABEL.</p>
1427
+ */
1428
+ LabelDelimiter?: string;
1429
+ }
1430
+ /**
1431
+ * <p>Describes the annotations associated with a entity recognizer.</p>
1432
+ */
1433
+ export interface DatasetEntityRecognizerAnnotations {
1434
+ /**
1435
+ * <p> Specifies the Amazon S3 location where the training documents for an entity recognizer
1436
+ * are located. The URI must be in the same region as the API endpoint that you are
1437
+ * calling.</p>
1438
+ */
1439
+ S3Uri: string | undefined;
1440
+ }
1441
+ export declare enum InputFormat {
1442
+ ONE_DOC_PER_FILE = "ONE_DOC_PER_FILE",
1443
+ ONE_DOC_PER_LINE = "ONE_DOC_PER_LINE"
1444
+ }
1445
+ /**
1446
+ * <p>Describes the documents submitted with a dataset for an entity recognizer model.</p>
1447
+ */
1448
+ export interface DatasetEntityRecognizerDocuments {
1449
+ /**
1450
+ * <p> Specifies the Amazon S3 location where the documents for the dataset
1451
+ * are located. </p>
1452
+ */
1453
+ S3Uri: string | undefined;
1454
+ /**
1455
+ * <p> Specifies how the text in an input file should be processed. This is optional, and the
1456
+ * default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document.
1457
+ * Use this option when you are processing large documents, such as newspaper articles or
1458
+ * scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document.
1459
+ * Use this option when you are processing many short documents, such as text messages.</p>
1460
+ */
1461
+ InputFormat?: InputFormat | string;
1462
+ }
1463
+ /**
1464
+ * <p>Describes the dataset entity list for an entity recognizer model.</p>
1465
+ * <p>For more information on how the input file is formatted, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/prep-training-data-cer.html">Preparing training data</a>
1466
+ * in the Comprehend Developer Guide. </p>
1467
+ */
1468
+ export interface DatasetEntityRecognizerEntityList {
1469
+ /**
1470
+ * <p>Specifies the Amazon S3 location where the entity list is located.</p>
1471
+ */
1472
+ S3Uri: string | undefined;
1473
+ }
1474
+ /**
1475
+ * <p>Specifies the format and location of the input data. You must provide either the
1476
+ * <code>Annotations</code> parameter or the <code>EntityList</code> parameter.</p>
1477
+ */
1478
+ export interface DatasetEntityRecognizerInputDataConfig {
1479
+ /**
1480
+ * <p>The S3 location of the annotation documents for your custom entity recognizer.</p>
1481
+ */
1482
+ Annotations?: DatasetEntityRecognizerAnnotations;
1483
+ /**
1484
+ * <p>The format and location of the training documents for your custom entity
1485
+ * recognizer.</p>
1486
+ */
1487
+ Documents: DatasetEntityRecognizerDocuments | undefined;
1488
+ /**
1489
+ * <p>The S3 location of the entity list for your custom entity recognizer.</p>
1490
+ */
1491
+ EntityList?: DatasetEntityRecognizerEntityList;
1492
+ }
1493
+ /**
1494
+ * <p>Specifies the format and location of the input data for the dataset.</p>
1495
+ */
1496
+ export interface DatasetInputDataConfig {
1497
+ /**
1498
+ * <p>A list of augmented manifest files that provide training data for your custom model. An
1499
+ * augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground
1500
+ * Truth. </p>
1501
+ */
1502
+ AugmentedManifests?: DatasetAugmentedManifestsListItem[];
1503
+ /**
1504
+ * <p>
1505
+ * <code>COMPREHEND_CSV</code>: The data format is a two-column CSV file, where the
1506
+ * first column contains labels and the second column contains documents.</p>
1507
+ * <p>
1508
+ * <code>AUGMENTED_MANIFEST</code>: The data format </p>
1509
+ */
1510
+ DataFormat?: DatasetDataFormat | string;
1511
+ /**
1512
+ * <p>The input properties for training a document classifier model. </p>
1513
+ * <p>For more information on how the input file is formatted, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/prep-classifier-data.html">Preparing training data</a>
1514
+ * in the Comprehend Developer Guide. </p>
1515
+ */
1516
+ DocumentClassifierInputDataConfig?: DatasetDocumentClassifierInputDataConfig;
1517
+ /**
1518
+ * <p>The input properties for training an entity recognizer model.</p>
1519
+ */
1520
+ EntityRecognizerInputDataConfig?: DatasetEntityRecognizerInputDataConfig;
1521
+ }
1522
+ /**
1523
+ * <p>A key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For
1524
+ * example, a tag with the key-value pair ‘Department’:’Sales’ might be added to a resource to
1525
+ * indicate its use by a particular department. </p>
1526
+ */
1527
+ export interface Tag {
1528
+ /**
1529
+ * <p>The initial part of a key-value pair that forms a tag associated with a given resource.
1530
+ * For instance, if you want to show which resources are used by which departments, you might use
1531
+ * “Department” as the key portion of the pair, with multiple possible values such as “sales,”
1532
+ * “legal,” and “administration.” </p>
1533
+ */
1534
+ Key: string | undefined;
1535
+ /**
1536
+ * <p> The second part of a key-value pair that forms a tag associated with a given resource.
1537
+ * For instance, if you want to show which resources are used by which departments, you might use
1538
+ * “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the
1539
+ * sales department. </p>
1540
+ */
1541
+ Value?: string;
1542
+ }
1543
+ export interface CreateDatasetRequest {
1544
+ /**
1545
+ * <p>The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.</p>
1546
+ */
1547
+ FlywheelArn: string | undefined;
1548
+ /**
1549
+ * <p>Name of the dataset.</p>
1550
+ */
1551
+ DatasetName: string | undefined;
1552
+ /**
1553
+ * <p>The dataset type. You can specify that the data in a dataset is for training
1554
+ * the model or for testing the model.</p>
1555
+ */
1556
+ DatasetType?: DatasetType | string;
1557
+ /**
1558
+ * <p>Description of the dataset.</p>
1559
+ */
1560
+ Description?: string;
1561
+ /**
1562
+ * <p>Information about the input data configuration. The type of input data varies based
1563
+ * on the format of the input and whether the data is for a classifier model or an entity recognition model.</p>
1564
+ */
1565
+ InputDataConfig: DatasetInputDataConfig | undefined;
1566
+ /**
1567
+ * <p>A unique identifier for the request. If you don't set the client request token, Amazon
1568
+ * Comprehend generates one.</p>
1569
+ */
1570
+ ClientRequestToken?: string;
1571
+ /**
1572
+ * <p>Tags for the dataset.</p>
1573
+ */
1574
+ Tags?: Tag[];
1575
+ }
1576
+ export interface CreateDatasetResponse {
1577
+ /**
1578
+ * <p>The ARN of the dataset.</p>
1579
+ */
1580
+ DatasetArn?: string;
1581
+ }
1582
+ /**
1583
+ * <p>The specified resource name is already in use. Use a different name and try your request
1584
+ * again.</p>
1585
+ */
1586
+ export declare class ResourceInUseException extends __BaseException {
1587
+ readonly name: "ResourceInUseException";
1588
+ readonly $fault: "client";
1589
+ Message?: string;
1590
+ /**
1591
+ * @internal
1592
+ */
1593
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
1594
+ }
1595
+ /**
1596
+ * <p>The maximum number of resources per account has been exceeded. Review the resources, and
1597
+ * then try your request again.</p>
1598
+ */
1599
+ export declare class ResourceLimitExceededException extends __BaseException {
1600
+ readonly name: "ResourceLimitExceededException";
1601
+ readonly $fault: "client";
1602
+ Message?: string;
1603
+ /**
1604
+ * @internal
1605
+ */
1606
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
1607
+ }
1608
+ /**
1609
+ * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
1610
+ */
1611
+ export declare class ResourceNotFoundException extends __BaseException {
1612
+ readonly name: "ResourceNotFoundException";
1613
+ readonly $fault: "client";
1614
+ Message?: string;
1615
+ /**
1616
+ * @internal
1617
+ */
1618
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
1619
+ }
1620
+ /**
1621
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
1622
+ */
1623
+ export declare class TooManyRequestsException extends __BaseException {
1624
+ readonly name: "TooManyRequestsException";
1625
+ readonly $fault: "client";
1626
+ Message?: string;
1627
+ /**
1628
+ * @internal
1629
+ */
1630
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
1631
+ }
1632
+ /**
1633
+ * <p>The request contains more tags than can be associated with a resource (50 tags per
1634
+ * resource). The maximum number of tags includes both existing tags and those included in your
1635
+ * current request. </p>
1636
+ */
1637
+ export declare class TooManyTagsException extends __BaseException {
1638
+ readonly name: "TooManyTagsException";
1639
+ readonly $fault: "client";
1640
+ Message?: string;
1641
+ /**
1642
+ * @internal
1643
+ */
1644
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1645
+ }
1357
1646
  export declare enum DocumentClassifierDataFormat {
1358
1647
  AUGMENTED_MANIFEST = "AUGMENTED_MANIFEST",
1359
1648
  COMPREHEND_CSV = "COMPREHEND_CSV"
@@ -1466,27 +1755,10 @@ export interface DocumentClassifierOutputDataConfig {
1466
1755
  * </ul>
1467
1756
  */
1468
1757
  KmsKeyId?: string;
1469
- }
1470
- /**
1471
- * <p>A key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For
1472
- * example, a tag with the key-value pair ‘Department’:’Sales’ might be added to a resource to
1473
- * indicate its use by a particular department. </p>
1474
- */
1475
- export interface Tag {
1476
1758
  /**
1477
- * <p>The initial part of a key-value pair that forms a tag associated with a given resource.
1478
- * For instance, if you want to show which resources are used by which departments, you might use
1479
- * “Department” as the key portion of the pair, with multiple possible values such as “sales,”
1480
- * “legal,” and “administration.” </p>
1759
+ * <p>The Amazon S3 prefix for the data lake location of the flywheel statistics.</p>
1481
1760
  */
1482
- Key: string | undefined;
1483
- /**
1484
- * <p> The second part of a key-value pair that forms a tag associated with a given resource.
1485
- * For instance, if you want to show which resources are used by which departments, you might use
1486
- * “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the
1487
- * sales department. </p>
1488
- */
1489
- Value?: string;
1761
+ FlywheelStatsS3Prefix?: string;
1490
1762
  }
1491
1763
  /**
1492
1764
  * <p> Configuration parameters for an optional private Virtual Private Cloud (VPC) containing
@@ -1524,12 +1796,12 @@ export interface CreateDocumentClassifierRequest {
1524
1796
  */
1525
1797
  VersionName?: string;
1526
1798
  /**
1527
- * <p>The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants
1528
- * Amazon Comprehend read access to your input data.</p>
1799
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
1800
+ * grants Amazon Comprehend read access to your input data.</p>
1529
1801
  */
1530
1802
  DataAccessRoleArn: string | undefined;
1531
1803
  /**
1532
- * <p>Tags to be associated with the document classifier being created. A tag is a key-value
1804
+ * <p>Tags to associate with the document classifier. A tag is a key-value
1533
1805
  * pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with
1534
1806
  * "Sales" as the key might be added to a resource to indicate its use by the sales department.
1535
1807
  * </p>
@@ -1550,9 +1822,8 @@ export interface CreateDocumentClassifierRequest {
1550
1822
  */
1551
1823
  ClientRequestToken?: string;
1552
1824
  /**
1553
- * <p>The language of the input documents. You can specify any of the following languages
1554
- * supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"),
1555
- * Italian ("it"), or Portuguese ("pt"). All documents must be in the same language.</p>
1825
+ * <p>The language of the input documents. You can specify any of the languages
1826
+ * supported by Amazon Comprehend. All documents must be in the same language.</p>
1556
1827
  */
1557
1828
  LanguageCode: LanguageCode | string | undefined;
1558
1829
  /**
@@ -1639,58 +1910,6 @@ export declare class KmsKeyValidationException extends __BaseException {
1639
1910
  */
1640
1911
  constructor(opts: __ExceptionOptionType<KmsKeyValidationException, __BaseException>);
1641
1912
  }
1642
- /**
1643
- * <p>The specified resource name is already in use. Use a different name and try your request
1644
- * again.</p>
1645
- */
1646
- export declare class ResourceInUseException extends __BaseException {
1647
- readonly name: "ResourceInUseException";
1648
- readonly $fault: "client";
1649
- Message?: string;
1650
- /**
1651
- * @internal
1652
- */
1653
- constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
1654
- }
1655
- /**
1656
- * <p>The maximum number of resources per account has been exceeded. Review the resources, and
1657
- * then try your request again.</p>
1658
- */
1659
- export declare class ResourceLimitExceededException extends __BaseException {
1660
- readonly name: "ResourceLimitExceededException";
1661
- readonly $fault: "client";
1662
- Message?: string;
1663
- /**
1664
- * @internal
1665
- */
1666
- constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
1667
- }
1668
- /**
1669
- * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
1670
- */
1671
- export declare class TooManyRequestsException extends __BaseException {
1672
- readonly name: "TooManyRequestsException";
1673
- readonly $fault: "client";
1674
- Message?: string;
1675
- /**
1676
- * @internal
1677
- */
1678
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
1679
- }
1680
- /**
1681
- * <p>The request contains more tags than can be associated with a resource (50 tags per
1682
- * resource). The maximum number of tags includes both existing tags and those included in your
1683
- * current request. </p>
1684
- */
1685
- export declare class TooManyTagsException extends __BaseException {
1686
- readonly name: "TooManyTagsException";
1687
- readonly $fault: "client";
1688
- Message?: string;
1689
- /**
1690
- * @internal
1691
- */
1692
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1693
- }
1694
1913
  export interface CreateEndpointRequest {
1695
1914
  /**
1696
1915
  * <p>This is the descriptive suffix that becomes part of the <code>EndpointArn</code> used for
@@ -1701,7 +1920,7 @@ export interface CreateEndpointRequest {
1701
1920
  * <p>The Amazon Resource Number (ARN) of the model to which the endpoint will be
1702
1921
  * attached.</p>
1703
1922
  */
1704
- ModelArn: string | undefined;
1923
+ ModelArn?: string;
1705
1924
  /**
1706
1925
  * <p> The desired number of inference units to be used by the model using this endpoint.
1707
1926
  *
@@ -1715,35 +1934,33 @@ export interface CreateEndpointRequest {
1715
1934
  */
1716
1935
  ClientRequestToken?: string;
1717
1936
  /**
1718
- * <p>Tags associated with the endpoint being created. A tag is a key-value pair that adds
1937
+ * <p>Tags to associate with the endpoint. A tag is a key-value pair that adds
1719
1938
  * metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an
1720
1939
  * endpoint to indicate its use by the sales department. </p>
1721
1940
  */
1722
1941
  Tags?: Tag[];
1723
1942
  /**
1724
- * <p>The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that
1943
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
1725
1944
  * grants Amazon Comprehend read access to trained custom models encrypted with a customer
1726
1945
  * managed key (ModelKmsKeyId).</p>
1727
1946
  */
1728
1947
  DataAccessRoleArn?: string;
1948
+ /**
1949
+ * <p>The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be
1950
+ * attached.</p>
1951
+ */
1952
+ FlywheelArn?: string;
1729
1953
  }
1730
1954
  export interface CreateEndpointResponse {
1731
1955
  /**
1732
1956
  * <p>The Amazon Resource Number (ARN) of the endpoint being created.</p>
1733
1957
  */
1734
1958
  EndpointArn?: string;
1735
- }
1736
- /**
1737
- * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
1738
- */
1739
- export declare class ResourceNotFoundException extends __BaseException {
1740
- readonly name: "ResourceNotFoundException";
1741
- readonly $fault: "client";
1742
- Message?: string;
1743
1959
  /**
1744
- * @internal
1960
+ * <p>The Amazon Resource Number (ARN) of the model to which the endpoint is
1961
+ * attached.</p>
1745
1962
  */
1746
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
1963
+ ModelArn?: string;
1747
1964
  }
1748
1965
  /**
1749
1966
  * <p>Describes the annotations associated with a entity recognizer.</p>
@@ -1764,10 +1981,6 @@ export declare enum EntityRecognizerDataFormat {
1764
1981
  AUGMENTED_MANIFEST = "AUGMENTED_MANIFEST",
1765
1982
  COMPREHEND_CSV = "COMPREHEND_CSV"
1766
1983
  }
1767
- export declare enum InputFormat {
1768
- ONE_DOC_PER_FILE = "ONE_DOC_PER_FILE",
1769
- ONE_DOC_PER_LINE = "ONE_DOC_PER_LINE"
1770
- }
1771
1984
  /**
1772
1985
  * <p>Describes the training documents submitted with an entity recognizer.</p>
1773
1986
  */
@@ -1794,7 +2007,7 @@ export interface EntityRecognizerDocuments {
1794
2007
  InputFormat?: InputFormat | string;
1795
2008
  }
1796
2009
  /**
1797
- * <p>Describes the entity recognizer submitted with an entity recognizer.</p>
2010
+ * <p>Describes the entity list submitted with an entity recognizer.</p>
1798
2011
  */
1799
2012
  export interface EntityRecognizerEntityList {
1800
2013
  /**
@@ -1897,12 +2110,12 @@ export interface CreateEntityRecognizerRequest {
1897
2110
  */
1898
2111
  VersionName?: string;
1899
2112
  /**
1900
- * <p>The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants
1901
- * Amazon Comprehend read access to your input data.</p>
2113
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
2114
+ * grants Amazon Comprehend read access to your input data.</p>
1902
2115
  */
1903
2116
  DataAccessRoleArn: string | undefined;
1904
2117
  /**
1905
- * <p>Tags to be associated with the entity recognizer being created. A tag is a key-value pair
2118
+ * <p>Tags to associate with the entity recognizer. A tag is a key-value pair
1906
2119
  * that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with
1907
2120
  * "Sales" as the key might be added to a resource to indicate its use by the sales department.
1908
2121
  * </p>
@@ -1952,7 +2165,7 @@ export interface CreateEntityRecognizerRequest {
1952
2165
  VpcConfig?: VpcConfig;
1953
2166
  /**
1954
2167
  * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt
1955
- * trained custom models. The ModelKmsKeyId can be either of the following formats</p>
2168
+ * trained custom models. The ModelKmsKeyId can be either of the following formats:</p>
1956
2169
  * <ul>
1957
2170
  * <li>
1958
2171
  * <p>KMS Key ID: <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
@@ -1990,6 +2203,135 @@ export interface CreateEntityRecognizerResponse {
1990
2203
  */
1991
2204
  EntityRecognizerArn?: string;
1992
2205
  }
2206
+ /**
2207
+ * <p>Data security configuration.</p>
2208
+ */
2209
+ export interface DataSecurityConfig {
2210
+ /**
2211
+ * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt
2212
+ * trained custom models. The ModelKmsKeyId can be either of the following formats:</p>
2213
+ * <ul>
2214
+ * <li>
2215
+ * <p>KMS Key ID: <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
2216
+ * </p>
2217
+ * </li>
2218
+ * <li>
2219
+ * <p>Amazon Resource Name (ARN) of a KMS Key:
2220
+ * <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
2221
+ * </p>
2222
+ * </li>
2223
+ * </ul>
2224
+ */
2225
+ ModelKmsKeyId?: string;
2226
+ /**
2227
+ * <p>ID for the KMS key that Amazon Comprehend uses to encrypt the volume.</p>
2228
+ */
2229
+ VolumeKmsKeyId?: string;
2230
+ /**
2231
+ * <p>ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.</p>
2232
+ */
2233
+ DataLakeKmsKeyId?: string;
2234
+ /**
2235
+ * <p> Configuration parameters for an optional private Virtual Private Cloud (VPC) containing
2236
+ * the resources you are using for the job. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
2237
+ * VPC</a>. </p>
2238
+ */
2239
+ VpcConfig?: VpcConfig;
2240
+ }
2241
+ export declare enum ModelType {
2242
+ DOCUMENT_CLASSIFIER = "DOCUMENT_CLASSIFIER",
2243
+ ENTITY_RECOGNIZER = "ENTITY_RECOGNIZER"
2244
+ }
2245
+ /**
2246
+ * <p>Configuration required for a custom classification model.</p>
2247
+ */
2248
+ export interface DocumentClassificationConfig {
2249
+ /**
2250
+ * <p>Classification mode indicates whether the documents are <code>MULTI_CLASS</code> or <code>MULTI_LABEL</code>.</p>
2251
+ */
2252
+ Mode: DocumentClassifierMode | string | undefined;
2253
+ /**
2254
+ * <p>One or more labels to associate with the custom classifier.</p>
2255
+ */
2256
+ Labels?: string[];
2257
+ }
2258
+ /**
2259
+ * <p>Configuration required for an entity recognition model.</p>
2260
+ */
2261
+ export interface EntityRecognitionConfig {
2262
+ /**
2263
+ * <p>Up to 25 entity types that the model is trained to recognize.</p>
2264
+ */
2265
+ EntityTypes: EntityTypesListItem[] | undefined;
2266
+ }
2267
+ /**
2268
+ * <p>Configuration about the custom classifier associated with the flywheel.</p>
2269
+ */
2270
+ export interface TaskConfig {
2271
+ /**
2272
+ * <p>Language code for the language that the model supports.</p>
2273
+ */
2274
+ LanguageCode: LanguageCode | string | undefined;
2275
+ /**
2276
+ * <p>Configuration required for a classification model.</p>
2277
+ */
2278
+ DocumentClassificationConfig?: DocumentClassificationConfig;
2279
+ /**
2280
+ * <p>Configuration required for an entity recognition model.</p>
2281
+ */
2282
+ EntityRecognitionConfig?: EntityRecognitionConfig;
2283
+ }
2284
+ export interface CreateFlywheelRequest {
2285
+ /**
2286
+ * <p>Name for the flywheel.</p>
2287
+ */
2288
+ FlywheelName: string | undefined;
2289
+ /**
2290
+ * <p>To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model version.</p>
2291
+ */
2292
+ ActiveModelArn?: string;
2293
+ /**
2294
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
2295
+ * grants Amazon Comprehend the permissions required to access the flywheel data in the data lake.</p>
2296
+ */
2297
+ DataAccessRoleArn: string | undefined;
2298
+ /**
2299
+ * <p>Configuration about the custom classifier associated with the flywheel.</p>
2300
+ */
2301
+ TaskConfig?: TaskConfig;
2302
+ /**
2303
+ * <p>The model type.</p>
2304
+ */
2305
+ ModelType?: ModelType | string;
2306
+ /**
2307
+ * <p>Enter the S3 location for the data lake. You can specify a new S3 bucket or a new folder of an
2308
+ * existing S3 bucket. The flywheel creates the data lake at this location.</p>
2309
+ */
2310
+ DataLakeS3Uri: string | undefined;
2311
+ /**
2312
+ * <p>Data security configurations.</p>
2313
+ */
2314
+ DataSecurityConfig?: DataSecurityConfig;
2315
+ /**
2316
+ * <p>A unique identifier for the request. If you don't set the client request token, Amazon
2317
+ * Comprehend generates one.</p>
2318
+ */
2319
+ ClientRequestToken?: string;
2320
+ /**
2321
+ * <p>The tags to associate with this flywheel.</p>
2322
+ */
2323
+ Tags?: Tag[];
2324
+ }
2325
+ export interface CreateFlywheelResponse {
2326
+ /**
2327
+ * <p>The Amazon Resource Number (ARN) of the flywheel.</p>
2328
+ */
2329
+ FlywheelArn?: string;
2330
+ /**
2331
+ * <p>The Amazon Resource Number (ARN) of the active model version.</p>
2332
+ */
2333
+ ActiveModelArn?: string;
2334
+ }
1993
2335
  export interface DeleteDocumentClassifierRequest {
1994
2336
  /**
1995
2337
  * <p>The Amazon Resource Name (ARN) that identifies the document classifier. </p>
@@ -2014,6 +2356,14 @@ export interface DeleteEntityRecognizerRequest {
2014
2356
  }
2015
2357
  export interface DeleteEntityRecognizerResponse {
2016
2358
  }
2359
+ export interface DeleteFlywheelRequest {
2360
+ /**
2361
+ * <p>The Amazon Resource Number (ARN) of the flywheel to delete.</p>
2362
+ */
2363
+ FlywheelArn: string | undefined;
2364
+ }
2365
+ export interface DeleteFlywheelResponse {
2366
+ }
2017
2367
  export interface DeleteResourcePolicyRequest {
2018
2368
  /**
2019
2369
  * <p>The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.</p>
@@ -2026,10 +2376,73 @@ export interface DeleteResourcePolicyRequest {
2026
2376
  }
2027
2377
  export interface DeleteResourcePolicyResponse {
2028
2378
  }
2379
+ export interface DescribeDatasetRequest {
2380
+ /**
2381
+ * <p>The ARN of the dataset.</p>
2382
+ */
2383
+ DatasetArn: string | undefined;
2384
+ }
2385
+ export declare enum DatasetStatus {
2386
+ COMPLETED = "COMPLETED",
2387
+ CREATING = "CREATING",
2388
+ FAILED = "FAILED"
2389
+ }
2390
+ /**
2391
+ * <p>Properties associated with the dataset.</p>
2392
+ */
2393
+ export interface DatasetProperties {
2394
+ /**
2395
+ * <p>The ARN of the dataset.</p>
2396
+ */
2397
+ DatasetArn?: string;
2398
+ /**
2399
+ * <p>The name of the dataset.</p>
2400
+ */
2401
+ DatasetName?: string;
2402
+ /**
2403
+ * <p>The dataset type (training data or test data).</p>
2404
+ */
2405
+ DatasetType?: DatasetType | string;
2406
+ /**
2407
+ * <p>The S3 URI where the dataset is stored.</p>
2408
+ */
2409
+ DatasetS3Uri?: string;
2410
+ /**
2411
+ * <p>Description of the dataset.</p>
2412
+ */
2413
+ Description?: string;
2414
+ /**
2415
+ * <p>The dataset status. While the system creates the dataset, the status is <code>CREATING</code>.
2416
+ * When the dataset is ready to use, the status changes to <code>COMPLETED</code>. </p>
2417
+ */
2418
+ Status?: DatasetStatus | string;
2419
+ /**
2420
+ * <p>A description of the status of the dataset.</p>
2421
+ */
2422
+ Message?: string;
2423
+ /**
2424
+ * <p>The number of documents in the dataset.</p>
2425
+ */
2426
+ NumberOfDocuments?: number;
2427
+ /**
2428
+ * <p>Creation time of the dataset.</p>
2429
+ */
2430
+ CreationTime?: Date;
2431
+ /**
2432
+ * <p>Time when the data from the dataset becomes available in the data lake.</p>
2433
+ */
2434
+ EndTime?: Date;
2435
+ }
2436
+ export interface DescribeDatasetResponse {
2437
+ /**
2438
+ * <p>The dataset properties.</p>
2439
+ */
2440
+ DatasetProperties?: DatasetProperties;
2441
+ }
2029
2442
  export interface DescribeDocumentClassificationJobRequest {
2030
2443
  /**
2031
- * <p>The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its
2032
- * response.</p>
2444
+ * <p>The identifier that Amazon Comprehend generated for the job. The
2445
+ * <code>StartDocumentClassificationJob</code> operation returns this identifier in its response.</p>
2033
2446
  */
2034
2447
  JobId: string | undefined;
2035
2448
  }
@@ -2182,7 +2595,7 @@ export interface DocumentClassificationJobProperties {
2182
2595
  */
2183
2596
  OutputDataConfig?: OutputDataConfig;
2184
2597
  /**
2185
- * <p>The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that
2598
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
2186
2599
  * grants Amazon Comprehend read access to your input data.</p>
2187
2600
  */
2188
2601
  DataAccessRoleArn?: string;
@@ -2209,6 +2622,10 @@ export interface DocumentClassificationJobProperties {
2209
2622
  * VPC</a>. </p>
2210
2623
  */
2211
2624
  VpcConfig?: VpcConfig;
2625
+ /**
2626
+ * <p>The Amazon Resource Number (ARN) of the flywheel</p>
2627
+ */
2628
+ FlywheelArn?: string;
2212
2629
  }
2213
2630
  export interface DescribeDocumentClassificationJobResponse {
2214
2631
  /**
@@ -2231,8 +2648,8 @@ export declare class JobNotFoundException extends __BaseException {
2231
2648
  }
2232
2649
  export interface DescribeDocumentClassifierRequest {
2233
2650
  /**
2234
- * <p>The Amazon Resource Name (ARN) that identifies the document classifier. The operation returns this identifier in its
2235
- * response.</p>
2651
+ * <p>The Amazon Resource Name (ARN) that identifies the document classifier. The
2652
+ * <code>CreateDocumentClassifier</code> operation returns this identifier in its response.</p>
2236
2653
  */
2237
2654
  DocumentClassifierArn: string | undefined;
2238
2655
  }
@@ -2303,8 +2720,8 @@ export interface DocumentClassifierProperties {
2303
2720
  */
2304
2721
  ClassifierMetadata?: ClassifierMetadata;
2305
2722
  /**
2306
- * <p>The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants
2307
- * Amazon Comprehend read access to your input data.</p>
2723
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
2724
+ * grants Amazon Comprehend read access to your input data.</p>
2308
2725
  */
2309
2726
  DataAccessRoleArn?: string;
2310
2727
  /**
@@ -2361,6 +2778,10 @@ export interface DocumentClassifierProperties {
2361
2778
  * different AWS account to create the document classifier model in your AWS account.</p>
2362
2779
  */
2363
2780
  SourceModelArn?: string;
2781
+ /**
2782
+ * <p>The Amazon Resource Number (ARN) of the flywheel</p>
2783
+ */
2784
+ FlywheelArn?: string;
2364
2785
  }
2365
2786
  export interface DescribeDocumentClassifierResponse {
2366
2787
  /**
@@ -2369,9 +2790,9 @@ export interface DescribeDocumentClassifierResponse {
2369
2790
  DocumentClassifierProperties?: DocumentClassifierProperties;
2370
2791
  }
2371
2792
  export interface DescribeDominantLanguageDetectionJobRequest {
2372
- /**
2373
- * <p>The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its
2374
- * response.</p>
2793
+ /**
2794
+ * <p>The identifier that Amazon Comprehend generated for the job. The
2795
+ * <code>StartDominantLanguageDetectionJob</code> operation returns this identifier in its response.</p>
2375
2796
  */
2376
2797
  JobId: string | undefined;
2377
2798
  }
@@ -2428,8 +2849,8 @@ export interface DominantLanguageDetectionJobProperties {
2428
2849
  */
2429
2850
  OutputDataConfig?: OutputDataConfig;
2430
2851
  /**
2431
- * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input
2432
- * data.</p>
2852
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
2853
+ * grants Amazon Comprehend read access to your input data.</p>
2433
2854
  */
2434
2855
  DataAccessRoleArn?: string;
2435
2856
  /**
@@ -2524,7 +2945,7 @@ export interface EndpointProperties {
2524
2945
  */
2525
2946
  LastModifiedTime?: Date;
2526
2947
  /**
2527
- * <p>The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that
2948
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
2528
2949
  * grants Amazon Comprehend read access to trained custom models encrypted with a customer
2529
2950
  * managed key (ModelKmsKeyId).</p>
2530
2951
  */
@@ -2534,6 +2955,10 @@ export interface EndpointProperties {
2534
2955
  * key.</p>
2535
2956
  */
2536
2957
  DesiredDataAccessRoleArn?: string;
2958
+ /**
2959
+ * <p>The Amazon Resource Number (ARN) of the flywheel</p>
2960
+ */
2961
+ FlywheelArn?: string;
2537
2962
  }
2538
2963
  export interface DescribeEndpointResponse {
2539
2964
  /**
@@ -2543,8 +2968,8 @@ export interface DescribeEndpointResponse {
2543
2968
  }
2544
2969
  export interface DescribeEntitiesDetectionJobRequest {
2545
2970
  /**
2546
- * <p>The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its
2547
- * response.</p>
2971
+ * <p>The identifier that Amazon Comprehend generated for the job. The
2972
+ * <code>StartEntitiesDetectionJob</code> operation returns this identifier in its response.</p>
2548
2973
  */
2549
2974
  JobId: string | undefined;
2550
2975
  }
@@ -2609,8 +3034,8 @@ export interface EntitiesDetectionJobProperties {
2609
3034
  */
2610
3035
  LanguageCode?: LanguageCode | string;
2611
3036
  /**
2612
- * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input
2613
- * data.</p>
3037
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
3038
+ * grants Amazon Comprehend read access to your input data.</p>
2614
3039
  */
2615
3040
  DataAccessRoleArn?: string;
2616
3041
  /**
@@ -2649,6 +3074,15 @@ export interface DescribeEntityRecognizerRequest {
2649
3074
  */
2650
3075
  EntityRecognizerArn: string | undefined;
2651
3076
  }
3077
+ /**
3078
+ * <p>Output data configuration.</p>
3079
+ */
3080
+ export interface EntityRecognizerOutputDataConfig {
3081
+ /**
3082
+ * <p>The Amazon S3 prefix for the data lake location of the flywheel statistics.</p>
3083
+ */
3084
+ FlywheelStatsS3Prefix?: string;
3085
+ }
2652
3086
  /**
2653
3087
  * <p>Detailed information about the accuracy of an entity recognizer for a specific entity
2654
3088
  * type. </p>
@@ -2787,8 +3221,8 @@ export interface EntityRecognizerProperties {
2787
3221
  */
2788
3222
  RecognizerMetadata?: EntityRecognizerMetadata;
2789
3223
  /**
2790
- * <p> The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants
2791
- * Amazon Comprehend read access to your input data.</p>
3224
+ * <p> The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
3225
+ * grants Amazon Comprehend read access to your input data.</p>
2792
3226
  */
2793
3227
  DataAccessRoleArn?: string;
2794
3228
  /**
@@ -2816,7 +3250,7 @@ export interface EntityRecognizerProperties {
2816
3250
  VpcConfig?: VpcConfig;
2817
3251
  /**
2818
3252
  * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt
2819
- * trained custom models. The ModelKmsKeyId can be either of the following formats: </p>
3253
+ * trained custom models. The ModelKmsKeyId can be either of the following formats:</p>
2820
3254
  * <ul>
2821
3255
  * <li>
2822
3256
  * <p>KMS Key ID: <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
@@ -2839,6 +3273,14 @@ export interface EntityRecognizerProperties {
2839
3273
  * different AWS account to create the entity recognizer model in your AWS account.</p>
2840
3274
  */
2841
3275
  SourceModelArn?: string;
3276
+ /**
3277
+ * <p>The Amazon Resource Number (ARN) of the flywheel</p>
3278
+ */
3279
+ FlywheelArn?: string;
3280
+ /**
3281
+ * <p>Output data configuration.</p>
3282
+ */
3283
+ OutputDataConfig?: EntityRecognizerOutputDataConfig;
2842
3284
  }
2843
3285
  export interface DescribeEntityRecognizerResponse {
2844
3286
  /**
@@ -2908,7 +3350,7 @@ export interface EventsDetectionJobProperties {
2908
3350
  */
2909
3351
  LanguageCode?: LanguageCode | string;
2910
3352
  /**
2911
- * <p>The Amazon Resource Name (ARN) of the AWS Identify and Access Management (IAM) role that
3353
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
2912
3354
  * grants Amazon Comprehend read access to your input data.</p>
2913
3355
  */
2914
3356
  DataAccessRoleArn?: string;
@@ -2923,9 +3365,177 @@ export interface DescribeEventsDetectionJobResponse {
2923
3365
  */
2924
3366
  EventsDetectionJobProperties?: EventsDetectionJobProperties;
2925
3367
  }
3368
+ export interface DescribeFlywheelRequest {
3369
+ /**
3370
+ * <p>The Amazon Resource Number (ARN) of the flywheel.</p>
3371
+ */
3372
+ FlywheelArn: string | undefined;
3373
+ }
3374
+ export declare enum FlywheelStatus {
3375
+ ACTIVE = "ACTIVE",
3376
+ CREATING = "CREATING",
3377
+ DELETING = "DELETING",
3378
+ FAILED = "FAILED",
3379
+ UPDATING = "UPDATING"
3380
+ }
3381
+ /**
3382
+ * <p>The flywheel properties.</p>
3383
+ */
3384
+ export interface FlywheelProperties {
3385
+ /**
3386
+ * <p>The Amazon Resource Number (ARN) of the flywheel.</p>
3387
+ */
3388
+ FlywheelArn?: string;
3389
+ /**
3390
+ * <p>The Amazon Resource Number (ARN) of the active model version.</p>
3391
+ */
3392
+ ActiveModelArn?: string;
3393
+ /**
3394
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
3395
+ * grants Amazon Comprehend permission to access the flywheel data.</p>
3396
+ */
3397
+ DataAccessRoleArn?: string;
3398
+ /**
3399
+ * <p>Configuration about the custom classifier associated with the flywheel.</p>
3400
+ */
3401
+ TaskConfig?: TaskConfig;
3402
+ /**
3403
+ * <p>Amazon S3 URI of the data lake location. </p>
3404
+ */
3405
+ DataLakeS3Uri?: string;
3406
+ /**
3407
+ * <p>Data security configuration.</p>
3408
+ */
3409
+ DataSecurityConfig?: DataSecurityConfig;
3410
+ /**
3411
+ * <p>The status of the flywheel.</p>
3412
+ */
3413
+ Status?: FlywheelStatus | string;
3414
+ /**
3415
+ * <p>Model type of the flywheel's model.</p>
3416
+ */
3417
+ ModelType?: ModelType | string;
3418
+ /**
3419
+ * <p>A description of the status of the flywheel.</p>
3420
+ */
3421
+ Message?: string;
3422
+ /**
3423
+ * <p>Creation time of the flywheel.</p>
3424
+ */
3425
+ CreationTime?: Date;
3426
+ /**
3427
+ * <p>Last modified time for the flywheel.</p>
3428
+ */
3429
+ LastModifiedTime?: Date;
3430
+ /**
3431
+ * <p>The most recent flywheel iteration.</p>
3432
+ */
3433
+ LatestFlywheelIteration?: string;
3434
+ }
3435
+ export interface DescribeFlywheelResponse {
3436
+ /**
3437
+ * <p>The flywheel properties.</p>
3438
+ */
3439
+ FlywheelProperties?: FlywheelProperties;
3440
+ }
3441
+ export interface DescribeFlywheelIterationRequest {
3442
+ /**
3443
+ * <p></p>
3444
+ */
3445
+ FlywheelArn: string | undefined;
3446
+ /**
3447
+ * <p></p>
3448
+ */
3449
+ FlywheelIterationId: string | undefined;
3450
+ }
3451
+ /**
3452
+ * <p>The evaluation metrics associated with the evaluated model.</p>
3453
+ */
3454
+ export interface FlywheelModelEvaluationMetrics {
3455
+ /**
3456
+ * <p>The average F1 score from the evaluation metrics.</p>
3457
+ */
3458
+ AverageF1Score?: number;
3459
+ /**
3460
+ * <p>Average precision metric for the model.</p>
3461
+ */
3462
+ AveragePrecision?: number;
3463
+ /**
3464
+ * <p>Average recall metric for the model.</p>
3465
+ */
3466
+ AverageRecall?: number;
3467
+ /**
3468
+ * <p>Average accuracy metric for the model.</p>
3469
+ */
3470
+ AverageAccuracy?: number;
3471
+ }
3472
+ export declare enum FlywheelIterationStatus {
3473
+ COMPLETED = "COMPLETED",
3474
+ EVALUATING = "EVALUATING",
3475
+ FAILED = "FAILED",
3476
+ STOPPED = "STOPPED",
3477
+ STOP_REQUESTED = "STOP_REQUESTED",
3478
+ TRAINING = "TRAINING"
3479
+ }
3480
+ /**
3481
+ * <p>The configuration properties of a flywheel iteration.</p>
3482
+ */
3483
+ export interface FlywheelIterationProperties {
3484
+ /**
3485
+ * <p></p>
3486
+ */
3487
+ FlywheelArn?: string;
3488
+ /**
3489
+ * <p></p>
3490
+ */
3491
+ FlywheelIterationId?: string;
3492
+ /**
3493
+ * <p>The creation start time of the flywheel iteration.</p>
3494
+ */
3495
+ CreationTime?: Date;
3496
+ /**
3497
+ * <p>The completion time of this flywheel iteration.</p>
3498
+ */
3499
+ EndTime?: Date;
3500
+ /**
3501
+ * <p>The status of the flywheel iteration.</p>
3502
+ */
3503
+ Status?: FlywheelIterationStatus | string;
3504
+ /**
3505
+ * <p>A description of the status of the flywheel iteration.</p>
3506
+ */
3507
+ Message?: string;
3508
+ /**
3509
+ * <p>The ARN of the evaluated model associated with this flywheel iteration.</p>
3510
+ */
3511
+ EvaluatedModelArn?: string;
3512
+ /**
3513
+ * <p>The evaluation metrics associated with the evaluated model.</p>
3514
+ */
3515
+ EvaluatedModelMetrics?: FlywheelModelEvaluationMetrics;
3516
+ /**
3517
+ * <p>The ARN of the trained model associated with this flywheel iteration.</p>
3518
+ */
3519
+ TrainedModelArn?: string;
3520
+ /**
3521
+ * <p>The metrics associated with the trained model.</p>
3522
+ */
3523
+ TrainedModelMetrics?: FlywheelModelEvaluationMetrics;
3524
+ /**
3525
+ * <p></p>
3526
+ */
3527
+ EvaluationManifestS3Prefix?: string;
3528
+ }
3529
+ export interface DescribeFlywheelIterationResponse {
3530
+ /**
3531
+ * <p>The configuration properties of a flywheel iteration.</p>
3532
+ */
3533
+ FlywheelIterationProperties?: FlywheelIterationProperties;
3534
+ }
2926
3535
  export interface DescribeKeyPhrasesDetectionJobRequest {
2927
3536
  /**
2928
- * <p>The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its
3537
+ * <p>The identifier that Amazon Comprehend generated for the job. The
3538
+ * <code>StartKeyPhrasesDetectionJob</code> operation returns this identifier in its
2929
3539
  * response.</p>
2930
3540
  */
2931
3541
  JobId: string | undefined;
@@ -2987,8 +3597,8 @@ export interface KeyPhrasesDetectionJobProperties {
2987
3597
  */
2988
3598
  LanguageCode?: LanguageCode | string;
2989
3599
  /**
2990
- * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input
2991
- * data.</p>
3600
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
3601
+ * grants Amazon Comprehend read access to your input data.</p>
2992
3602
  */
2993
3603
  DataAccessRoleArn?: string;
2994
3604
  /**
@@ -3138,8 +3748,8 @@ export interface PiiEntitiesDetectionJobProperties {
3138
3748
  */
3139
3749
  LanguageCode?: LanguageCode | string;
3140
3750
  /**
3141
- * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input
3142
- * data.</p>
3751
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
3752
+ * grants Amazon Comprehend read access to your input data.</p>
3143
3753
  */
3144
3754
  DataAccessRoleArn?: string;
3145
3755
  /**
@@ -3243,8 +3853,8 @@ export interface SentimentDetectionJobProperties {
3243
3853
  */
3244
3854
  LanguageCode?: LanguageCode | string;
3245
3855
  /**
3246
- * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input
3247
- * data.</p>
3856
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
3857
+ * grants Amazon Comprehend read access to your input data.</p>
3248
3858
  */
3249
3859
  DataAccessRoleArn?: string;
3250
3860
  /**
@@ -3279,7 +3889,8 @@ export interface DescribeSentimentDetectionJobResponse {
3279
3889
  }
3280
3890
  export interface DescribeTargetedSentimentDetectionJobRequest {
3281
3891
  /**
3282
- * <p>The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its
3892
+ * <p>The identifier that Amazon Comprehend generated for the job. The
3893
+ * <code>StartTargetedSentimentDetectionJob</code> operation returns this identifier in its
3283
3894
  * response.</p>
3284
3895
  */
3285
3896
  JobId: string | undefined;
@@ -3341,12 +3952,12 @@ export interface TargetedSentimentDetectionJobProperties {
3341
3952
  */
3342
3953
  LanguageCode?: LanguageCode | string;
3343
3954
  /**
3344
- * <p>The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input
3345
- * data.</p>
3955
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
3956
+ * grants Amazon Comprehend read access to your input data.</p>
3346
3957
  */
3347
3958
  DataAccessRoleArn?: string;
3348
3959
  /**
3349
- * <p>ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt
3960
+ * <p>ID for the KMS key that Amazon Comprehend uses to encrypt the
3350
3961
  * data on the storage volume attached to the ML compute instance(s) that process the
3351
3962
  * targeted sentiment detection job. The VolumeKmsKeyId can be either of the following formats:</p>
3352
3963
  * <ul>
@@ -3439,8 +4050,8 @@ export interface TopicsDetectionJobProperties {
3439
4050
  */
3440
4051
  NumberOfTopics?: number;
3441
4052
  /**
3442
- * <p>The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants
3443
- * Amazon Comprehend read access to your job data. </p>
4053
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
4054
+ * grants Amazon Comprehend read access to your job data. </p>
3444
4055
  */
3445
4056
  DataAccessRoleArn?: string;
3446
4057
  /**
@@ -3734,13 +4345,13 @@ export interface ImportModelRequest {
3734
4345
  */
3735
4346
  ModelKmsKeyId?: string;
3736
4347
  /**
3737
- * <p>The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that allows
3738
- * Amazon Comprehend to use Amazon Key Management Service (KMS) to encrypt or decrypt the custom
4348
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
4349
+ * grants Amazon Comprehend permission to use Amazon Key Management Service (KMS) to encrypt or decrypt the custom
3739
4350
  * model.</p>
3740
4351
  */
3741
4352
  DataAccessRoleArn?: string;
3742
4353
  /**
3743
- * <p>Tags to be associated with the custom model that is created by this import. A tag is a
4354
+ * <p>Tags to associate with the custom model that is created by this import. A tag is a
3744
4355
  * key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a
3745
4356
  * tag with "Sales" as the key might be added to a resource to indicate its use by the sales
3746
4357
  * department.</p>
@@ -3766,6 +4377,55 @@ export declare class InvalidFilterException extends __BaseException {
3766
4377
  */
3767
4378
  constructor(opts: __ExceptionOptionType<InvalidFilterException, __BaseException>);
3768
4379
  }
4380
+ /**
4381
+ * <p>Filter the datasets based on creation time or dataset status.</p>
4382
+ */
4383
+ export interface DatasetFilter {
4384
+ /**
4385
+ * <p>Filter the datasets based on the dataset status.</p>
4386
+ */
4387
+ Status?: DatasetStatus | string;
4388
+ /**
4389
+ * <p>Filter the datasets based on the dataset type.</p>
4390
+ */
4391
+ DatasetType?: DatasetType | string;
4392
+ /**
4393
+ * <p>Filter the datasets to include datasets created after the specified time.</p>
4394
+ */
4395
+ CreationTimeAfter?: Date;
4396
+ /**
4397
+ * <p>Filter the datasets to include datasets created before the specified time.</p>
4398
+ */
4399
+ CreationTimeBefore?: Date;
4400
+ }
4401
+ export interface ListDatasetsRequest {
4402
+ /**
4403
+ * <p>The Amazon Resource Number (ARN) of the flywheel.</p>
4404
+ */
4405
+ FlywheelArn?: string;
4406
+ /**
4407
+ * <p>Filters the datasets to be returned in the response.</p>
4408
+ */
4409
+ Filter?: DatasetFilter;
4410
+ /**
4411
+ * <p>Identifies the next page of results to return.</p>
4412
+ */
4413
+ NextToken?: string;
4414
+ /**
4415
+ * <p>Maximum number of results to return in a response. The default is 100.</p>
4416
+ */
4417
+ MaxResults?: number;
4418
+ }
4419
+ export interface ListDatasetsResponse {
4420
+ /**
4421
+ * <p>The dataset properties list.</p>
4422
+ */
4423
+ DatasetPropertiesList?: DatasetProperties[];
4424
+ /**
4425
+ * <p>Identifies the next page of results to return.</p>
4426
+ */
4427
+ NextToken?: string;
4428
+ }
3769
4429
  /**
3770
4430
  * <p>Provides information for filtering a list of document classification jobs. For more
3771
4431
  * information, see the operation. You can
@@ -3820,7 +4480,8 @@ export interface ListDocumentClassificationJobsResponse {
3820
4480
  }
3821
4481
  /**
3822
4482
  * <p>Provides information for filtering a list of document classifiers. You can only specify
3823
- * one filtering parameter in a request. For more information, see the operation.</p>
4483
+ * one filtering parameter in a request. For more information, see the
4484
+ * <code>ListDocumentClassifiers</code> operation.</p>
3824
4485
  */
3825
4486
  export interface DocumentClassifierFilter {
3826
4487
  /**
@@ -4072,7 +4733,8 @@ export interface ListEntitiesDetectionJobsResponse {
4072
4733
  }
4073
4734
  /**
4074
4735
  * <p>Provides information for filtering a list of entity recognizers. You can only specify one
4075
- * filtering parameter in a request. For more information, see the operation./></p>
4736
+ * filtering parameter in a request. For more information, see the
4737
+ * <code>ListEntityRecognizers</code> operation./></p>
4076
4738
  */
4077
4739
  export interface EntityRecognizerFilter {
4078
4740
  /**
@@ -4163,7 +4825,7 @@ export interface ListEntityRecognizerSummariesResponse {
4163
4825
  */
4164
4826
  EntityRecognizerSummariesList?: EntityRecognizerSummary[];
4165
4827
  /**
4166
- * <p>The list entity recognizer summaries.</p>
4828
+ * <p>Identifies the next page of results to return.</p>
4167
4829
  */
4168
4830
  NextToken?: string;
4169
4831
  }
@@ -4218,6 +4880,132 @@ export interface ListEventsDetectionJobsResponse {
4218
4880
  */
4219
4881
  NextToken?: string;
4220
4882
  }
4883
+ /**
4884
+ * <p>Filter the flywheel iterations based on creation time.</p>
4885
+ */
4886
+ export interface FlywheelIterationFilter {
4887
+ /**
4888
+ * <p>Filter the flywheel iterations to include iterations created after the specified time.</p>
4889
+ */
4890
+ CreationTimeAfter?: Date;
4891
+ /**
4892
+ * <p>Filter the flywheel iterations to include iterations created before the specified time.</p>
4893
+ */
4894
+ CreationTimeBefore?: Date;
4895
+ }
4896
+ export interface ListFlywheelIterationHistoryRequest {
4897
+ /**
4898
+ * <p>The ARN of the flywheel.</p>
4899
+ */
4900
+ FlywheelArn: string | undefined;
4901
+ /**
4902
+ * <p>Filter the flywheel iteration history based on creation time.</p>
4903
+ */
4904
+ Filter?: FlywheelIterationFilter;
4905
+ /**
4906
+ * <p>Next token</p>
4907
+ */
4908
+ NextToken?: string;
4909
+ /**
4910
+ * <p>Maximum number of iteration history results to return</p>
4911
+ */
4912
+ MaxResults?: number;
4913
+ }
4914
+ export interface ListFlywheelIterationHistoryResponse {
4915
+ /**
4916
+ * <p>List of flywheel iteration properties</p>
4917
+ */
4918
+ FlywheelIterationPropertiesList?: FlywheelIterationProperties[];
4919
+ /**
4920
+ * <p>Next token</p>
4921
+ */
4922
+ NextToken?: string;
4923
+ }
4924
+ /**
4925
+ * <p>Filter the flywheels based on creation time or flywheel status.</p>
4926
+ */
4927
+ export interface FlywheelFilter {
4928
+ /**
4929
+ * <p>Filter the flywheels based on the flywheel status.</p>
4930
+ */
4931
+ Status?: FlywheelStatus | string;
4932
+ /**
4933
+ * <p>Filter the flywheels to include flywheels created after the specified time.</p>
4934
+ */
4935
+ CreationTimeAfter?: Date;
4936
+ /**
4937
+ * <p>Filter the flywheels to include flywheels created before the specified time.</p>
4938
+ */
4939
+ CreationTimeBefore?: Date;
4940
+ }
4941
+ export interface ListFlywheelsRequest {
4942
+ /**
4943
+ * <p>Filters the flywheels that are returned. You can filter flywheels on their status,
4944
+ * or the date and time that they were submitted. You can only set one filter at a time.
4945
+ * </p>
4946
+ */
4947
+ Filter?: FlywheelFilter;
4948
+ /**
4949
+ * <p>Identifies the next page of results to return.</p>
4950
+ */
4951
+ NextToken?: string;
4952
+ /**
4953
+ * <p>Maximum number of results to return in a response. The default is 100.</p>
4954
+ */
4955
+ MaxResults?: number;
4956
+ }
4957
+ /**
4958
+ * <p>Flywheel summary information.</p>
4959
+ */
4960
+ export interface FlywheelSummary {
4961
+ /**
4962
+ * <p>The Amazon Resource Number (ARN) of the flywheel</p>
4963
+ */
4964
+ FlywheelArn?: string;
4965
+ /**
4966
+ * <p>ARN of the active model version for the flywheel.</p>
4967
+ */
4968
+ ActiveModelArn?: string;
4969
+ /**
4970
+ * <p>Amazon S3 URI of the data lake location. </p>
4971
+ */
4972
+ DataLakeS3Uri?: string;
4973
+ /**
4974
+ * <p>The status of the flywheel.</p>
4975
+ */
4976
+ Status?: FlywheelStatus | string;
4977
+ /**
4978
+ * <p>Model type of the flywheel's model.</p>
4979
+ */
4980
+ ModelType?: ModelType | string;
4981
+ /**
4982
+ * <p>A description of the status of the flywheel.</p>
4983
+ */
4984
+ Message?: string;
4985
+ /**
4986
+ * <p>Creation time of the flywheel.</p>
4987
+ */
4988
+ CreationTime?: Date;
4989
+ /**
4990
+ * <p>Last modified time for the flywheel.</p>
4991
+ */
4992
+ LastModifiedTime?: Date;
4993
+ /**
4994
+ * <p>The most recent flywheel iteration.</p>
4995
+ */
4996
+ LatestFlywheelIteration?: string;
4997
+ }
4998
+ export interface ListFlywheelsResponse {
4999
+ /**
5000
+ * <p>A list of flywheel properties retrieved by the service in response to the request.
5001
+ * </p>
5002
+ */
5003
+ FlywheelSummaryList?: FlywheelSummary[];
5004
+ /**
5005
+ * <p>Identifies the next page of results to return.</p>
5006
+ */
5007
+ NextToken?: string;
5008
+ }
4221
5009
  /**
4222
5010
  * <p>Provides information for filtering a list of dominant language detection jobs. For more
4223
5011
  * information, see the operation.</p>
@@ -4396,7 +5184,7 @@ export interface ListTagsForResourceResponse {
4396
5184
  }
4397
5185
  /**
4398
5186
  * <p>Provides information for filtering a list of dominant language detection jobs. For more
4399
- * information, see the operation.</p>
5187
+ * information, see the <code>ListTargetedSentimentDetectionJobs</code> operation.</p>
4400
5188
  */
4401
5189
  export interface TargetedSentimentDetectionJobFilter {
4402
5190
  /**
@@ -4541,7 +5329,7 @@ export interface StartDocumentClassificationJobRequest {
4541
5329
  * <p>The Amazon Resource Name (ARN) of the document classifier to use to process the
4542
5330
  * job.</p>
4543
5331
  */
4544
- DocumentClassifierArn: string | undefined;
5332
+ DocumentClassifierArn?: string;
4545
5333
  /**
4546
5334
  * <p>Specifies the format and location of the input data for the job.</p>
4547
5335
  */
@@ -4585,16 +5373,20 @@ export interface StartDocumentClassificationJobRequest {
4585
5373
  */
4586
5374
  VpcConfig?: VpcConfig;
4587
5375
  /**
4588
- * <p>Tags to be associated with the document classification job. A tag is a key-value pair that
5376
+ * <p>Tags to associate with the document classification job. A tag is a key-value pair that
4589
5377
  * adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the
4590
5378
  * key might be added to a resource to indicate its use by the sales department.</p>
4591
5379
  */
4592
5380
  Tags?: Tag[];
5381
+ /**
5382
+ * <p>The Amazon Resource Number (ARN) of the flywheel associated with the model to use.</p>
5383
+ */
5384
+ FlywheelArn?: string;
4593
5385
  }
4594
5386
  export interface StartDocumentClassificationJobResponse {
4595
5387
  /**
4596
5388
  * <p>The identifier generated for the job. To get the status of the job, use this identifier
4597
- * with the operation.</p>
5389
+ * with the <code>DescribeDocumentClassificationJob</code> operation.</p>
4598
5390
  */
4599
5391
  JobId?: string;
4600
5392
  /**
@@ -4623,7 +5415,8 @@ export interface StartDocumentClassificationJobResponse {
4623
5415
  * <p>COMPLETED - The job was successfully completed and the output is available.</p>
4624
5416
  * </li>
4625
5417
  * <li>
4626
- * <p>FAILED - The job did not complete. For details, use the operation.</p>
5418
+ * <p>FAILED - The job did not complete. For details, use the
5419
+ * <code>DescribeDocumentClassificationJob</code> operation.</p>
4627
5420
  * </li>
4628
5421
  * <li>
4629
5422
  * <p>STOP_REQUESTED - Amazon Comprehend has received a stop request for the job and is
@@ -4635,6 +5428,10 @@ export interface StartDocumentClassificationJobResponse {
4635
5428
  * </ul>
4636
5429
  */
4637
5430
  JobStatus?: JobStatus | string;
5431
+ /**
5432
+ * <p>The ARN of the custom classification model.</p>
5433
+ */
5434
+ DocumentClassifierArn?: string;
4638
5435
  }
4639
5436
  export interface StartDominantLanguageDetectionJobRequest {
4640
5437
  /**
@@ -4683,7 +5480,7 @@ export interface StartDominantLanguageDetectionJobRequest {
4683
5480
  */
4684
5481
  VpcConfig?: VpcConfig;
4685
5482
  /**
4686
- * <p>Tags to be associated with the dominant language detection job. A tag is a key-value pair
5483
+ * <p>Tags to associate with the dominant language detection job. A tag is a key-value pair
4687
5484
  * that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as
4688
5485
  * the key might be added to a resource to indicate its use by the sales department.</p>
4689
5486
  */
@@ -4787,11 +5584,15 @@ export interface StartEntitiesDetectionJobRequest {
4787
5584
  */
4788
5585
  VpcConfig?: VpcConfig;
4789
5586
  /**
4790
- * <p>Tags to be associated with the entities detection job. A tag is a key-value pair that adds
5587
+ * <p>Tags to associate with the entities detection job. A tag is a key-value pair that adds
4791
5588
  * metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key
4792
5589
  * might be added to a resource to indicate its use by the sales department.</p>
4793
5590
  */
4794
5591
  Tags?: Tag[];
5592
+ /**
5593
+ * <p>The Amazon Resource Number (ARN) of the flywheel associated with the model to use.</p>
5594
+ */
5595
+ FlywheelArn?: string;
4795
5596
  }
4796
5597
  export interface StartEntitiesDetectionJobResponse {
4797
5598
  /**
@@ -4837,6 +5638,10 @@ export interface StartEntitiesDetectionJobResponse {
4837
5638
  * </ul>
4838
5639
  */
4839
5640
  JobStatus?: JobStatus | string;
5641
+ /**
5642
+ * <p>The ARN of the custom entity recognition model.</p>
5643
+ */
5644
+ EntityRecognizerArn?: string;
4840
5645
  }
4841
5646
  export interface StartEventsDetectionJobRequest {
4842
5647
  /**
@@ -4870,7 +5675,7 @@ export interface StartEventsDetectionJobRequest {
4870
5675
  */
4871
5676
  TargetEventTypes: string[] | undefined;
4872
5677
  /**
4873
- * <p>Tags to be associated with the events detection job. A tag is a key-value pair that adds
5678
+ * <p>Tags to associate with the events detection job. A tag is a key-value pair that adds
4874
5679
  * metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key
4875
5680
  * might be added to a resource to indicate its use by the sales department.</p>
4876
5681
  */
@@ -4900,6 +5705,27 @@ export interface StartEventsDetectionJobResponse {
4900
5705
  */
4901
5706
  JobStatus?: JobStatus | string;
4902
5707
  }
5708
+ export interface StartFlywheelIterationRequest {
5709
+ /**
5710
+ * <p>The ARN of the flywheel.</p>
5711
+ */
5712
+ FlywheelArn: string | undefined;
5713
+ /**
5714
+ * <p>A unique identifier for the request. If you don't set the client request token, Amazon
5715
+ * Comprehend generates one.</p>
5716
+ */
5717
+ ClientRequestToken?: string;
5718
+ }
5719
+ export interface StartFlywheelIterationResponse {
5720
+ /**
5721
+ * <p></p>
5722
+ */
5723
+ FlywheelArn?: string;
5724
+ /**
5725
+ * <p></p>
5726
+ */
5727
+ FlywheelIterationId?: string;
5728
+ }
4903
5729
  export interface StartKeyPhrasesDetectionJobRequest {
4904
5730
  /**
4905
5731
  * <p>Specifies the format and location of the input data for the job.</p>
@@ -4953,7 +5779,7 @@ export interface StartKeyPhrasesDetectionJobRequest {
4953
5779
  */
4954
5780
  VpcConfig?: VpcConfig;
4955
5781
  /**
4956
- * <p>Tags to be associated with the key phrases detection job. A tag is a key-value pair that
5782
+ * <p>Tags to associate with the key phrases detection job. A tag is a key-value pair that
4957
5783
  * adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the
4958
5784
  * key might be added to a resource to indicate its use by the sales department.</p>
4959
5785
  */
@@ -5037,7 +5863,7 @@ export interface StartPiiEntitiesDetectionJobRequest {
5037
5863
  */
5038
5864
  ClientRequestToken?: string;
5039
5865
  /**
5040
- * <p>Tags to be associated with the PII entities detection job. A tag is a key-value pair that
5866
+ * <p>Tags to associate with the PII entities detection job. A tag is a key-value pair that
5041
5867
  * adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the
5042
5868
  * key might be added to a resource to indicate its use by the sales department.</p>
5043
5869
  */
@@ -5118,7 +5944,7 @@ export interface StartSentimentDetectionJobRequest {
5118
5944
  */
5119
5945
  VpcConfig?: VpcConfig;
5120
5946
  /**
5121
- * <p>Tags to be associated with the sentiment detection job. A tag is a key-value pair that
5947
+ * <p>Tags to associate with the sentiment detection job. A tag is a key-value pair that
5122
5948
  * adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the
5123
5949
  * key might be added to a resource to indicate its use by the sales department.</p>
5124
5950
  */
@@ -5214,7 +6040,7 @@ export interface StartTargetedSentimentDetectionJobRequest {
5214
6040
  */
5215
6041
  VpcConfig?: VpcConfig;
5216
6042
  /**
5217
- * <p>Tags to be associated with the targeted sentiment detection job. A tag is a key-value pair that
6043
+ * <p>Tags to associate with the targeted sentiment detection job. A tag is a key-value pair that
5218
6044
  * adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the
5219
6045
  * key might be added to a resource to indicate its use by the sales department.</p>
5220
6046
  */
@@ -5223,7 +6049,7 @@ export interface StartTargetedSentimentDetectionJobRequest {
5223
6049
  export interface StartTargetedSentimentDetectionJobResponse {
5224
6050
  /**
5225
6051
  * <p>The identifier generated for the job. To get the status of a job, use this identifier with
5226
- * the operation.</p>
6052
+ * the <code>DescribeTargetedSentimentDetectionJob</code> operation.</p>
5227
6053
  */
5228
6054
  JobId?: string;
5229
6055
  /**
@@ -5252,7 +6078,8 @@ export interface StartTargetedSentimentDetectionJobResponse {
5252
6078
  * <p>COMPLETED - The job was successfully completed and the output is available.</p>
5253
6079
  * </li>
5254
6080
  * <li>
5255
- * <p>FAILED - The job did not complete. To get details, use the operation.</p>
6081
+ * <p>FAILED - The job did not complete. To get details, use the
6082
+ * <code>DescribeTargetedSentimentDetectionJob</code> operation.</p>
5256
6083
  * </li>
5257
6084
  * </ul>
5258
6085
  */
@@ -5270,8 +6097,8 @@ export interface StartTopicsDetectionJobRequest {
5270
6097
  */
5271
6098
  OutputDataConfig: OutputDataConfig | undefined;
5272
6099
  /**
5273
- * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role
5274
- * that grants Amazon Comprehend read access to your input data. For more information, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions">https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions</a>.</p>
6100
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that
6101
+ * grants Amazon Comprehend read access to your input data. For more information, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions">https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions.html#auth-role-permissions</a>.</p>
5275
6102
  */
5276
6103
  DataAccessRoleArn: string | undefined;
5277
6104
  /**
@@ -5311,7 +6138,7 @@ export interface StartTopicsDetectionJobRequest {
5311
6138
  */
5312
6139
  VpcConfig?: VpcConfig;
5313
6140
  /**
5314
- * <p>Tags to be associated with the topics detection job. A tag is a key-value pair that adds
6141
+ * <p>Tags to associate with the topics detection job. A tag is a key-value pair that adds
5315
6142
  * metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key
5316
6143
  * might be added to a resource to indicate its use by the sales department.</p>
5317
6144
  */
@@ -5461,120 +6288,6 @@ export interface StopSentimentDetectionJobResponse {
5461
6288
  */
5462
6289
  JobStatus?: JobStatus | string;
5463
6290
  }
5464
- export interface StopTargetedSentimentDetectionJobRequest {
5465
- /**
5466
- * <p>The identifier of the targeted sentiment detection job to stop.</p>
5467
- */
5468
- JobId: string | undefined;
5469
- }
5470
- export interface StopTargetedSentimentDetectionJobResponse {
5471
- /**
5472
- * <p>The identifier of the targeted sentiment detection job to stop.</p>
5473
- */
5474
- JobId?: string;
5475
- /**
5476
- * <p>Either <code>STOP_REQUESTED</code> if the job is currently running, or
5477
- * <code>STOPPED</code> if the job was previously stopped with the
5478
- * <code>StopSentimentDetectionJob</code> operation.</p>
5479
- */
5480
- JobStatus?: JobStatus | string;
5481
- }
5482
- export interface StopTrainingDocumentClassifierRequest {
5483
- /**
5484
- * <p>The Amazon Resource Name (ARN) that identifies the document classifier currently being
5485
- * trained.</p>
5486
- */
5487
- DocumentClassifierArn: string | undefined;
5488
- }
5489
- export interface StopTrainingDocumentClassifierResponse {
5490
- }
5491
- export interface StopTrainingEntityRecognizerRequest {
5492
- /**
5493
- * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer currently being
5494
- * trained.</p>
5495
- */
5496
- EntityRecognizerArn: string | undefined;
5497
- }
5498
- export interface StopTrainingEntityRecognizerResponse {
5499
- }
5500
- /**
5501
- * <p>Concurrent modification of the tags associated with an Amazon Comprehend resource is not
5502
- * supported. </p>
5503
- */
5504
- export declare class ConcurrentModificationException extends __BaseException {
5505
- readonly name: "ConcurrentModificationException";
5506
- readonly $fault: "client";
5507
- Message?: string;
5508
- /**
5509
- * @internal
5510
- */
5511
- constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
5512
- }
5513
- export interface TagResourceRequest {
5514
- /**
5515
- * <p>The Amazon Resource Name (ARN) of the given Amazon Comprehend resource to which you want
5516
- * to associate the tags. </p>
5517
- */
5518
- ResourceArn: string | undefined;
5519
- /**
5520
- * <p>Tags being associated with a specific Amazon Comprehend resource. There can be a maximum
5521
- * of 50 tags (both existing and pending) associated with a specific resource. </p>
5522
- */
5523
- Tags: Tag[] | undefined;
5524
- }
5525
- export interface TagResourceResponse {
5526
- }
5527
- /**
5528
- * <p>The request contains more tag keys than can be associated with a resource (50 tag keys per
5529
- * resource).</p>
5530
- */
5531
- export declare class TooManyTagKeysException extends __BaseException {
5532
- readonly name: "TooManyTagKeysException";
5533
- readonly $fault: "client";
5534
- Message?: string;
5535
- /**
5536
- * @internal
5537
- */
5538
- constructor(opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>);
5539
- }
5540
- export interface UntagResourceRequest {
5541
- /**
5542
- * <p> The Amazon Resource Name (ARN) of the given Amazon Comprehend resource from which you
5543
- * want to remove the tags. </p>
5544
- */
5545
- ResourceArn: string | undefined;
5546
- /**
5547
- * <p>The initial part of a key-value pair that forms a tag being removed from a given resource.
5548
- * For example, a tag with "Sales" as the key might be added to a resource to indicate its use by
5549
- * the sales department. Keys must be unique and cannot be duplicated for a particular resource.
5550
- * </p>
5551
- */
5552
- TagKeys: string[] | undefined;
5553
- }
5554
- export interface UntagResourceResponse {
5555
- }
5556
- export interface UpdateEndpointRequest {
5557
- /**
5558
- * <p>The Amazon Resource Number (ARN) of the endpoint being updated.</p>
5559
- */
5560
- EndpointArn: string | undefined;
5561
- /**
5562
- * <p>The ARN of the new model to use when updating an existing endpoint.</p>
5563
- */
5564
- DesiredModelArn?: string;
5565
- /**
5566
- * <p> The desired number of inference units to be used by the model using this endpoint.
5567
- *
5568
- * Each inference unit represents of a throughput of 100 characters per second.</p>
5569
- */
5570
- DesiredInferenceUnits?: number;
5571
- /**
5572
- * <p>Data access role ARN to use in case the new model is encrypted with a customer CMK.</p>
5573
- */
5574
- DesiredDataAccessRoleArn?: string;
5575
- }
5576
- export interface UpdateEndpointResponse {
5577
- }
5578
6291
  /**
5579
6292
  * @internal
5580
6293
  */
@@ -5782,15 +6495,51 @@ export declare const ContainsPiiEntitiesResponseFilterSensitiveLog: (obj: Contai
5782
6495
  /**
5783
6496
  * @internal
5784
6497
  */
5785
- export declare const DocumentClassifierInputDataConfigFilterSensitiveLog: (obj: DocumentClassifierInputDataConfig) => any;
6498
+ export declare const DatasetAugmentedManifestsListItemFilterSensitiveLog: (obj: DatasetAugmentedManifestsListItem) => any;
5786
6499
  /**
5787
6500
  * @internal
5788
6501
  */
5789
- export declare const DocumentClassifierOutputDataConfigFilterSensitiveLog: (obj: DocumentClassifierOutputDataConfig) => any;
6502
+ export declare const DatasetDocumentClassifierInputDataConfigFilterSensitiveLog: (obj: DatasetDocumentClassifierInputDataConfig) => any;
6503
+ /**
6504
+ * @internal
6505
+ */
6506
+ export declare const DatasetEntityRecognizerAnnotationsFilterSensitiveLog: (obj: DatasetEntityRecognizerAnnotations) => any;
6507
+ /**
6508
+ * @internal
6509
+ */
6510
+ export declare const DatasetEntityRecognizerDocumentsFilterSensitiveLog: (obj: DatasetEntityRecognizerDocuments) => any;
6511
+ /**
6512
+ * @internal
6513
+ */
6514
+ export declare const DatasetEntityRecognizerEntityListFilterSensitiveLog: (obj: DatasetEntityRecognizerEntityList) => any;
6515
+ /**
6516
+ * @internal
6517
+ */
6518
+ export declare const DatasetEntityRecognizerInputDataConfigFilterSensitiveLog: (obj: DatasetEntityRecognizerInputDataConfig) => any;
6519
+ /**
6520
+ * @internal
6521
+ */
6522
+ export declare const DatasetInputDataConfigFilterSensitiveLog: (obj: DatasetInputDataConfig) => any;
5790
6523
  /**
5791
6524
  * @internal
5792
6525
  */
5793
6526
  export declare const TagFilterSensitiveLog: (obj: Tag) => any;
6527
+ /**
6528
+ * @internal
6529
+ */
6530
+ export declare const CreateDatasetRequestFilterSensitiveLog: (obj: CreateDatasetRequest) => any;
6531
+ /**
6532
+ * @internal
6533
+ */
6534
+ export declare const CreateDatasetResponseFilterSensitiveLog: (obj: CreateDatasetResponse) => any;
6535
+ /**
6536
+ * @internal
6537
+ */
6538
+ export declare const DocumentClassifierInputDataConfigFilterSensitiveLog: (obj: DocumentClassifierInputDataConfig) => any;
6539
+ /**
6540
+ * @internal
6541
+ */
6542
+ export declare const DocumentClassifierOutputDataConfigFilterSensitiveLog: (obj: DocumentClassifierOutputDataConfig) => any;
5794
6543
  /**
5795
6544
  * @internal
5796
6545
  */
@@ -5839,6 +6588,30 @@ export declare const CreateEntityRecognizerRequestFilterSensitiveLog: (obj: Crea
5839
6588
  * @internal
5840
6589
  */
5841
6590
  export declare const CreateEntityRecognizerResponseFilterSensitiveLog: (obj: CreateEntityRecognizerResponse) => any;
6591
+ /**
6592
+ * @internal
6593
+ */
6594
+ export declare const DataSecurityConfigFilterSensitiveLog: (obj: DataSecurityConfig) => any;
6595
+ /**
6596
+ * @internal
6597
+ */
6598
+ export declare const DocumentClassificationConfigFilterSensitiveLog: (obj: DocumentClassificationConfig) => any;
6599
+ /**
6600
+ * @internal
6601
+ */
6602
+ export declare const EntityRecognitionConfigFilterSensitiveLog: (obj: EntityRecognitionConfig) => any;
6603
+ /**
6604
+ * @internal
6605
+ */
6606
+ export declare const TaskConfigFilterSensitiveLog: (obj: TaskConfig) => any;
6607
+ /**
6608
+ * @internal
6609
+ */
6610
+ export declare const CreateFlywheelRequestFilterSensitiveLog: (obj: CreateFlywheelRequest) => any;
6611
+ /**
6612
+ * @internal
6613
+ */
6614
+ export declare const CreateFlywheelResponseFilterSensitiveLog: (obj: CreateFlywheelResponse) => any;
5842
6615
  /**
5843
6616
  * @internal
5844
6617
  */
@@ -5863,6 +6636,14 @@ export declare const DeleteEntityRecognizerRequestFilterSensitiveLog: (obj: Dele
5863
6636
  * @internal
5864
6637
  */
5865
6638
  export declare const DeleteEntityRecognizerResponseFilterSensitiveLog: (obj: DeleteEntityRecognizerResponse) => any;
6639
+ /**
6640
+ * @internal
6641
+ */
6642
+ export declare const DeleteFlywheelRequestFilterSensitiveLog: (obj: DeleteFlywheelRequest) => any;
6643
+ /**
6644
+ * @internal
6645
+ */
6646
+ export declare const DeleteFlywheelResponseFilterSensitiveLog: (obj: DeleteFlywheelResponse) => any;
5866
6647
  /**
5867
6648
  * @internal
5868
6649
  */
@@ -5871,6 +6652,18 @@ export declare const DeleteResourcePolicyRequestFilterSensitiveLog: (obj: Delete
5871
6652
  * @internal
5872
6653
  */
5873
6654
  export declare const DeleteResourcePolicyResponseFilterSensitiveLog: (obj: DeleteResourcePolicyResponse) => any;
6655
+ /**
6656
+ * @internal
6657
+ */
6658
+ export declare const DescribeDatasetRequestFilterSensitiveLog: (obj: DescribeDatasetRequest) => any;
6659
+ /**
6660
+ * @internal
6661
+ */
6662
+ export declare const DatasetPropertiesFilterSensitiveLog: (obj: DatasetProperties) => any;
6663
+ /**
6664
+ * @internal
6665
+ */
6666
+ export declare const DescribeDatasetResponseFilterSensitiveLog: (obj: DescribeDatasetResponse) => any;
5874
6667
  /**
5875
6668
  * @internal
5876
6669
  */
@@ -5943,6 +6736,10 @@ export declare const DescribeEntitiesDetectionJobResponseFilterSensitiveLog: (ob
5943
6736
  * @internal
5944
6737
  */
5945
6738
  export declare const DescribeEntityRecognizerRequestFilterSensitiveLog: (obj: DescribeEntityRecognizerRequest) => any;
6739
+ /**
6740
+ * @internal
6741
+ */
6742
+ export declare const EntityRecognizerOutputDataConfigFilterSensitiveLog: (obj: EntityRecognizerOutputDataConfig) => any;
5946
6743
  /**
5947
6744
  * @internal
5948
6745
  */
@@ -5979,6 +6776,34 @@ export declare const EventsDetectionJobPropertiesFilterSensitiveLog: (obj: Event
5979
6776
  * @internal
5980
6777
  */
5981
6778
  export declare const DescribeEventsDetectionJobResponseFilterSensitiveLog: (obj: DescribeEventsDetectionJobResponse) => any;
6779
+ /**
6780
+ * @internal
6781
+ */
6782
+ export declare const DescribeFlywheelRequestFilterSensitiveLog: (obj: DescribeFlywheelRequest) => any;
6783
+ /**
6784
+ * @internal
6785
+ */
6786
+ export declare const FlywheelPropertiesFilterSensitiveLog: (obj: FlywheelProperties) => any;
6787
+ /**
6788
+ * @internal
6789
+ */
6790
+ export declare const DescribeFlywheelResponseFilterSensitiveLog: (obj: DescribeFlywheelResponse) => any;
6791
+ /**
6792
+ * @internal
6793
+ */
6794
+ export declare const DescribeFlywheelIterationRequestFilterSensitiveLog: (obj: DescribeFlywheelIterationRequest) => any;
6795
+ /**
6796
+ * @internal
6797
+ */
6798
+ export declare const FlywheelModelEvaluationMetricsFilterSensitiveLog: (obj: FlywheelModelEvaluationMetrics) => any;
6799
+ /**
6800
+ * @internal
6801
+ */
6802
+ export declare const FlywheelIterationPropertiesFilterSensitiveLog: (obj: FlywheelIterationProperties) => any;
6803
+ /**
6804
+ * @internal
6805
+ */
6806
+ export declare const DescribeFlywheelIterationResponseFilterSensitiveLog: (obj: DescribeFlywheelIterationResponse) => any;
5982
6807
  /**
5983
6808
  * @internal
5984
6809
  */
@@ -6123,6 +6948,18 @@ export declare const ImportModelRequestFilterSensitiveLog: (obj: ImportModelRequ
6123
6948
  * @internal
6124
6949
  */
6125
6950
  export declare const ImportModelResponseFilterSensitiveLog: (obj: ImportModelResponse) => any;
6951
+ /**
6952
+ * @internal
6953
+ */
6954
+ export declare const DatasetFilterFilterSensitiveLog: (obj: DatasetFilter) => any;
6955
+ /**
6956
+ * @internal
6957
+ */
6958
+ export declare const ListDatasetsRequestFilterSensitiveLog: (obj: ListDatasetsRequest) => any;
6959
+ /**
6960
+ * @internal
6961
+ */
6962
+ export declare const ListDatasetsResponseFilterSensitiveLog: (obj: ListDatasetsResponse) => any;
6126
6963
  /**
6127
6964
  * @internal
6128
6965
  */
@@ -6231,6 +7068,34 @@ export declare const ListEventsDetectionJobsRequestFilterSensitiveLog: (obj: Lis
6231
7068
  * @internal
6232
7069
  */
6233
7070
  export declare const ListEventsDetectionJobsResponseFilterSensitiveLog: (obj: ListEventsDetectionJobsResponse) => any;
7071
+ /**
7072
+ * @internal
7073
+ */
7074
+ export declare const FlywheelIterationFilterFilterSensitiveLog: (obj: FlywheelIterationFilter) => any;
7075
+ /**
7076
+ * @internal
7077
+ */
7078
+ export declare const ListFlywheelIterationHistoryRequestFilterSensitiveLog: (obj: ListFlywheelIterationHistoryRequest) => any;
7079
+ /**
7080
+ * @internal
7081
+ */
7082
+ export declare const ListFlywheelIterationHistoryResponseFilterSensitiveLog: (obj: ListFlywheelIterationHistoryResponse) => any;
7083
+ /**
7084
+ * @internal
7085
+ */
7086
+ export declare const FlywheelFilterFilterSensitiveLog: (obj: FlywheelFilter) => any;
7087
+ /**
7088
+ * @internal
7089
+ */
7090
+ export declare const ListFlywheelsRequestFilterSensitiveLog: (obj: ListFlywheelsRequest) => any;
7091
+ /**
7092
+ * @internal
7093
+ */
7094
+ export declare const FlywheelSummaryFilterSensitiveLog: (obj: FlywheelSummary) => any;
7095
+ /**
7096
+ * @internal
7097
+ */
7098
+ export declare const ListFlywheelsResponseFilterSensitiveLog: (obj: ListFlywheelsResponse) => any;
6234
7099
  /**
6235
7100
  * @internal
6236
7101
  */
@@ -6339,6 +7204,14 @@ export declare const StartEventsDetectionJobRequestFilterSensitiveLog: (obj: Sta
6339
7204
  * @internal
6340
7205
  */
6341
7206
  export declare const StartEventsDetectionJobResponseFilterSensitiveLog: (obj: StartEventsDetectionJobResponse) => any;
7207
+ /**
7208
+ * @internal
7209
+ */
7210
+ export declare const StartFlywheelIterationRequestFilterSensitiveLog: (obj: StartFlywheelIterationRequest) => any;
7211
+ /**
7212
+ * @internal
7213
+ */
7214
+ export declare const StartFlywheelIterationResponseFilterSensitiveLog: (obj: StartFlywheelIterationResponse) => any;
6342
7215
  /**
6343
7216
  * @internal
6344
7217
  */
@@ -6427,51 +7300,3 @@ export declare const StopSentimentDetectionJobRequestFilterSensitiveLog: (obj: S
6427
7300
  * @internal
6428
7301
  */
6429
7302
  export declare const StopSentimentDetectionJobResponseFilterSensitiveLog: (obj: StopSentimentDetectionJobResponse) => any;
6430
- /**
6431
- * @internal
6432
- */
6433
- export declare const StopTargetedSentimentDetectionJobRequestFilterSensitiveLog: (obj: StopTargetedSentimentDetectionJobRequest) => any;
6434
- /**
6435
- * @internal
6436
- */
6437
- export declare const StopTargetedSentimentDetectionJobResponseFilterSensitiveLog: (obj: StopTargetedSentimentDetectionJobResponse) => any;
6438
- /**
6439
- * @internal
6440
- */
6441
- export declare const StopTrainingDocumentClassifierRequestFilterSensitiveLog: (obj: StopTrainingDocumentClassifierRequest) => any;
6442
- /**
6443
- * @internal
6444
- */
6445
- export declare const StopTrainingDocumentClassifierResponseFilterSensitiveLog: (obj: StopTrainingDocumentClassifierResponse) => any;
6446
- /**
6447
- * @internal
6448
- */
6449
- export declare const StopTrainingEntityRecognizerRequestFilterSensitiveLog: (obj: StopTrainingEntityRecognizerRequest) => any;
6450
- /**
6451
- * @internal
6452
- */
6453
- export declare const StopTrainingEntityRecognizerResponseFilterSensitiveLog: (obj: StopTrainingEntityRecognizerResponse) => any;
6454
- /**
6455
- * @internal
6456
- */
6457
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
6458
- /**
6459
- * @internal
6460
- */
6461
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
6462
- /**
6463
- * @internal
6464
- */
6465
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
6466
- /**
6467
- * @internal
6468
- */
6469
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
6470
- /**
6471
- * @internal
6472
- */
6473
- export declare const UpdateEndpointRequestFilterSensitiveLog: (obj: UpdateEndpointRequest) => any;
6474
- /**
6475
- * @internal
6476
- */
6477
- export declare const UpdateEndpointResponseFilterSensitiveLog: (obj: UpdateEndpointResponse) => any;