Module Values.LookupEventsResponseSource

Contains a response to a LookupEvents action.

Sourcetype nonrec t = {
  1. events : EventsList.t option;
    (*

    A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.

    *)
  2. nextToken : NextToken.t option;
    (*

    The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidEventCategoryException of InvalidEventCategoryException.t
  2. | `InvalidLookupAttributesException of InvalidLookupAttributesException.t
  3. | `InvalidMaxResultsException of InvalidMaxResultsException.t
  4. | `InvalidNextTokenException of InvalidNextTokenException.t
  5. | `InvalidTimeRangeException of InvalidTimeRangeException.t
  6. | `OperationNotPermittedException of OperationNotPermittedException.t
  7. | `UnsupportedOperationException of UnsupportedOperationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?events:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidEventCategoryException of unit | `InvalidLookupAttributesException of unit | `InvalidMaxResultsException of unit | `InvalidNextTokenException of unit | `InvalidTimeRangeException of unit | `OperationNotPermittedException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidEventCategoryException of unit | `InvalidLookupAttributesException of unit | `InvalidMaxResultsException of unit | `InvalidNextTokenException of unit | `InvalidTimeRangeException of unit | `OperationNotPermittedException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Timestamp of Date.t ]) list ] list | `String of NextToken.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