Removes an association between a notification rule and an Chatbot topic so that
subscribers to that topic stop receiving notifications when the events described in the
rule are triggered.
example
Use a bare-bones client and the command you need to make an API call.
Removes an association between a notification rule and an Chatbot topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.
Use a bare-bones client and the command you need to make an API call.
import { CodestarNotificationsClient, UnsubscribeCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import // const { CodestarNotificationsClient, UnsubscribeCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import const client = new CodestarNotificationsClient(config); const command = new UnsubscribeCommand(input); const response = await client.send(command);
UnsubscribeCommandInput for command's
input
shape.UnsubscribeCommandOutput for command's
response
shape.config for CodestarNotificationsClient's
config
shape.