amazonka-networkmanager-2.0: Amazon Network Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.NetworkManager.Types.Location

Description

 
Synopsis

Documentation

data Location Source #

Describes a location.

See: newLocation smart constructor.

Constructors

Location' 

Fields

Instances

Instances details
FromJSON Location Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Location

ToJSON 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 #

Show Location Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Location

NFData Location Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Location

Methods

rnf :: Location -> () #

Eq Location Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Location

Hashable Location Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.Location

Methods

hashWithSalt :: Int -> Location -> Int #

hash :: Location -> Int #

type Rep Location Source # 
Instance details

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.

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

The physical address.