Values.ImportDocumentInputSourceUploads a file that can then be used either as a default in a FileUploadCard from Q App definition or as a file that is used inside a single Q App run. The purpose of the document is determined by a scope parameter that indicates whether it is at the app definition level or at the app session level.
type nonrec t = {instanceId : InstanceId.t;The unique identifier of the Amazon Q Business application environment instance.
*)cardId : UUID.t;The unique identifier of the card the file is associated with.
*)appId : UUID.t;The unique identifier of the Q App the file is associated with.
*)fileContentsBase64 : String_.t;The base64-encoded contents of the file to upload.
*)fileName : Filename.t;The name of the file being uploaded.
*)scope : DocumentScope.t;Whether the file is associated with a Q App definition or a specific Q App session.
*)sessionId : UUID.t option;The unique identifier of the Q App session the file is associated with, if applicable.
*)}val make :
?sessionId:??? ->
instanceId:InstanceId.t ->
cardId:UUID.t ->
appId:UUID.t ->
fileContentsBase64:String_.t ->
fileName:Filename.t ->
scope:DocumentScope.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string * [> `Enum of string | `String of InstanceId.t ]) list ]