AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DeleteDatabase operation.
Removes a specified database from a Data Catalog.
After completing this operation, you no longer have access to the tables (and all
table versions and partitions that might belong to the tables) and the user-defined
functions in the deleted database. 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 DeleteDatabase
,
use DeleteTableVersion
or BatchDeleteTableVersion
, DeletePartition
or BatchDeletePartition
, DeleteUserDefinedFunction
, and DeleteTable
or BatchDeleteTable
, to delete any resources that belong to the database.
Namespace: Amazon.Glue.Model
Assembly: AWSSDK.Glue.dll
Version: 3.x.y.z
public class DeleteDatabaseRequest : AmazonGlueRequest IAmazonWebServiceRequest
The DeleteDatabaseRequest type exposes the following members
Name | Description | |
---|---|---|
DeleteDatabaseRequest() |
Name | Type | Description | |
---|---|---|---|
CatalogId | System.String |
Gets and sets the property CatalogId. The ID of the Data Catalog in which the database resides. If none is provided, the Amazon Web Services account ID is used by default. |
|
Name | System.String |
Gets and sets the property Name. The name of the database to delete. For Hive compatibility, this must be all lowercase. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5