Module Values_0.SearchIndexResponseSource

The query search index. Requires permission to access the SearchIndex action.

Sourcetype nonrec t = {
  1. nextToken : NextToken.t option;
    (*

    The token used to get the next set of results, or null if there are no additional results.

    *)
  2. things : ThingDocumentList.t option;
    (*

    The things that match the search query.

    *)
  3. thingGroups : ThingGroupDocumentList.t option;
    (*

    The thing groups that match the search query.

    *)
}
Sourcetype nonrec error = [
  1. | `IndexNotReadyException of IndexNotReadyException.t
  2. | `InternalFailureException of InternalFailureException.t
  3. | `InvalidQueryException of InvalidQueryException.t
  4. | `InvalidRequestException of InvalidRequestException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `ServiceUnavailableException of ServiceUnavailableException.t
  7. | `ThrottlingException of ThrottlingException.t
  8. | `UnauthorizedException of UnauthorizedException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?nextToken:??? -> ?things:??? -> ?thingGroups:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `IndexNotReadyException of IndexNotReadyException.t | `InternalFailureException of InternalFailureException.t | `InvalidQueryException of InvalidQueryException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `IndexNotReadyException of IndexNotReadyException.t | `InternalFailureException of InternalFailureException.t | `InvalidQueryException of InvalidQueryException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.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 [> `Structure of (string * [> `List of [> `String of ThingGroupName.t ] list | `Map of ([> `String of AttributeName.t ] * [> `String of AttributeValue.t ]) list | `String of ThingName.t | `Structure of (string * [> `Boolean of Boolean.t | `Long of ConnectivityTimestamp.t | `String of DisconnectReason.t ]) list ]) 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