Module Values.RetrieveResponseSource

Retrieves content from knowledge sources based on a query.

Sourcetype nonrec t = {
  1. results : RetrieveResultList.t option;
    (*

    The results of the content retrieval operation.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `DependencyFailedException of DependencyFailedException.t
  4. | `RequestTimeoutException of RequestTimeoutException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  7. | `ThrottlingException of ThrottlingException.t
  8. | `ValidationException of ValidationException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?results:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `DependencyFailedException of DependencyFailedException.t | `RequestTimeoutException of RequestTimeoutException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `DependencyFailedException of DependencyFailedException.t | `RequestTimeoutException of RequestTimeoutException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of Uuid.t ]) list ] 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