Module Values.CalculateRouteMatrixResponseSource

Use CalculateRouteMatrix to compute results for all pairs of Origins to Destinations. Each row corresponds to one entry in Origins. Each entry in the row corresponds to the route from that entry in Origins to an entry in Destinations positions. For more information, see Calculate route matrix in the Amazon Location Service Developer Guide.

Sourcetype nonrec t = {
  1. errorCount : CalculateRouteMatrixResponseErrorCountInteger.t option;
    (*

    The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.

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

    The pricing bucket for which the query is charged at.

    *)
  3. routeMatrix : RouteMatrix.t option;
    (*

    The calculated route matrix containing the results for all pairs of Origins to Destination positions. Each row corresponds to one entry in Origins. Each entry in the row corresponds to the route from that entry in Origins to an entry in Destination positions.

    *)
  4. routingBoundary : RouteMatrixBoundary.t option;
    (*

    Boundary within which the matrix is to be calculated. All data, origins and destinations outside the boundary are considered invalid. When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.

    *)
}
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 : ?errorCount:??? -> ?pricingBucket:??? -> ?routeMatrix:??? -> ?routingBoundary:??? -> 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 * [> `Integer of CalculateRouteMatrixResponseErrorCountInteger.t | `List of [> `List of [> `Structure of (string * [> `Enum of string | `Long of DistanceMeters.t ]) list ] list ] list | `String of String_.t | `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Structure of (string * [> `List of [> `Double of Double.t | `List of [> `List of [> `Double of Double.t ] list ] list ] list | `Structure of (string * [> `Double of SensitiveDouble.t | `List of [> `Double of Double.t ] list | `Long of RouteMatrixAutoCircleMarginLong.t ]) list ]) list ]) 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