snowflake.core.catalog_integration.CatalogIntegrationResourceΒΆ

class snowflake.core.catalog_integration.CatalogIntegrationResource(name: str, collection_class: CatalogIntegrationCollectionBase)ΒΆ

Bases: CatalogIntegrationResourceBase

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ΒΆ

The Root object this reference belongs to.

Methods

drop(if_exists: bool | None = None) β†’ NoneΒΆ

Delete a catalog integration.

Parameters:

if_exists (bool) – Parameter that specifies how to handle the request for a resource that does not exist: - true: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - false: The endpoint throws an error if the resource doesn’t exist.

drop_async(if_exists: bool | None = None) β†’ PollingOperation[None]ΒΆ

An asynchronous version of drop().

Refer to PollingOperation for more information on asynchronous execution and the return type.

fetch() β†’ CatalogIntegrationΒΆ

Fetch a catalog integration.

fetch_async() β†’ PollingOperation[CatalogIntegration]ΒΆ

An asynchronous version of fetch().

Refer to PollingOperation for more information on asynchronous execution and the return type.