updateRecipeNotification
Updates the notification settings for a specific data prep recipe by ID.
updateRecipeNotification
uses this Data Prep Recipe API resource.
Parameter Name | Type | Description | Required? |
---|---|---|---|
id | String | The ID of the recipe. | |
recipeNotification | Object | The recipe notification to update. Use a Recipe Notification Input resource. |
- A Promise object that resolves with the Recipe Notification response.
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.