Deletes a notification rule for a resource.
Use a bare-bones client and the command you need to make an API call.
import { CodestarNotificationsClient, DeleteNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import // const { CodestarNotificationsClient, DeleteNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import const client = new CodestarNotificationsClient(config); const command = new DeleteNotificationRuleCommand(input); const response = await client.send(command);
DeleteNotificationRuleCommandInput for command's input shape.
input
DeleteNotificationRuleCommandOutput for command's response shape.
response
config for CodestarNotificationsClient's config shape.
config
Deletes a notification rule for a resource.
Use a bare-bones client and the command you need to make an API call.
import { CodestarNotificationsClient, DeleteNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import // const { CodestarNotificationsClient, DeleteNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import const client = new CodestarNotificationsClient(config); const command = new DeleteNotificationRuleCommand(input); const response = await client.send(command);
DeleteNotificationRuleCommandInput for command's
input
shape.DeleteNotificationRuleCommandOutput for command's
response
shape.config for CodestarNotificationsClient's
config
shape.