Creates an instance of ESPFileUploadRequest.
Upload request fields.
Confirm metadata stored from create/upload params.
OptionalentityEntity id when scoped to a specific entity.
Entity type associated with the upload.
The unique file id returned when the upload request was created.
RainMaker-side file name from the upload request.
Optionalmd5Optional base64 MD5 checksum used for S3 integrity verification.
Presigned S3 PUT URL (valid for ~1 hour).
Confirms a file upload after bytes were sent to the presigned URL.
Optionalparams: ESPFileConfirmParamsOptional confirm fields overriding stored values.
The confirmed ESPFile record.
Uploads file content to S3 and automatically confirms the upload.
File bytes to upload.
OptionalconfirmParams: ESPFileConfirmParamsOptional confirm fields overriding stored values.
OptionalonProgress: ESPFileUploadProgressCallbackOptional phase progress callback.
The confirmed ESPFile record.
Represents a transient file upload request in the ESP RainMaker SDK.
Returned by ESPRMUser.createFileUploadRequest and ESPRMUser.uploadFile. Use upload to send bytes to S3 and confirm the upload, or confirm after an external upload.