class Aws::CodeStarNotifications::Types::UpdateNotificationRuleRequest
@note When making an API call, you may pass UpdateNotificationRuleRequest
data as a hash: { arn: "NotificationRuleArn", # required name: "NotificationRuleName", status: "ENABLED", # accepts ENABLED, DISABLED event_type_ids: ["EventTypeId"], targets: [ { target_type: "TargetType", target_address: "TargetAddress", }, ], detail_type: "BASIC", # accepts BASIC, FULL }
@!attribute [rw] arn
The Amazon Resource Name (ARN) of the notification rule. @return [String]
@!attribute [rw] name
The name of the notification rule. @return [String]
@!attribute [rw] status
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications). @return [String]
@!attribute [rw] event_type_ids
A list of event types associated with this notification rule. @return [Array<String>]
@!attribute [rw] targets
The address and type of the targets to receive notifications from this notification rule. @return [Array<Types::Target>]
@!attribute [rw] detail_type
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 AWS 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. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UpdateNotificationRuleRequest AWS API Documentation
Constants
- SENSITIVE