Module Values.SearchForSuggestionsResultSource

Contains a place suggestion resulting from a place suggestion query that is run on a place index resource.

Sourcetype nonrec t = {
  1. text : SensitiveString.t option;
    (*

    The text of the place suggestion, typically formatted as an address string.

    *)
  2. placeId : PlaceId.t option;
    (*

    The unique identifier of the Place. You can use this with the GetPlace operation to find the place again later, or to get full information for the Place. The GetPlace request must use the same PlaceIndex resource as the SearchPlaceIndexForSuggestions that generated the Place ID. For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place indexes that use Esri, Grab, or HERE as data providers.

    *)
  3. categories : PlaceCategoryList.t option;
    (*

    The Amazon Location categories that describe the Place. For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service developer guide.

    *)
  4. supplementalCategories : PlaceSupplementalCategoryList.t option;
    (*

    Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.

    *)
}
Sourceval make : ?text:??? -> ?placeId:??? -> ?categories:??? -> ?supplementalCategories:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of PlaceCategory.t ] list | `String of SensitiveString.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