codestarnotifications_update_notification_rule: Updates a notification rule for a resource

View source: R/codestarnotifications_operations.R

codestarnotifications_update_notification_ruleR Documentation

Updates a notification rule for a resource

Description

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.

See https://www.paws-r-sdk.com/docs/codestarnotifications_update_notification_rule/ for full documentation.

Usage

codestarnotifications_update_notification_rule(
  Arn,
  Name = NULL,
  Status = NULL,
  EventTypeIds = NULL,
  Targets = NULL,
  DetailType = NULL
)

Arguments

Arn

[required] The Amazon Resource Name (ARN) of the notification rule.

Name

The name of the notification rule.

Status

The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).

EventTypeIds

A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.

Targets

The address and type of the targets to receive notifications from this notification rule.

DetailType

The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.


paws.developer.tools documentation built on Sept. 12, 2024, 6:46 a.m.