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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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].

[1]: docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html

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.



3343
3344
3345
3346
3347
3348
3349
# File 'lib/aws-sdk-qbusiness/types.rb', line 3343

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].

[1]: docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html



3343
3344
3345
3346
3347
3348
3349
# File 'lib/aws-sdk-qbusiness/types.rb', line 3343

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].

[1]: docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html



3343
3344
3345
3346
3347
3348
3349
# File 'lib/aws-sdk-qbusiness/types.rb', line 3343

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