:doc:`LakeFormation <../../lakeformation>` / Client / update_table_storage_optimizer

******************************
update_table_storage_optimizer
******************************



.. py:method:: LakeFormation.Client.update_table_storage_optimizer(**kwargs)

  

  Updates the configuration of the storage optimizers for a table.

  

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


  **Request Syntax**
  ::

    response = client.update_table_storage_optimizer(
        CatalogId='string',
        DatabaseName='string',
        TableName='string',
        StorageOptimizerConfig={
            'string': {
                'string': 'string'
            }
        }
    )
    
  :type CatalogId: string
  :param CatalogId: 

    The Catalog ID of the table.

    

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

    Name of the database where the table is present.

    

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

    Name of the table for which to enable the storage optimizer.

    

  
  :type StorageOptimizerConfig: dict
  :param StorageOptimizerConfig: **[REQUIRED]** 

    Name of the configuration for the storage optimizer.

    

  
    - *(string) --* 

    
      - *(dict) --* 

      
        - *(string) --* 

        
          - *(string) --* 

          
    
  


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

    
    ::

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

    

    - *(dict) --* 
      

      - **Result** *(string) --* 

        A response indicating the success of failure of the operation.

        
  
  **Exceptions**
  
  *   :py:class:`LakeFormation.Client.exceptions.EntityNotFoundException`

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

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

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

  