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.

Implements

Constructors

Properties

confirmParams: ESPFileConfirmParams

Confirm metadata stored from create/upload params.

entityId?: string

Entity id when scoped to a specific entity.

entityType: string

Entity type associated with the upload.

fileId: string

The unique file id returned when the upload request was created.

fileName: string

RainMaker-side file name from the upload request.

md5Checksum?: string

Optional base64 MD5 checksum used for S3 integrity verification.

uploadUrl: string

Presigned S3 PUT URL (valid for ~1 hour).

Methods