update_table
async
¶
update_table(
database_name: NameString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
name: Optional[NameString] = None,
table_input: Optional[TableInput] = None,
skip_archive: Optional[BooleanNullable] = None,
transaction_id: Optional[TransactionIdString] = None,
version_id: Optional[VersionString] = None,
view_update_action: Optional[ViewUpdateAction] = None,
force: Optional[Boolean] = None,
update_open_table_format_input: Optional[UpdateOpenTableFormatInput] = None,
) -> UpdateTableResponse
Updates a metadata table in the Data Catalog.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.
-
database_name(NameString) –The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
-
name(Optional[NameString], default:None) –The unique identifier for the table within the specified database that will be created in the Glue Data Catalog.
-
table_input(Optional[TableInput], default:None) –An updated
TableInputobject to define the metadata table in the catalog. -
skip_archive(Optional[BooleanNullable], default:None) –By default,
UpdateTablealways creates an archived version of the table before updating it. However, ifskipArchiveis set to true,UpdateTabledoes not create the archived version. -
transaction_id(Optional[TransactionIdString], default:None) –The transaction ID at which to update the table contents.
-
version_id(Optional[VersionString], default:None) –The version ID at which to update the table contents.
-
view_update_action(Optional[ViewUpdateAction], default:None) –The operation to be performed when updating the view.
-
force(Optional[Boolean], default:None) –A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
-
update_open_table_format_input(Optional[UpdateOpenTableFormatInput], default:None) –Input parameters for updating open table format tables in GlueData Catalog, serving as a wrapper for format-specific update operations such as Apache Iceberg.
Raises:
-
AlreadyExistsException–A resource to be created or added already exists.
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
EntityNotFoundException–A specified entity does not exist
-
FederationSourceException–A federation source failed.
-
FederationSourceRetryableException–A federation source failed, but the operation may be retried.
-
GlueEncryptionException–An encryption operation failed.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
ResourceNotReadyException–A resource was not ready for a transaction.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
22007 22008 22009 22010 22011 22012 22013 22014 22015 22016 22017 22018 22019 22020 22021 22022 22023 22024 22025 22026 22027 22028 22029 22030 22031 22032 22033 22034 22035 22036 22037 22038 22039 22040 22041 22042 22043 22044 22045 22046 22047 22048 22049 22050 22051 22052 22053 22054 22055 22056 22057 22058 22059 22060 22061 22062 22063 22064 22065 22066 22067 22068 22069 22070 22071 22072 22073 22074 22075 22076 22077 22078 22079 22080 22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 22094 22095 22096 22097 22098 22099 22100 22101 22102 22103 22104 22105 22106 22107 | |