Skip to content

Batch Delete Table Version

glue_batch_delete_table_version R Documentation

Deletes a specified batch of versions of a table

Description

Deletes a specified batch of versions of a table.

Usage

glue_batch_delete_table_version(CatalogId, DatabaseName, TableName,
  VersionIds)

Arguments

CatalogId

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

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

TableName

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

VersionIds

[required] A list of the IDs of versions to be deleted. A VersionId is a string representation of an integer. Each version is incremented by 1.

Value

A list with the following syntax:

list(
  Errors = list(
    list(
      TableName = "string",
      VersionId = "string",
      ErrorDetail = list(
        ErrorCode = "string",
        ErrorMessage = "string"
      )
    )
  )
)

Request syntax

svc$batch_delete_table_version(
  CatalogId = "string",
  DatabaseName = "string",
  TableName = "string",
  VersionIds = list(
    "string"
  )
)