Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
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.
Instances
Eq Location Source # | |
Read Location Source # | |
Show Location Source # | |
Generic Location Source # | |
NFData Location Source # | |
Defined in Amazonka.DeviceFarm.Types.Location | |
Hashable Location Source # | |
Defined in Amazonka.DeviceFarm.Types.Location | |
ToJSON Location Source # | |
Defined in Amazonka.DeviceFarm.Types.Location | |
FromJSON Location Source # | |
type Rep Location Source # | |
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))) |
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.