amazonka-location-2.0: Amazon Location Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Location.Types.RouteMatrixEntry

Description

 
Synopsis

Documentation

data RouteMatrixEntry Source #

The result for the calculated route of one DeparturePosition DestinationPosition pair.

See: newRouteMatrixEntry smart constructor.

Constructors

RouteMatrixEntry' 

Fields

Instances

Instances details
FromJSON RouteMatrixEntry Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntry

Generic RouteMatrixEntry Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntry

Associated Types

type Rep RouteMatrixEntry :: Type -> Type #

Read RouteMatrixEntry Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntry

Show RouteMatrixEntry Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntry

NFData RouteMatrixEntry Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntry

Methods

rnf :: RouteMatrixEntry -> () #

Eq RouteMatrixEntry Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntry

Hashable RouteMatrixEntry Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntry

type Rep RouteMatrixEntry Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntry

type Rep RouteMatrixEntry = D1 ('MetaData "RouteMatrixEntry" "Amazonka.Location.Types.RouteMatrixEntry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "RouteMatrixEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "distance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "durationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteMatrixEntryError)))))

newRouteMatrixEntry :: RouteMatrixEntry Source #

Create a value of RouteMatrixEntry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:distance:RouteMatrixEntry', routeMatrixEntry_distance - The total distance of travel for the route.

$sel:durationSeconds:RouteMatrixEntry', routeMatrixEntry_durationSeconds - The expected duration of travel for the route.

$sel:error:RouteMatrixEntry', routeMatrixEntry_error - An error corresponding to the calculation of a route between the DeparturePosition and DestinationPosition.

routeMatrixEntry_distance :: Lens' RouteMatrixEntry (Maybe Double) Source #

The total distance of travel for the route.

routeMatrixEntry_durationSeconds :: Lens' RouteMatrixEntry (Maybe Double) Source #

The expected duration of travel for the route.

routeMatrixEntry_error :: Lens' RouteMatrixEntry (Maybe RouteMatrixEntryError) Source #

An error corresponding to the calculation of a route between the DeparturePosition and DestinationPosition.