libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager
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.NetworkManager.Types.Location

Description

 
Synopsis

Documentation

data Location Source #

Describes a location.

See: newLocation smart constructor.

Constructors

Location' 

Fields

Instances

Instances details
Eq Location Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Location

Show Location Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Location

Generic Location Source # 
Instance details

Defined in Amazonka.NetworkManager.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.NetworkManager.Types.Location

Methods

rnf :: Location -> () #

Hashable Location Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Location

Methods

hashWithSalt :: Int -> Location -> Int #

hash :: Location -> Int #

ToJSON Location Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Location

FromJSON Location Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Location

type Rep Location Source # 
Instance details

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.

location_address :: Lens' Location (Maybe Text) Source #

The physical address.