Module Values.UpdateDataSourceRequestSource

Updates the configurations for a data source connector. You can't change the chunkingConfiguration after you create the data source connector. Specify the existing chunkingConfiguration.

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

    The unique identifier of the knowledge base for the data source.

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

    The unique identifier of the data source.

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

    Specifies a new name for the data source.

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

    Specifies a new description for the data source.

    *)
  5. dataSourceConfiguration : DataSourceConfiguration.t;
    (*

    The connection configuration for the data source that you want to update.

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

    The data deletion policy for the data source that you want to update.

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

    Contains details about server-side encryption of the data source.

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

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

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?dataDeletionPolicy:??? -> ?serverSideEncryptionConfiguration:??? -> ?vectorIngestionConfiguration:??? -> knowledgeBaseId:Id.t -> dataSourceId:Id.t -> name:Name.t -> dataSourceConfiguration:DataSourceConfiguration.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `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 ]) 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