:doc:`LexModelsV2 <../../lexv2-models>` / Client / delete_export

*************
delete_export
*************



.. py:method:: LexModelsV2.Client.delete_export(**kwargs)

  

  Removes a previous export and the associated files stored in an S3 bucket.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteExport>`_  


  **Request Syntax**
  ::

    response = client.delete_export(
        exportId='string'
    )
    
  :type exportId: string
  :param exportId: **[REQUIRED]** 

    The unique identifier of the export to delete.

    

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

    
    ::

      {
          'exportId': 'string',
          'exportStatus': 'InProgress'|'Completed'|'Failed'|'Deleting'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **exportId** *(string) --* 

        The unique identifier of the deleted export.

        
      

      - **exportStatus** *(string) --* 

        The current status of the deletion. When the deletion is complete, the export will no longer be returned by the `ListExports <https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html>`__ operation and calls to the `DescribeExport <https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html>`__ operation with the export identifier will fail.

        
  
  **Exceptions**
  
  *   :py:class:`LexModelsV2.Client.exceptions.ThrottlingException`

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

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

  
  *   :py:class:`LexModelsV2.Client.exceptions.PreconditionFailedException`

  
  *   :py:class:`LexModelsV2.Client.exceptions.InternalServerException`

  