delete_data_catalog
async
¶
delete_data_catalog(
name: CatalogNameString,
*,
config_overrides: Optional[AsyncAthenaClientConfig] = None,
delete_catalog_only: Optional[Boolean] = None,
) -> DeleteDataCatalogOutput
Deletes a data catalog.
Parameters:
-
name(CatalogNameString) –The name of the data catalog to delete.
-
delete_catalog_only(Optional[Boolean], default:None) –Deletes the Athena Data Catalog. You can only use this with the
FEDERATEDcatalogs. 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.
Raises:
-
InternalServerException–Indicates a platform issue, which may be due to a transient condition or outage.
-
InvalidRequestException–Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.
-
UnknownServiceError–The service returned an error code this client does not model.