Skip to content

GlueClient.update_table

rboto-glue==0.4.0 · Service index · Types

Model summary (excerpt): Updates a metadata table in the Data Catalog.

Install and imports

python -m pip install "rboto[glue]==0.4.0"
from rboto import GlueClient
from rboto_glue.types import (
    TableInput,
    UpdateOpenTableFormatInput,
    UpdateTableOutput,
    ViewUpdateAction,
)

Signature

async def update_table(
    *,
    database_name: str,
    catalog_id: str | None = None,
    name: str | None = None,
    table_input: TableInput | None = None,
    skip_archive: bool | None = None,
    transaction_id: str | None = None,
    version_id: str | None = None,
    view_update_action: ViewUpdateAction | None = None,
    force: bool | None = None,
    update_open_table_format_input: UpdateOpenTableFormatInput | None = None,
) -> UpdateTableOutput: ...

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)
database_name Yes The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
catalog_id No The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.
name No The unique identifier for the table within the specified database that will be created in the Glue Data Catalog.
table_input No An updated TableInput object to define the metadata table in the catalog.
skip_archive No By default, UpdateTable always creates an archived version of the table before updating it. However, if skipArchive is set to true, UpdateTable does not create the archived version.
transaction_id No The transaction ID at which to update the table contents.
version_id No The version ID at which to update the table contents.
view_update_action No The operation to be performed when updating the view.
force No A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
update_open_table_format_input No Input parameters for updating open table format tables in GlueData Catalog, serving as a wrapper for format-specific update operations such as Apache Iceberg.

Output

UpdateTableOutput.

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

No fields.

| 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.

TableInput, UpdateOpenTableFormatInput, UpdateTableOutput, ViewUpdateAction

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

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_glue.exceptions:

AlreadyExistsError, ConcurrentModificationError, EntityNotFoundError, FederationSourceError, FederationSourceRetryableError, GlueEncryptionError, InternalServiceError, InvalidInputError, OperationTimeoutError, ResourceNotReadyError, ResourceNumberLimitExceededError.

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

Service guide · Pinned model