upload_read_set_part
¶
upload_read_set_part(
sequence_store_id: SequenceStoreId,
upload_id: UploadId,
part_source: ReadSetPartSource,
part_number: int,
payload: Body[Iterator[bytes]] | Iterator[bytes] | bytes,
*,
config_overrides: Optional[OmicsClientConfig] = None,
) -> UploadReadSetPartResponse
Uploads a specific part of a read set into a sequence store. When you a upload a read set part with a part number that already exists, the new part replaces the existing one. This operation returns a JSON formatted response containing a string identifier that is used to confirm that parts are being added to the intended upload.
For more information, see Direct upload to a sequence store in the Amazon Web Services HealthOmics User Guide.
Parameters:
-
sequence_store_id(SequenceStoreId) –The Sequence Store ID used for the multipart upload.
-
upload_id(UploadId) –The ID for the initiated multipart upload.
-
part_source(ReadSetPartSource) –The source file for an upload part.
-
part_number(int) –The number of the part being uploaded.
-
payload(Body[Iterator[bytes]] | Iterator[bytes] | bytes) –The read set data to upload for a part.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred. Try the request again.
-
NotSupportedOperationException–The operation is not supported by Amazon Omics, or the API does not exist.
-
RequestTimeoutException–The request timed out.
-
ResourceNotFoundException–The target resource was not found in the current Region.
-
ServiceQuotaExceededException–The request exceeds a service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_omics/_services/omics.py
5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 | |