Glue / Client / update_table_optimizer
update_table_optimizer#
- Glue.Client.update_table_optimizer(**kwargs)#
- Updates the configuration for an existing table optimizer. - See also: AWS API Documentation - Request Syntax- response = client.update_table_optimizer( CatalogId='string', DatabaseName='string', TableName='string', Type='compaction', TableOptimizerConfiguration={ 'roleArn': 'string', 'enabled': True|False } ) - Parameters:
- CatalogId (string) – - [REQUIRED] - The Catalog ID of the table. 
- DatabaseName (string) – - [REQUIRED] - The name of the database in the catalog in which the table resides. 
- TableName (string) – - [REQUIRED] - The name of the table. 
- Type (string) – - [REQUIRED] - The type of table optimizer. Currently, the only valid value is - compaction.
- TableOptimizerConfiguration (dict) – - [REQUIRED] - A - TableOptimizerConfigurationobject representing the configuration of a table optimizer.- roleArn (string) – - A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller’s behalf. 
- enabled (boolean) – - Whether table optimization is enabled. 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- Glue.Client.exceptions.EntityNotFoundException
- Glue.Client.exceptions.InvalidInputException
- Glue.Client.exceptions.AccessDeniedException
- Glue.Client.exceptions.InternalServiceException