Newer Version Available
Complete the Upload
Once all content is transferred to S3, the LWC invokes the complete upload API in
Salesforce.
In this step, the ContentDocument reference is created in your org. See completeFileUpload(repositoryId, inputRep) to learn about the signature and parameters of the method.