Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CustomDocumentEnrichmentConfiguration = CustomDocumentEnrichmentConfiguration' {}
- newCustomDocumentEnrichmentConfiguration :: CustomDocumentEnrichmentConfiguration
- customDocumentEnrichmentConfiguration_inlineConfigurations :: Lens' CustomDocumentEnrichmentConfiguration (Maybe [InlineCustomDocumentEnrichmentConfiguration])
- customDocumentEnrichmentConfiguration_postExtractionHookConfiguration :: Lens' CustomDocumentEnrichmentConfiguration (Maybe HookConfiguration)
- customDocumentEnrichmentConfiguration_preExtractionHookConfiguration :: Lens' CustomDocumentEnrichmentConfiguration (Maybe HookConfiguration)
- customDocumentEnrichmentConfiguration_roleArn :: Lens' CustomDocumentEnrichmentConfiguration (Maybe Text)
Documentation
data CustomDocumentEnrichmentConfiguration Source #
Provides the configuration information for altering document metadata and content during the document ingestion process.
For more information, see Customizing document metadata during the ingestion process.
See: newCustomDocumentEnrichmentConfiguration
smart constructor.
CustomDocumentEnrichmentConfiguration' | |
|
Instances
newCustomDocumentEnrichmentConfiguration :: CustomDocumentEnrichmentConfiguration Source #
Create a value of CustomDocumentEnrichmentConfiguration
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:inlineConfigurations:CustomDocumentEnrichmentConfiguration'
, customDocumentEnrichmentConfiguration_inlineConfigurations
- Configuration information to alter document attributes or metadata
fields and content when ingesting documents into Amazon Kendra.
$sel:postExtractionHookConfiguration:CustomDocumentEnrichmentConfiguration'
, customDocumentEnrichmentConfiguration_postExtractionHookConfiguration
- Configuration information for invoking a Lambda function in Lambda on
the structured documents with their metadata and text extracted. You can
use a Lambda function to apply advanced logic for creating, modifying,
or deleting document metadata and content. For more information, see
Advanced data manipulation.
$sel:preExtractionHookConfiguration:CustomDocumentEnrichmentConfiguration'
, customDocumentEnrichmentConfiguration_preExtractionHookConfiguration
- Configuration information for invoking a Lambda function in Lambda on
the original or raw documents before extracting their metadata and text.
You can use a Lambda function to apply advanced logic for creating,
modifying, or deleting document metadata and content. For more
information, see
Advanced data manipulation.
$sel:roleArn:CustomDocumentEnrichmentConfiguration'
, customDocumentEnrichmentConfiguration_roleArn
- The Amazon Resource Name (ARN) of a role with permission to run
PreExtractionHookConfiguration
and PostExtractionHookConfiguration
for altering document metadata and content during the document ingestion
process. For more information, see
IAM roles for Amazon Kendra.
customDocumentEnrichmentConfiguration_inlineConfigurations :: Lens' CustomDocumentEnrichmentConfiguration (Maybe [InlineCustomDocumentEnrichmentConfiguration]) Source #
Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra.
customDocumentEnrichmentConfiguration_postExtractionHookConfiguration :: Lens' CustomDocumentEnrichmentConfiguration (Maybe HookConfiguration) Source #
Configuration information for invoking a Lambda function in Lambda on the structured documents with their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
customDocumentEnrichmentConfiguration_preExtractionHookConfiguration :: Lens' CustomDocumentEnrichmentConfiguration (Maybe HookConfiguration) Source #
Configuration information for invoking a Lambda function in Lambda on the original or raw documents before extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see Advanced data manipulation.
customDocumentEnrichmentConfiguration_roleArn :: Lens' CustomDocumentEnrichmentConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of a role with permission to run
PreExtractionHookConfiguration
and PostExtractionHookConfiguration
for altering document metadata and content during the document ingestion
process. For more information, see
IAM roles for Amazon Kendra.