Values.GeocodeResponseSourceGeocode converts a textual address or place into geographic coordinates. You can obtain geographic coordinates, address component, and other related information. It supports flexible queries, including free-form text or structured queries with components like street names, postal codes, and regions. The Geocode API can also provide additional features such as time zone information and the inclusion of political views. For more information, see Geocode in the Amazon Location Service Developer Guide.
type nonrec t = {pricingBucket : String_.t option;The pricing bucket for which the query is charged at, or the maximum pricing bucket when the query is charged per item within the query. For more information on pricing, please visit Amazon Location Service Pricing.
*)resultItems : GeocodeResultItemList.t option;List of places or results returned for a query.
*)}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
| `Enum of string
| `List of
[> `Double of Double.t
| `Structure of
(string
* [> `List of [> `Double of Double.t ] list ])
list ]
list
| `Long of DistanceMeters.t
| `String of PostalCodeDetailsPostalCodeString.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of IntersectionStreet.t
| `Structure of
(string
* [> `Enum of string
| `String of
StreetComponentsBaseNameString.t ])
list ]
list
| `String of AddressLabelString.t
| `Structure of
(string * [> `String of CountryCode2.t ])
list ])
list ])
list ]
list
| `Long of DistanceMeters.t
| `String of GeocodeResultItemPlaceIdString.t
| `Structure of
(string
* [> `Double of MatchScore.t
| `Enum of string
| `List of
[> `Double of Double.t
| `String of IntersectionStreet.t
| `Structure of
(string
* [> `Enum of string
| `Integer of
ParsedQueryComponentStartIndexInteger.t
| `List of [> `Double of Double.t ] list
| `String of
StreetComponentsBaseNameString.t ])
list ]
list
| `Long of TimeZoneOffsetSecondsLong.t
| `String of AddressLabelString.t
| `Structure of
(string
* [> `Double of MatchScore.t
| `List of
[> `String of IntersectionStreet.t
| `Structure of
(string
* [> `Enum of string
| `Integer of
ParsedQueryComponentStartIndexInteger.t
| `String of
ParsedQueryComponentValueString.t ])
list ]
list
| `String of CountryCode2.t
| `Structure of
(string
* [> `Double of MatchScore.t
| `List of
[> `Double of MatchScore.t
| `Structure of
(string
* [> `Double of MatchScore.t ])
list ]
list
| `String of CountryCode2.t ])
list ])
list ])
list ])
list ]
list
| `String of String_.t ])
list ]