snowflake.core.notification_integration.NotificationIntegrationResource¶

class snowflake.core.notification_integration.NotificationIntegrationResource(name: str, collection_class: NotificationIntegrationCollectionBase)¶

Bases: NotificationIntegrationResourceBase

Represents a reference to a Snowflake Notification Integration resource.

With this notification integration reference you can delete, and fetch information about them.

Attributes

root¶

The Root object this reference belongs to.

Methods

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

Delete a notification 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() → NotificationIntegration¶

Fetch a notification integration.

fetch_async() → PollingOperation[NotificationIntegration]¶

An asynchronous version of fetch().

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