Module Values.UpdateIndexRequestSource

Updates an existing index in an OpenSearch Serverless collection. This operation allows you to modify the index schema, including adding new fields or changing field mappings. You can also enable automatic semantic enrichment ingestion and search. For more information, see About automatic semantic enrichment.

Sourcetype nonrec t = {
  1. id : CollectionId.t;
    (*

    The unique identifier of the collection containing the index to update.

    *)
  2. indexName : IndexName.t;
    (*

    The name of the index to update.

    *)
  3. indexSchema : IndexSchema.t option;
    (*

    The updated JSON schema definition for the index, including field mappings and settings.

    *)
}
Sourceval context_ : string
Sourceval make : ?indexSchema:??? -> id:CollectionId.t -> indexName:IndexName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CollectionId.t | `Structure of 'a 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