LakeFormation / Client / update_table_storage_optimizer

update_table_storage_optimizer#

LakeFormation.Client.update_table_storage_optimizer(**kwargs)#

Updates the configuration of the storage optimizers for a table.

See also: AWS API Documentation

Request Syntax

response = client.update_table_storage_optimizer(
    CatalogId='string',
    DatabaseName='string',
    TableName='string',
    StorageOptimizerConfig={
        'string': {
            'string': 'string'
        }
    }
)
Parameters:
  • CatalogId (string) – The Catalog ID of the table.

  • DatabaseName (string) –

    [REQUIRED]

    Name of the database where the table is present.

  • TableName (string) –

    [REQUIRED]

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

  • StorageOptimizerConfig (dict) –

    [REQUIRED]

    Name of the configuration for the storage optimizer.

    • (string) –

      • (dict) –

        • (string) –

          • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'Result': 'string'
}

Response Structure

  • (dict) –

    • Result (string) –

      A response indicating the success of failure of the operation.

Exceptions

  • LakeFormation.Client.exceptions.EntityNotFoundException

  • LakeFormation.Client.exceptions.InvalidInputException

  • LakeFormation.Client.exceptions.AccessDeniedException

  • LakeFormation.Client.exceptions.InternalServiceException