Values.SearchNearbyResponseSourceSearchNearby queries for points of interest within a radius from a central coordinates, returning place results with optional filters such as categories, business chains, food types and more. The API returns details such as a place name, address, phone, category, food type, contact, opening hours. Also, the API can return phonemes, time zones and more based on requested parameters. For more information, see Search Nearby in the Amazon Location Service Developer Guide.
type nonrec t = {pricingBucket : String_.t option;The pricing bucket for which the query is charged at. For more information on pricing, please visit Amazon Location Service Pricing.
*)resultItems : SearchNearbyResultItemList.t option;List of places or results returned for a query.
*)nextToken : Token.t option;If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.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
| `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
| `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
* [> `Boolean of SensitiveBoolean.t
| `Enum of string
| `List of
[> `Double of Double.t
| `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `List of
[> `Double of Double.t
| `String of OpeningHoursDisplay.t
| `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `String of
OpeningHoursComponentsOpenTimeString.t ])
list ]
list
| `String of CategoryIdString.t ])
list ]
list
| `Long of DistanceMeters.t
| `String of SearchNearbyResultItemPlaceIdString.t
| `Structure of
(string
* [> `List of
[> `String of IntersectionStreet.t
| `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `Boolean of
SensitiveBoolean.t
| `String of CategoryIdString.t ])
list ]
list
| `String of
StreetComponentsBaseNameString.t ])
list ]
list
| `Long of TimeZoneOffsetSecondsLong.t
| `String of AddressLabelString.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `String of
PhonemeTranscriptionValueString.t ])
list ]
list
| `String of CountryCode2.t ])
list ])
list ])
list ]
list
| `String of String_.t ])
list ]