import { DocumentReaderConfigProps } from './DocumentReaderConfigProps';
import { Value } from '../../../cloudformation/Value';
import { DocumentClassifierDocumentsProps } from './DocumentClassifierDocumentsProps';
import { AugmentedManifestsListItemProps } from './AugmentedManifestsListItemProps';
/**
  The input properties for training a document classifier.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-comprehend-documentclassifier-documentclassifierinputdataconfig.html">the AWS Docs</a>
*/
export interface DocumentClassifierInputDataConfigProps {
    /** <code>DocumentReaderConfig</code>  <a name="cfn-comprehend-documentclassifier-documentclassifierinputdataconfig-documentreaderconfig"></a>
  Property description not available.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    documentReaderConfig?: DocumentReaderConfigProps;
    /** <code>S3Uri</code>  <a name="cfn-comprehend-documentclassifier-documentclassifierinputdataconfig-s3uri"></a>
  The Amazon S3 URI for the input data. The S3 bucket must be in the same Region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files.<br />
  For example, if you use the URI <code>S3://bucketName/prefix</code>, if the prefix is a single file, Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of them as input.<br />
  This parameter is required if you set <code>DataFormat</code> to <code>COMPREHEND_CSV</code>.<br />
  
  Required: No<br />
  
  Maximum: <code>1024</code><br />
  
  Pattern: <code>s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    s3Uri?: Value<string>;
    /** <code>Documents</code>  <a name="cfn-comprehend-documentclassifier-documentclassifierinputdataconfig-documents"></a>
  The S3 location of the training documents. This parameter is required in a request to create a native document model.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    documents?: DocumentClassifierDocumentsProps;
    /** <p> */
    dataFormat?: Value<string>;
    /** <code>DocumentType</code>  <a name="cfn-comprehend-documentclassifier-documentclassifierinputdataconfig-documenttype"></a>
  The type of input documents for training the model. Provide plain-text documents to create a plain-text model, and provide semi-structured documents to create a native document model.<br />
  
  Required: No<br />
  
  Allowed values: <code>PLAIN_TEXT_DOCUMENT | SEMI_STRUCTURED_DOCUMENT</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    documentType?: Value<'PLAIN_TEXT_DOCUMENT' | 'SEMI_STRUCTURED_DOCUMENT'>;
    /** <code>AugmentedManifests</code> parameter in your request.
  If you don’t specify a value, Amazon Comprehend uses <code>COMPREHEND_CSV</code> as the default.<br />
  
  Required: No<br />
  
  Allowed values: <code>AUGMENTED_MANIFEST | COMPREHEND_CSV</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    augmentedManifests?: AugmentedManifestsListItemProps[];
    /** <code>LabelDelimiter</code>  <a name="cfn-comprehend-documentclassifier-documentclassifierinputdataconfig-labeldelimiter"></a>
  Indicates the delimiter used to separate each label for training a multi-label classifier. The default delimiter between labels is a pipe (|). You can use a different character as a delimiter (if it’s an allowed character) by specifying it under Delimiter for labels. If the training documents use a delimiter other than the default or the delimiter you specify, the labels on that line will be combined to make a single unique label, such as LABELLABELLABEL.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>1</code><br />
  
  Pattern: <code>^[ ~!@#$%^*\-_+=|\\:;\t&gt;?/]$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    labelDelimiter?: Value<string>;
    /** <code>TestS3Uri</code>  <a name="cfn-comprehend-documentclassifier-documentclassifierinputdataconfig-tests3uri"></a>
  This specifies the Amazon S3 location that contains the test annotations for the document classifier. The URI must be in the same AWS Region as the API endpoint that you are calling.<br />
  
  Required: No<br />
  
  Maximum: <code>1024</code><br />
  
  Pattern: <code>s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    testS3Uri?: Value<string>;
}
