amazonka-drs-2.0: Amazon Elastic Disaster Recovery Service 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.DrS.Types.NetworkInterface

Description

 
Synopsis

Documentation

data NetworkInterface Source #

Network interface.

See: newNetworkInterface smart constructor.

Constructors

NetworkInterface' 

Fields

Instances

Instances details
FromJSON NetworkInterface Source # 
Instance details

Defined in Amazonka.DrS.Types.NetworkInterface

Generic NetworkInterface Source # 
Instance details

Defined in Amazonka.DrS.Types.NetworkInterface

Associated Types

type Rep NetworkInterface :: Type -> Type #

Read NetworkInterface Source # 
Instance details

Defined in Amazonka.DrS.Types.NetworkInterface

Show NetworkInterface Source # 
Instance details

Defined in Amazonka.DrS.Types.NetworkInterface

NFData NetworkInterface Source # 
Instance details

Defined in Amazonka.DrS.Types.NetworkInterface

Methods

rnf :: NetworkInterface -> () #

Eq NetworkInterface Source # 
Instance details

Defined in Amazonka.DrS.Types.NetworkInterface

Hashable NetworkInterface Source # 
Instance details

Defined in Amazonka.DrS.Types.NetworkInterface

type Rep NetworkInterface Source # 
Instance details

Defined in Amazonka.DrS.Types.NetworkInterface

type Rep NetworkInterface = D1 ('MetaData "NetworkInterface" "Amazonka.DrS.Types.NetworkInterface" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "NetworkInterface'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ips") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "isPrimary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "macAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newNetworkInterface :: NetworkInterface Source #

Create a value of NetworkInterface 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:ips:NetworkInterface', networkInterface_ips - Network interface IPs.

$sel:isPrimary:NetworkInterface', networkInterface_isPrimary - Whether this is the primary network interface.

$sel:macAddress:NetworkInterface', networkInterface_macAddress - The MAC address of the network interface.

networkInterface_isPrimary :: Lens' NetworkInterface (Maybe Bool) Source #

Whether this is the primary network interface.

networkInterface_macAddress :: Lens' NetworkInterface (Maybe Text) Source #

The MAC address of the network interface.