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

********************************
delete_annotation_store_versions
********************************



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

  

  Deletes one or multiple versions of an annotation store.

  

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


  **Request Syntax**
  ::

    response = client.delete_annotation_store_versions(
        name='string',
        versions=[
            'string',
        ],
        force=True|False
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

    The name of the annotation store from which versions are being deleted.

    

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

    The versions of an annotation store to be deleted.

    

  
    - *(string) --* 

    

  :type force: boolean
  :param force: 

    Forces the deletion of an annotation store version when imports are in-progress..

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        Any errors that occur when attempting to delete an annotation store version.

        
        

        - *(dict) --* 

          The error preventing deletion of the annotation store version.

          
          

          - **versionName** *(string) --* 

            The name given to an annotation store version.

            
          

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

            The message explaining the error in annotation store deletion.

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

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

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

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

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

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

  