Module Values.SourceEventMetadataSource

Describes the metadata for a source event. For more information, see Event structure reference in the Amazon EventBridge User Guide.

Sourcetype nonrec t = {
  1. eventTypeVersion : SourceEventMetadataEventTypeVersionString.t option;
    (*

    The version of the type of event.

    *)
  2. sourceEventId : String_.t option;
    (*

    The source event id.

    *)
  3. eventOriginRegion : SourceEventMetadataEventOriginRegionString.t option;
    (*

    The Region the event originated from.

    *)
  4. relatedAccount : SourceEventMetadataRelatedAccountString.t option;
    (*

    The primary Amazon Web Services account of SourceEvent.

    *)
  5. source : Source.t option;
    (*

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

    *)
  6. eventOccurrenceTime : SyntheticTimestamp_date_time.t option;
    (*

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

    *)
  7. eventType : SourceEventMetadataEventTypeString.t option;
    (*

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

    *)
  8. relatedResources : Resources.t option;
    (*

    A list of resources related to this NotificationEvent.

    *)
}
Sourceval make : ?eventTypeVersion:??? -> ?sourceEventId:??? -> ?eventOriginRegion:??? -> ?relatedAccount:??? -> ?source:??? -> ?eventOccurrenceTime:??? -> ?eventType:??? -> ?relatedResources:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of TagsMemberString.t ] list | `String of String_.t ]) list ] list | `String of SourceEventMetadataEventTypeVersionString.t | `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