Values.CreatePresignedUrlOutputSourceCreates a presigned URL for an S3 POST operation to upload a file. You can use this URL to set a default file for a FileUploadCard in a Q App definition or to provide a file for a single Q App run. The scope parameter determines how the file will be used, either at the app definition level or the app session level. The IAM permissions are derived from the qapps:ImportDocument action. For more information on the IAM policy for Amazon Q Apps, see IAM permissions for using Amazon Q Apps.
type nonrec t = {fileId : String_.t option;The unique identifier assigned to the file to be uploaded.
*)presignedUrl : String_.t option;The URL for a presigned S3 POST operation used to upload a file.
*)presignedUrlFields : PresignedUrlFields.t option;The form fields to include in the presigned S3 POST operation used to upload a file.
*)presignedUrlExpiration : QAppsTimestamp.t option;The date and time that the presigned URL will expire in ISO 8601 format.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ThrottlingException of ThrottlingException.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
| `InternalServerException of InternalServerException.t
| `ThrottlingException of ThrottlingException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]