upload_read_set_part
async
¶
upload_read_set_part(
sequence_store_id: SequenceStoreId,
upload_id: UploadId,
part_source: ReadSetPartSource,
part_number: int,
payload: Body[AsyncIterator[bytes]] | AsyncIterator[bytes] | bytes,
*,
config_overrides: Optional[AsyncOmicsClientConfig] = 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[AsyncIterator[bytes]] | AsyncIterator[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/async_omics.py
5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 | |