libZSservicesZSamazonka-directconnectZSamazonka-directconnect
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.DirectConnect.Types.Location

Description

 
Synopsis

Documentation

data Location Source #

Information about an Direct Connect location.

See: newLocation smart constructor.

Constructors

Location' 

Fields

Instances

Instances details
Eq Location Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.Location

Read Location Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.Location

Show Location Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.Location

Generic Location Source # 
Instance details

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

Methods

rnf :: Location -> () #

Hashable Location Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.Location

Methods

hashWithSalt :: Int -> Location -> Int #

hash :: Location -> Int #

FromJSON Location Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.Location

type Rep Location Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.Location

type Rep Location = D1 ('MetaData "Location" "Amazonka.DirectConnect.Types.Location" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "Location'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "availablePortSpeeds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "locationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "locationCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "availableProviders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "availableMacSecPortSpeeds") '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:availablePortSpeeds:Location', location_availablePortSpeeds - The available port speeds for the location.

$sel:locationName:Location', location_locationName - The name of the location. This includes the name of the colocation partner and the physical site of the building.

$sel:locationCode:Location', location_locationCode - The code for the location.

$sel:region:Location', location_region - The Amazon Web Services Region for the location.

$sel:availableProviders:Location', location_availableProviders - The name of the service provider for the location.

$sel:availableMacSecPortSpeeds:Location', location_availableMacSecPortSpeeds - The available MAC Security (MACsec) port speeds for the location.

location_availablePortSpeeds :: Lens' Location (Maybe [Text]) Source #

The available port speeds for the location.

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

The name of the location. This includes the name of the colocation partner and the physical site of the building.

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

The code for the location.

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

The Amazon Web Services Region for the location.

location_availableProviders :: Lens' Location (Maybe [Text]) Source #

The name of the service provider for the location.

location_availableMacSecPortSpeeds :: Lens' Location (Maybe [Text]) Source #

The available MAC Security (MACsec) port speeds for the location.