:doc:`Omics <../../omics>` / Client / complete_multipart_read_set_upload

**********************************
complete_multipart_read_set_upload
**********************************



.. py:method:: Omics.Client.complete_multipart_read_set_upload(**kwargs)

  

  Completes a multipart read set upload into a sequence store after you have initiated the upload process with ``CreateMultipartReadSetUpload`` and uploaded all read set parts using ``UploadReadSetPart``. You must specify the parts you uploaded using the parts parameter. If the operation is successful, it returns the read set ID(s) of the uploaded read set(s).

   

  For more information, see `Direct upload to a sequence store <https://docs.aws.amazon.com/omics/latest/dev/synchronous-uploads.html>`__ in the *Amazon Web Services HealthOmics User Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CompleteMultipartReadSetUpload>`_  


  **Request Syntax**
  ::

    response = client.complete_multipart_read_set_upload(
        sequenceStoreId='string',
        uploadId='string',
        parts=[
            {
                'partNumber': 123,
                'partSource': 'SOURCE1'|'SOURCE2',
                'checksum': 'string'
            },
        ]
    )
    
  :type sequenceStoreId: string
  :param sequenceStoreId: **[REQUIRED]** 

    The sequence store ID for the store involved in the multipart upload.

    

  
  :type uploadId: string
  :param uploadId: **[REQUIRED]** 

    The ID for the multipart upload.

    

  
  :type parts: list
  :param parts: **[REQUIRED]** 

    The individual uploads or parts of a multipart upload.

    

  
    - *(dict) --* 

      Part of the response to the CompleteReadSetUpload API, including metadata.

      

    
      - **partNumber** *(integer) --* **[REQUIRED]** 

        A number identifying the part in a read set upload.

        

      
      - **partSource** *(string) --* **[REQUIRED]** 

        The source file of the part being uploaded.

        

      
      - **checksum** *(string) --* **[REQUIRED]** 

        A unique identifier used to confirm that parts are being added to the correct upload.

        

      
    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'readSetId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **readSetId** *(string) --* 

        The read set ID created for an uploaded read set.

        
  
  **Exceptions**
  
  *   :py:class:`Omics.Client.exceptions.InternalServerException`

  
  *   :py:class:`Omics.Client.exceptions.NotSupportedOperationException`

  
  *   :py:class:`Omics.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`Omics.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Omics.Client.exceptions.ValidationException`

  
  *   :py:class:`Omics.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Omics.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Omics.Client.exceptions.RequestTimeoutException`

  