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
21101 21102 21103 21104 21105 21106 21107 21108 21109 21110 21111 21112 21113 21114 21115 21116 21117 21118 21119 21120 21121 21122 21123 21124 21125 21126 21127 21128 21129 21130 21131 21132 21133 21134 21135 21136 21137 21138 21139 21140 21141 21142 21143 21144 21145 21146 21147 21148 21149 21150 21151 21152 21153 21154 21155 21156 21157 21158 21159 21160 21161 21162 21163 21164 21165 21166 21167 21168 21169 21170 21171 21172 21173 21174 21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 21185 21186 21187 21188 21189 21190 21191 21192 21193 21194 21195 21196 21197 21198 21199 21200 21201 | |