libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DeviceFarm.Types.Location

Description

 
Synopsis

Documentation

data Location Source #

Represents a latitude and longitude pair, expressed in geographic coordinate system degrees (for example, 47.6204, -122.3491).

Elevation is currently not supported.

See: newLocation smart constructor.

Constructors

Location' 

Fields

Instances

Instances details
Eq Location Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Location

Read Location Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Location

Show Location Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Location

Generic Location Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Location

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

NFData Location Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Location

Methods

rnf :: Location -> () #

Hashable Location Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Location

Methods

hashWithSalt :: Int -> Location -> Int #

hash :: Location -> Int #

ToJSON Location Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Location

FromJSON Location Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Location

type Rep Location Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Location

type Rep Location = D1 ('MetaData "Location" "Amazonka.DeviceFarm.Types.Location" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "Location'" 'PrefixI 'True) (S1 ('MetaSel ('Just "latitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "longitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))

newLocation Source #

Create a value of Location 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:latitude:Location', location_latitude - The latitude.

$sel:longitude:Location', location_longitude - The longitude.