Module Values.InlineCustomDocumentEnrichmentConfigurationSource

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.

Sourcetype nonrec t = {
  1. condition : DocumentAttributeCondition.t option;
    (*

    Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.

    *)
  2. target : DocumentAttributeTarget.t option;
    (*

    Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.

    *)
  3. documentContentDeletion : Boolean.t option;
    (*

    TRUE to delete content if the condition used for the target attribute is met.

    *)
}
Sourceval make : ?condition:??? -> ?target:??? -> ?documentContentDeletion:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of DocumentAttributeKey.t | `Structure of (string * [> `List of [> `String of String_.t ] list | `Long of Long.t | `String of DocumentAttributeStringValue.t | `Timestamp of Timestamp.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t