Module Values.CreateKnowledgeBaseResponseSource

Creates a knowledge base. When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error. For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following: Call DeleteKnowledgeBase. Call DeleteDataIntegration. Call CreateDataIntegration to recreate the DataIntegration or a create different one. Call CreateKnowledgeBase.

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

    The knowledge base.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  4. | `UnauthorizedException of UnauthorizedException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?knowledgeBase:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.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 | `ConflictException of ConflictException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.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