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.AWSLocation

Description

 
Synopsis

Documentation

data AWSLocation Source #

Specifies a location in AWS.

See: newAWSLocation smart constructor.

Constructors

AWSLocation' 

Fields

  • zone :: Maybe Text

    The Zone the device is located in. This can be the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

  • subnetArn :: Maybe Text

    The Amazon Resource Name (ARN) of the subnet the device is located in.

Instances

Instances details
Eq AWSLocation Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.AWSLocation

Read AWSLocation Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.AWSLocation

Show AWSLocation Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.AWSLocation

Generic AWSLocation Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.AWSLocation

Associated Types

type Rep AWSLocation :: Type -> Type #

NFData AWSLocation Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.AWSLocation

Methods

rnf :: AWSLocation -> () #

Hashable AWSLocation Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.AWSLocation

ToJSON AWSLocation Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.AWSLocation

FromJSON AWSLocation Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.AWSLocation

type Rep AWSLocation Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.AWSLocation

type Rep AWSLocation = D1 ('MetaData "AWSLocation" "Amazonka.NetworkManager.Types.AWSLocation" "libZSservicesZSamazonka-networkmanagerZSamazonka-networkmanager" 'False) (C1 ('MetaCons "AWSLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "zone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subnetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAWSLocation :: AWSLocation Source #

Create a value of AWSLocation 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:zone:AWSLocation', aWSLocation_zone - The Zone the device is located in. This can be the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

$sel:subnetArn:AWSLocation', aWSLocation_subnetArn - The Amazon Resource Name (ARN) of the subnet the device is located in.

aWSLocation_zone :: Lens' AWSLocation (Maybe Text) Source #

The Zone the device is located in. This can be the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

aWSLocation_subnetArn :: Lens' AWSLocation (Maybe Text) Source #

The Amazon Resource Name (ARN) of the subnet the device is located in.