Module Values.UpdateIndexRequestSource

Updates an Amazon Kendra index.

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

    The identifier of the index you want to update.

    *)
  2. name : IndexName.t option;
    (*

    A new name for the index.

    *)
  3. roleArn : RoleArn.t option;
    (*

    An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.

    *)
  4. description : Description.t option;
    (*

    A new description for the index.

    *)
  5. documentMetadataConfigurationUpdates : DocumentMetadataConfigurationList.t option;
    (*

    The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.

    *)
  6. capacityUnits : CapacityUnitsConfiguration.t option;
    (*

    Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls. If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.

    *)
  7. userTokenConfigurations : UserTokenConfigurationList.t option;
    (*

    The user token configuration. If you're using an Amazon Kendra Gen AI Enterprise Edition index and you try to use UserTokenConfigurations to configure user context policy, Amazon Kendra returns a ValidationException error.

    *)
  8. userContextPolicy : UserContextPolicy.t option;
    (*

    The user context policy. If you're using an Amazon Kendra Gen AI Enterprise Edition index, you can only use ATTRIBUTE_FILTER to filter search results by user context. If you're using an Amazon Kendra Gen AI Enterprise Edition index and you try to use USER_TOKEN to configure user context policy, Amazon Kendra returns a ValidationException error.

    *)
  9. userGroupResolutionConfiguration : UserGroupResolutionConfiguration.t option;
    (*

    Gets users and groups from IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents. If you're using an Amazon Kendra Gen AI Enterprise Edition index, UserGroupResolutionConfiguration isn't supported.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> ?roleArn:??? -> ?description:??? -> ?documentMetadataConfigurationUpdates:??? -> ?capacityUnits:??? -> ?userTokenConfigurations:??? -> ?userContextPolicy:??? -> ?userGroupResolutionConfiguration:??? -> id:IndexId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of DocumentMetadataConfigurationName.t | `Structure of (string * [> `Boolean of DocumentMetadataBoolean.t | `Enum of string | `Integer of Importance.t | `Map of ([> `String of ValueImportanceMapKey.t ] * [> `Integer of Importance.t ]) list | `String of Duration.t ]) list ]) list ] list | `String of IndexId.t | `Structure of (string * [> `Enum of string | `Integer of StorageCapacityUnit.t ]) 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