Module Values.DescribeNotificationRuleResultSource

Returns information about a specified notification rule.

Sourcetype nonrec t = {
  1. arn : NotificationRuleArn.t option;
    (*

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

    *)
  2. name : NotificationRuleName.t option;
    (*

    The name of the notification rule.

    *)
  3. eventTypes : EventTypeBatch.t option;
    (*

    A list of the event types associated with the notification rule.

    *)
  4. resource : NotificationRuleResource.t option;
    (*

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

    *)
  5. targets : TargetsBatch.t option;
    (*

    A list of the Amazon Q Developer in chat applications topics and Amazon Q Developer in chat applications clients associated with the notification rule.

    *)
  6. detailType : DetailType.t option;
    (*

    The level of detail included 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.

    *)
  7. createdBy : NotificationRuleCreatedBy.t option;
    (*

    The name or email alias of the person who created the notification rule.

    *)
  8. status : NotificationRuleStatus.t option;
    (*

    The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).

    *)
  9. createdTimestamp : CreatedTimestamp.t option;
    (*

    The date and time the notification rule was created, in timestamp format.

    *)
  10. lastModifiedTimestamp : LastModifiedTimestamp.t option;
    (*

    The date and time the notification rule was most recently updated, in timestamp format.

    *)
  11. tags : Tags.t option;
    (*

    The tags associated with the notification rule.

    *)
}
Sourcetype nonrec error = [
  1. | `ResourceNotFoundException of ResourceNotFoundException.t
  2. | `ValidationException of ValidationException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?arn:??? -> ?name:??? -> ?eventTypes:??? -> ?resource:??? -> ?targets:??? -> ?detailType:??? -> ?createdBy:??? -> ?status:??? -> ?createdTimestamp:??? -> ?lastModifiedTimestamp:??? -> ?tags:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of EventTypeId.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of NotificationRuleArn.t | `Timestamp of CreatedTimestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t