Skip to content

GlueClient.list_table_optimizer_runs

rboto-glue==0.4.0 · Service index · Types

Model summary (excerpt): Lists the history of previous optimizer runs for a specific table.

Install and imports

python -m pip install "rboto[glue]==0.4.0"
from rboto import GlueClient
from rboto_glue.types import (
    ListTableOptimizerRunsOutput,
    TableOptimizerType,
)

Signature

async def list_table_optimizer_runs(
    *,
    catalog_id: str,
    database_name: str,
    table_name: str,
    type: TableOptimizerType,
    max_results: int | None = None,
    next_token: str | None = None,
) -> ListTableOptimizerRunsOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
catalog_id Yes The Catalog ID of the table.
database_name Yes The name of the database in the catalog in which the table resides.
table_name Yes The name of the table.
type Yes The type of table optimizer.
max_results No The maximum number of optimizer runs to return on each call.
next_token No A continuation token, if this is a continuation call.

Output

ListTableOptimizerRunsOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
catalog_id str | None Always present —
database_name str | None Always present —
table_name str | None Always present —
next_token str | None Always present —
table_optimizer_runs list[TableOptimizerRunOutput] | None Always present TableOptimizerRunOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

ListTableOptimizerRunsOutput, TableOptimizerType

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.list_table_optimizer_runs(...) accepts the same arguments and returns AsyncIterator[ListTableOptimizerRunsOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: next_token. Page-size argument: max_results.

No output stream.

Errors

Import from rboto_glue.exceptions:

AccessDeniedError, EntityNotFoundError, InternalServiceError, InvalidInputError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model