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

*********************
batch_delete_read_set
*********************



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

  

  Deletes one or more read sets. If the operation is successful, it returns a response with no body. If there is an error with deleting one of the read sets, the operation returns an error list. If the operation successfully deletes only a subset of files, it will return an error list for the remaining files that fail to be deleted. There is a limit of 100 read sets that can be deleted in each ``BatchDeleteReadSet`` API call.

  

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


  **Request Syntax**
  ::

    response = client.batch_delete_read_set(
        ids=[
            'string',
        ],
        sequenceStoreId='string'
    )
    
  :type ids: list
  :param ids: **[REQUIRED]** 

    The read sets' IDs.

    

  
    - *(string) --* 

    

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

    The read sets' sequence store ID.

    

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

    
    ::

      {
          'errors': [
              {
                  'id': 'string',
                  'code': 'string',
                  'message': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **errors** *(list) --* 

        Errors returned by individual delete operations.

        
        

        - *(dict) --* 

          An error from a batch read set operation.

          
          

          - **id** *(string) --* 

            The error's ID.

            
          

          - **code** *(string) --* 

            The error's code.

            
          

          - **message** *(string) --* 

            The error's message.

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

  
  *   :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`

  