Module Values_1.DeleteDatabaseRequestSource

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.

Sourcetype nonrec t = {
  1. catalogId : Values_0.CatalogIdString.t option;
    (*

    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.

    *)
  2. name : Values_0.NameString.t;
    (*

    The name of the database to delete. For Hive compatibility, this must be all lowercase.

    *)
}
Sourceval context_ : string
Sourceval make : ?catalogId:??? -> name:Values_0.NameString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.CatalogIdString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t