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