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

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2020-11-19 of the Amazon Location Service SDK configuration.

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.

_ConflictException :: AsError a => Fold a ServiceError Source #

The request was unsuccessful because of a conflict.

_InternalServerException :: AsError a => Fold a ServiceError Source #

The request has failed to process because of an unknown server error, exception, or failure.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The resource that you've entered was not found in your AWS account.

_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #

The operation was denied because the request would exceed the maximum quota set for Amazon Location Service.

_ThrottlingException :: AsError a => Fold a ServiceError Source #

The request was denied because of request throttling.

_ValidationException :: AsError a => Fold a ServiceError Source #

The input failed to meet the constraints specified by the AWS service.

BatchItemErrorCode

newtype BatchItemErrorCode Source #

Instances

Instances details
FromJSON BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

FromJSONKey BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

ToJSON BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

ToJSONKey BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

ToByteString BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

ToHeader BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

ToLog BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

ToQuery BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

FromText BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

ToText BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

FromXML BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

ToXML BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

Generic BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

Associated Types

type Rep BatchItemErrorCode :: Type -> Type #

Read BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

Show BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

NFData BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

Methods

rnf :: BatchItemErrorCode -> () #

Eq BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

Ord BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

Hashable BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

type Rep BatchItemErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemErrorCode

type Rep BatchItemErrorCode = D1 ('MetaData "BatchItemErrorCode" "Amazonka.Location.Types.BatchItemErrorCode" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'True) (C1 ('MetaCons "BatchItemErrorCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromBatchItemErrorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DimensionUnit

newtype DimensionUnit Source #

Constructors

DimensionUnit' 

Bundled Patterns

pattern DimensionUnit_Feet :: DimensionUnit 
pattern DimensionUnit_Meters :: DimensionUnit 

Instances

Instances details
FromJSON DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

FromJSONKey DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

ToJSON DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

ToJSONKey DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

ToByteString DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

ToHeader DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

ToLog DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

ToQuery DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

FromText DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

ToText DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

Methods

toText :: DimensionUnit -> Text #

FromXML DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

ToXML DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

Methods

toXML :: DimensionUnit -> XML #

Generic DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

Associated Types

type Rep DimensionUnit :: Type -> Type #

Read DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

Show DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

NFData DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

Methods

rnf :: DimensionUnit -> () #

Eq DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

Ord DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

Hashable DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

type Rep DimensionUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DimensionUnit

type Rep DimensionUnit = D1 ('MetaData "DimensionUnit" "Amazonka.Location.Types.DimensionUnit" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'True) (C1 ('MetaCons "DimensionUnit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDimensionUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DistanceUnit

newtype DistanceUnit Source #

Constructors

DistanceUnit' 

Bundled Patterns

pattern DistanceUnit_Kilometers :: DistanceUnit 
pattern DistanceUnit_Miles :: DistanceUnit 

Instances

Instances details
FromJSON DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

FromJSONKey DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

ToJSON DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

ToJSONKey DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

ToByteString DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

ToHeader DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

ToLog DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

ToQuery DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

FromText DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

ToText DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

Methods

toText :: DistanceUnit -> Text #

FromXML DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

ToXML DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

Methods

toXML :: DistanceUnit -> XML #

Generic DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

Associated Types

type Rep DistanceUnit :: Type -> Type #

Read DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

Show DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

NFData DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

Methods

rnf :: DistanceUnit -> () #

Eq DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

Ord DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

Hashable DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

type Rep DistanceUnit Source # 
Instance details

Defined in Amazonka.Location.Types.DistanceUnit

type Rep DistanceUnit = D1 ('MetaData "DistanceUnit" "Amazonka.Location.Types.DistanceUnit" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'True) (C1 ('MetaCons "DistanceUnit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDistanceUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

IntendedUse

newtype IntendedUse Source #

Constructors

IntendedUse' 

Bundled Patterns

pattern IntendedUse_SingleUse :: IntendedUse 
pattern IntendedUse_Storage :: IntendedUse 

Instances

Instances details
FromJSON IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

FromJSONKey IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

ToJSON IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

ToJSONKey IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

ToByteString IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

ToHeader IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

ToLog IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

ToQuery IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

FromText IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

ToText IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

Methods

toText :: IntendedUse -> Text #

FromXML IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

ToXML IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

Methods

toXML :: IntendedUse -> XML #

Generic IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

Associated Types

type Rep IntendedUse :: Type -> Type #

Read IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

Show IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

NFData IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

Methods

rnf :: IntendedUse -> () #

Eq IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

Ord IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

Hashable IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

type Rep IntendedUse Source # 
Instance details

Defined in Amazonka.Location.Types.IntendedUse

type Rep IntendedUse = D1 ('MetaData "IntendedUse" "Amazonka.Location.Types.IntendedUse" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'True) (C1 ('MetaCons "IntendedUse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromIntendedUse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PositionFiltering

newtype PositionFiltering Source #

Instances

Instances details
FromJSON PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

FromJSONKey PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

ToJSON PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

ToJSONKey PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

ToByteString PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

ToHeader PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

ToLog PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

ToQuery PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

FromText PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

ToText PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

FromXML PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

ToXML PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

Generic PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

Associated Types

type Rep PositionFiltering :: Type -> Type #

Read PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

Show PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

NFData PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

Methods

rnf :: PositionFiltering -> () #

Eq PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

Ord PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

Hashable PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

type Rep PositionFiltering Source # 
Instance details

Defined in Amazonka.Location.Types.PositionFiltering

type Rep PositionFiltering = D1 ('MetaData "PositionFiltering" "Amazonka.Location.Types.PositionFiltering" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'True) (C1 ('MetaCons "PositionFiltering'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPositionFiltering") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PricingPlan

newtype PricingPlan Source #

Constructors

PricingPlan' 

Instances

Instances details
FromJSON PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

FromJSONKey PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

ToJSON PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

ToJSONKey PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

ToByteString PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

ToHeader PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

ToLog PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

ToQuery PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

FromText PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

ToText PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

Methods

toText :: PricingPlan -> Text #

FromXML PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

ToXML PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

Methods

toXML :: PricingPlan -> XML #

Generic PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

Associated Types

type Rep PricingPlan :: Type -> Type #

Read PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

Show PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

NFData PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

Methods

rnf :: PricingPlan -> () #

Eq PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

Ord PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

Hashable PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

type Rep PricingPlan Source # 
Instance details

Defined in Amazonka.Location.Types.PricingPlan

type Rep PricingPlan = D1 ('MetaData "PricingPlan" "Amazonka.Location.Types.PricingPlan" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'True) (C1 ('MetaCons "PricingPlan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RouteMatrixErrorCode

newtype RouteMatrixErrorCode Source #

Instances

Instances details
FromJSON RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

FromJSONKey RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

ToJSON RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

ToJSONKey RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

ToByteString RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

ToHeader RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

ToLog RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

ToQuery RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

FromText RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

ToText RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

FromXML RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

ToXML RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

Generic RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

Associated Types

type Rep RouteMatrixErrorCode :: Type -> Type #

Read RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

Show RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

NFData RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

Methods

rnf :: RouteMatrixErrorCode -> () #

Eq RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

Ord RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

Hashable RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

type Rep RouteMatrixErrorCode Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixErrorCode

type Rep RouteMatrixErrorCode = D1 ('MetaData "RouteMatrixErrorCode" "Amazonka.Location.Types.RouteMatrixErrorCode" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'True) (C1 ('MetaCons "RouteMatrixErrorCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRouteMatrixErrorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TravelMode

newtype TravelMode Source #

Constructors

TravelMode' 

Fields

Bundled Patterns

pattern TravelMode_Car :: TravelMode 
pattern TravelMode_Truck :: TravelMode 
pattern TravelMode_Walking :: TravelMode 

Instances

Instances details
FromJSON TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

FromJSONKey TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

ToJSON TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

ToJSONKey TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

ToByteString TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

ToHeader TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

ToLog TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

ToQuery TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

FromText TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

ToText TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

Methods

toText :: TravelMode -> Text #

FromXML TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

ToXML TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

Methods

toXML :: TravelMode -> XML #

Generic TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

Associated Types

type Rep TravelMode :: Type -> Type #

Read TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

Show TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

NFData TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

Methods

rnf :: TravelMode -> () #

Eq TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

Ord TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

Hashable TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

type Rep TravelMode Source # 
Instance details

Defined in Amazonka.Location.Types.TravelMode

type Rep TravelMode = D1 ('MetaData "TravelMode" "Amazonka.Location.Types.TravelMode" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'True) (C1 ('MetaCons "TravelMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTravelMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

VehicleWeightUnit

newtype VehicleWeightUnit Source #

Instances

Instances details
FromJSON VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

FromJSONKey VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

ToJSON VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

ToJSONKey VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

ToByteString VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

ToHeader VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

ToLog VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

ToQuery VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

FromText VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

ToText VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

FromXML VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

ToXML VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

Generic VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

Associated Types

type Rep VehicleWeightUnit :: Type -> Type #

Read VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

Show VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

NFData VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

Methods

rnf :: VehicleWeightUnit -> () #

Eq VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

Ord VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

Hashable VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

type Rep VehicleWeightUnit Source # 
Instance details

Defined in Amazonka.Location.Types.VehicleWeightUnit

type Rep VehicleWeightUnit = D1 ('MetaData "VehicleWeightUnit" "Amazonka.Location.Types.VehicleWeightUnit" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'True) (C1 ('MetaCons "VehicleWeightUnit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromVehicleWeightUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BatchDeleteDevicePositionHistoryError

data BatchDeleteDevicePositionHistoryError Source #

Contains the tracker resource details.

See: newBatchDeleteDevicePositionHistoryError smart constructor.

Constructors

BatchDeleteDevicePositionHistoryError' 

Fields

Instances

Instances details
FromJSON BatchDeleteDevicePositionHistoryError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteDevicePositionHistoryError

Generic BatchDeleteDevicePositionHistoryError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteDevicePositionHistoryError

Read BatchDeleteDevicePositionHistoryError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteDevicePositionHistoryError

Show BatchDeleteDevicePositionHistoryError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteDevicePositionHistoryError

NFData BatchDeleteDevicePositionHistoryError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteDevicePositionHistoryError

Eq BatchDeleteDevicePositionHistoryError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteDevicePositionHistoryError

Hashable BatchDeleteDevicePositionHistoryError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteDevicePositionHistoryError

type Rep BatchDeleteDevicePositionHistoryError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteDevicePositionHistoryError

type Rep BatchDeleteDevicePositionHistoryError = D1 ('MetaData "BatchDeleteDevicePositionHistoryError" "Amazonka.Location.Types.BatchDeleteDevicePositionHistoryError" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "BatchDeleteDevicePositionHistoryError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BatchItemError)))

BatchDeleteGeofenceError

data BatchDeleteGeofenceError Source #

Contains error details for each geofence that failed to delete from the geofence collection.

See: newBatchDeleteGeofenceError smart constructor.

Constructors

BatchDeleteGeofenceError' 

Fields

Instances

Instances details
FromJSON BatchDeleteGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteGeofenceError

Generic BatchDeleteGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteGeofenceError

Associated Types

type Rep BatchDeleteGeofenceError :: Type -> Type #

Read BatchDeleteGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteGeofenceError

Show BatchDeleteGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteGeofenceError

NFData BatchDeleteGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteGeofenceError

Eq BatchDeleteGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteGeofenceError

Hashable BatchDeleteGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteGeofenceError

type Rep BatchDeleteGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchDeleteGeofenceError

type Rep BatchDeleteGeofenceError = D1 ('MetaData "BatchDeleteGeofenceError" "Amazonka.Location.Types.BatchDeleteGeofenceError" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "BatchDeleteGeofenceError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BatchItemError) :*: S1 ('MetaSel ('Just "geofenceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newBatchDeleteGeofenceError Source #

Create a value of BatchDeleteGeofenceError 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:error:BatchDeleteGeofenceError', batchDeleteGeofenceError_error - Contains details associated to the batch error.

$sel:geofenceId:BatchDeleteGeofenceError', batchDeleteGeofenceError_geofenceId - The geofence associated with the error message.

batchDeleteGeofenceError_error :: Lens' BatchDeleteGeofenceError BatchItemError Source #

Contains details associated to the batch error.

batchDeleteGeofenceError_geofenceId :: Lens' BatchDeleteGeofenceError Text Source #

The geofence associated with the error message.

BatchEvaluateGeofencesError

data BatchEvaluateGeofencesError Source #

Contains error details for each device that failed to evaluate its position against the geofences in a given geofence collection.

See: newBatchEvaluateGeofencesError smart constructor.

Constructors

BatchEvaluateGeofencesError' 

Fields

Instances

Instances details
FromJSON BatchEvaluateGeofencesError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchEvaluateGeofencesError

Generic BatchEvaluateGeofencesError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchEvaluateGeofencesError

Associated Types

type Rep BatchEvaluateGeofencesError :: Type -> Type #

Read BatchEvaluateGeofencesError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchEvaluateGeofencesError

Show BatchEvaluateGeofencesError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchEvaluateGeofencesError

NFData BatchEvaluateGeofencesError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchEvaluateGeofencesError

Eq BatchEvaluateGeofencesError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchEvaluateGeofencesError

Hashable BatchEvaluateGeofencesError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchEvaluateGeofencesError

type Rep BatchEvaluateGeofencesError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchEvaluateGeofencesError

type Rep BatchEvaluateGeofencesError = D1 ('MetaData "BatchEvaluateGeofencesError" "Amazonka.Location.Types.BatchEvaluateGeofencesError" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "BatchEvaluateGeofencesError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BatchItemError) :*: S1 ('MetaSel ('Just "sampleTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newBatchEvaluateGeofencesError Source #

Create a value of BatchEvaluateGeofencesError 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:deviceId:BatchEvaluateGeofencesError', batchEvaluateGeofencesError_deviceId - The device associated with the position evaluation error.

$sel:error:BatchEvaluateGeofencesError', batchEvaluateGeofencesError_error - Contains details associated to the batch error.

$sel:sampleTime:BatchEvaluateGeofencesError', batchEvaluateGeofencesError_sampleTime - Specifies a timestamp for when the error occurred in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

batchEvaluateGeofencesError_deviceId :: Lens' BatchEvaluateGeofencesError Text Source #

The device associated with the position evaluation error.

batchEvaluateGeofencesError_sampleTime :: Lens' BatchEvaluateGeofencesError UTCTime Source #

Specifies a timestamp for when the error occurred in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

BatchGetDevicePositionError

data BatchGetDevicePositionError Source #

Contains error details for each device that didn't return a position.

See: newBatchGetDevicePositionError smart constructor.

Constructors

BatchGetDevicePositionError' 

Fields

Instances

Instances details
FromJSON BatchGetDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchGetDevicePositionError

Generic BatchGetDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchGetDevicePositionError

Associated Types

type Rep BatchGetDevicePositionError :: Type -> Type #

Read BatchGetDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchGetDevicePositionError

Show BatchGetDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchGetDevicePositionError

NFData BatchGetDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchGetDevicePositionError

Eq BatchGetDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchGetDevicePositionError

Hashable BatchGetDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchGetDevicePositionError

type Rep BatchGetDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchGetDevicePositionError

type Rep BatchGetDevicePositionError = D1 ('MetaData "BatchGetDevicePositionError" "Amazonka.Location.Types.BatchGetDevicePositionError" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "BatchGetDevicePositionError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BatchItemError)))

newBatchGetDevicePositionError Source #

Create a value of BatchGetDevicePositionError 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:deviceId:BatchGetDevicePositionError', batchGetDevicePositionError_deviceId - The ID of the device that didn't return a position.

$sel:error:BatchGetDevicePositionError', batchGetDevicePositionError_error - Contains details related to the error code.

batchGetDevicePositionError_deviceId :: Lens' BatchGetDevicePositionError Text Source #

The ID of the device that didn't return a position.

BatchItemError

data BatchItemError Source #

Contains the batch request error details associated with the request.

See: newBatchItemError smart constructor.

Constructors

BatchItemError' 

Fields

Instances

Instances details
FromJSON BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

Generic BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

Associated Types

type Rep BatchItemError :: Type -> Type #

Read BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

Show BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

NFData BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

Methods

rnf :: BatchItemError -> () #

Eq BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

Hashable BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

type Rep BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

type Rep BatchItemError = D1 ('MetaData "BatchItemError" "Amazonka.Location.Types.BatchItemError" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "BatchItemError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchItemErrorCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newBatchItemError :: BatchItemError Source #

Create a value of BatchItemError 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:code:BatchItemError', batchItemError_code - The error code associated with the batch request error.

$sel:message:BatchItemError', batchItemError_message - A message with the reason for the batch request error.

batchItemError_code :: Lens' BatchItemError (Maybe BatchItemErrorCode) Source #

The error code associated with the batch request error.

batchItemError_message :: Lens' BatchItemError (Maybe Text) Source #

A message with the reason for the batch request error.

BatchPutGeofenceError

data BatchPutGeofenceError Source #

Contains error details for each geofence that failed to be stored in a given geofence collection.

See: newBatchPutGeofenceError smart constructor.

Constructors

BatchPutGeofenceError' 

Fields

Instances

Instances details
FromJSON BatchPutGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceError

Generic BatchPutGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceError

Associated Types

type Rep BatchPutGeofenceError :: Type -> Type #

Read BatchPutGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceError

Show BatchPutGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceError

NFData BatchPutGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceError

Methods

rnf :: BatchPutGeofenceError -> () #

Eq BatchPutGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceError

Hashable BatchPutGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceError

type Rep BatchPutGeofenceError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceError

type Rep BatchPutGeofenceError = D1 ('MetaData "BatchPutGeofenceError" "Amazonka.Location.Types.BatchPutGeofenceError" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "BatchPutGeofenceError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BatchItemError) :*: S1 ('MetaSel ('Just "geofenceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newBatchPutGeofenceError Source #

Create a value of BatchPutGeofenceError 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:error:BatchPutGeofenceError', batchPutGeofenceError_error - Contains details associated to the batch error.

$sel:geofenceId:BatchPutGeofenceError', batchPutGeofenceError_geofenceId - The geofence associated with the error message.

batchPutGeofenceError_error :: Lens' BatchPutGeofenceError BatchItemError Source #

Contains details associated to the batch error.

batchPutGeofenceError_geofenceId :: Lens' BatchPutGeofenceError Text Source #

The geofence associated with the error message.

BatchPutGeofenceRequestEntry

data BatchPutGeofenceRequestEntry Source #

Contains geofence geometry details.

See: newBatchPutGeofenceRequestEntry smart constructor.

Constructors

BatchPutGeofenceRequestEntry' 

Fields

  • geofenceId :: Text

    The identifier for the geofence to be stored in a given geofence collection.

  • geometry :: GeofenceGeometry

    Contains the details of the position of the geofence. Can be either a polygon or a circle. Including both will return a validation error.

    Each geofence polygon can have a maximum of 1,000 vertices.

Instances

Instances details
ToJSON BatchPutGeofenceRequestEntry Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceRequestEntry

Generic BatchPutGeofenceRequestEntry Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceRequestEntry

Associated Types

type Rep BatchPutGeofenceRequestEntry :: Type -> Type #

Show BatchPutGeofenceRequestEntry Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceRequestEntry

NFData BatchPutGeofenceRequestEntry Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceRequestEntry

Eq BatchPutGeofenceRequestEntry Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceRequestEntry

Hashable BatchPutGeofenceRequestEntry Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceRequestEntry

type Rep BatchPutGeofenceRequestEntry Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceRequestEntry

type Rep BatchPutGeofenceRequestEntry = D1 ('MetaData "BatchPutGeofenceRequestEntry" "Amazonka.Location.Types.BatchPutGeofenceRequestEntry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "BatchPutGeofenceRequestEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "geofenceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "geometry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeofenceGeometry)))

newBatchPutGeofenceRequestEntry Source #

Create a value of BatchPutGeofenceRequestEntry 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:geofenceId:BatchPutGeofenceRequestEntry', batchPutGeofenceRequestEntry_geofenceId - The identifier for the geofence to be stored in a given geofence collection.

$sel:geometry:BatchPutGeofenceRequestEntry', batchPutGeofenceRequestEntry_geometry - Contains the details of the position of the geofence. Can be either a polygon or a circle. Including both will return a validation error.

Each geofence polygon can have a maximum of 1,000 vertices.

batchPutGeofenceRequestEntry_geofenceId :: Lens' BatchPutGeofenceRequestEntry Text Source #

The identifier for the geofence to be stored in a given geofence collection.

batchPutGeofenceRequestEntry_geometry :: Lens' BatchPutGeofenceRequestEntry GeofenceGeometry Source #

Contains the details of the position of the geofence. Can be either a polygon or a circle. Including both will return a validation error.

Each geofence polygon can have a maximum of 1,000 vertices.

BatchPutGeofenceSuccess

data BatchPutGeofenceSuccess Source #

Contains a summary of each geofence that was successfully stored in a given geofence collection.

See: newBatchPutGeofenceSuccess smart constructor.

Constructors

BatchPutGeofenceSuccess' 

Fields

  • createTime :: ISO8601

    The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

  • geofenceId :: Text

    The geofence successfully stored in a geofence collection.

  • updateTime :: ISO8601

    The timestamp for when the geofence was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

Instances

Instances details
FromJSON BatchPutGeofenceSuccess Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceSuccess

Generic BatchPutGeofenceSuccess Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceSuccess

Associated Types

type Rep BatchPutGeofenceSuccess :: Type -> Type #

Read BatchPutGeofenceSuccess Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceSuccess

Show BatchPutGeofenceSuccess Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceSuccess

NFData BatchPutGeofenceSuccess Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceSuccess

Methods

rnf :: BatchPutGeofenceSuccess -> () #

Eq BatchPutGeofenceSuccess Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceSuccess

Hashable BatchPutGeofenceSuccess Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceSuccess

type Rep BatchPutGeofenceSuccess Source # 
Instance details

Defined in Amazonka.Location.Types.BatchPutGeofenceSuccess

type Rep BatchPutGeofenceSuccess = D1 ('MetaData "BatchPutGeofenceSuccess" "Amazonka.Location.Types.BatchPutGeofenceSuccess" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "BatchPutGeofenceSuccess'" 'PrefixI 'True) (S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: (S1 ('MetaSel ('Just "geofenceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newBatchPutGeofenceSuccess Source #

Create a value of BatchPutGeofenceSuccess 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:createTime:BatchPutGeofenceSuccess', batchPutGeofenceSuccess_createTime - The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

$sel:geofenceId:BatchPutGeofenceSuccess', batchPutGeofenceSuccess_geofenceId - The geofence successfully stored in a geofence collection.

$sel:updateTime:BatchPutGeofenceSuccess', batchPutGeofenceSuccess_updateTime - The timestamp for when the geofence was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

batchPutGeofenceSuccess_createTime :: Lens' BatchPutGeofenceSuccess UTCTime Source #

The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

batchPutGeofenceSuccess_geofenceId :: Lens' BatchPutGeofenceSuccess Text Source #

The geofence successfully stored in a geofence collection.

batchPutGeofenceSuccess_updateTime :: Lens' BatchPutGeofenceSuccess UTCTime Source #

The timestamp for when the geofence was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

BatchUpdateDevicePositionError

data BatchUpdateDevicePositionError Source #

Contains error details for each device that failed to update its position.

See: newBatchUpdateDevicePositionError smart constructor.

Constructors

BatchUpdateDevicePositionError' 

Fields

  • deviceId :: Text

    The device associated with the failed location update.

  • error :: BatchItemError

    Contains details related to the error code such as the error code and error message.

  • sampleTime :: ISO8601

    The timestamp at which the device position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Instances

Instances details
FromJSON BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Generic BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Associated Types

type Rep BatchUpdateDevicePositionError :: Type -> Type #

Read BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Show BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

NFData BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Eq BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Hashable BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

type Rep BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

type Rep BatchUpdateDevicePositionError = D1 ('MetaData "BatchUpdateDevicePositionError" "Amazonka.Location.Types.BatchUpdateDevicePositionError" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "BatchUpdateDevicePositionError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BatchItemError) :*: S1 ('MetaSel ('Just "sampleTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newBatchUpdateDevicePositionError Source #

Create a value of BatchUpdateDevicePositionError 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:deviceId:BatchUpdateDevicePositionError', batchUpdateDevicePositionError_deviceId - The device associated with the failed location update.

$sel:error:BatchUpdateDevicePositionError', batchUpdateDevicePositionError_error - Contains details related to the error code such as the error code and error message.

$sel:sampleTime:BatchUpdateDevicePositionError', batchUpdateDevicePositionError_sampleTime - The timestamp at which the device position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

batchUpdateDevicePositionError_deviceId :: Lens' BatchUpdateDevicePositionError Text Source #

The device associated with the failed location update.

batchUpdateDevicePositionError_error :: Lens' BatchUpdateDevicePositionError BatchItemError Source #

Contains details related to the error code such as the error code and error message.

batchUpdateDevicePositionError_sampleTime :: Lens' BatchUpdateDevicePositionError UTCTime Source #

The timestamp at which the device position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

CalculateRouteCarModeOptions

data CalculateRouteCarModeOptions Source #

Contains details about additional route preferences for requests that specify TravelMode as Car.

See: newCalculateRouteCarModeOptions smart constructor.

Constructors

CalculateRouteCarModeOptions' 

Fields

  • avoidFerries :: Maybe Bool

    Avoids ferries when calculating routes.

    Default Value: false

    Valid Values: false | true

  • avoidTolls :: Maybe Bool

    Avoids tolls when calculating routes.

    Default Value: false

    Valid Values: false | true

Instances

Instances details
ToJSON CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Generic CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Associated Types

type Rep CalculateRouteCarModeOptions :: Type -> Type #

Read CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Show CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

NFData CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Eq CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

Hashable CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

type Rep CalculateRouteCarModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteCarModeOptions

type Rep CalculateRouteCarModeOptions = D1 ('MetaData "CalculateRouteCarModeOptions" "Amazonka.Location.Types.CalculateRouteCarModeOptions" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "CalculateRouteCarModeOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "avoidFerries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "avoidTolls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newCalculateRouteCarModeOptions :: CalculateRouteCarModeOptions Source #

Create a value of CalculateRouteCarModeOptions 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:avoidFerries:CalculateRouteCarModeOptions', calculateRouteCarModeOptions_avoidFerries - Avoids ferries when calculating routes.

Default Value: false

Valid Values: false | true

$sel:avoidTolls:CalculateRouteCarModeOptions', calculateRouteCarModeOptions_avoidTolls - Avoids tolls when calculating routes.

Default Value: false

Valid Values: false | true

calculateRouteCarModeOptions_avoidFerries :: Lens' CalculateRouteCarModeOptions (Maybe Bool) Source #

Avoids ferries when calculating routes.

Default Value: false

Valid Values: false | true

calculateRouteCarModeOptions_avoidTolls :: Lens' CalculateRouteCarModeOptions (Maybe Bool) Source #

Avoids tolls when calculating routes.

Default Value: false

Valid Values: false | true

CalculateRouteMatrixSummary

data CalculateRouteMatrixSummary Source #

A summary of the calculated route matrix.

See: newCalculateRouteMatrixSummary smart constructor.

Constructors

CalculateRouteMatrixSummary' 

Fields

  • dataSource :: Text

    The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers:

    • Esri
    • Here

    For more information about data providers, see Amazon Location Service data providers.

  • distanceUnit :: DistanceUnit

    The unit of measurement for route distances.

  • errorCount :: Natural

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

  • routeCount :: Natural

    The count of cells in the route matrix. Equal to the number of DeparturePositions multiplied by the number of DestinationPositions.

Instances

Instances details
FromJSON CalculateRouteMatrixSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteMatrixSummary

Generic CalculateRouteMatrixSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteMatrixSummary

Associated Types

type Rep CalculateRouteMatrixSummary :: Type -> Type #

Read CalculateRouteMatrixSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteMatrixSummary

Show CalculateRouteMatrixSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteMatrixSummary

NFData CalculateRouteMatrixSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteMatrixSummary

Eq CalculateRouteMatrixSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteMatrixSummary

Hashable CalculateRouteMatrixSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteMatrixSummary

type Rep CalculateRouteMatrixSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteMatrixSummary

type Rep CalculateRouteMatrixSummary = D1 ('MetaData "CalculateRouteMatrixSummary" "Amazonka.Location.Types.CalculateRouteMatrixSummary" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "CalculateRouteMatrixSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "distanceUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DistanceUnit)) :*: (S1 ('MetaSel ('Just "errorCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "routeCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newCalculateRouteMatrixSummary Source #

Create a value of CalculateRouteMatrixSummary 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:dataSource:CalculateRouteMatrixSummary', calculateRouteMatrixSummary_dataSource - The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

$sel:distanceUnit:CalculateRouteMatrixSummary', calculateRouteMatrixSummary_distanceUnit - The unit of measurement for route distances.

$sel:errorCount:CalculateRouteMatrixSummary', calculateRouteMatrixSummary_errorCount - The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.

$sel:routeCount:CalculateRouteMatrixSummary', calculateRouteMatrixSummary_routeCount - The count of cells in the route matrix. Equal to the number of DeparturePositions multiplied by the number of DestinationPositions.

calculateRouteMatrixSummary_dataSource :: Lens' CalculateRouteMatrixSummary Text Source #

The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

calculateRouteMatrixSummary_errorCount :: Lens' CalculateRouteMatrixSummary Natural Source #

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

calculateRouteMatrixSummary_routeCount :: Lens' CalculateRouteMatrixSummary Natural Source #

The count of cells in the route matrix. Equal to the number of DeparturePositions multiplied by the number of DestinationPositions.

CalculateRouteSummary

data CalculateRouteSummary Source #

A summary of the calculated route.

See: newCalculateRouteSummary smart constructor.

Constructors

CalculateRouteSummary' 

Fields

  • dataSource :: Text

    The data provider of traffic and road network data used to calculate the route. Indicates one of the available providers:

    • Esri
    • Here

    For more information about data providers, see Amazon Location Service data providers.

  • distance :: Double

    The total distance covered by the route. The sum of the distance travelled between every stop on the route.

    If Esri is the data source for the route calculator, the route distance can’t be greater than 400 km. If the route exceeds 400 km, the response is a 400 RoutesValidationException error.

  • distanceUnit :: DistanceUnit

    The unit of measurement for route distances.

  • durationSeconds :: Double

    The total travel time for the route measured in seconds. The sum of the travel time between every stop on the route.

  • routeBBox :: Sensitive (NonEmpty Double)

    Specifies a geographical box surrounding a route. Used to zoom into a route when displaying it in a map. For example, [min x, min y, max x, max y].

    The first 2 bbox parameters describe the lower southwest corner:

    • The first bbox position is the X coordinate or longitude of the lower southwest corner.
    • The second bbox position is the Y coordinate or latitude of the lower southwest corner.

    The next 2 bbox parameters describe the upper northeast corner:

    • The third bbox position is the X coordinate, or longitude of the upper northeast corner.
    • The fourth bbox position is the Y coordinate, or latitude of the upper northeast corner.

Instances

Instances details
FromJSON CalculateRouteSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteSummary

Generic CalculateRouteSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteSummary

Associated Types

type Rep CalculateRouteSummary :: Type -> Type #

Show CalculateRouteSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteSummary

NFData CalculateRouteSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteSummary

Methods

rnf :: CalculateRouteSummary -> () #

Eq CalculateRouteSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteSummary

Hashable CalculateRouteSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteSummary

type Rep CalculateRouteSummary Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteSummary

type Rep CalculateRouteSummary = D1 ('MetaData "CalculateRouteSummary" "Amazonka.Location.Types.CalculateRouteSummary" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "CalculateRouteSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "distance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "distanceUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DistanceUnit) :*: (S1 ('MetaSel ('Just "durationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "routeBBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (NonEmpty Double)))))))

newCalculateRouteSummary Source #

Create a value of CalculateRouteSummary 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:dataSource:CalculateRouteSummary', calculateRouteSummary_dataSource - The data provider of traffic and road network data used to calculate the route. Indicates one of the available providers:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

$sel:distance:CalculateRouteSummary', calculateRouteSummary_distance - The total distance covered by the route. The sum of the distance travelled between every stop on the route.

If Esri is the data source for the route calculator, the route distance can’t be greater than 400 km. If the route exceeds 400 km, the response is a 400 RoutesValidationException error.

$sel:distanceUnit:CalculateRouteSummary', calculateRouteSummary_distanceUnit - The unit of measurement for route distances.

$sel:durationSeconds:CalculateRouteSummary', calculateRouteSummary_durationSeconds - The total travel time for the route measured in seconds. The sum of the travel time between every stop on the route.

$sel:routeBBox:CalculateRouteSummary', calculateRouteSummary_routeBBox - Specifies a geographical box surrounding a route. Used to zoom into a route when displaying it in a map. For example, [min x, min y, max x, max y].

The first 2 bbox parameters describe the lower southwest corner:

  • The first bbox position is the X coordinate or longitude of the lower southwest corner.
  • The second bbox position is the Y coordinate or latitude of the lower southwest corner.

The next 2 bbox parameters describe the upper northeast corner:

  • The third bbox position is the X coordinate, or longitude of the upper northeast corner.
  • The fourth bbox position is the Y coordinate, or latitude of the upper northeast corner.

calculateRouteSummary_dataSource :: Lens' CalculateRouteSummary Text Source #

The data provider of traffic and road network data used to calculate the route. Indicates one of the available providers:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

calculateRouteSummary_distance :: Lens' CalculateRouteSummary Double Source #

The total distance covered by the route. The sum of the distance travelled between every stop on the route.

If Esri is the data source for the route calculator, the route distance can’t be greater than 400 km. If the route exceeds 400 km, the response is a 400 RoutesValidationException error.

calculateRouteSummary_durationSeconds :: Lens' CalculateRouteSummary Double Source #

The total travel time for the route measured in seconds. The sum of the travel time between every stop on the route.

calculateRouteSummary_routeBBox :: Lens' CalculateRouteSummary (NonEmpty Double) Source #

Specifies a geographical box surrounding a route. Used to zoom into a route when displaying it in a map. For example, [min x, min y, max x, max y].

The first 2 bbox parameters describe the lower southwest corner:

  • The first bbox position is the X coordinate or longitude of the lower southwest corner.
  • The second bbox position is the Y coordinate or latitude of the lower southwest corner.

The next 2 bbox parameters describe the upper northeast corner:

  • The third bbox position is the X coordinate, or longitude of the upper northeast corner.
  • The fourth bbox position is the Y coordinate, or latitude of the upper northeast corner.

CalculateRouteTruckModeOptions

data CalculateRouteTruckModeOptions Source #

Contains details about additional route preferences for requests that specify TravelMode as Truck.

See: newCalculateRouteTruckModeOptions smart constructor.

Constructors

CalculateRouteTruckModeOptions' 

Fields

  • avoidFerries :: Maybe Bool

    Avoids ferries when calculating routes.

    Default Value: false

    Valid Values: false | true

  • avoidTolls :: Maybe Bool

    Avoids tolls when calculating routes.

    Default Value: false

    Valid Values: false | true

  • dimensions :: Maybe TruckDimensions

    Specifies the truck's dimension specifications including length, height, width, and unit of measurement. Used to avoid roads that can't support the truck's dimensions.

  • weight :: Maybe TruckWeight

    Specifies the truck's weight specifications including total weight and unit of measurement. Used to avoid roads that can't support the truck's weight.

Instances

Instances details
ToJSON CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Generic CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Associated Types

type Rep CalculateRouteTruckModeOptions :: Type -> Type #

Read CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Show CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

NFData CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Eq CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

Hashable CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

type Rep CalculateRouteTruckModeOptions Source # 
Instance details

Defined in Amazonka.Location.Types.CalculateRouteTruckModeOptions

type Rep CalculateRouteTruckModeOptions = D1 ('MetaData "CalculateRouteTruckModeOptions" "Amazonka.Location.Types.CalculateRouteTruckModeOptions" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "CalculateRouteTruckModeOptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "avoidFerries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "avoidTolls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TruckDimensions)) :*: S1 ('MetaSel ('Just "weight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TruckWeight)))))

newCalculateRouteTruckModeOptions :: CalculateRouteTruckModeOptions Source #

Create a value of CalculateRouteTruckModeOptions 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:avoidFerries:CalculateRouteTruckModeOptions', calculateRouteTruckModeOptions_avoidFerries - Avoids ferries when calculating routes.

Default Value: false

Valid Values: false | true

$sel:avoidTolls:CalculateRouteTruckModeOptions', calculateRouteTruckModeOptions_avoidTolls - Avoids tolls when calculating routes.

Default Value: false

Valid Values: false | true

$sel:dimensions:CalculateRouteTruckModeOptions', calculateRouteTruckModeOptions_dimensions - Specifies the truck's dimension specifications including length, height, width, and unit of measurement. Used to avoid roads that can't support the truck's dimensions.

$sel:weight:CalculateRouteTruckModeOptions', calculateRouteTruckModeOptions_weight - Specifies the truck's weight specifications including total weight and unit of measurement. Used to avoid roads that can't support the truck's weight.

calculateRouteTruckModeOptions_avoidFerries :: Lens' CalculateRouteTruckModeOptions (Maybe Bool) Source #

Avoids ferries when calculating routes.

Default Value: false

Valid Values: false | true

calculateRouteTruckModeOptions_avoidTolls :: Lens' CalculateRouteTruckModeOptions (Maybe Bool) Source #

Avoids tolls when calculating routes.

Default Value: false

Valid Values: false | true

calculateRouteTruckModeOptions_dimensions :: Lens' CalculateRouteTruckModeOptions (Maybe TruckDimensions) Source #

Specifies the truck's dimension specifications including length, height, width, and unit of measurement. Used to avoid roads that can't support the truck's dimensions.

calculateRouteTruckModeOptions_weight :: Lens' CalculateRouteTruckModeOptions (Maybe TruckWeight) Source #

Specifies the truck's weight specifications including total weight and unit of measurement. Used to avoid roads that can't support the truck's weight.

Circle

data Circle Source #

A circle on the earth, as defined by a center point and a radius.

See: newCircle smart constructor.

Constructors

Circle' 

Fields

  • center :: Sensitive (NonEmpty Double)

    A single point geometry, specifying the center of the circle, using WGS 84 coordinates, in the form [longitude, latitude].

  • radius :: Double

    The radius of the circle in meters. Must be greater than zero and no larger than 100,000 (100 kilometers).

Instances

Instances details
FromJSON Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

ToJSON Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

Generic Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

Associated Types

type Rep Circle :: Type -> Type #

Methods

from :: Circle -> Rep Circle x #

to :: Rep Circle x -> Circle #

Show Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

NFData Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

Methods

rnf :: Circle -> () #

Eq Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

Methods

(==) :: Circle -> Circle -> Bool #

(/=) :: Circle -> Circle -> Bool #

Hashable Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

Methods

hashWithSalt :: Int -> Circle -> Int #

hash :: Circle -> Int #

type Rep Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

type Rep Circle = D1 ('MetaData "Circle" "Amazonka.Location.Types.Circle" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "Circle'" 'PrefixI 'True) (S1 ('MetaSel ('Just "center") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (NonEmpty Double))) :*: S1 ('MetaSel ('Just "radius") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))

newCircle Source #

Create a value of Circle 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:center:Circle', circle_center - A single point geometry, specifying the center of the circle, using WGS 84 coordinates, in the form [longitude, latitude].

$sel:radius:Circle', circle_radius - The radius of the circle in meters. Must be greater than zero and no larger than 100,000 (100 kilometers).

circle_center :: Lens' Circle (NonEmpty Double) Source #

A single point geometry, specifying the center of the circle, using WGS 84 coordinates, in the form [longitude, latitude].

circle_radius :: Lens' Circle Double Source #

The radius of the circle in meters. Must be greater than zero and no larger than 100,000 (100 kilometers).

DataSourceConfiguration

data DataSourceConfiguration Source #

Specifies the data storage option chosen for requesting Places.

When using Amazon Location Places:

  • If using HERE Technologies as a data provider, you can't store results for locations in Japan by setting IntendedUse to Storage. parameter.
  • Under the MobileAssetTracking or MobilAssetManagement pricing plan, you can't store results from your place index resources by setting IntendedUse to Storage. This returns a validation exception error.

For more information, see the AWS Service Terms for Amazon Location Service.

See: newDataSourceConfiguration smart constructor.

Constructors

DataSourceConfiguration' 

Fields

  • intendedUse :: Maybe IntendedUse

    Specifies how the results of an operation will be stored by the caller.

    Valid values include:

    • SingleUse specifies that the results won't be stored.
    • Storage specifies that the result can be cached or stored in a database.

    Default value: SingleUse

Instances

Instances details
FromJSON DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

ToJSON DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

Generic DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

Associated Types

type Rep DataSourceConfiguration :: Type -> Type #

Read DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

Show DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

NFData DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

Methods

rnf :: DataSourceConfiguration -> () #

Eq DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

Hashable DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

type Rep DataSourceConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.DataSourceConfiguration

type Rep DataSourceConfiguration = D1 ('MetaData "DataSourceConfiguration" "Amazonka.Location.Types.DataSourceConfiguration" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "DataSourceConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "intendedUse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntendedUse))))

newDataSourceConfiguration :: DataSourceConfiguration Source #

Create a value of DataSourceConfiguration 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:intendedUse:DataSourceConfiguration', dataSourceConfiguration_intendedUse - Specifies how the results of an operation will be stored by the caller.

Valid values include:

  • SingleUse specifies that the results won't be stored.
  • Storage specifies that the result can be cached or stored in a database.

Default value: SingleUse

dataSourceConfiguration_intendedUse :: Lens' DataSourceConfiguration (Maybe IntendedUse) Source #

Specifies how the results of an operation will be stored by the caller.

Valid values include:

  • SingleUse specifies that the results won't be stored.
  • Storage specifies that the result can be cached or stored in a database.

Default value: SingleUse

DevicePosition

data DevicePosition Source #

Contains the device position details.

See: newDevicePosition smart constructor.

Constructors

DevicePosition' 

Fields

Instances

Instances details
FromJSON DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

Generic DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

Associated Types

type Rep DevicePosition :: Type -> Type #

Show DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

NFData DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

Methods

rnf :: DevicePosition -> () #

Eq DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

Hashable DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

type Rep DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

newDevicePosition Source #

Create a value of DevicePosition 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:accuracy:DevicePosition', devicePosition_accuracy - The accuracy of the device position.

$sel:deviceId:DevicePosition', devicePosition_deviceId - The device whose position you retrieved.

$sel:positionProperties:DevicePosition', devicePosition_positionProperties - The properties associated with the position.

$sel:position:DevicePosition', devicePosition_position - The last known device position.

$sel:receivedTime:DevicePosition', devicePosition_receivedTime - The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

$sel:sampleTime:DevicePosition', devicePosition_sampleTime - The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

devicePosition_deviceId :: Lens' DevicePosition (Maybe Text) Source #

The device whose position you retrieved.

devicePosition_positionProperties :: Lens' DevicePosition (Maybe (HashMap Text Text)) Source #

The properties associated with the position.

devicePosition_position :: Lens' DevicePosition (NonEmpty Double) Source #

The last known device position.

devicePosition_receivedTime :: Lens' DevicePosition UTCTime Source #

The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

devicePosition_sampleTime :: Lens' DevicePosition UTCTime Source #

The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

DevicePositionUpdate

data DevicePositionUpdate Source #

Contains the position update details for a device.

See: newDevicePositionUpdate smart constructor.

Constructors

DevicePositionUpdate' 

Fields

Instances

Instances details
ToJSON DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

Generic DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

Associated Types

type Rep DevicePositionUpdate :: Type -> Type #

Show DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

NFData DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

Methods

rnf :: DevicePositionUpdate -> () #

Eq DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

Hashable DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

type Rep DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

type Rep DevicePositionUpdate = D1 ('MetaData "DevicePositionUpdate" "Amazonka.Location.Types.DevicePositionUpdate" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "DevicePositionUpdate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accuracy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PositionalAccuracy)) :*: S1 ('MetaSel ('Just "positionProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (NonEmpty Double))) :*: S1 ('MetaSel ('Just "sampleTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newDevicePositionUpdate Source #

Create a value of DevicePositionUpdate 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:accuracy:DevicePositionUpdate', devicePositionUpdate_accuracy - The accuracy of the device position.

$sel:positionProperties:DevicePositionUpdate', devicePositionUpdate_positionProperties - Associates one of more properties with the position update. A property is a key-value pair stored with the position update and added to any geofence event the update may trigger.

Format: "key" : "value"

$sel:deviceId:DevicePositionUpdate', devicePositionUpdate_deviceId - The device associated to the position update.

$sel:position:DevicePositionUpdate', devicePositionUpdate_position - The latest device position defined in WGS 84 format: [X or longitude, Y or latitude].

$sel:sampleTime:DevicePositionUpdate', devicePositionUpdate_sampleTime - The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

devicePositionUpdate_positionProperties :: Lens' DevicePositionUpdate (Maybe (HashMap Text Text)) Source #

Associates one of more properties with the position update. A property is a key-value pair stored with the position update and added to any geofence event the update may trigger.

Format: "key" : "value"

devicePositionUpdate_deviceId :: Lens' DevicePositionUpdate Text Source #

The device associated to the position update.

devicePositionUpdate_position :: Lens' DevicePositionUpdate (NonEmpty Double) Source #

The latest device position defined in WGS 84 format: [X or longitude, Y or latitude].

devicePositionUpdate_sampleTime :: Lens' DevicePositionUpdate UTCTime Source #

The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

GeofenceGeometry

data GeofenceGeometry Source #

Contains the geofence geometry details.

A geofence geometry is made up of either a polygon or a circle. Can be either a polygon or a circle. Including both will return a validation error.

Amazon Location doesn't currently support polygons with holes, multipolygons, polygons that are wound clockwise, or that cross the antimeridian.

See: newGeofenceGeometry smart constructor.

Constructors

GeofenceGeometry' 

Fields

  • circle :: Maybe (Sensitive Circle)

    A circle on the earth, as defined by a center point and a radius.

  • polygon :: Maybe (NonEmpty (NonEmpty (Sensitive (NonEmpty Double))))

    A polygon is a list of linear rings which are each made up of a list of vertices.

    Each vertex is a 2-dimensional point of the form: [longitude, latitude]. This is represented as an array of doubles of length 2 (so [double, double]).

    An array of 4 or more vertices, where the first and last vertex are the same (to form a closed boundary), is called a linear ring. The linear ring vertices must be listed in counter-clockwise order around the ring’s interior. The linear ring is represented as an array of vertices, or an array of arrays of doubles ([[double, double], ...]).

    A geofence consists of a single linear ring. To allow for future expansion, the Polygon parameter takes an array of linear rings, which is represented as an array of arrays of arrays of doubles ([[[double, double], ...], ...]).

    A linear ring for use in geofences can consist of between 4 and 1,000 vertices.

Instances

Instances details
FromJSON GeofenceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.GeofenceGeometry

ToJSON GeofenceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.GeofenceGeometry

Generic GeofenceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.GeofenceGeometry

Associated Types

type Rep GeofenceGeometry :: Type -> Type #

Show GeofenceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.GeofenceGeometry

NFData GeofenceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.GeofenceGeometry

Methods

rnf :: GeofenceGeometry -> () #

Eq GeofenceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.GeofenceGeometry

Hashable GeofenceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.GeofenceGeometry

type Rep GeofenceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.GeofenceGeometry

type Rep GeofenceGeometry = D1 ('MetaData "GeofenceGeometry" "Amazonka.Location.Types.GeofenceGeometry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "GeofenceGeometry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "circle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Circle))) :*: S1 ('MetaSel ('Just "polygon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty (NonEmpty (Sensitive (NonEmpty Double))))))))

newGeofenceGeometry :: GeofenceGeometry Source #

Create a value of GeofenceGeometry 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:circle:GeofenceGeometry', geofenceGeometry_circle - A circle on the earth, as defined by a center point and a radius.

$sel:polygon:GeofenceGeometry', geofenceGeometry_polygon - A polygon is a list of linear rings which are each made up of a list of vertices.

Each vertex is a 2-dimensional point of the form: [longitude, latitude]. This is represented as an array of doubles of length 2 (so [double, double]).

An array of 4 or more vertices, where the first and last vertex are the same (to form a closed boundary), is called a linear ring. The linear ring vertices must be listed in counter-clockwise order around the ring’s interior. The linear ring is represented as an array of vertices, or an array of arrays of doubles ([[double, double], ...]).

A geofence consists of a single linear ring. To allow for future expansion, the Polygon parameter takes an array of linear rings, which is represented as an array of arrays of arrays of doubles ([[[double, double], ...], ...]).

A linear ring for use in geofences can consist of between 4 and 1,000 vertices.

geofenceGeometry_circle :: Lens' GeofenceGeometry (Maybe Circle) Source #

A circle on the earth, as defined by a center point and a radius.

geofenceGeometry_polygon :: Lens' GeofenceGeometry (Maybe (NonEmpty (NonEmpty (NonEmpty Double)))) Source #

A polygon is a list of linear rings which are each made up of a list of vertices.

Each vertex is a 2-dimensional point of the form: [longitude, latitude]. This is represented as an array of doubles of length 2 (so [double, double]).

An array of 4 or more vertices, where the first and last vertex are the same (to form a closed boundary), is called a linear ring. The linear ring vertices must be listed in counter-clockwise order around the ring’s interior. The linear ring is represented as an array of vertices, or an array of arrays of doubles ([[double, double], ...]).

A geofence consists of a single linear ring. To allow for future expansion, the Polygon parameter takes an array of linear rings, which is represented as an array of arrays of arrays of doubles ([[[double, double], ...], ...]).

A linear ring for use in geofences can consist of between 4 and 1,000 vertices.

Leg

data Leg Source #

Contains the calculated route's details for each path between a pair of positions. The number of legs returned corresponds to one fewer than the total number of positions in the request.

For example, a route with a departure position and destination position returns one leg with the positions snapped to a nearby road:

  • The StartPosition is the departure position.
  • The EndPosition is the destination position.

A route with a waypoint between the departure and destination position returns two legs with the positions snapped to a nearby road:

  • Leg 1: The StartPosition is the departure position . The EndPosition is the waypoint positon.
  • Leg 2: The StartPosition is the waypoint position. The EndPosition is the destination position.

See: newLeg smart constructor.

Constructors

Leg' 

Fields

  • geometry :: Maybe LegGeometry

    Contains the calculated route's path as a linestring geometry.

  • distance :: Double

    The distance between the leg's StartPosition and EndPosition along a calculated route.

    • The default measurement is Kilometers unless the request specifies a DistanceUnit of Miles.
  • durationSeconds :: Double

    The estimated travel time between the leg's StartPosition and EndPosition. The travel mode and departure time that you specify in the request determines the calculated time.

  • endPosition :: Sensitive (NonEmpty Double)

    The terminating position of the leg. Follows the format [longitude,latitude].

    If the EndPosition isn't located on a road, it's snapped to a nearby road.

  • startPosition :: Sensitive (NonEmpty Double)

    The starting position of the leg. Follows the format [longitude,latitude].

    If the StartPosition isn't located on a road, it's snapped to a nearby road.

  • steps :: [Step]

    Contains a list of steps, which represent subsections of a leg. Each step provides instructions for how to move to the next step in the leg such as the step's start position, end position, travel distance, travel duration, and geometry offset.

Instances

Instances details
FromJSON Leg Source # 
Instance details

Defined in Amazonka.Location.Types.Leg

Generic Leg Source # 
Instance details

Defined in Amazonka.Location.Types.Leg

Associated Types

type Rep Leg :: Type -> Type #

Methods

from :: Leg -> Rep Leg x #

to :: Rep Leg x -> Leg #

Show Leg Source # 
Instance details

Defined in Amazonka.Location.Types.Leg

Methods

showsPrec :: Int -> Leg -> ShowS #

show :: Leg -> String #

showList :: [Leg] -> ShowS #

NFData Leg Source # 
Instance details

Defined in Amazonka.Location.Types.Leg

Methods

rnf :: Leg -> () #

Eq Leg Source # 
Instance details

Defined in Amazonka.Location.Types.Leg

Methods

(==) :: Leg -> Leg -> Bool #

(/=) :: Leg -> Leg -> Bool #

Hashable Leg Source # 
Instance details

Defined in Amazonka.Location.Types.Leg

Methods

hashWithSalt :: Int -> Leg -> Int #

hash :: Leg -> Int #

type Rep Leg Source # 
Instance details

Defined in Amazonka.Location.Types.Leg

newLeg Source #

Create a value of Leg 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:geometry:Leg', leg_geometry - Contains the calculated route's path as a linestring geometry.

Leg, leg_distance - The distance between the leg's StartPosition and EndPosition along a calculated route.

  • The default measurement is Kilometers unless the request specifies a DistanceUnit of Miles.

Leg, leg_durationSeconds - The estimated travel time between the leg's StartPosition and EndPosition. The travel mode and departure time that you specify in the request determines the calculated time.

Leg, leg_endPosition - The terminating position of the leg. Follows the format [longitude,latitude].

If the EndPosition isn't located on a road, it's snapped to a nearby road.

Leg, leg_startPosition - The starting position of the leg. Follows the format [longitude,latitude].

If the StartPosition isn't located on a road, it's snapped to a nearby road.

$sel:steps:Leg', leg_steps - Contains a list of steps, which represent subsections of a leg. Each step provides instructions for how to move to the next step in the leg such as the step's start position, end position, travel distance, travel duration, and geometry offset.

leg_geometry :: Lens' Leg (Maybe LegGeometry) Source #

Contains the calculated route's path as a linestring geometry.

leg_distance :: Lens' Leg Double Source #

The distance between the leg's StartPosition and EndPosition along a calculated route.

  • The default measurement is Kilometers unless the request specifies a DistanceUnit of Miles.

leg_durationSeconds :: Lens' Leg Double Source #

The estimated travel time between the leg's StartPosition and EndPosition. The travel mode and departure time that you specify in the request determines the calculated time.

leg_endPosition :: Lens' Leg (NonEmpty Double) Source #

The terminating position of the leg. Follows the format [longitude,latitude].

If the EndPosition isn't located on a road, it's snapped to a nearby road.

leg_startPosition :: Lens' Leg (NonEmpty Double) Source #

The starting position of the leg. Follows the format [longitude,latitude].

If the StartPosition isn't located on a road, it's snapped to a nearby road.

leg_steps :: Lens' Leg [Step] Source #

Contains a list of steps, which represent subsections of a leg. Each step provides instructions for how to move to the next step in the leg such as the step's start position, end position, travel distance, travel duration, and geometry offset.

LegGeometry

data LegGeometry Source #

Contains the geometry details for each path between a pair of positions. Used in plotting a route leg on a map.

See: newLegGeometry smart constructor.

Constructors

LegGeometry' 

Fields

  • lineString :: Maybe (NonEmpty (Sensitive (NonEmpty Double)))

    An ordered list of positions used to plot a route on a map.

    The first position is closest to the start position for the leg, and the last position is the closest to the end position for the leg.

    • For example, [[-123.117, 49.284],[-123.115, 49.285],[-123.115, 49.285]]

Instances

Instances details
FromJSON LegGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.LegGeometry

Generic LegGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.LegGeometry

Associated Types

type Rep LegGeometry :: Type -> Type #

Show LegGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.LegGeometry

NFData LegGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.LegGeometry

Methods

rnf :: LegGeometry -> () #

Eq LegGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.LegGeometry

Hashable LegGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.LegGeometry

type Rep LegGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.LegGeometry

type Rep LegGeometry = D1 ('MetaData "LegGeometry" "Amazonka.Location.Types.LegGeometry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "LegGeometry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lineString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty (Sensitive (NonEmpty Double)))))))

newLegGeometry :: LegGeometry Source #

Create a value of LegGeometry 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:lineString:LegGeometry', legGeometry_lineString - An ordered list of positions used to plot a route on a map.

The first position is closest to the start position for the leg, and the last position is the closest to the end position for the leg.

  • For example, [[-123.117, 49.284],[-123.115, 49.285],[-123.115, 49.285]]

legGeometry_lineString :: Lens' LegGeometry (Maybe (NonEmpty (NonEmpty Double))) Source #

An ordered list of positions used to plot a route on a map.

The first position is closest to the start position for the leg, and the last position is the closest to the end position for the leg.

  • For example, [[-123.117, 49.284],[-123.115, 49.285],[-123.115, 49.285]]

ListDevicePositionsResponseEntry

data ListDevicePositionsResponseEntry Source #

Contains the tracker resource details.

See: newListDevicePositionsResponseEntry smart constructor.

Constructors

ListDevicePositionsResponseEntry' 

Fields

Instances

Instances details
FromJSON ListDevicePositionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListDevicePositionsResponseEntry

Generic ListDevicePositionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListDevicePositionsResponseEntry

Associated Types

type Rep ListDevicePositionsResponseEntry :: Type -> Type #

Show ListDevicePositionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListDevicePositionsResponseEntry

NFData ListDevicePositionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListDevicePositionsResponseEntry

Eq ListDevicePositionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListDevicePositionsResponseEntry

Hashable ListDevicePositionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListDevicePositionsResponseEntry

type Rep ListDevicePositionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListDevicePositionsResponseEntry

type Rep ListDevicePositionsResponseEntry = D1 ('MetaData "ListDevicePositionsResponseEntry" "Amazonka.Location.Types.ListDevicePositionsResponseEntry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "ListDevicePositionsResponseEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accuracy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PositionalAccuracy)) :*: S1 ('MetaSel ('Just "positionProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (NonEmpty Double))) :*: S1 ('MetaSel ('Just "sampleTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newListDevicePositionsResponseEntry Source #

Create a value of ListDevicePositionsResponseEntry 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:accuracy:ListDevicePositionsResponseEntry', listDevicePositionsResponseEntry_accuracy - The accuracy of the device position.

$sel:positionProperties:ListDevicePositionsResponseEntry', listDevicePositionsResponseEntry_positionProperties - The properties associated with the position.

$sel:deviceId:ListDevicePositionsResponseEntry', listDevicePositionsResponseEntry_deviceId - The ID of the device for this position.

$sel:position:ListDevicePositionsResponseEntry', listDevicePositionsResponseEntry_position - The last known device position. Empty if no positions currently stored.

$sel:sampleTime:ListDevicePositionsResponseEntry', listDevicePositionsResponseEntry_sampleTime - The timestamp at which the device position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

listDevicePositionsResponseEntry_position :: Lens' ListDevicePositionsResponseEntry (NonEmpty Double) Source #

The last known device position. Empty if no positions currently stored.

listDevicePositionsResponseEntry_sampleTime :: Lens' ListDevicePositionsResponseEntry UTCTime Source #

The timestamp at which the device position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

ListGeofenceCollectionsResponseEntry

data ListGeofenceCollectionsResponseEntry Source #

Contains the geofence collection details.

See: newListGeofenceCollectionsResponseEntry smart constructor.

Constructors

ListGeofenceCollectionsResponseEntry' 

Fields

Instances

Instances details
FromJSON ListGeofenceCollectionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceCollectionsResponseEntry

Generic ListGeofenceCollectionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceCollectionsResponseEntry

Read ListGeofenceCollectionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceCollectionsResponseEntry

Show ListGeofenceCollectionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceCollectionsResponseEntry

NFData ListGeofenceCollectionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceCollectionsResponseEntry

Eq ListGeofenceCollectionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceCollectionsResponseEntry

Hashable ListGeofenceCollectionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceCollectionsResponseEntry

type Rep ListGeofenceCollectionsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceCollectionsResponseEntry

type Rep ListGeofenceCollectionsResponseEntry = D1 ('MetaData "ListGeofenceCollectionsResponseEntry" "Amazonka.Location.Types.ListGeofenceCollectionsResponseEntry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "ListGeofenceCollectionsResponseEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingPlan)) :*: (S1 ('MetaSel ('Just "pricingPlanDataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "collectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newListGeofenceCollectionsResponseEntry Source #

Create a value of ListGeofenceCollectionsResponseEntry 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:pricingPlan:ListGeofenceCollectionsResponseEntry', listGeofenceCollectionsResponseEntry_pricingPlan - No longer used. Always returns RequestBasedUsage.

$sel:pricingPlanDataSource:ListGeofenceCollectionsResponseEntry', listGeofenceCollectionsResponseEntry_pricingPlanDataSource - No longer used. Always returns an empty string.

$sel:collectionName:ListGeofenceCollectionsResponseEntry', listGeofenceCollectionsResponseEntry_collectionName - The name of the geofence collection.

$sel:createTime:ListGeofenceCollectionsResponseEntry', listGeofenceCollectionsResponseEntry_createTime - The timestamp for when the geofence collection was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

$sel:description:ListGeofenceCollectionsResponseEntry', listGeofenceCollectionsResponseEntry_description - The description for the geofence collection

$sel:updateTime:ListGeofenceCollectionsResponseEntry', listGeofenceCollectionsResponseEntry_updateTime - Specifies a timestamp for when the resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

listGeofenceCollectionsResponseEntry_createTime :: Lens' ListGeofenceCollectionsResponseEntry UTCTime Source #

The timestamp for when the geofence collection was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

listGeofenceCollectionsResponseEntry_updateTime :: Lens' ListGeofenceCollectionsResponseEntry UTCTime Source #

Specifies a timestamp for when the resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

ListGeofenceResponseEntry

data ListGeofenceResponseEntry Source #

Contains a list of geofences stored in a given geofence collection.

See: newListGeofenceResponseEntry smart constructor.

Constructors

ListGeofenceResponseEntry' 

Fields

  • createTime :: ISO8601

    The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

  • geofenceId :: Text

    The geofence identifier.

  • geometry :: GeofenceGeometry

    Contains the geofence geometry details describing a polygon or a circle.

  • status :: Text

    Identifies the state of the geofence. A geofence will hold one of the following states:

    • ACTIVE — The geofence has been indexed by the system.
    • PENDING — The geofence is being processed by the system.
    • FAILED — The geofence failed to be indexed by the system.
    • DELETED — The geofence has been deleted from the system index.
    • DELETING — The geofence is being deleted from the system index.
  • updateTime :: ISO8601

    The timestamp for when the geofence was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

Instances

Instances details
FromJSON ListGeofenceResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceResponseEntry

Generic ListGeofenceResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceResponseEntry

Associated Types

type Rep ListGeofenceResponseEntry :: Type -> Type #

Show ListGeofenceResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceResponseEntry

NFData ListGeofenceResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceResponseEntry

Eq ListGeofenceResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceResponseEntry

Hashable ListGeofenceResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceResponseEntry

type Rep ListGeofenceResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListGeofenceResponseEntry

type Rep ListGeofenceResponseEntry = D1 ('MetaData "ListGeofenceResponseEntry" "Amazonka.Location.Types.ListGeofenceResponseEntry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "ListGeofenceResponseEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "geofenceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "geometry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeofenceGeometry) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newListGeofenceResponseEntry Source #

Create a value of ListGeofenceResponseEntry 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:createTime:ListGeofenceResponseEntry', listGeofenceResponseEntry_createTime - The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

$sel:geofenceId:ListGeofenceResponseEntry', listGeofenceResponseEntry_geofenceId - The geofence identifier.

$sel:geometry:ListGeofenceResponseEntry', listGeofenceResponseEntry_geometry - Contains the geofence geometry details describing a polygon or a circle.

$sel:status:ListGeofenceResponseEntry', listGeofenceResponseEntry_status - Identifies the state of the geofence. A geofence will hold one of the following states:

  • ACTIVE — The geofence has been indexed by the system.
  • PENDING — The geofence is being processed by the system.
  • FAILED — The geofence failed to be indexed by the system.
  • DELETED — The geofence has been deleted from the system index.
  • DELETING — The geofence is being deleted from the system index.

$sel:updateTime:ListGeofenceResponseEntry', listGeofenceResponseEntry_updateTime - The timestamp for when the geofence was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

listGeofenceResponseEntry_createTime :: Lens' ListGeofenceResponseEntry UTCTime Source #

The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

listGeofenceResponseEntry_geometry :: Lens' ListGeofenceResponseEntry GeofenceGeometry Source #

Contains the geofence geometry details describing a polygon or a circle.

listGeofenceResponseEntry_status :: Lens' ListGeofenceResponseEntry Text Source #

Identifies the state of the geofence. A geofence will hold one of the following states:

  • ACTIVE — The geofence has been indexed by the system.
  • PENDING — The geofence is being processed by the system.
  • FAILED — The geofence failed to be indexed by the system.
  • DELETED — The geofence has been deleted from the system index.
  • DELETING — The geofence is being deleted from the system index.

listGeofenceResponseEntry_updateTime :: Lens' ListGeofenceResponseEntry UTCTime Source #

The timestamp for when the geofence was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

ListMapsResponseEntry

data ListMapsResponseEntry Source #

Contains details of an existing map resource in your AWS account.

See: newListMapsResponseEntry smart constructor.

Constructors

ListMapsResponseEntry' 

Fields

Instances

Instances details
FromJSON ListMapsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListMapsResponseEntry

Generic ListMapsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListMapsResponseEntry

Associated Types

type Rep ListMapsResponseEntry :: Type -> Type #

Read ListMapsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListMapsResponseEntry

Show ListMapsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListMapsResponseEntry

NFData ListMapsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListMapsResponseEntry

Methods

rnf :: ListMapsResponseEntry -> () #

Eq ListMapsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListMapsResponseEntry

Hashable ListMapsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListMapsResponseEntry

type Rep ListMapsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListMapsResponseEntry

type Rep ListMapsResponseEntry = D1 ('MetaData "ListMapsResponseEntry" "Amazonka.Location.Types.ListMapsResponseEntry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "ListMapsResponseEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingPlan)) :*: (S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "mapName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newListMapsResponseEntry Source #

Create a value of ListMapsResponseEntry 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:pricingPlan:ListMapsResponseEntry', listMapsResponseEntry_pricingPlan - No longer used. Always returns RequestBasedUsage.

$sel:createTime:ListMapsResponseEntry', listMapsResponseEntry_createTime - The timestamp for when the map resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

$sel:dataSource:ListMapsResponseEntry', listMapsResponseEntry_dataSource - Specifies the data provider for the associated map tiles.

$sel:description:ListMapsResponseEntry', listMapsResponseEntry_description - The description for the map resource.

$sel:mapName:ListMapsResponseEntry', listMapsResponseEntry_mapName - The name of the associated map resource.

$sel:updateTime:ListMapsResponseEntry', listMapsResponseEntry_updateTime - The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

listMapsResponseEntry_pricingPlan :: Lens' ListMapsResponseEntry (Maybe PricingPlan) Source #

No longer used. Always returns RequestBasedUsage.

listMapsResponseEntry_createTime :: Lens' ListMapsResponseEntry UTCTime Source #

The timestamp for when the map resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

listMapsResponseEntry_dataSource :: Lens' ListMapsResponseEntry Text Source #

Specifies the data provider for the associated map tiles.

listMapsResponseEntry_mapName :: Lens' ListMapsResponseEntry Text Source #

The name of the associated map resource.

listMapsResponseEntry_updateTime :: Lens' ListMapsResponseEntry UTCTime Source #

The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

ListPlaceIndexesResponseEntry

data ListPlaceIndexesResponseEntry Source #

A place index resource listed in your AWS account.

See: newListPlaceIndexesResponseEntry smart constructor.

Constructors

ListPlaceIndexesResponseEntry' 

Fields

Instances

Instances details
FromJSON ListPlaceIndexesResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListPlaceIndexesResponseEntry

Generic ListPlaceIndexesResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListPlaceIndexesResponseEntry

Associated Types

type Rep ListPlaceIndexesResponseEntry :: Type -> Type #

Read ListPlaceIndexesResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListPlaceIndexesResponseEntry

Show ListPlaceIndexesResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListPlaceIndexesResponseEntry

NFData ListPlaceIndexesResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListPlaceIndexesResponseEntry

Eq ListPlaceIndexesResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListPlaceIndexesResponseEntry

Hashable ListPlaceIndexesResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListPlaceIndexesResponseEntry

type Rep ListPlaceIndexesResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListPlaceIndexesResponseEntry

type Rep ListPlaceIndexesResponseEntry = D1 ('MetaData "ListPlaceIndexesResponseEntry" "Amazonka.Location.Types.ListPlaceIndexesResponseEntry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "ListPlaceIndexesResponseEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingPlan)) :*: (S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newListPlaceIndexesResponseEntry Source #

Create a value of ListPlaceIndexesResponseEntry 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:pricingPlan:ListPlaceIndexesResponseEntry', listPlaceIndexesResponseEntry_pricingPlan - No longer used. Always returns RequestBasedUsage.

$sel:createTime:ListPlaceIndexesResponseEntry', listPlaceIndexesResponseEntry_createTime - The timestamp for when the place index resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

$sel:dataSource:ListPlaceIndexesResponseEntry', listPlaceIndexesResponseEntry_dataSource - The data provider of geospatial data. Values can be one of the following:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

$sel:description:ListPlaceIndexesResponseEntry', listPlaceIndexesResponseEntry_description - The optional description for the place index resource.

$sel:indexName:ListPlaceIndexesResponseEntry', listPlaceIndexesResponseEntry_indexName - The name of the place index resource.

$sel:updateTime:ListPlaceIndexesResponseEntry', listPlaceIndexesResponseEntry_updateTime - The timestamp for when the place index resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

listPlaceIndexesResponseEntry_createTime :: Lens' ListPlaceIndexesResponseEntry UTCTime Source #

The timestamp for when the place index resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

listPlaceIndexesResponseEntry_dataSource :: Lens' ListPlaceIndexesResponseEntry Text Source #

The data provider of geospatial data. Values can be one of the following:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

listPlaceIndexesResponseEntry_description :: Lens' ListPlaceIndexesResponseEntry Text Source #

The optional description for the place index resource.

listPlaceIndexesResponseEntry_updateTime :: Lens' ListPlaceIndexesResponseEntry UTCTime Source #

The timestamp for when the place index resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

ListRouteCalculatorsResponseEntry

data ListRouteCalculatorsResponseEntry Source #

A route calculator resource listed in your AWS account.

See: newListRouteCalculatorsResponseEntry smart constructor.

Constructors

ListRouteCalculatorsResponseEntry' 

Fields

Instances

Instances details
FromJSON ListRouteCalculatorsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListRouteCalculatorsResponseEntry

Generic ListRouteCalculatorsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListRouteCalculatorsResponseEntry

Associated Types

type Rep ListRouteCalculatorsResponseEntry :: Type -> Type #

Read ListRouteCalculatorsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListRouteCalculatorsResponseEntry

Show ListRouteCalculatorsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListRouteCalculatorsResponseEntry

NFData ListRouteCalculatorsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListRouteCalculatorsResponseEntry

Eq ListRouteCalculatorsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListRouteCalculatorsResponseEntry

Hashable ListRouteCalculatorsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListRouteCalculatorsResponseEntry

type Rep ListRouteCalculatorsResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListRouteCalculatorsResponseEntry

type Rep ListRouteCalculatorsResponseEntry = D1 ('MetaData "ListRouteCalculatorsResponseEntry" "Amazonka.Location.Types.ListRouteCalculatorsResponseEntry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "ListRouteCalculatorsResponseEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingPlan)) :*: (S1 ('MetaSel ('Just "calculatorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))) :*: (S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newListRouteCalculatorsResponseEntry Source #

Create a value of ListRouteCalculatorsResponseEntry 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:pricingPlan:ListRouteCalculatorsResponseEntry', listRouteCalculatorsResponseEntry_pricingPlan - Always returns RequestBasedUsage.

$sel:calculatorName:ListRouteCalculatorsResponseEntry', listRouteCalculatorsResponseEntry_calculatorName - The name of the route calculator resource.

$sel:createTime:ListRouteCalculatorsResponseEntry', listRouteCalculatorsResponseEntry_createTime - The timestamp when the route calculator resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, 2020–07-2T12:15:20.000Z+01:00

$sel:dataSource:ListRouteCalculatorsResponseEntry', listRouteCalculatorsResponseEntry_dataSource - The data provider of traffic and road network data. Indicates one of the available providers:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

$sel:description:ListRouteCalculatorsResponseEntry', listRouteCalculatorsResponseEntry_description - The optional description of the route calculator resource.

$sel:updateTime:ListRouteCalculatorsResponseEntry', listRouteCalculatorsResponseEntry_updateTime - The timestamp when the route calculator resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, 2020–07-2T12:15:20.000Z+01:00

listRouteCalculatorsResponseEntry_createTime :: Lens' ListRouteCalculatorsResponseEntry UTCTime Source #

The timestamp when the route calculator resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, 2020–07-2T12:15:20.000Z+01:00

listRouteCalculatorsResponseEntry_dataSource :: Lens' ListRouteCalculatorsResponseEntry Text Source #

The data provider of traffic and road network data. Indicates one of the available providers:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

listRouteCalculatorsResponseEntry_description :: Lens' ListRouteCalculatorsResponseEntry Text Source #

The optional description of the route calculator resource.

listRouteCalculatorsResponseEntry_updateTime :: Lens' ListRouteCalculatorsResponseEntry UTCTime Source #

The timestamp when the route calculator resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, 2020–07-2T12:15:20.000Z+01:00

ListTrackersResponseEntry

data ListTrackersResponseEntry Source #

Contains the tracker resource details.

See: newListTrackersResponseEntry smart constructor.

Constructors

ListTrackersResponseEntry' 

Fields

Instances

Instances details
FromJSON ListTrackersResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListTrackersResponseEntry

Generic ListTrackersResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListTrackersResponseEntry

Associated Types

type Rep ListTrackersResponseEntry :: Type -> Type #

Read ListTrackersResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListTrackersResponseEntry

Show ListTrackersResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListTrackersResponseEntry

NFData ListTrackersResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListTrackersResponseEntry

Eq ListTrackersResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListTrackersResponseEntry

Hashable ListTrackersResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListTrackersResponseEntry

type Rep ListTrackersResponseEntry Source # 
Instance details

Defined in Amazonka.Location.Types.ListTrackersResponseEntry

type Rep ListTrackersResponseEntry = D1 ('MetaData "ListTrackersResponseEntry" "Amazonka.Location.Types.ListTrackersResponseEntry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "ListTrackersResponseEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pricingPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PricingPlan)) :*: (S1 ('MetaSel ('Just "pricingPlanDataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "trackerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newListTrackersResponseEntry Source #

Create a value of ListTrackersResponseEntry 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:pricingPlan:ListTrackersResponseEntry', listTrackersResponseEntry_pricingPlan - Always returns RequestBasedUsage.

$sel:pricingPlanDataSource:ListTrackersResponseEntry', listTrackersResponseEntry_pricingPlanDataSource - No longer used. Always returns an empty string.

$sel:createTime:ListTrackersResponseEntry', listTrackersResponseEntry_createTime - The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

$sel:description:ListTrackersResponseEntry', listTrackersResponseEntry_description - The description for the tracker resource.

$sel:trackerName:ListTrackersResponseEntry', listTrackersResponseEntry_trackerName - The name of the tracker resource.

$sel:updateTime:ListTrackersResponseEntry', listTrackersResponseEntry_updateTime - The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

listTrackersResponseEntry_createTime :: Lens' ListTrackersResponseEntry UTCTime Source #

The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

listTrackersResponseEntry_updateTime :: Lens' ListTrackersResponseEntry UTCTime Source #

The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

MapConfiguration

data MapConfiguration Source #

Specifies the map tile style selected from an available provider.

See: newMapConfiguration smart constructor.

Constructors

MapConfiguration' 

Fields

  • style :: Text

    Specifies the map style selected from an available data provider.

    Valid Esri map styles:

    • VectorEsriDarkGrayCanvas – The Esri Dark Gray Canvas map style. A vector basemap with a dark gray, neutral background with minimal colors, labels, and features that's designed to draw attention to your thematic content.
    • RasterEsriImagery – The Esri Imagery map style. A raster basemap that provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide.
    • VectorEsriLightGrayCanvas – The Esri Light Gray Canvas map style, which provides a detailed vector basemap with a light gray, neutral background style with minimal colors, labels, and features that's designed to draw attention to your thematic content.
    • VectorEsriTopographic – The Esri Light map style, which provides a detailed vector basemap with a classic Esri map style.
    • VectorEsriStreets – The Esri World Streets map style, which provides a detailed vector basemap for the world symbolized with a classic Esri street map style. The vector tile layer is similar in content and style to the World Street Map raster map.
    • VectorEsriNavigation – The Esri World Navigation map style, which provides a detailed basemap for the world symbolized with a custom navigation map style that's designed for use during the day in mobile devices.

    Valid HERE Technologies map styles:

    • VectorHereContrast – The HERE Contrast (Berlin) map style is a high contrast detailed base map of the world that blends 3D and 2D rendering.

      The VectorHereContrast style has been renamed from VectorHereBerlin. VectorHereBerlin has been deprecated, but will continue to work in applications that use it.

    • VectorHereExplore – A default HERE map style containing a neutral, global map and its features including roads, buildings, landmarks, and water features. It also now includes a fully designed map of Japan.
    • VectorHereExploreTruck – A global map containing truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with highlighted segments and icons on top of HERE Explore to support use cases within transport and logistics.
    • RasterHereExploreSatellite – A global map containing high resolution satellite imagery.
    • HybridHereExploreSatellite – A global map displaying the road network, street names, and city labels over satellite imagery. This style will automatically retrieve both raster and vector tiles, and your charges will be based on total tiles retrieved.

      Hybrid styles use both vector and raster tiles when rendering the map that you see. This means that more tiles are retrieved than when using either vector or raster tiles alone. Your charges will include all tiles retrieved.

    Valid Open Data (Preview) map styles:

    • VectorOpenDataStandardLight – The Open Data Standard Light (preview) map style provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries.

      Open Data maps is in preview. We may add, change, or remove features before announcing general availability. For more information, see Open Data is in preview release.

Instances

Instances details
FromJSON MapConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.MapConfiguration

ToJSON MapConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.MapConfiguration

Generic MapConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.MapConfiguration

Associated Types

type Rep MapConfiguration :: Type -> Type #

Read MapConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.MapConfiguration

Show MapConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.MapConfiguration

NFData MapConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.MapConfiguration

Methods

rnf :: MapConfiguration -> () #

Eq MapConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.MapConfiguration

Hashable MapConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.MapConfiguration

type Rep MapConfiguration Source # 
Instance details

Defined in Amazonka.Location.Types.MapConfiguration

type Rep MapConfiguration = D1 ('MetaData "MapConfiguration" "Amazonka.Location.Types.MapConfiguration" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "MapConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "style") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newMapConfiguration Source #

Create a value of MapConfiguration 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:style:MapConfiguration', mapConfiguration_style - Specifies the map style selected from an available data provider.

Valid Esri map styles:

  • VectorEsriDarkGrayCanvas – The Esri Dark Gray Canvas map style. A vector basemap with a dark gray, neutral background with minimal colors, labels, and features that's designed to draw attention to your thematic content.
  • RasterEsriImagery – The Esri Imagery map style. A raster basemap that provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide.
  • VectorEsriLightGrayCanvas – The Esri Light Gray Canvas map style, which provides a detailed vector basemap with a light gray, neutral background style with minimal colors, labels, and features that's designed to draw attention to your thematic content.
  • VectorEsriTopographic – The Esri Light map style, which provides a detailed vector basemap with a classic Esri map style.
  • VectorEsriStreets – The Esri World Streets map style, which provides a detailed vector basemap for the world symbolized with a classic Esri street map style. The vector tile layer is similar in content and style to the World Street Map raster map.
  • VectorEsriNavigation – The Esri World Navigation map style, which provides a detailed basemap for the world symbolized with a custom navigation map style that's designed for use during the day in mobile devices.

Valid HERE Technologies map styles:

  • VectorHereContrast – The HERE Contrast (Berlin) map style is a high contrast detailed base map of the world that blends 3D and 2D rendering.

    The VectorHereContrast style has been renamed from VectorHereBerlin. VectorHereBerlin has been deprecated, but will continue to work in applications that use it.

  • VectorHereExplore – A default HERE map style containing a neutral, global map and its features including roads, buildings, landmarks, and water features. It also now includes a fully designed map of Japan.
  • VectorHereExploreTruck – A global map containing truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with highlighted segments and icons on top of HERE Explore to support use cases within transport and logistics.
  • RasterHereExploreSatellite – A global map containing high resolution satellite imagery.
  • HybridHereExploreSatellite – A global map displaying the road network, street names, and city labels over satellite imagery. This style will automatically retrieve both raster and vector tiles, and your charges will be based on total tiles retrieved.

    Hybrid styles use both vector and raster tiles when rendering the map that you see. This means that more tiles are retrieved than when using either vector or raster tiles alone. Your charges will include all tiles retrieved.

Valid Open Data (Preview) map styles:

  • VectorOpenDataStandardLight – The Open Data Standard Light (preview) map style provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries.

    Open Data maps is in preview. We may add, change, or remove features before announcing general availability. For more information, see Open Data is in preview release.

mapConfiguration_style :: Lens' MapConfiguration Text Source #

Specifies the map style selected from an available data provider.

Valid Esri map styles:

  • VectorEsriDarkGrayCanvas – The Esri Dark Gray Canvas map style. A vector basemap with a dark gray, neutral background with minimal colors, labels, and features that's designed to draw attention to your thematic content.
  • RasterEsriImagery – The Esri Imagery map style. A raster basemap that provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide.
  • VectorEsriLightGrayCanvas – The Esri Light Gray Canvas map style, which provides a detailed vector basemap with a light gray, neutral background style with minimal colors, labels, and features that's designed to draw attention to your thematic content.
  • VectorEsriTopographic – The Esri Light map style, which provides a detailed vector basemap with a classic Esri map style.
  • VectorEsriStreets – The Esri World Streets map style, which provides a detailed vector basemap for the world symbolized with a classic Esri street map style. The vector tile layer is similar in content and style to the World Street Map raster map.
  • VectorEsriNavigation – The Esri World Navigation map style, which provides a detailed basemap for the world symbolized with a custom navigation map style that's designed for use during the day in mobile devices.

Valid HERE Technologies map styles:

  • VectorHereContrast – The HERE Contrast (Berlin) map style is a high contrast detailed base map of the world that blends 3D and 2D rendering.

    The VectorHereContrast style has been renamed from VectorHereBerlin. VectorHereBerlin has been deprecated, but will continue to work in applications that use it.

  • VectorHereExplore – A default HERE map style containing a neutral, global map and its features including roads, buildings, landmarks, and water features. It also now includes a fully designed map of Japan.
  • VectorHereExploreTruck – A global map containing truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with highlighted segments and icons on top of HERE Explore to support use cases within transport and logistics.
  • RasterHereExploreSatellite – A global map containing high resolution satellite imagery.
  • HybridHereExploreSatellite – A global map displaying the road network, street names, and city labels over satellite imagery. This style will automatically retrieve both raster and vector tiles, and your charges will be based on total tiles retrieved.

    Hybrid styles use both vector and raster tiles when rendering the map that you see. This means that more tiles are retrieved than when using either vector or raster tiles alone. Your charges will include all tiles retrieved.

Valid Open Data (Preview) map styles:

  • VectorOpenDataStandardLight – The Open Data Standard Light (preview) map style provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries.

    Open Data maps is in preview. We may add, change, or remove features before announcing general availability. For more information, see Open Data is in preview release.

Place

data Place Source #

Contains details about addresses or points of interest that match the search criteria.

Not all details are included with all responses. Some details may only be returned by specific data partners.

See: newPlace smart constructor.

Constructors

Place' 

Fields

  • addressNumber :: Maybe Text

    The numerical portion of an address, such as a building number.

  • country :: Maybe Text

    A country/region specified using ISO 3166 3-digit country/region code. For example, CAN.

  • interpolated :: Maybe Bool

    True if the result is interpolated from other known places.

    False if the Place is a known place.

    Not returned when the partner does not provide the information.

    For example, returns False for an address location that is found in the partner data, but returns True if an address does not exist in the partner data and its location is calculated by interpolating between other known addresses.

  • label :: Maybe Text

    The full name and address of the point of interest such as a city, region, or country. For example, 123 Any Street, Any Town, USA.

  • municipality :: Maybe Text

    A name for a local area, such as a city or town name. For example, Toronto.

  • neighborhood :: Maybe Text

    The name of a community district. For example, Downtown.

  • postalCode :: Maybe Text

    A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of identifying a location.

  • region :: Maybe Text

    A name for an area or geographical division, such as a province or state name. For example, British Columbia.

  • street :: Maybe Text

    The name for a street or a road to identify a location. For example, Main Street.

  • subRegion :: Maybe Text

    A country, or an area that's part of a larger region. For example, Metro Vancouver.

  • timeZone :: Maybe TimeZone

    The time zone in which the Place is located. Returned only when using HERE as the selected partner.

  • unitNumber :: Maybe Text

    For addresses with multiple units, the unit identifier. Can include numbers and letters, for example 3B or Unit 123.

    Returned only for a place index that uses Esri as a data provider. Is not returned for SearchPlaceIndexForPosition.

  • unitType :: Maybe Text

    For addresses with a UnitNumber, the type of unit. For example, Apartment.

  • geometry :: PlaceGeometry
     

Instances

Instances details
FromJSON Place Source # 
Instance details

Defined in Amazonka.Location.Types.Place

Generic Place Source # 
Instance details

Defined in Amazonka.Location.Types.Place

Associated Types

type Rep Place :: Type -> Type #

Methods

from :: Place -> Rep Place x #

to :: Rep Place x -> Place #

Show Place Source # 
Instance details

Defined in Amazonka.Location.Types.Place

Methods

showsPrec :: Int -> Place -> ShowS #

show :: Place -> String #

showList :: [Place] -> ShowS #

NFData Place Source # 
Instance details

Defined in Amazonka.Location.Types.Place

Methods

rnf :: Place -> () #

Eq Place Source # 
Instance details

Defined in Amazonka.Location.Types.Place

Methods

(==) :: Place -> Place -> Bool #

(/=) :: Place -> Place -> Bool #

Hashable Place Source # 
Instance details

Defined in Amazonka.Location.Types.Place

Methods

hashWithSalt :: Int -> Place -> Int #

hash :: Place -> Int #

type Rep Place Source # 
Instance details

Defined in Amazonka.Location.Types.Place

type Rep Place = D1 ('MetaData "Place" "Amazonka.Location.Types.Place" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "Place'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "addressNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "country") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "interpolated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "municipality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "neighborhood") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "postalCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "street") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "timeZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimeZone)) :*: S1 ('MetaSel ('Just "unitNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "unitType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "geometry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PlaceGeometry))))))

newPlace Source #

Create a value of Place 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:addressNumber:Place', place_addressNumber - The numerical portion of an address, such as a building number.

$sel:country:Place', place_country - A country/region specified using ISO 3166 3-digit country/region code. For example, CAN.

$sel:interpolated:Place', place_interpolated - True if the result is interpolated from other known places.

False if the Place is a known place.

Not returned when the partner does not provide the information.

For example, returns False for an address location that is found in the partner data, but returns True if an address does not exist in the partner data and its location is calculated by interpolating between other known addresses.

$sel:label:Place', place_label - The full name and address of the point of interest such as a city, region, or country. For example, 123 Any Street, Any Town, USA.

$sel:municipality:Place', place_municipality - A name for a local area, such as a city or town name. For example, Toronto.

$sel:neighborhood:Place', place_neighborhood - The name of a community district. For example, Downtown.

$sel:postalCode:Place', place_postalCode - A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of identifying a location.

$sel:region:Place', place_region - A name for an area or geographical division, such as a province or state name. For example, British Columbia.

$sel:street:Place', place_street - The name for a street or a road to identify a location. For example, Main Street.

$sel:subRegion:Place', place_subRegion - A country, or an area that's part of a larger region. For example, Metro Vancouver.

$sel:timeZone:Place', place_timeZone - The time zone in which the Place is located. Returned only when using HERE as the selected partner.

$sel:unitNumber:Place', place_unitNumber - For addresses with multiple units, the unit identifier. Can include numbers and letters, for example 3B or Unit 123.

Returned only for a place index that uses Esri as a data provider. Is not returned for SearchPlaceIndexForPosition.

$sel:unitType:Place', place_unitType - For addresses with a UnitNumber, the type of unit. For example, Apartment.

$sel:geometry:Place', place_geometry - Undocumented member.

place_addressNumber :: Lens' Place (Maybe Text) Source #

The numerical portion of an address, such as a building number.

place_country :: Lens' Place (Maybe Text) Source #

A country/region specified using ISO 3166 3-digit country/region code. For example, CAN.

place_interpolated :: Lens' Place (Maybe Bool) Source #

True if the result is interpolated from other known places.

False if the Place is a known place.

Not returned when the partner does not provide the information.

For example, returns False for an address location that is found in the partner data, but returns True if an address does not exist in the partner data and its location is calculated by interpolating between other known addresses.

place_label :: Lens' Place (Maybe Text) Source #

The full name and address of the point of interest such as a city, region, or country. For example, 123 Any Street, Any Town, USA.

place_municipality :: Lens' Place (Maybe Text) Source #

A name for a local area, such as a city or town name. For example, Toronto.

place_neighborhood :: Lens' Place (Maybe Text) Source #

The name of a community district. For example, Downtown.

place_postalCode :: Lens' Place (Maybe Text) Source #

A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of identifying a location.

place_region :: Lens' Place (Maybe Text) Source #

A name for an area or geographical division, such as a province or state name. For example, British Columbia.

place_street :: Lens' Place (Maybe Text) Source #

The name for a street or a road to identify a location. For example, Main Street.

place_subRegion :: Lens' Place (Maybe Text) Source #

A country, or an area that's part of a larger region. For example, Metro Vancouver.

place_timeZone :: Lens' Place (Maybe TimeZone) Source #

The time zone in which the Place is located. Returned only when using HERE as the selected partner.

place_unitNumber :: Lens' Place (Maybe Text) Source #

For addresses with multiple units, the unit identifier. Can include numbers and letters, for example 3B or Unit 123.

Returned only for a place index that uses Esri as a data provider. Is not returned for SearchPlaceIndexForPosition.

place_unitType :: Lens' Place (Maybe Text) Source #

For addresses with a UnitNumber, the type of unit. For example, Apartment.

PlaceGeometry

data PlaceGeometry Source #

Places uses a point geometry to specify a location or a Place.

See: newPlaceGeometry smart constructor.

Constructors

PlaceGeometry' 

Fields

  • point :: Maybe (Sensitive (NonEmpty Double))

    A single point geometry specifies a location for a Place using WGS 84 coordinates:

    • x — Specifies the x coordinate or longitude.
    • y — Specifies the y coordinate or latitude.

Instances

Instances details
FromJSON PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

Generic PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

Associated Types

type Rep PlaceGeometry :: Type -> Type #

Show PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

NFData PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

Methods

rnf :: PlaceGeometry -> () #

Eq PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

Hashable PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

type Rep PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

type Rep PlaceGeometry = D1 ('MetaData "PlaceGeometry" "Amazonka.Location.Types.PlaceGeometry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "PlaceGeometry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "point") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (NonEmpty Double))))))

newPlaceGeometry :: PlaceGeometry Source #

Create a value of PlaceGeometry 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:point:PlaceGeometry', placeGeometry_point - A single point geometry specifies a location for a Place using WGS 84 coordinates:

  • x — Specifies the x coordinate or longitude.
  • y — Specifies the y coordinate or latitude.

placeGeometry_point :: Lens' PlaceGeometry (Maybe (NonEmpty Double)) Source #

A single point geometry specifies a location for a Place using WGS 84 coordinates:

  • x — Specifies the x coordinate or longitude.
  • y — Specifies the y coordinate or latitude.

PositionalAccuracy

data PositionalAccuracy Source #

Defines the level of certainty of the position.

See: newPositionalAccuracy smart constructor.

Constructors

PositionalAccuracy' 

Fields

  • horizontal :: Double

    Estimated maximum distance, in meters, between the measured position and the true position of a device, along the Earth's surface.

Instances

Instances details
FromJSON PositionalAccuracy Source # 
Instance details

Defined in Amazonka.Location.Types.PositionalAccuracy

ToJSON PositionalAccuracy Source # 
Instance details

Defined in Amazonka.Location.Types.PositionalAccuracy

Generic PositionalAccuracy Source # 
Instance details

Defined in Amazonka.Location.Types.PositionalAccuracy

Associated Types

type Rep PositionalAccuracy :: Type -> Type #

Read PositionalAccuracy Source # 
Instance details

Defined in Amazonka.Location.Types.PositionalAccuracy

Show PositionalAccuracy Source # 
Instance details

Defined in Amazonka.Location.Types.PositionalAccuracy

NFData PositionalAccuracy Source # 
Instance details

Defined in Amazonka.Location.Types.PositionalAccuracy

Methods

rnf :: PositionalAccuracy -> () #

Eq PositionalAccuracy Source # 
Instance details

Defined in Amazonka.Location.Types.PositionalAccuracy

Hashable PositionalAccuracy Source # 
Instance details

Defined in Amazonka.Location.Types.PositionalAccuracy

type Rep PositionalAccuracy Source # 
Instance details

Defined in Amazonka.Location.Types.PositionalAccuracy

type Rep PositionalAccuracy = D1 ('MetaData "PositionalAccuracy" "Amazonka.Location.Types.PositionalAccuracy" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "PositionalAccuracy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "horizontal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))

newPositionalAccuracy Source #

Create a value of PositionalAccuracy 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:horizontal:PositionalAccuracy', positionalAccuracy_horizontal - Estimated maximum distance, in meters, between the measured position and the true position of a device, along the Earth's surface.

positionalAccuracy_horizontal :: Lens' PositionalAccuracy Double Source #

Estimated maximum distance, in meters, between the measured position and the true position of a device, along the Earth's surface.

RouteMatrixEntry

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.

RouteMatrixEntryError

data RouteMatrixEntryError Source #

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

The error code can be one of the following:

  • RouteNotFound - Unable to find a valid route with the given parameters.
  • RouteTooLong - Route calculation went beyond the maximum size of a route and was terminated before completion.
  • PositionsNotFound - One or more of the input positions were not found on the route network.
  • DestinationPositionNotFound - The destination position was not found on the route network.
  • DeparturePositionNotFound - The departure position was not found on the route network.
  • OtherValidationError - The given inputs were not valid or a route was not found. More information is given in the error Message

See: newRouteMatrixEntryError smart constructor.

Constructors

RouteMatrixEntryError' 

Fields

Instances

Instances details
FromJSON RouteMatrixEntryError Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntryError

Generic RouteMatrixEntryError Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntryError

Associated Types

type Rep RouteMatrixEntryError :: Type -> Type #

Read RouteMatrixEntryError Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntryError

Show RouteMatrixEntryError Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntryError

NFData RouteMatrixEntryError Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntryError

Methods

rnf :: RouteMatrixEntryError -> () #

Eq RouteMatrixEntryError Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntryError

Hashable RouteMatrixEntryError Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntryError

type Rep RouteMatrixEntryError Source # 
Instance details

Defined in Amazonka.Location.Types.RouteMatrixEntryError

type Rep RouteMatrixEntryError = D1 ('MetaData "RouteMatrixEntryError" "Amazonka.Location.Types.RouteMatrixEntryError" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "RouteMatrixEntryError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RouteMatrixErrorCode)))

newRouteMatrixEntryError Source #

Create a value of RouteMatrixEntryError 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:message:RouteMatrixEntryError', routeMatrixEntryError_message - A message about the error that occurred for the route calculation.

$sel:code:RouteMatrixEntryError', routeMatrixEntryError_code - The type of error which occurred for the route calculation.

routeMatrixEntryError_message :: Lens' RouteMatrixEntryError (Maybe Text) Source #

A message about the error that occurred for the route calculation.

routeMatrixEntryError_code :: Lens' RouteMatrixEntryError RouteMatrixErrorCode Source #

The type of error which occurred for the route calculation.

SearchForPositionResult

data SearchForPositionResult Source #

Contains a search result from a position search query that is run on a place index resource.

See: newSearchForPositionResult smart constructor.

Constructors

SearchForPositionResult' 

Fields

  • placeId :: Maybe Text

    The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

    For SearchPlaceIndexForPosition operations, the PlaceId is returned only by place indexes that use HERE as a data provider.

  • distance :: Double

    The distance in meters of a great-circle arc between the query position and the result.

    A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

  • place :: Place

    Details about the search result, such as its address and position.

Instances

Instances details
FromJSON SearchForPositionResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForPositionResult

Generic SearchForPositionResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForPositionResult

Associated Types

type Rep SearchForPositionResult :: Type -> Type #

Show SearchForPositionResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForPositionResult

NFData SearchForPositionResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForPositionResult

Methods

rnf :: SearchForPositionResult -> () #

Eq SearchForPositionResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForPositionResult

Hashable SearchForPositionResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForPositionResult

type Rep SearchForPositionResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForPositionResult

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

newSearchForPositionResult Source #

Create a value of SearchForPositionResult 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:placeId:SearchForPositionResult', searchForPositionResult_placeId - The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

For SearchPlaceIndexForPosition operations, the PlaceId is returned only by place indexes that use HERE as a data provider.

$sel:distance:SearchForPositionResult', searchForPositionResult_distance - The distance in meters of a great-circle arc between the query position and the result.

A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

$sel:place:SearchForPositionResult', searchForPositionResult_place - Details about the search result, such as its address and position.

searchForPositionResult_placeId :: Lens' SearchForPositionResult (Maybe Text) Source #

The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

For SearchPlaceIndexForPosition operations, the PlaceId is returned only by place indexes that use HERE as a data provider.

searchForPositionResult_distance :: Lens' SearchForPositionResult Double Source #

The distance in meters of a great-circle arc between the query position and the result.

A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

searchForPositionResult_place :: Lens' SearchForPositionResult Place Source #

Details about the search result, such as its address and position.

SearchForSuggestionsResult

data SearchForSuggestionsResult Source #

Contains a place suggestion resulting from a place suggestion query that is run on a place index resource.

See: newSearchForSuggestionsResult smart constructor.

Constructors

SearchForSuggestionsResult' 

Fields

  • placeId :: Maybe Text

    The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

    For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place indexes that use HERE or Esri as data providers.

  • text :: Text

    The text of the place suggestion, typically formatted as an address string.

Instances

Instances details
FromJSON SearchForSuggestionsResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForSuggestionsResult

Generic SearchForSuggestionsResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForSuggestionsResult

Associated Types

type Rep SearchForSuggestionsResult :: Type -> Type #

Read SearchForSuggestionsResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForSuggestionsResult

Show SearchForSuggestionsResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForSuggestionsResult

NFData SearchForSuggestionsResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForSuggestionsResult

Eq SearchForSuggestionsResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForSuggestionsResult

Hashable SearchForSuggestionsResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForSuggestionsResult

type Rep SearchForSuggestionsResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForSuggestionsResult

type Rep SearchForSuggestionsResult = D1 ('MetaData "SearchForSuggestionsResult" "Amazonka.Location.Types.SearchForSuggestionsResult" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "SearchForSuggestionsResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "placeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSearchForSuggestionsResult Source #

Create a value of SearchForSuggestionsResult 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:placeId:SearchForSuggestionsResult', searchForSuggestionsResult_placeId - The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place indexes that use HERE or Esri as data providers.

$sel:text:SearchForSuggestionsResult', searchForSuggestionsResult_text - The text of the place suggestion, typically formatted as an address string.

searchForSuggestionsResult_placeId :: Lens' SearchForSuggestionsResult (Maybe Text) Source #

The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place indexes that use HERE or Esri as data providers.

searchForSuggestionsResult_text :: Lens' SearchForSuggestionsResult Text Source #

The text of the place suggestion, typically formatted as an address string.

SearchForTextResult

data SearchForTextResult Source #

Contains a search result from a text search query that is run on a place index resource.

See: newSearchForTextResult smart constructor.

Constructors

SearchForTextResult' 

Fields

  • distance :: Maybe Double

    The distance in meters of a great-circle arc between the bias position specified and the result. Distance will be returned only if a bias position was specified in the query.

    A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

  • placeId :: Maybe Text

    The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

    For SearchPlaceIndexForText operations, the PlaceId is returned only by place indexes that use HERE as a data provider.

  • relevance :: Maybe Double

    The relative confidence in the match for a result among the results returned. For example, if more fields for an address match (including house number, street, city, country/region, and postal code), the relevance score is closer to 1.

    Returned only when the partner selected is Esri.

  • place :: Place

    Details about the search result, such as its address and position.

Instances

Instances details
FromJSON SearchForTextResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForTextResult

Generic SearchForTextResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForTextResult

Associated Types

type Rep SearchForTextResult :: Type -> Type #

Show SearchForTextResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForTextResult

NFData SearchForTextResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForTextResult

Methods

rnf :: SearchForTextResult -> () #

Eq SearchForTextResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForTextResult

Hashable SearchForTextResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForTextResult

type Rep SearchForTextResult Source # 
Instance details

Defined in Amazonka.Location.Types.SearchForTextResult

type Rep SearchForTextResult = D1 ('MetaData "SearchForTextResult" "Amazonka.Location.Types.SearchForTextResult" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "SearchForTextResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "distance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "placeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "relevance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "place") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Place))))

newSearchForTextResult Source #

Create a value of SearchForTextResult 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:SearchForTextResult', searchForTextResult_distance - The distance in meters of a great-circle arc between the bias position specified and the result. Distance will be returned only if a bias position was specified in the query.

A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

$sel:placeId:SearchForTextResult', searchForTextResult_placeId - The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

For SearchPlaceIndexForText operations, the PlaceId is returned only by place indexes that use HERE as a data provider.

$sel:relevance:SearchForTextResult', searchForTextResult_relevance - The relative confidence in the match for a result among the results returned. For example, if more fields for an address match (including house number, street, city, country/region, and postal code), the relevance score is closer to 1.

Returned only when the partner selected is Esri.

$sel:place:SearchForTextResult', searchForTextResult_place - Details about the search result, such as its address and position.

searchForTextResult_distance :: Lens' SearchForTextResult (Maybe Double) Source #

The distance in meters of a great-circle arc between the bias position specified and the result. Distance will be returned only if a bias position was specified in the query.

A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

searchForTextResult_placeId :: Lens' SearchForTextResult (Maybe Text) Source #

The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

For SearchPlaceIndexForText operations, the PlaceId is returned only by place indexes that use HERE as a data provider.

searchForTextResult_relevance :: Lens' SearchForTextResult (Maybe Double) Source #

The relative confidence in the match for a result among the results returned. For example, if more fields for an address match (including house number, street, city, country/region, and postal code), the relevance score is closer to 1.

Returned only when the partner selected is Esri.

searchForTextResult_place :: Lens' SearchForTextResult Place Source #

Details about the search result, such as its address and position.

SearchPlaceIndexForPositionSummary

data SearchPlaceIndexForPositionSummary Source #

A summary of the request sent by using SearchPlaceIndexForPosition.

See: newSearchPlaceIndexForPositionSummary smart constructor.

Constructors

SearchPlaceIndexForPositionSummary' 

Fields

Instances

Instances details
FromJSON SearchPlaceIndexForPositionSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForPositionSummary

Generic SearchPlaceIndexForPositionSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForPositionSummary

Associated Types

type Rep SearchPlaceIndexForPositionSummary :: Type -> Type #

Show SearchPlaceIndexForPositionSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForPositionSummary

NFData SearchPlaceIndexForPositionSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForPositionSummary

Eq SearchPlaceIndexForPositionSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForPositionSummary

Hashable SearchPlaceIndexForPositionSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForPositionSummary

type Rep SearchPlaceIndexForPositionSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForPositionSummary

type Rep SearchPlaceIndexForPositionSummary = D1 ('MetaData "SearchPlaceIndexForPositionSummary" "Amazonka.Location.Types.SearchPlaceIndexForPositionSummary" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "SearchPlaceIndexForPositionSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (NonEmpty Double))))))

newSearchPlaceIndexForPositionSummary Source #

Create a value of SearchPlaceIndexForPositionSummary 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:language:SearchPlaceIndexForPositionSummary', searchPlaceIndexForPositionSummary_language - The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

$sel:maxResults:SearchPlaceIndexForPositionSummary', searchPlaceIndexForPositionSummary_maxResults - Contains the optional result count limit that is specified in the request.

Default value: 50

$sel:dataSource:SearchPlaceIndexForPositionSummary', searchPlaceIndexForPositionSummary_dataSource - The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

$sel:position:SearchPlaceIndexForPositionSummary', searchPlaceIndexForPositionSummary_position - The position specified in the request.

searchPlaceIndexForPositionSummary_language :: Lens' SearchPlaceIndexForPositionSummary (Maybe Text) Source #

The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

searchPlaceIndexForPositionSummary_maxResults :: Lens' SearchPlaceIndexForPositionSummary (Maybe Natural) Source #

Contains the optional result count limit that is specified in the request.

Default value: 50

searchPlaceIndexForPositionSummary_dataSource :: Lens' SearchPlaceIndexForPositionSummary Text Source #

The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

SearchPlaceIndexForSuggestionsSummary

data SearchPlaceIndexForSuggestionsSummary Source #

A summary of the request sent by using SearchPlaceIndexForSuggestions.

See: newSearchPlaceIndexForSuggestionsSummary smart constructor.

Constructors

SearchPlaceIndexForSuggestionsSummary' 

Fields

  • biasPosition :: Maybe (Sensitive (NonEmpty Double))

    Contains the coordinates for the optional bias position specified in the request.

    This parameter contains a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

    For example, [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

  • filterBBox :: Maybe (Sensitive (NonEmpty Double))

    Contains the coordinates for the optional bounding box specified in the request.

  • filterCountries :: Maybe (NonEmpty Text)

    Contains the optional country filter specified in the request.

  • language :: Maybe Text

    The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

  • maxResults :: Maybe Int

    Contains the optional result count limit specified in the request.

  • dataSource :: Text

    The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

    • Esri
    • Here

    For more information about data providers, see Amazon Location Service data providers.

  • text :: Sensitive Text

    The free-form partial text input specified in the request.

Instances

Instances details
FromJSON SearchPlaceIndexForSuggestionsSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForSuggestionsSummary

Generic SearchPlaceIndexForSuggestionsSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForSuggestionsSummary

Show SearchPlaceIndexForSuggestionsSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForSuggestionsSummary

NFData SearchPlaceIndexForSuggestionsSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForSuggestionsSummary

Eq SearchPlaceIndexForSuggestionsSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForSuggestionsSummary

Hashable SearchPlaceIndexForSuggestionsSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForSuggestionsSummary

type Rep SearchPlaceIndexForSuggestionsSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForSuggestionsSummary

type Rep SearchPlaceIndexForSuggestionsSummary = D1 ('MetaData "SearchPlaceIndexForSuggestionsSummary" "Amazonka.Location.Types.SearchPlaceIndexForSuggestionsSummary" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "SearchPlaceIndexForSuggestionsSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "biasPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (NonEmpty Double)))) :*: (S1 ('MetaSel ('Just "filterBBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (NonEmpty Double)))) :*: S1 ('MetaSel ('Just "filterCountries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))) :*: ((S1 ('MetaSel ('Just "language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))))

newSearchPlaceIndexForSuggestionsSummary Source #

Create a value of SearchPlaceIndexForSuggestionsSummary 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:biasPosition:SearchPlaceIndexForSuggestionsSummary', searchPlaceIndexForSuggestionsSummary_biasPosition - Contains the coordinates for the optional bias position specified in the request.

This parameter contains a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

For example, [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

$sel:filterBBox:SearchPlaceIndexForSuggestionsSummary', searchPlaceIndexForSuggestionsSummary_filterBBox - Contains the coordinates for the optional bounding box specified in the request.

$sel:filterCountries:SearchPlaceIndexForSuggestionsSummary', searchPlaceIndexForSuggestionsSummary_filterCountries - Contains the optional country filter specified in the request.

$sel:language:SearchPlaceIndexForSuggestionsSummary', searchPlaceIndexForSuggestionsSummary_language - The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

$sel:maxResults:SearchPlaceIndexForSuggestionsSummary', searchPlaceIndexForSuggestionsSummary_maxResults - Contains the optional result count limit specified in the request.

$sel:dataSource:SearchPlaceIndexForSuggestionsSummary', searchPlaceIndexForSuggestionsSummary_dataSource - The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

$sel:text:SearchPlaceIndexForSuggestionsSummary', searchPlaceIndexForSuggestionsSummary_text - The free-form partial text input specified in the request.

searchPlaceIndexForSuggestionsSummary_biasPosition :: Lens' SearchPlaceIndexForSuggestionsSummary (Maybe (NonEmpty Double)) Source #

Contains the coordinates for the optional bias position specified in the request.

This parameter contains a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

For example, [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

searchPlaceIndexForSuggestionsSummary_filterBBox :: Lens' SearchPlaceIndexForSuggestionsSummary (Maybe (NonEmpty Double)) Source #

Contains the coordinates for the optional bounding box specified in the request.

searchPlaceIndexForSuggestionsSummary_language :: Lens' SearchPlaceIndexForSuggestionsSummary (Maybe Text) Source #

The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

searchPlaceIndexForSuggestionsSummary_maxResults :: Lens' SearchPlaceIndexForSuggestionsSummary (Maybe Int) Source #

Contains the optional result count limit specified in the request.

searchPlaceIndexForSuggestionsSummary_dataSource :: Lens' SearchPlaceIndexForSuggestionsSummary Text Source #

The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

searchPlaceIndexForSuggestionsSummary_text :: Lens' SearchPlaceIndexForSuggestionsSummary Text Source #

The free-form partial text input specified in the request.

SearchPlaceIndexForTextSummary

data SearchPlaceIndexForTextSummary Source #

A summary of the request sent by using SearchPlaceIndexForText.

See: newSearchPlaceIndexForTextSummary smart constructor.

Constructors

SearchPlaceIndexForTextSummary' 

Fields

  • biasPosition :: Maybe (Sensitive (NonEmpty Double))

    Contains the coordinates for the optional bias position specified in the request.

    This parameter contains a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

    For example, [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

  • filterBBox :: Maybe (Sensitive (NonEmpty Double))

    Contains the coordinates for the optional bounding box specified in the request.

  • filterCountries :: Maybe (NonEmpty Text)

    Contains the optional country filter specified in the request.

  • language :: Maybe Text

    The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

  • maxResults :: Maybe Natural

    Contains the optional result count limit specified in the request.

  • resultBBox :: Maybe (Sensitive (NonEmpty Double))

    The bounding box that fully contains all search results.

    If you specified the optional FilterBBox parameter in the request, ResultBBox is contained within FilterBBox.

  • dataSource :: Text

    The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

    • Esri
    • Here

    For more information about data providers, see Amazon Location Service data providers.

  • text :: Sensitive Text

    The search text specified in the request.

Instances

Instances details
FromJSON SearchPlaceIndexForTextSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForTextSummary

Generic SearchPlaceIndexForTextSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForTextSummary

Associated Types

type Rep SearchPlaceIndexForTextSummary :: Type -> Type #

Show SearchPlaceIndexForTextSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForTextSummary

NFData SearchPlaceIndexForTextSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForTextSummary

Eq SearchPlaceIndexForTextSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForTextSummary

Hashable SearchPlaceIndexForTextSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForTextSummary

type Rep SearchPlaceIndexForTextSummary Source # 
Instance details

Defined in Amazonka.Location.Types.SearchPlaceIndexForTextSummary

newSearchPlaceIndexForTextSummary Source #

Create a value of SearchPlaceIndexForTextSummary 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:biasPosition:SearchPlaceIndexForTextSummary', searchPlaceIndexForTextSummary_biasPosition - Contains the coordinates for the optional bias position specified in the request.

This parameter contains a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

For example, [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

$sel:filterBBox:SearchPlaceIndexForTextSummary', searchPlaceIndexForTextSummary_filterBBox - Contains the coordinates for the optional bounding box specified in the request.

$sel:filterCountries:SearchPlaceIndexForTextSummary', searchPlaceIndexForTextSummary_filterCountries - Contains the optional country filter specified in the request.

$sel:language:SearchPlaceIndexForTextSummary', searchPlaceIndexForTextSummary_language - The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

$sel:maxResults:SearchPlaceIndexForTextSummary', searchPlaceIndexForTextSummary_maxResults - Contains the optional result count limit specified in the request.

$sel:resultBBox:SearchPlaceIndexForTextSummary', searchPlaceIndexForTextSummary_resultBBox - The bounding box that fully contains all search results.

If you specified the optional FilterBBox parameter in the request, ResultBBox is contained within FilterBBox.

$sel:dataSource:SearchPlaceIndexForTextSummary', searchPlaceIndexForTextSummary_dataSource - The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

$sel:text:SearchPlaceIndexForTextSummary', searchPlaceIndexForTextSummary_text - The search text specified in the request.

searchPlaceIndexForTextSummary_biasPosition :: Lens' SearchPlaceIndexForTextSummary (Maybe (NonEmpty Double)) Source #

Contains the coordinates for the optional bias position specified in the request.

This parameter contains a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

For example, [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

searchPlaceIndexForTextSummary_filterBBox :: Lens' SearchPlaceIndexForTextSummary (Maybe (NonEmpty Double)) Source #

Contains the coordinates for the optional bounding box specified in the request.

searchPlaceIndexForTextSummary_filterCountries :: Lens' SearchPlaceIndexForTextSummary (Maybe (NonEmpty Text)) Source #

Contains the optional country filter specified in the request.

searchPlaceIndexForTextSummary_language :: Lens' SearchPlaceIndexForTextSummary (Maybe Text) Source #

The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

searchPlaceIndexForTextSummary_maxResults :: Lens' SearchPlaceIndexForTextSummary (Maybe Natural) Source #

Contains the optional result count limit specified in the request.

searchPlaceIndexForTextSummary_resultBBox :: Lens' SearchPlaceIndexForTextSummary (Maybe (NonEmpty Double)) Source #

The bounding box that fully contains all search results.

If you specified the optional FilterBBox parameter in the request, ResultBBox is contained within FilterBBox.

searchPlaceIndexForTextSummary_dataSource :: Lens' SearchPlaceIndexForTextSummary Text Source #

The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

  • Esri
  • Here

For more information about data providers, see Amazon Location Service data providers.

Step

data Step Source #

Represents an element of a leg within a route. A step contains instructions for how to move to the next step in the leg.

See: newStep smart constructor.

Constructors

Step' 

Fields

  • geometryOffset :: Maybe Natural

    Represents the start position, or index, in a sequence of steps within the leg's line string geometry. For example, the index of the first step in a leg geometry is 0.

    Included in the response for queries that set IncludeLegGeometry to True.

  • distance :: Double

    The travel distance between the step's StartPosition and EndPosition.

  • durationSeconds :: Double

    The estimated travel time, in seconds, from the step's StartPosition to the EndPosition. . The travel mode and departure time that you specify in the request determines the calculated time.

  • endPosition :: Sensitive (NonEmpty Double)

    The end position of a step. If the position the last step in the leg, this position is the same as the end position of the leg.

  • startPosition :: Sensitive (NonEmpty Double)

    The starting position of a step. If the position is the first step in the leg, this position is the same as the start position of the leg.

Instances

Instances details
FromJSON Step Source # 
Instance details

Defined in Amazonka.Location.Types.Step

Generic Step Source # 
Instance details

Defined in Amazonka.Location.Types.Step

Associated Types

type Rep Step :: Type -> Type #

Methods

from :: Step -> Rep Step x #

to :: Rep Step x -> Step #

Show Step Source # 
Instance details

Defined in Amazonka.Location.Types.Step

Methods

showsPrec :: Int -> Step -> ShowS #

show :: Step -> String #

showList :: [Step] -> ShowS #

NFData Step Source # 
Instance details

Defined in Amazonka.Location.Types.Step

Methods

rnf :: Step -> () #

Eq Step Source # 
Instance details

Defined in Amazonka.Location.Types.Step

Methods

(==) :: Step -> Step -> Bool #

(/=) :: Step -> Step -> Bool #

Hashable Step Source # 
Instance details

Defined in Amazonka.Location.Types.Step

Methods

hashWithSalt :: Int -> Step -> Int #

hash :: Step -> Int #

type Rep Step Source # 
Instance details

Defined in Amazonka.Location.Types.Step

type Rep Step = D1 ('MetaData "Step" "Amazonka.Location.Types.Step" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "Step'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "geometryOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "distance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "durationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: (S1 ('MetaSel ('Just "endPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (NonEmpty Double))) :*: S1 ('MetaSel ('Just "startPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (NonEmpty Double)))))))

newStep Source #

Create a value of Step 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:geometryOffset:Step', step_geometryOffset - Represents the start position, or index, in a sequence of steps within the leg's line string geometry. For example, the index of the first step in a leg geometry is 0.

Included in the response for queries that set IncludeLegGeometry to True.

$sel:distance:Step', step_distance - The travel distance between the step's StartPosition and EndPosition.

$sel:durationSeconds:Step', step_durationSeconds - The estimated travel time, in seconds, from the step's StartPosition to the EndPosition. . The travel mode and departure time that you specify in the request determines the calculated time.

$sel:endPosition:Step', step_endPosition - The end position of a step. If the position the last step in the leg, this position is the same as the end position of the leg.

$sel:startPosition:Step', step_startPosition - The starting position of a step. If the position is the first step in the leg, this position is the same as the start position of the leg.

step_geometryOffset :: Lens' Step (Maybe Natural) Source #

Represents the start position, or index, in a sequence of steps within the leg's line string geometry. For example, the index of the first step in a leg geometry is 0.

Included in the response for queries that set IncludeLegGeometry to True.

step_distance :: Lens' Step Double Source #

The travel distance between the step's StartPosition and EndPosition.

step_durationSeconds :: Lens' Step Double Source #

The estimated travel time, in seconds, from the step's StartPosition to the EndPosition. . The travel mode and departure time that you specify in the request determines the calculated time.

step_endPosition :: Lens' Step (NonEmpty Double) Source #

The end position of a step. If the position the last step in the leg, this position is the same as the end position of the leg.

step_startPosition :: Lens' Step (NonEmpty Double) Source #

The starting position of a step. If the position is the first step in the leg, this position is the same as the start position of the leg.

TimeZone

data TimeZone Source #

Information about a time zone. Includes the name of the time zone and the offset from UTC in seconds.

See: newTimeZone smart constructor.

Constructors

TimeZone' 

Fields

Instances

Instances details
FromJSON TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Generic TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Associated Types

type Rep TimeZone :: Type -> Type #

Methods

from :: TimeZone -> Rep TimeZone x #

to :: Rep TimeZone x -> TimeZone #

Read TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Show TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

NFData TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Methods

rnf :: TimeZone -> () #

Eq TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Hashable TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Methods

hashWithSalt :: Int -> TimeZone -> Int #

hash :: TimeZone -> Int #

type Rep TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

type Rep TimeZone = D1 ('MetaData "TimeZone" "Amazonka.Location.Types.TimeZone" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "TimeZone'" 'PrefixI 'True) (S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTimeZone Source #

Create a value of TimeZone 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:offset:TimeZone', timeZone_offset - The time zone's offset, in seconds, from UTC.

$sel:name:TimeZone', timeZone_name - The name of the time zone, following the IANA time zone standard. For example, America/Los_Angeles.

timeZone_offset :: Lens' TimeZone (Maybe Int) Source #

The time zone's offset, in seconds, from UTC.

timeZone_name :: Lens' TimeZone Text Source #

The name of the time zone, following the IANA time zone standard. For example, America/Los_Angeles.

TruckDimensions

data TruckDimensions Source #

Contains details about the truck dimensions in the unit of measurement that you specify. Used to filter out roads that can't support or allow the specified dimensions for requests that specify TravelMode as Truck.

See: newTruckDimensions smart constructor.

Constructors

TruckDimensions' 

Fields

  • height :: Maybe Double

    The height of the truck.

    • For example, 4.5.

    For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

  • length :: Maybe Double

    The length of the truck.

    • For example, 15.5.

    For routes calculated with a HERE resource, this value must be between 0 and 300 meters.

  • unit :: Maybe DimensionUnit

    Specifies the unit of measurement for the truck dimensions.

    Default Value: Meters

  • width :: Maybe Double

    The width of the truck.

    • For example, 4.5.

    For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

Instances

Instances details
ToJSON TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

Generic TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

Associated Types

type Rep TruckDimensions :: Type -> Type #

Read TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

Show TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

NFData TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

Methods

rnf :: TruckDimensions -> () #

Eq TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

Hashable TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

type Rep TruckDimensions Source # 
Instance details

Defined in Amazonka.Location.Types.TruckDimensions

type Rep TruckDimensions = D1 ('MetaData "TruckDimensions" "Amazonka.Location.Types.TruckDimensions" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "TruckDimensions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DimensionUnit)) :*: S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newTruckDimensions :: TruckDimensions Source #

Create a value of TruckDimensions 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:height:TruckDimensions', truckDimensions_height - The height of the truck.

  • For example, 4.5.

For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

$sel:length:TruckDimensions', truckDimensions_length - The length of the truck.

  • For example, 15.5.

For routes calculated with a HERE resource, this value must be between 0 and 300 meters.

$sel:unit:TruckDimensions', truckDimensions_unit - Specifies the unit of measurement for the truck dimensions.

Default Value: Meters

$sel:width:TruckDimensions', truckDimensions_width - The width of the truck.

  • For example, 4.5.

For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

truckDimensions_height :: Lens' TruckDimensions (Maybe Double) Source #

The height of the truck.

  • For example, 4.5.

For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

truckDimensions_length :: Lens' TruckDimensions (Maybe Double) Source #

The length of the truck.

  • For example, 15.5.

For routes calculated with a HERE resource, this value must be between 0 and 300 meters.

truckDimensions_unit :: Lens' TruckDimensions (Maybe DimensionUnit) Source #

Specifies the unit of measurement for the truck dimensions.

Default Value: Meters

truckDimensions_width :: Lens' TruckDimensions (Maybe Double) Source #

The width of the truck.

  • For example, 4.5.

For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

TruckWeight

data TruckWeight Source #

Contains details about the truck's weight specifications. Used to avoid roads that can't support or allow the total weight for requests that specify TravelMode as Truck.

See: newTruckWeight smart constructor.

Constructors

TruckWeight' 

Fields

Instances

Instances details
ToJSON TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Generic TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Associated Types

type Rep TruckWeight :: Type -> Type #

Read TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Show TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

NFData TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Methods

rnf :: TruckWeight -> () #

Eq TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

Hashable TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

type Rep TruckWeight Source # 
Instance details

Defined in Amazonka.Location.Types.TruckWeight

type Rep TruckWeight = D1 ('MetaData "TruckWeight" "Amazonka.Location.Types.TruckWeight" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "TruckWeight'" 'PrefixI 'True) (S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VehicleWeightUnit))))

newTruckWeight :: TruckWeight Source #

Create a value of TruckWeight 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:total:TruckWeight', truckWeight_total - The total weight of the truck.

  • For example, 3500.

$sel:unit:TruckWeight', truckWeight_unit - The unit of measurement to use for the truck weight.

Default Value: Kilograms

truckWeight_total :: Lens' TruckWeight (Maybe Double) Source #

The total weight of the truck.

  • For example, 3500.

truckWeight_unit :: Lens' TruckWeight (Maybe VehicleWeightUnit) Source #

The unit of measurement to use for the truck weight.

Default Value: Kilograms