Module Values.EventSource

Contains information about an event that was returned by a lookup request. The result includes a representation of a CloudTrail event.

Sourcetype nonrec t = {
  1. eventId : String_.t option;
    (*

    The CloudTrail ID of the event returned.

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

    The name of the event returned.

    *)
  3. readOnly : String_.t option;
    (*

    Information about whether the event is a write event or a read event.

    *)
  4. accessKeyId : String_.t option;
    (*

    The Amazon Web Services access key ID that was used to sign the request. If the request was made with temporary security credentials, this is the access key ID of the temporary credentials.

    *)
  5. eventTime : Date.t option;
    (*

    The date and time of the event returned.

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

    The Amazon Web Services service to which the request was made.

    *)
  7. username : String_.t option;
    (*

    A user name or role name of the requester that called the API in the event returned.

    *)
  8. resources : ResourceList.t option;
    (*

    A list of resources referenced by the event returned.

    *)
  9. cloudTrailEvent : String_.t option;
    (*

    A JSON string that contains a representation of the event returned.

    *)
}
Sourceval make : ?eventId:??? -> ?eventName:??? -> ?readOnly:??? -> ?accessKeyId:??? -> ?eventTime:??? -> ?eventSource:??? -> ?username:??? -> ?resources:??? -> ?cloudTrailEvent:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Timestamp of Date.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