Skip to content

AthenaClient.delete_data_catalog

rboto-athena==0.4.0 · Service index · Types

Model summary (excerpt): Deletes a data catalog.

Install and imports

python -m pip install "rboto[athena]==0.4.0"
from rboto import AthenaClient
from rboto_athena.types import (
    DeleteDataCatalogOutput,
)

Signature

async def delete_data_catalog(
    *,
    name: str,
    delete_catalog_only: bool | None = None,
) -> DeleteDataCatalogOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
name Yes The name of the data catalog to delete.
delete_catalog_only No 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.

Output

DeleteDataCatalogOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
data_catalog DataCatalogOutput | None Always present DataCatalogOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

DeleteDataCatalogOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_athena.exceptions:

InternalServerError, InvalidRequestError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model