Skip to content

NotificationEventSchema

Source code in docs_src/capo_notifications/types/notification_event_schema.py
class NotificationEventSchema(TypedDict, closed=True):
    schema_version: "capo_notifications.types.schema_version.SchemaVersion"
    """<p>The schema version of the Notification Event.</p>"""
    id: "capo_notifications.types.notification_event_id.NotificationEventId"
    """<p>The unique identifier for a <code>NotificationEvent</code>.</p>"""
    source_event_metadata: (
        "capo_notifications.types.source_event_metadata.SourceEventMetadata"
    )
    """<p>The source event metadata.</p>"""
    message_components: "capo_notifications.types.message_components.MessageComponents"
    source_event_detail_url: NotRequired["capo_notifications.types.url.Url"]
    """<p>The source event URL.</p>"""
    source_event_detail_url_display_text: NotRequired["str"]
    """<p>The detailed URL for the source event.</p>"""
    notification_type: "capo_notifications.types.notification_type.NotificationType"
    """<p>The type of event causing the notification.</p> <ul> <li> <p>Values:</p> <ul> <li> <p> <code>ALERT</code> </p> <ul> <li> <p>A notification about an event where something was triggered, initiated, reopened, deployed, or a threshold was breached.</p> </li> </ul> </li> <li> <p> <code>WARNING</code> </p> <ul> <li> <p>A notification about an event where an issue is about to arise. For example, something is approaching a threshold.</p> </li> </ul> </li> <li> <p> <code>ANNOUNCEMENT</code> </p> <ul> <li> <p>A notification about an important event. For example, a step in a workflow or escalation path or that a workflow was updated.</p> </li> </ul> </li> <li> <p> <code>INFORMATIONAL</code> </p> <ul> <li> <p>A notification about informational messages. For example, recommendations, service announcements, or reminders.</p> </li> </ul> </li> </ul> </li> </ul>"""
    event_status: NotRequired["capo_notifications.types.event_status.EventStatus"]
    """<p>The assessed nature of the event.</p> <ul> <li> <p>Values:</p> <ul> <li> <p> <code>HEALTHY</code> </p> <ul> <li> <p>All <code>EventRules</code> are <code>ACTIVE</code> and any call can be run.</p> </li> </ul> </li> <li> <p> <code>UNHEALTHY</code> </p> <ul> <li> <p>Some <code>EventRules</code> are <code>ACTIVE</code> and some are <code>INACTIVE</code>. Any call can be run.</p> </li> </ul> </li> </ul> </li> </ul>"""
    aggregation_event_type: NotRequired[
        "capo_notifications.types.aggregation_event_type.AggregationEventType"
    ]
    """<p>The aggregation type of the <code>NotificationConfiguration</code>.</p> <ul> <li> <p>Values:</p> <ul> <li> <p> <code>AGGREGATE</code> </p> <ul> <li> <p>The notification event is an aggregate notification. Aggregate notifications summarize grouped events over a specified time period.</p> </li> </ul> </li> <li> <p> <code>CHILD</code> </p> <ul> <li> <p>Some <code>EventRules</code> are <code>ACTIVE</code> and some are <code>INACTIVE</code>. Any call can be run.</p> </li> </ul> </li> <li> <p> <code>NONE</code> </p> <ul> <li> <p>The notification isn't aggregated.</p> </li> </ul> </li> </ul> </li> </ul>"""
    aggregate_notification_event_arn: NotRequired[
        "capo_notifications.types.notification_event_arn.NotificationEventArn"
    ]
    """<p>If the value of <code>aggregationEventType</code> is not <code>NONE</code>, this is the Amazon Resource Event (ARN) of the parent aggregate notification.</p> <p>This is omitted if notification isn't aggregated.</p>"""
    aggregation_summary: NotRequired[
        "capo_notifications.types.aggregation_summary.AggregationSummary"
    ]
    """<p>Provides additional information about how multiple notifications are grouped.</p>"""
    start_time: NotRequired["datetime.datetime"]
    """<p>The notification event start time.</p>"""
    end_time: NotRequired["datetime.datetime"]
    """<p>The end time of the event.</p>"""
    text_parts: "capo_notifications.types.text_parts.TextParts"
    """<p>A list of text values.</p>"""
    media: "capo_notifications.types.media.Media"
    """<p>A list of media elements.</p>"""
    organizational_unit_id: NotRequired[
        "capo_notifications.types.organizational_unit_id.OrganizationalUnitId"
    ]
    """<p>The unique identifier of the organizational unit associated with the notification event.</p>"""

aggregate_notification_event_arn instance-attribute

aggregate_notification_event_arn: NotRequired[NotificationEventArn]

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.

aggregation_event_type instance-attribute

aggregation_event_type: NotRequired[AggregationEventType]

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.

aggregation_summary instance-attribute

aggregation_summary: NotRequired[AggregationSummary]

Provides additional information about how multiple notifications are grouped.

end_time instance-attribute

end_time: NotRequired[datetime]

The end time of the event.

event_status instance-attribute

event_status: NotRequired[EventStatus]

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.

id instance-attribute

The unique identifier for a NotificationEvent.

media instance-attribute

media: Media

A list of media elements.

message_components instance-attribute

message_components: MessageComponents

notification_type instance-attribute

notification_type: NotificationType

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.

organizational_unit_id instance-attribute

organizational_unit_id: NotRequired[OrganizationalUnitId]

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

schema_version instance-attribute

schema_version: SchemaVersion

The schema version of the Notification Event.

source_event_detail_url instance-attribute

source_event_detail_url: NotRequired[Url]

The source event URL.

source_event_detail_url_display_text instance-attribute

source_event_detail_url_display_text: NotRequired[str]

The detailed URL for the source event.

source_event_metadata instance-attribute

source_event_metadata: SourceEventMetadata

The source event metadata.

start_time instance-attribute

start_time: NotRequired[datetime]

The notification event start time.

text_parts instance-attribute

text_parts: TextParts

A list of text values.