delete_table_version
async
¶
delete_table_version(
database_name: NameString,
table_name: NameString,
version_id: VersionString,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> DeleteTableVersionResponse
Deletes a specified version of a table.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.
-
database_name(NameString) –The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
-
table_name(NameString) –The name of the table. For Hive compatibility, this name is entirely lowercase.
-
version_id(VersionString) –The ID of the table version to be deleted. A
VersionIDis a string representation of an integer. Each version is incremented by 1.
Raises:
-
EntityNotFoundException–A specified entity does not exist
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.