Class: Aws::Kendra::Types::CustomDocumentEnrichmentConfiguration

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

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#inline_configurationsArray<Types::InlineCustomDocumentEnrichmentConfiguration>

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



2660
2661
2662
2663
2664
2665
2666
2667
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2660

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

#post_extraction_hook_configurationTypes::HookConfiguration

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.



2660
2661
2662
2663
2664
2665
2666
2667
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2660

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

#pre_extraction_hook_configurationTypes::HookConfiguration

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.



2660
2661
2662
2663
2664
2665
2666
2667
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2660

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

#role_arnString

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.

Returns:

  • (String)


2660
2661
2662
2663
2664
2665
2666
2667
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2660

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