Values.UpdateNotificationRuleRequestSourceUpdates 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.
type nonrec t = {arn : NotificationRuleArn.t;The Amazon Resource Name (ARN) of the notification rule.
*)name : NotificationRuleName.t option;The name of the notification rule.
*)status : NotificationRuleStatus.t option;The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
*)eventTypeIds : EventTypeIds.t option;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 : Targets.t option;The address and type of the targets to receive notifications from this notification rule.
*)detailType : DetailType.t option;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 CodeStar Notifications and/or the service for the resource for which the notification is created.
*)}val make :
?name:??? ->
?status:??? ->
?eventTypeIds:??? ->
?targets:??? ->
?detailType:??? ->
arn:NotificationRuleArn.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of EventTypeId.t
| `Structure of (string * [> `String of TargetType.t ]) list ]
list
| `String of NotificationRuleArn.t ])
list ]