Values.StartContentUploadResponseSourceGet a URL to upload content to a knowledge base. To upload content, first make a PUT request to the returned URL with your file, making sure to include the required headers. Then use CreateContent to finalize the content creation process or UpdateContent to modify an existing resource. You can only upload content to a knowledge base of type CUSTOM.
type nonrec t = {uploadId : UploadId.t option;The identifier of the upload.
*)url : Url.t option;The URL of the upload.
*)urlExpiry : SyntheticTimestamp_epoch_seconds.t option;The expiration time of the URL as an epoch timestamp.
*)headersToInclude : Headers.t option;The headers to include in the upload.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of NonEmptyString.t ]
* [> `String of NonEmptyString.t ])
list
| `String of UploadId.t
| `Timestamp of SyntheticTimestamp_epoch_seconds.t ])
list ]