Class: Aws::Kendra::Types::InlineCustomDocumentEnrichmentConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kendra::Types::InlineCustomDocumentEnrichmentConfiguration
- Defined in:
- gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb
Overview
When making an API call, you may pass InlineCustomDocumentEnrichmentConfiguration data as a hash:
{
condition: {
condition_document_attribute_key: "DocumentAttributeKey", # required
operator: "GreaterThan", # required, accepts GreaterThan, GreaterThanOrEquals, LessThan, LessThanOrEquals, Equals, NotEquals, Contains, NotContains, Exists, NotExists, BeginsWith
condition_on_value: {
string_value: "DocumentAttributeStringValue",
string_list_value: ["String"],
long_value: 1,
date_value: Time.now,
},
},
target: {
target_document_attribute_key: "DocumentAttributeKey",
target_document_attribute_value_deletion: false,
target_document_attribute_value: {
string_value: "DocumentAttributeStringValue",
string_list_value: ["String"],
long_value: 1,
date_value: Time.now,
},
},
document_content_deletion: false,
}
Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Kendra. To apply advanced logic, to go beyond what you can do with basic logic, see HookConfiguration.
For more information, see Customizing document metadata during the ingestion process.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#condition ⇒ Types::DocumentAttributeCondition
Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.
-
#document_content_deletion ⇒ Boolean
TRUE
to delete content if the condition used for the target attribute is met. -
#target ⇒ Types::DocumentAttributeTarget
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra.
Instance Attribute Details
#condition ⇒ Types::DocumentAttributeCondition
Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.
8183 8184 8185 8186 8187 8188 8189 |
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 8183 class InlineCustomDocumentEnrichmentConfiguration < Struct.new( :condition, :target, :document_content_deletion) SENSITIVE = [] include Aws::Structure end |
#document_content_deletion ⇒ Boolean
TRUE
to delete content if the condition used for the target
attribute is met.
8183 8184 8185 8186 8187 8188 8189 |
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 8183 class InlineCustomDocumentEnrichmentConfiguration < Struct.new( :condition, :target, :document_content_deletion) SENSITIVE = [] include Aws::Structure end |
#target ⇒ Types::DocumentAttributeTarget
Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.
8183 8184 8185 8186 8187 8188 8189 |
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 8183 class InlineCustomDocumentEnrichmentConfiguration < Struct.new( :condition, :target, :document_content_deletion) SENSITIVE = [] include Aws::Structure end |