updateRecipeNotification

Updates the notification settings for a specific data prep recipe by ID.

updateRecipeNotification uses this Data Prep Recipe API resource.

  • id— (Required) The ID of the recipe.
  • recipeNotification— (Required) The recipe notification to update. Use a Recipe Notification Input resource.

Use updateRecipeNotification to allow users to change recipe alert timings, notification levels, and more. This example adds an update button to a page with recipes. The page must contain form elements for the information required to update the notification, like the alert timing. To display a toast message when updating a recipe notification, use the lightning/platformShowToastEvent module.

This button calls the updateRecipeNotification() method.