Module Values.GetSnapshotsResponseSource

Retrieves search metrics data. The data provides a snapshot of how your users interact with your search application and how effective the application is.

Sourcetype nonrec t = {
  1. snapShotTimeFilter : TimeRange.t option;
    (*

    The Unix timestamp for the beginning and end of the time window for the search metrics data.

    *)
  2. snapshotsDataHeader : SnapshotsDataHeaderFields.t option;
    (*

    The column headers for the search metrics data.

    *)
  3. snapshotsData : SnapshotsDataRecords.t option;
    (*

    The search metrics data. The data returned depends on the metric type you requested.

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

    If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of search metrics data.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `InvalidRequestException of InvalidRequestException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?snapShotTimeFilter:??? -> ?snapshotsDataHeader:??? -> ?snapshotsData:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `List of [> `String of String_.t ] list | `String of String_.t ] list | `String of NextToken.t | `Structure of (string * [> `Timestamp of Timestamp.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