updateRecipeNotification

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

updateRecipeNotification uses this Data Prep Recipe API resource.

Parameter NameTypeDescriptionRequired?
idStringThe ID of the recipe.Yes
recipeNotificationObjectThe recipe notification to update. Use a Recipe Notification Input resource.Yes

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.