Module Values.GetKnowledgeBaseResponseSource

Retrieves information about the knowledge base.

Sourcetype nonrec t = {
  1. knowledgeBase : KnowledgeBaseData.t option;
    (*

    The knowledge base.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `UnauthorizedException of UnauthorizedException.t
  4. | `ValidationException of ValidationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?knowledgeBase:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `String of NonEmptyString.t ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of Uuid.t | `Structure of (string * [> `String of Uri_.t | `Structure of (string * [> `Enum of string | `List of [> `String of NonEmptyString.t ] list | `String of GenericArn.t | `Structure of (string * [> `Enum of string | `Integer of FixedSizeChunkingConfigurationMaxTokensInteger.t | `List of [> `String of UrlFilterPattern.t | `Structure of (string * [> `Integer of HierarchicalChunkingLevelConfigurationMaxTokensInteger.t ]) list ] list | `String of BedrockModelArnForParsing.t | `Structure of (string * [> `Integer of WebCrawlerLimitsRateLimitInteger.t | `List of [> `Structure of (string * [> `String of WebUrl.t ]) list ] list | `String of ParsingPromptText.t ]) list ]) list ]) list ]) list | `Timestamp of SyntheticTimestamp_epoch_seconds.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