Module Values.NotificationEventSource

A NotificationEvent is a notification-focused representation of an event. They contain semantic information used by Channels to create end-user notifications.

Sourcetype nonrec t = {
  1. schemaVersion : SchemaVersion.t option;
    (*

    The schema version of the Notification Event.

    *)
  2. id : NotificationEventId.t option;
    (*

    The unique identifier for a NotificationEvent.

    *)
  3. sourceEventMetadata : SourceEventMetadata.t option;
    (*

    The source event metadata.

    *)
  4. messageComponents : MessageComponents.t option;
  5. sourceEventDetailUrl : Url.t option;
    (*

    The source event URL.

    *)
  6. sourceEventDetailUrlDisplayText : String_.t option;
    (*

    The detailed URL for the source event.

    *)
  7. notificationType : NotificationType.t option;
    (*

    The type of event causing the notification. Values: ALERT A notification about an event where something was triggered, initiated, reopened, deployed, or a threshold was breached. WARNING A notification about an event where an issue is about to arise. For example, something is approaching a threshold. ANNOUNCEMENT A notification about an important event. For example, a step in a workflow or escalation path or that a workflow was updated. INFORMATIONAL A notification about informational messages. For example, recommendations, service announcements, or reminders.

    *)
  8. eventStatus : EventStatus.t option;
    (*

    The assessed nature of the event. Values: HEALTHY All EventRules are ACTIVE and any call can be run. UNHEALTHY Some EventRules are ACTIVE and some are INACTIVE. Any call can be run.

    *)
  9. aggregationEventType : AggregationEventType.t option;
    (*

    The aggregation type of the NotificationConfiguration. Values: AGGREGATE The notification event is an aggregate notification. Aggregate notifications summarize grouped events over a specified time period. CHILD Some EventRules are ACTIVE and some are INACTIVE. Any call can be run. NONE The notification isn't aggregated.

    *)
  10. aggregateNotificationEventArn : NotificationEventArn.t option;
    (*

    If the value of aggregationEventType is not NONE, this is the Amazon Resource Event (ARN) of the parent aggregate notification. This is omitted if notification isn't aggregated.

    *)
  11. aggregationSummary : AggregationSummary.t option;
    (*

    Provides additional information about how multiple notifications are grouped.

    *)
  12. startTime : SyntheticTimestamp_date_time.t option;
    (*

    The notification event start time.

    *)
  13. endTime : SyntheticTimestamp_date_time.t option;
    (*

    The end time of the event.

    *)
  14. textParts : TextParts.t option;
    (*

    A list of text values.

    *)
  15. media : Media.t option;
    (*

    A list of media elements.

    *)
  16. organizationalUnitId : OrganizationalUnitId.t option;
    (*

    The unique identifier of the organizational unit associated with the notification event.

    *)
}
Sourceval make : ?schemaVersion:??? -> ?id:??? -> ?sourceEventMetadata:??? -> ?messageComponents:??? -> ?sourceEventDetailUrl:??? -> ?sourceEventDetailUrlDisplayText:??? -> ?notificationType:??? -> ?eventStatus:??? -> ?aggregationEventType:??? -> ?aggregateNotificationEventArn:??? -> ?aggregationSummary:??? -> ?startTime:??? -> ?endTime:??? -> ?textParts:??? -> ?media:??? -> ?organizationalUnitId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of MediaId.t ]) list ] list | `Map of ([> `String of TextPartId.t ] * [> `Structure of (string * [> `Enum of string | `Map of ([> `Enum of string ] * [> `String of String_.t ]) list | `String of TextPartValueDisplayTextString.t ]) list ]) list | `String of NotificationEventId.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Integer of Integer.t | `List of [> `String of TagsMemberString.t ] list | `String of String_.t ]) list ] list | `String of SourceEventMetadataEventTypeVersionString.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `String of SampleAggregationDimensionValuesMemberString.t ] list | `String of String_.t ]) list | `Timestamp of SyntheticTimestamp_date_time.t ]) list | `Timestamp of SyntheticTimestamp_date_time.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