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.



2693
2694
2695
2696
2697
2698
2699
2700
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2693

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.



2693
2694
2695
2696
2697
2698
2699
2700
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2693

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.



2693
2694
2695
2696
2697
2698
2699
2700
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2693

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 an IAM role with permission to run PreExtractionHookConfiguration and PostExtractionHookConfiguration for altering document metadata and content during the document ingestion process. For more information, see an IAM roles for Amazon Kendra.

Returns:

  • (String)


2693
2694
2695
2696
2697
2698
2699
2700
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 2693

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