Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateNotificationRuleCommand

Updates a notification rule for a resource. You can change the events that trigger the notification rule, the status of the rule, and the targets that receive the notifications.

To add or remove tags for a notification rule, you must use TagResource and UntagResource.

example

Use a bare-bones client and the command you need to make an API call.

import { CodestarNotificationsClient, UpdateNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
// const { CodestarNotificationsClient, UpdateNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
const client = new CodestarNotificationsClient(config);
const command = new UpdateNotificationRuleCommand(input);
const response = await client.send(command);
see

UpdateNotificationRuleCommandInput for command's input shape.

see

UpdateNotificationRuleCommandOutput for command's response shape.

see

config for CodestarNotificationsClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: UpdateNotificationRuleCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions

  • Returns EndpointParameterInstructions