Data Types

UploadPart

Represents a part of a file to be uploaded as part of a multipart file upload.

Specifies the range of the file that needs uploading, together with an uploadUrl of where to PUT those bytes to.

The PUT request to the uploadUrl will return an etag response header, which must be provided in a subsequent CompleteUploadPart request.

See: basic file uploads, multipart file uploads.

Structure

Example

{
"range": {
"inclusiveEnd": 5242879,
"inclusiveStart": 0
},
"uploadId": "Kd759aLFxttm69kZ",
"uploadPartIndex": 7,
"uploadUrl": "https://...long-url...x-id=PutObject"
}

Properties

range

Specifies the range in the file the UploadPart represents.

Type: UploadPartRange

Required: Yes

uploadId

The ID for the multipart file upload.

Example: "Kd759aLFxttm69kZ"

Type: String

Length: 16

Required: Yes

uploadPartIndex

Index of an uploadable file part.

Can be used as the uploadPartIndex parameter in the GetUploadPart and CompleteUploadPart operations.

Example: 7

Type: Integer

Minimum: 0

Required: Yes

uploadUrl

Pre-signed upload URL for this part.

You are required to issue a PUT to this URL, with the file's bytes as the request body (limited to the range indicated by this upload part).

The PUT request will return an etag response header, which must be provided in a subsequent CompleteUploadPart request.

Example: "https://...long-url...x-id=PutObject"

Type: String

Min Length: 10

Required: Yes

Used by

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: