| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.Types.Location
Description
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
| FromJSON Location Source # | |
| ToJSON Location Source # | |
Defined in Amazonka.DeviceFarm.Types.Location | |
| Generic Location Source # | |
| Read Location Source # | |
| Show Location Source # | |
| NFData Location Source # | |
Defined in Amazonka.DeviceFarm.Types.Location | |
| Eq Location Source # | |
| Hashable Location Source # | |
Defined in Amazonka.DeviceFarm.Types.Location | |
| type Rep Location Source # | |
Defined in Amazonka.DeviceFarm.Types.Location type Rep Location = D1 ('MetaData "Location" "Amazonka.DeviceFarm.Types.Location" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" '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.