Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DocumentReaderConfig = DocumentReaderConfig' {}
- newDocumentReaderConfig :: DocumentReadAction -> DocumentReaderConfig
- documentReaderConfig_featureTypes :: Lens' DocumentReaderConfig (Maybe (NonEmpty DocumentReadFeatureTypes))
- documentReaderConfig_documentReadMode :: Lens' DocumentReaderConfig (Maybe DocumentReadMode)
- documentReaderConfig_documentReadAction :: Lens' DocumentReaderConfig DocumentReadAction
Documentation
data DocumentReaderConfig Source #
The input properties for a topic detection job.
See: newDocumentReaderConfig
smart constructor.
DocumentReaderConfig' | |
|
Instances
newDocumentReaderConfig Source #
Create a value of DocumentReaderConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:featureTypes:DocumentReaderConfig'
, documentReaderConfig_featureTypes
- Specifies how the text in an input file should be processed:
$sel:documentReadMode:DocumentReaderConfig'
, documentReaderConfig_documentReadMode
- This enum field provides two values:
SERVICE_DEFAULT
- use service defaults for Document reading. For Digital PDF it would mean using an internal parser instead of Textract APIsFORCE_DOCUMENT_READ_ACTION
- Always use specified action for DocumentReadAction, including Digital PDF.
$sel:documentReadAction:DocumentReaderConfig'
, documentReaderConfig_documentReadAction
- This enum field will start with two values which will apply to PDFs:
TEXTRACT_DETECT_DOCUMENT_TEXT
- The service calls DetectDocumentText for PDF documents per page.TEXTRACT_ANALYZE_DOCUMENT
- The service calls AnalyzeDocument for PDF documents per page.
documentReaderConfig_featureTypes :: Lens' DocumentReaderConfig (Maybe (NonEmpty DocumentReadFeatureTypes)) Source #
Specifies how the text in an input file should be processed:
documentReaderConfig_documentReadMode :: Lens' DocumentReaderConfig (Maybe DocumentReadMode) Source #
This enum field provides two values:
SERVICE_DEFAULT
- use service defaults for Document reading. For Digital PDF it would mean using an internal parser instead of Textract APIsFORCE_DOCUMENT_READ_ACTION
- Always use specified action for DocumentReadAction, including Digital PDF.
documentReaderConfig_documentReadAction :: Lens' DocumentReaderConfig DocumentReadAction Source #
This enum field will start with two values which will apply to PDFs:
TEXTRACT_DETECT_DOCUMENT_TEXT
- The service calls DetectDocumentText for PDF documents per page.TEXTRACT_ANALYZE_DOCUMENT
- The service calls AnalyzeDocument for PDF documents per page.