Values.StartImportJobRequestSourceStart an asynchronous job to import Wisdom resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data. For importing Wisdom 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.
type nonrec t = {clientToken : NonEmptyString.t option;The tags used to organize, track, or control access for this resource.
*)externalSourceConfiguration : ExternalSourceConfiguration.t option;The configuration information of the external source that the resource data are imported from.
*)importJobType : ImportJobType.t;The type of the import job. For importing quick response resource, set the value to QUICK_RESPONSES.
*)knowledgeBaseId : UuidOrArn.t;The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN. For importing Wisdom quick responses, this should be a QUICK_RESPONSES type knowledge base.
*)metadata : ContentMetadata.t option;The metadata fields of the imported Wisdom resources.
*)uploadId : UploadId.t;A pointer to the uploaded asset. This value is returned by StartContentUpload.
*)}val make :
?clientToken:??? ->
?externalSourceConfiguration:??? ->
?metadata:??? ->
importJobType:ImportJobType.t ->
knowledgeBaseId:UuidOrArn.t ->
uploadId:UploadId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Map of
([> `String of NonEmptyString.t ]
* [> `String of NonEmptyString.t ])
list
| `String of NonEmptyString.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Structure of
(string * [> `String of NonEmptyString.t ]) list ])
list ])
list ])
list ]