Skip to content

StorageOptimizer

Source code in docs_src/capo_lakeformation/types/storage_optimizer.py
class StorageOptimizer(TypedDict, closed=True):
    storage_optimizer_type: NotRequired[
        "capo_lakeformation.types.optimizer_type.OptimizerType"
    ]
    """<p>The specific type of storage optimizer. The supported value is <code>compaction</code>.</p>"""
    config: NotRequired[
        "capo_lakeformation.types.storage_optimizer_config.StorageOptimizerConfig"
    ]
    """<p>A map of the storage optimizer configuration. Currently contains only one key-value pair: <code>is_enabled</code> indicates true or false for acceleration.</p>"""
    error_message: NotRequired["capo_lakeformation.types.message_string.MessageString"]
    """<p>A message that contains information about any error (if present).</p> <p>When an acceleration result has an enabled status, the error message is empty.</p> <p>When an acceleration result has a disabled status, the message describes an error or simply indicates "disabled by the user".</p>"""
    warnings: NotRequired["capo_lakeformation.types.message_string.MessageString"]
    """<p>A message that contains information about any warnings (if present).</p>"""
    last_run_details: NotRequired[
        "capo_lakeformation.types.message_string.MessageString"
    ]
    """<p>When an acceleration result has an enabled status, contains the details of the last job run.</p>"""

config instance-attribute

config: NotRequired[StorageOptimizerConfig]

A map of the storage optimizer configuration. Currently contains only one key-value pair: is_enabled indicates true or false for acceleration.

error_message instance-attribute

error_message: NotRequired[MessageString]

A message that contains information about any error (if present).

When an acceleration result has an enabled status, the error message is empty.

When an acceleration result has a disabled status, the message describes an error or simply indicates "disabled by the user".

last_run_details instance-attribute

last_run_details: NotRequired[MessageString]

When an acceleration result has an enabled status, contains the details of the last job run.

storage_optimizer_type instance-attribute

storage_optimizer_type: NotRequired[OptimizerType]

The specific type of storage optimizer. The supported value is compaction.

warnings instance-attribute

warnings: NotRequired[MessageString]

A message that contains information about any warnings (if present).