createUsaFileAttachment
Generate a Pre-signed S3 post request and create File Attachment.
Arguments
Receives filename and category.
Returns
CreateUSAFileAttachmentMutation to generate a Pre-signed S3 post request that can be use to upload files to S3.
Possible Errors
Allowed Viewers
Required Permissions
Can upload filesQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation CreateUsaFileAttachment($input: CreateUSAFileAttachmentInputType) {
createUsaFileAttachment(input: $input) {
postRequest {
...UploadFileAttachmentPostRequestFragment
}
}
}
Variables
{
"input": CreateUSAFileAttachmentInputType
}
Response
{
"data": {
"createUsaFileAttachment": {
"postRequest": UploadFileAttachmentPostRequest
}
}
}