Module Values.DataSourceSource

Contains details about a data source.

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

    The unique identifier of the knowledge base to which the data source belongs.

    *)
  2. dataSourceId : Id.t option;
    (*

    The unique identifier of the data source.

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

    The name of the data source.

    *)
  4. status : DataSourceStatus.t option;
    (*

    The status of the data source. The following statuses are possible: Available – The data source has been created and is ready for ingestion into the knowledge base. Deleting – The data source is being deleted.

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

    The description of the data source.

    *)
  6. dataSourceConfiguration : DataSourceConfiguration.t option;
    (*

    The connection configuration for the data source.

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

    Contains details about the configuration of the server-side encryption.

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

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

    *)
  9. dataDeletionPolicy : DataDeletionPolicy.t option;
    (*

    The data deletion policy for the data source.

    *)
  10. createdAt : DateTimestamp.t option;
    (*

    The time at which the data source was created.

    *)
  11. updatedAt : DateTimestamp.t option;
    (*

    The time at which the data source was last updated.

    *)
  12. failureReasons : FailureReasons.t option;
    (*

    The detailed reasons on the failure to delete a data source.

    *)
}
Sourceval make : ?knowledgeBaseId:??? -> ?dataSourceId:??? -> ?name:??? -> ?status:??? -> ?description:??? -> ?dataSourceConfiguration:??? -> ?serverSideEncryptionConfiguration:??? -> ?vectorIngestionConfiguration:??? -> ?dataDeletionPolicy:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?failureReasons:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of FailureReason.t ] list | `String of Id.t | `Structure of (string * [> `Enum of string | `String of KmsKeyArn.t | `Structure of (string * [> `Enum of string | `List of [> `String of S3Prefix.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Structure of (string * [> `String of LambdaArn.t ]) list ]) list ]) list ] list | `String of S3BucketArn.t | `Structure of (string * [> `Enum of string | `Integer of FixedSizeChunkingConfigurationMaxTokensInteger.t | `List of [> `String of FilterPattern.t | `Structure of (string * [> `Integer of HierarchicalChunkingLevelConfigurationMaxTokensInteger.t ]) list ] list | `String of UserAgent.t | `Structure of (string * [> `Enum of string | `Integer of WebCrawlerLimitsRateLimitInteger.t | `List of [> `Structure of (string * [> `String of Url.t ]) list ] list | `String of S3BucketUri.t | `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of FilterPattern.t ] list | `String of FilteredObjectType.t ]) list ] list ]) list ]) list ]) list ]) list ]) list | `Timestamp of DateTimestamp.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