Module Values.GeocodeResponseSource

Geocode 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.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. resultItems : GeocodeResultItemList.t option;
    (*

    List of places or results returned for a query.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ThrottlingException of ThrottlingException.t
  4. | `ValidationException of ValidationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?pricingBucket:??? -> ?resultItems:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
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