glue_batch_delete_table: Deletes multiple tables at once

Description Usage Arguments Value Request syntax

View source: R/glue_operations.R

Description

Deletes multiple tables at once.

After completing this operation, you no longer have access to the table versions and partitions that belong to the deleted table. AWS Glue deletes these "orphaned" resources asynchronously in a timely manner, at the discretion of the service.

To ensure the immediate deletion of all related resources, before calling batch_delete_table, use delete_table_version or batch_delete_table_version, and delete_partition or batch_delete_partition, to delete any resources that belong to the table.

Usage

1
glue_batch_delete_table(CatalogId, DatabaseName, TablesToDelete)

Arguments

CatalogId

The ID of the Data Catalog where the table resides. If none is provided, the AWS account ID is used by default.

DatabaseName

[required] The name of the catalog database in which the tables to delete reside. For Hive compatibility, this name is entirely lowercase.

TablesToDelete

[required] A list of the table to delete.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
list(
  Errors = list(
    list(
      TableName = "string",
      ErrorDetail = list(
        ErrorCode = "string",
        ErrorMessage = "string"
      )
    )
  )
)

Request syntax

1
2
3
4
5
6
7
svc$batch_delete_table(
  CatalogId = "string",
  DatabaseName = "string",
  TablesToDelete = list(
    "string"
  )
)

paws.analytics documentation built on March 8, 2021, 1:10 a.m.