Glue / Client / delete_table_version

delete_table_version#

Glue.Client.delete_table_version(**kwargs)#

Deletes a specified version of a table.

See also: AWS API Documentation

Request Syntax

response = client.delete_table_version(
    CatalogId='string',
    DatabaseName='string',
    TableName='string',
    VersionId='string'
)
Parameters:
  • CatalogId (string) – The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.

  • DatabaseName (string) –

    [REQUIRED]

    The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.

  • TableName (string) –

    [REQUIRED]

    The name of the table. For Hive compatibility, this name is entirely lowercase.

  • VersionId (string) –

    [REQUIRED]

    The ID of the table version to be deleted. A VersionID is a string representation of an integer. Each version is incremented by 1.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Glue.Client.exceptions.EntityNotFoundException

  • Glue.Client.exceptions.InvalidInputException

  • Glue.Client.exceptions.InternalServiceException

  • Glue.Client.exceptions.OperationTimeoutException