Module Values.UpdateKnowledgeBaseResponseSource

Updates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same. You can change the following fields: name description roleArn You can't change the knowledgeBaseConfiguration or storageConfiguration fields, so you must specify the same configurations as when you created the knowledge base. You can send a GetKnowledgeBase request and copy the same configurations.

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

    Contains details about the knowledge base.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `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 | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.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 | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.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 FailureReason.t ] list | `String of Id.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `String of BedrockEmbeddingModelArn.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `List of [> `String of AwsDataCatalogTableName.t ] list | `String of S3BucketUri.t ]) list ]) list ] list | `String of FieldName.t | `Structure of (string * [> `Enum of string | `Integer of Dimensions.t | `List of [> `Structure of (string * [> `Structure of (string * [> `Integer of AudioSegmentationConfigurationFixedLengthDurationInteger.t ]) list ]) list ] list | `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of QueryGenerationColumnName.t ]) list ] list | `String of QueryGenerationTableName.t ]) list ] list | `String of WorkgroupArn.t | `Structure of (string * [> `Enum of string | `String of SecretArn.t ]) list ]) list ]) list ]) list ]) list ]) list | `Timestamp of DateTimestamp.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