Module Values.SearchContentRequestSource

Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.

Sourcetype nonrec t = {
  1. knowledgeBaseId : UuidOrArn.t;
    (*

    The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

    *)
  2. maxResults : MaxResults.t option;
    (*

    The maximum number of results to return per page.

    *)
  3. nextToken : NextToken.t option;
    (*

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

    *)
  4. searchExpression : SearchExpression.t;
    (*

    The search expression to filter results.

    *)
}
Sourceval context_ : string
Sourceval make : ?maxResults:??? -> ?nextToken:??? -> knowledgeBaseId:UuidOrArn.t -> searchExpression:SearchExpression.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MaxResults.t | `String of UuidOrArn.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of NonEmptyString.t ]) list ] 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