Skip to content

SourceEventMetadata

Source code in docs_src/capo_notifications/types/source_event_metadata.py
class SourceEventMetadata(TypedDict, closed=True):
    event_type_version: "str"
    """<p>The version of the type of event.</p>"""
    source_event_id: "str"
    """<p>The source event id.</p>"""
    event_origin_region: NotRequired["capo_notifications.types.region.Region"]
    """<p>The Region the event originated from.</p>"""
    related_account: "capo_notifications.types.account_id.AccountId"
    """<p>The primary Amazon Web Services account of <code>SourceEvent</code>.</p>"""
    source: "capo_notifications.types.source.Source"
    """<p>The Amazon Web Services service the event originates from. For example <code>aws.cloudwatch</code>.</p>"""
    event_occurrence_time: "datetime.datetime"
    """<p>The date and time the source event occurred. This is based on the Source Event.</p>"""
    event_type: "str"
    """<p>The type of event. For example, an Amazon CloudWatch state change.</p>"""
    related_resources: "capo_notifications.types.resources.Resources"
    """<p>A list of resources related to this <code>NotificationEvent</code>.</p>"""

event_occurrence_time instance-attribute

event_occurrence_time: datetime

The date and time the source event occurred. This is based on the Source Event.

event_origin_region instance-attribute

event_origin_region: NotRequired[Region]

The Region the event originated from.

event_type instance-attribute

event_type: str

The type of event. For example, an Amazon CloudWatch state change.

event_type_version instance-attribute

event_type_version: str

The version of the type of event.

related_account instance-attribute

related_account: AccountId

The primary Amazon Web Services account of SourceEvent.

related_resources instance-attribute

related_resources: Resources

A list of resources related to this NotificationEvent.

source instance-attribute

source: Source

The Amazon Web Services service the event originates from. For example aws.cloudwatch.

source_event_id instance-attribute

source_event_id: str

The source event id.