Module Values.SnapToRoadsResponseSource

SnapToRoads matches GPS trace to roads most likely traveled on. For more information, see Snap to Roads in the Amazon Location Service Developer Guide.

Sourcetype nonrec t = {
  1. notices : RoadSnapNoticeList.t option;
    (*

    Notices are additional information returned that indicate issues that occurred during route calculation.

    *)
  2. pricingBucket : String_.t option;
    (*

    The pricing bucket for which the query is charged at.

    *)
  3. snappedGeometry : RoadSnapSnappedGeometry.t option;
    (*

    The interpolated geometry for the snapped route onto the road network.

    *)
  4. snappedGeometryFormat : GeometryFormat.t option;
    (*

    Specifies the format of the geometry returned for each leg of the route.

    *)
  5. snappedTracePoints : RoadSnapSnappedTracePointList.t option;
    (*

    The trace points snapped onto the road network.

    *)
}
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 : ?notices:??? -> ?pricingBucket:??? -> ?snappedGeometry:??? -> ?snappedGeometryFormat:??? -> ?snappedTracePoints:??? -> 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 * [> `Enum of string | `List of [> `Structure of (string * [> `Double of RoadSnapSnappedTracePointConfidenceDouble.t | `Enum of string | `List of [> `Double of Double.t | `Integer of Integer.t ] list | `String of SensitiveString.t ]) list ] list | `String of String_.t | `Structure of (string * [> `List of [> `List of [> `Double of Double.t ] list ] list | `String of Polyline.t ]) list ]) 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