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
Describes a location.
See: newLocation
smart constructor.
Instances
Eq Location Source # | |
Show Location Source # | |
Generic Location Source # | |
NFData Location Source # | |
Defined in Amazonka.NetworkManager.Types.Location | |
Hashable Location Source # | |
Defined in Amazonka.NetworkManager.Types.Location | |
ToJSON Location Source # | |
Defined in Amazonka.NetworkManager.Types.Location | |
FromJSON Location Source # | |
type Rep Location Source # | |
Defined in Amazonka.NetworkManager.Types.Location type Rep Location = D1 ('MetaData "Location" "Amazonka.NetworkManager.Types.Location" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "Location'" 'PrefixI 'True) (S1 ('MetaSel ('Just "latitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "longitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newLocation :: Location 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:address:Location'
, location_address
- The physical address.
$sel:longitude:Location'
, location_longitude
- The longitude.