Values.SearchPlaceIndexForPositionResponseSourceThis operation is no longer current and may be deprecated in the future. We recommend you upgrade to ReverseGeocode or SearchNearby unless you require Grab data. SearchPlaceIndexForPosition is part of a previous Amazon Location Service Places API (version 1) which has been superseded by a more intuitive, powerful, and complete API (version 2). The version 2 ReverseGeocode operation gives better results in the address reverse-geocoding use case, while the version 2 SearchNearby operation gives better results when searching for businesses and points of interest near a specific location. If you are using an Amazon Web Services SDK or the Amazon Web Services CLI, note that the Places API version 2 is found under geo-places or geo_places, not under location. Since Grab is not yet fully supported in Places API version 2, we recommend you continue using API version 1 when using Grab. Reverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of interest near a given position.
type nonrec t = {summary : SearchPlaceIndexForPositionSummary.t option;Contains a summary of the request. Echoes the input values for Position, Language, MaxResults, and the DataSource of the place index.
*)results : SearchForPositionResultList.t option;Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Double of SearchForPositionResultDistanceDouble.t
| `String of PlaceId.t
| `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `List of [> `String of PlaceCategory.t ] list
| `String of SensitiveString.t
| `Structure of
(string
* [> `Integer of SensitiveInteger.t
| `List of [> `Double of Double.t ] list
| `String of SensitiveString.t ])
list ])
list ])
list ]
list
| `Structure of
(string
* [> `Integer of PlaceIndexSearchResultLimit.t
| `List of [> `Double of Double.t ] list
| `String of String_.t ])
list ])
list ]