Skip to content

Delete Data Catalog

athena_delete_data_catalog R Documentation

Deletes a data catalog

Description

Deletes a data catalog.

Usage

athena_delete_data_catalog(Name, DeleteCatalogOnly)

Arguments

Name

[required] The name of the data catalog to delete.

DeleteCatalogOnly

Deletes the Athena Data Catalog. You can only use this with the FEDERATED catalogs. You usually perform this before registering the connector with Glue Data Catalog. After deletion, you will have to manage the Glue Connection and Lambda function.

Value

A list with the following syntax:

list(
  DataCatalog = list(
    Name = "string",
    Description = "string",
    Type = "LAMBDA"|"GLUE"|"HIVE"|"FEDERATED",
    Parameters = list(
      "string"
    ),
    Status = "CREATE_IN_PROGRESS"|"CREATE_COMPLETE"|"CREATE_FAILED"|"CREATE_FAILED_CLEANUP_IN_PROGRESS"|"CREATE_FAILED_CLEANUP_COMPLETE"|"CREATE_FAILED_CLEANUP_FAILED"|"DELETE_IN_PROGRESS"|"DELETE_COMPLETE"|"DELETE_FAILED",
    ConnectionType = "DYNAMODB"|"MYSQL"|"POSTGRESQL"|"REDSHIFT"|"ORACLE"|"SYNAPSE"|"SQLSERVER"|"DB2"|"OPENSEARCH"|"BIGQUERY"|"GOOGLECLOUDSTORAGE"|"HBASE"|"DOCUMENTDB"|"CMDB"|"TPCDS"|"TIMESTREAM"|"SAPHANA"|"SNOWFLAKE"|"DATALAKEGEN2"|"DB2AS400",
    Error = "string"
  )
)

Request syntax

svc$delete_data_catalog(
  Name = "string",
  DeleteCatalogOnly = TRUE|FALSE
)