Module Values.GetQueryResultsResponseSource

Gets event data results of a query. You must specify the QueryID value returned by the StartQuery operation.

Sourcetype nonrec t = {
  1. queryStatus : QueryStatus.t option;
    (*

    The status of the query. Values include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.

    *)
  2. queryStatistics : QueryStatistics.t option;
    (*

    Shows the count of query results.

    *)
  3. queryResultRows : QueryResultRows.t option;
    (*

    Contains the individual event results of the query.

    *)
  4. nextToken : PaginationToken.t option;
    (*

    A token you can use to get the next page of query results.

    *)
  5. errorMessage : ErrorMessage.t option;
    (*

    The error message returned if a query failed.

    *)
}
Sourcetype nonrec error = [
  1. | `EventDataStoreARNInvalidException of EventDataStoreARNInvalidException.t
  2. | `EventDataStoreNotFoundException of EventDataStoreNotFoundException.t
  3. | `InactiveEventDataStoreException of InactiveEventDataStoreException.t
  4. | `InsufficientEncryptionPolicyException of InsufficientEncryptionPolicyException.t
  5. | `InvalidMaxResultsException of InvalidMaxResultsException.t
  6. | `InvalidNextTokenException of InvalidNextTokenException.t
  7. | `InvalidParameterException of InvalidParameterException.t
  8. | `NoManagementAccountSLRExistsException of NoManagementAccountSLRExistsException.t
  9. | `OperationNotPermittedException of OperationNotPermittedException.t
  10. | `QueryIdNotFoundException of QueryIdNotFoundException.t
  11. | `UnsupportedOperationException of UnsupportedOperationException.t
  12. | `Unknown_operation_error of string * string option
]
Sourceval make : ?queryStatus:??? -> ?queryStatistics:??? -> ?queryResultRows:??? -> ?nextToken:??? -> ?errorMessage:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `EventDataStoreARNInvalidException of unit | `EventDataStoreNotFoundException of unit | `InactiveEventDataStoreException of unit | `InsufficientEncryptionPolicyException of unit | `InvalidMaxResultsException of unit | `InvalidNextTokenException of unit | `InvalidParameterException of unit | `NoManagementAccountSLRExistsException of unit | `OperationNotPermittedException of unit | `QueryIdNotFoundException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `EventDataStoreARNInvalidException of unit | `EventDataStoreNotFoundException of unit | `InactiveEventDataStoreException of unit | `InsufficientEncryptionPolicyException of unit | `InvalidMaxResultsException of unit | `InvalidNextTokenException of unit | `InvalidParameterException of unit | `NoManagementAccountSLRExistsException of unit | `OperationNotPermittedException of unit | `QueryIdNotFoundException 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 * [> `Enum of string | `List of [> `List of [> `Map of ([> `String of QueryResultKey.t ] * [> `String of QueryResultValue.t ]) list ] list ] list | `String of PaginationToken.t | `Structure of (string * [> `Integer of Integer.t | `Long of Long.t ]) list ]) 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