Module Values.ColumnConfigurationSource

Provides information about how Amazon Kendra should use the columns of a database in an index.

Sourcetype nonrec t = {
  1. documentIdColumnName : ColumnName.t;
    (*

    The column that provides the document's identifier.

    *)
  2. documentDataColumnName : ColumnName.t;
    (*

    The column that contains the contents of the document.

    *)
  3. documentTitleColumnName : ColumnName.t option;
    (*

    The column that contains the title of the document.

    *)
  4. fieldMappings : DataSourceToIndexFieldMappingList.t option;
    (*

    An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the UpdateIndex API.

    *)
  5. changeDetectingColumns : ChangeDetectingColumns.t;
    (*

    One to five columns that indicate when a document in the database has changed.

    *)
}
Sourceval context_ : string
Sourceval make : ?documentTitleColumnName:??? -> ?fieldMappings:??? -> documentIdColumnName:ColumnName.t -> documentDataColumnName:ColumnName.t -> changeDetectingColumns:ChangeDetectingColumns.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of ColumnName.t | `Structure of (string * [> `String of DataSourceFieldName.t ]) list ] list | `String of ColumnName.t ]) 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