Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnsubscribeCommand

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.

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);
see

UnsubscribeCommandInput for command's input shape.

see

UnsubscribeCommandOutput for command's response shape.

see

config for CodestarNotificationsClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: UnsubscribeCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<UnsubscribeCommandInput, UnsubscribeCommandOutput>