snowflake.core.catalog_integration.CatalogIntegrationResource¶

class snowflake.core.catalog_integration.CatalogIntegrationResource(name: Annotated[str, Strict(strict=True)], collection: CatalogIntegrationCollection)¶

Bases: ObjectReferenceMixin[CatalogIntegrationCollection]

Represents a reference to a Snowflake Catalog Integration resource.

With this catalog integration reference, you can create, update, and fetch information about catalog integrations, as well as perform certain actions on them.

Attributes

root¶

Methods

drop(if_exists: bool | None = None) → None¶

Drop this catalog integration.

Examples

Deleting this catalog integration:

>>> catalog_integration_reference.drop()
Copy

Deleting this catalog integration if it exists:

>>> catalog_integration_reference.drop(if_exists = True)
Copy
fetch() → CatalogIntegration¶

Fetch the details of a catalog integration.

Examples

Fetching a catalog integration reference to print its time of creation:

>>> print(catalog_integration_reference.fetch().created_on)
Copy