Module Values.BatchPutDocumentRequestSource

Adds one or more documents to an Amazon Q Business index. You use this API to: ingest your structured and unstructured documents and documents stored in an Amazon S3 bucket into an Amazon Q Business index. add custom attributes to documents in an Amazon Q Business index. attach an access control list to the documents added to an Amazon Q Business index. You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.

Sourcetype nonrec t = {
  1. applicationId : ApplicationId.t;
    (*

    The identifier of the Amazon Q Business application.

    *)
  2. indexId : IndexId.t;
    (*

    The identifier of the Amazon Q Business index to add the documents to.

    *)
  3. documents : Documents.t;
    (*

    One or more documents to add to the index. Ensure that the name of your document doesn't contain any confidential information. Amazon Q Business returns document names in chat responses and citations when relevant.

    *)
  4. roleArn : RoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.

    *)
  5. dataSourceSyncId : ExecutionId.t option;
    (*

    The identifier of the data source sync during which the documents were added.

    *)
}
Sourceval context_ : string
Sourceval make : ?roleArn:??? -> ?dataSourceSyncId:??? -> applicationId:ApplicationId.t -> indexId:IndexId.t -> documents:Documents.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of DocumentAttributeKey.t | `Structure of (string * [> `List of [> `String of String_.t ] list | `Long of Long.t | `String of DocumentAttributeValueStringValueString.t | `Timestamp of Timestamp.t ]) list ]) list ] list | `String of DocumentId.t | `Structure of (string * [> `Blob of Blob.t | `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of UserId.t ]) list ]) list ] list | `Structure of (string * [> `Enum of string | `String of DocumentAttributeKey.t | `Structure of (string * [> `List of [> `String of String_.t ] list | `Long of Long.t | `String of DocumentAttributeValueStringValueString.t | `Timestamp of Timestamp.t ]) list ]) list ]) list ] list | `Structure of (string * [> `Enum of string | `String of S3BucketName.t | `Structure of (string * [> `Enum of string | `String of DocumentAttributeKey.t | `Structure of (string * [> `List of [> `String of String_.t ] list | `Long of Long.t | `String of DocumentAttributeValueStringValueString.t | `Timestamp of Timestamp.t ]) list ]) list ]) list ]) list ]) list ] list | `String of ApplicationId.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