UploadReadSetPart - AWS HealthOmics

UploadReadSetPart

This operation uploads a specific part of a read set. If you upload a new part using a previously used part number, the previously uploaded part will be overwritten.

Request Syntax

PUT /sequencestore/sequenceStoreId/upload/uploadId/part?partNumber=partNumber&partSource=partSource HTTP/1.1 payload

URI Request Parameters

The request uses the following URI parameters.

partNumber

The number of the part being uploaded.

Valid Range: Minimum value of 1. Maximum value of 10000.

Required: Yes

partSource

The source file for an upload part.

Valid Values: SOURCE1 | SOURCE2

Required: Yes

sequenceStoreId

The Sequence Store ID used for the multipart upload.

Length Constraints: Minimum length of 10. Maximum length of 36.

Pattern: [0-9]+

Required: Yes

uploadId

The ID for the initiated multipart upload.

Length Constraints: Minimum length of 10. Maximum length of 36.

Pattern: [0-9]+

Required: Yes

Request Body

The request accepts the following binary data.

payload

The read set data to upload for a part.

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "checksum": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

checksum

An identifier used to confirm that parts are being added to the intended upload.

Type: String

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403

InternalServerException

An unexpected error occurred. Try the request again.

HTTP Status Code: 500

NotSupportedOperationException

The operation is not supported by Amazon Omics, or the API does not exist.

HTTP Status Code: 405

RequestTimeoutException

The request timed out.

HTTP Status Code: 408

ResourceNotFoundException

The target resource was not found in the current Region.

HTTP Status Code: 404

ServiceQuotaExceededException

The request exceeds a service quota.

HTTP Status Code: 402

ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 429

ValidationException

The input fails to satisfy the constraints specified by an AWS service.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: