AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateNotificationRule operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CodeStarNotifications.AmazonCodeStarNotificationsRequest
      Amazon.CodeStarNotifications.Model.UpdateNotificationRuleRequest

Namespace: Amazon.CodeStarNotifications.Model
Assembly: AWSSDK.CodeStarNotifications.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateNotificationRuleRequest : AmazonCodeStarNotificationsRequest
         IAmazonWebServiceRequest

The UpdateNotificationRuleRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

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

Public Property DetailType Amazon.CodeStarNotifications.DetailType

Gets and sets the property 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.

Public Property EventTypeIds System.Collections.Generic.List<System.String>

Gets and sets the property 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.

Public Property Name System.String

Gets and sets the property Name.

The name of the notification rule.

Public Property Status Amazon.CodeStarNotifications.NotificationRuleStatus

Gets and sets the property Status.

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

Public Property Targets System.Collections.Generic.List<Amazon.CodeStarNotifications.Model.Target>

Gets and sets the property Targets.

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5