Class: Aws::QBusiness::Types::DocumentEnrichmentConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb

Overview

Provides the configuration information for altering document metadata and content during the document ingestion process.

For more information, see Custom document enrichment.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#inline_configurationsArray<Types::InlineDocumentEnrichmentConfiguration>

Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business.



2806
2807
2808
2809
2810
2811
2812
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 2806

class DocumentEnrichmentConfiguration < Struct.new(
  :inline_configurations,
  :pre_extraction_hook_configuration,
  :post_extraction_hook_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#post_extraction_hook_configurationTypes::HookConfiguration

Provides the configuration information for invoking a Lambda function in Lambda to alter document metadata and content when ingesting documents into Amazon Q Business.

You can configure your Lambda function using the PreExtractionHookConfiguration parameter if you want to apply advanced alterations on the original or raw documents.

If you want to apply advanced alterations on the Amazon Q Business structured documents, you must configure your Lambda function using PostExtractionHookConfiguration.

You can only invoke one Lambda function. However, this function can invoke other functions it requires.

For more information, see Custom document enrichment.



2806
2807
2808
2809
2810
2811
2812
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 2806

class DocumentEnrichmentConfiguration < Struct.new(
  :inline_configurations,
  :pre_extraction_hook_configuration,
  :post_extraction_hook_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#pre_extraction_hook_configurationTypes::HookConfiguration

Provides the configuration information for invoking a Lambda function in Lambda to alter document metadata and content when ingesting documents into Amazon Q Business.

You can configure your Lambda function using the PreExtractionHookConfiguration parameter if you want to apply advanced alterations on the original or raw documents.

If you want to apply advanced alterations on the Amazon Q Business structured documents, you must configure your Lambda function using PostExtractionHookConfiguration.

You can only invoke one Lambda function. However, this function can invoke other functions it requires.

For more information, see Custom document enrichment.



2806
2807
2808
2809
2810
2811
2812
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 2806

class DocumentEnrichmentConfiguration < Struct.new(
  :inline_configurations,
  :pre_extraction_hook_configuration,
  :post_extraction_hook_configuration)
  SENSITIVE = []
  include Aws::Structure
end