Module Values.StartImportJobRequestSource

Start an asynchronous job to import Amazon Q in Connect resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data. For importing Amazon Q in Connect quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see Import quick responses.

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

    The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN. For importing Amazon Q in Connect quick responses, this should be a QUICK_RESPONSES type knowledge base.

    *)
  2. importJobType : ImportJobType.t;
    (*

    The type of the import job. For importing quick response resource, set the value to QUICK_RESPONSES.

    *)
  3. uploadId : UploadId.t;
    (*

    A pointer to the uploaded asset. This value is returned by StartContentUpload.

    *)
  4. clientToken : NonEmptyString.t option;
    (*

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

    *)
  5. metadata : ContentMetadata.t option;
    (*

    The metadata fields of the imported Amazon Q in Connect resources.

    *)
  6. externalSourceConfiguration : ExternalSourceConfiguration.t option;
    (*

    The configuration information of the external source that the resource data are imported from.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?metadata:??? -> ?externalSourceConfiguration:??? -> knowledgeBaseId:UuidOrArn.t -> importJobType:ImportJobType.t -> uploadId:UploadId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of NonEmptyString.t ] * [> `String of NonEmptyString.t ]) list | `String of UuidOrArn.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Structure of (string * [> `String of NonEmptyString.t ]) 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