com.databricks.sdk.service.settings.NotificationDestinationsService Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.settings;
import com.databricks.sdk.support.Generated;
/**
* The notification destinations API lets you programmatically manage a workspace's notification
* destinations. Notification destinations are used to send notifications for query alerts and jobs
* to destinations outside of Databricks. Only workspace admins can create, update, and delete
* notification destinations.
*
* This is the high-level interface, that contains generated methods.
*
*
Evolving: this interface is under development. Method signatures may change.
*/
@Generated
public interface NotificationDestinationsService {
/**
* Create a notification destination.
*
*
Creates a notification destination. Requires workspace admin permissions.
*/
NotificationDestination create(
CreateNotificationDestinationRequest createNotificationDestinationRequest);
/**
* Delete a notification destination.
*
*
Deletes a notification destination. Requires workspace admin permissions.
*/
void delete(DeleteNotificationDestinationRequest deleteNotificationDestinationRequest);
/**
* Get a notification destination.
*
*
Gets a notification destination.
*/
NotificationDestination get(GetNotificationDestinationRequest getNotificationDestinationRequest);
/**
* List notification destinations.
*
*
Lists notification destinations.
*/
ListNotificationDestinationsResponse list(
ListNotificationDestinationsRequest listNotificationDestinationsRequest);
/**
* Update a notification destination.
*
*
Updates a notification destination. Requires workspace admin permissions. At least one field
* is required in the request body.
*/
NotificationDestination update(
UpdateNotificationDestinationRequest updateNotificationDestinationRequest);
}