:doc:`Glue <../../glue>` / Client / delete_table_optimizer

**********************
delete_table_optimizer
**********************



.. py:method:: Glue.Client.delete_table_optimizer(**kwargs)

  

  Deletes an optimizer and all associated metadata for a table. The optimization will no longer be performed on the table.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableOptimizer>`_  


  **Request Syntax**
  ::

    response = client.delete_table_optimizer(
        CatalogId='string',
        DatabaseName='string',
        TableName='string',
        Type='compaction'|'retention'|'orphan_file_deletion'
    )
    
  :type CatalogId: string
  :param CatalogId: **[REQUIRED]** 

    The Catalog ID of the table.

    

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

    The name of the database in the catalog in which the table resides.

    

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

    The name of the table.

    

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

    The type of table optimizer.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.EntityNotFoundException`

  
  *   :py:class:`Glue.Client.exceptions.InvalidInputException`

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

  
  *   :py:class:`Glue.Client.exceptions.InternalServiceException`

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

  