Module Values.KnowledgeBaseDataSource

Information about the knowledge base.

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

    The identifier of the knowledge base.

    *)
  2. knowledgeBaseArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the knowledge base.

    *)
  3. name : Name.t option;
    (*

    The name of the knowledge base.

    *)
  4. knowledgeBaseType : KnowledgeBaseType.t option;
    (*

    The type of knowledge base.

    *)
  5. status : KnowledgeBaseStatus.t option;
    (*

    The status of the knowledge base.

    *)
  6. lastContentModificationTime : SyntheticTimestamp_epoch_seconds.t option;
    (*

    An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content exists in a knowledge base, this value is unset.

    *)
  7. vectorIngestionConfiguration : VectorIngestionConfiguration.t option;
    (*

    Contains details about how to ingest the documents in a data source.

    *)
  8. sourceConfiguration : SourceConfiguration.t option;
    (*

    Source configuration information about the knowledge base.

    *)
  9. renderingConfiguration : RenderingConfiguration.t option;
    (*

    Information about how to render the content.

    *)
  10. serverSideEncryptionConfiguration : ServerSideEncryptionConfiguration.t option;
    (*

    The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q in Connect. For more information about setting up a customer managed key for Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.

    *)
  11. description : Description.t option;
    (*

    The description.

    *)
  12. tags : Tags.t option;
    (*

    The tags used to organize, track, or control access for this resource.

    *)
  13. ingestionStatus : SyncStatus.t option;
    (*

    Status of ingestion on data source.

    *)
  14. ingestionFailureReasons : FailureReason.t option;
    (*

    List of failure reasons on ingestion per file.

    *)
}
Sourceval make : ?knowledgeBaseId:??? -> ?knowledgeBaseArn:??? -> ?name:??? -> ?knowledgeBaseType:??? -> ?status:??? -> ?lastContentModificationTime:??? -> ?vectorIngestionConfiguration:??? -> ?sourceConfiguration:??? -> ?renderingConfiguration:??? -> ?serverSideEncryptionConfiguration:??? -> ?description:??? -> ?tags:??? -> ?ingestionStatus:??? -> ?ingestionFailureReasons:??? -> unit -> t
Sourceval to_value : t -> [> `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 ]
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