Module Values.RegisterCapabilityRequestSource

Container for the parameters to the RegisterCapability operation.

Sourcetype nonrec t = {
  1. applicationId : ApplicationId.t;
    (*

    The unique identifier of the OpenSearch UI application to register the capability for.

    *)
  2. capabilityName : CapabilityName.t;
    (*

    The name of the capability to register. Must be between 3 and 30 characters and contain only alphanumeric characters and hyphens. This identifies the type of capability being enabled for the application. For registering AI Assistant capability, use ai-capability

    *)
  3. capabilityConfig : CapabilityBaseRequestConfig.t;
    (*

    The configuration settings for the capability being registered. This includes capability-specific settings such as AI configuration.

    *)
}
Sourceval context_ : string
Sourceval make : applicationId:ApplicationId.t -> capabilityName:CapabilityName.t -> capabilityConfig:CapabilityBaseRequestConfig.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ApplicationId.t | `Structure of (string * [> `Structure of 'a 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