amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.InternetGateway

Description

 
Synopsis

Documentation

data InternetGateway Source #

Describes an internet gateway.

See: newInternetGateway smart constructor.

Constructors

InternetGateway' 

Fields

Instances

Instances details
FromXML InternetGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGateway

Generic InternetGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGateway

Associated Types

type Rep InternetGateway :: Type -> Type #

Read InternetGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGateway

Show InternetGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGateway

NFData InternetGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGateway

Methods

rnf :: InternetGateway -> () #

Eq InternetGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGateway

Hashable InternetGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGateway

type Rep InternetGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGateway

type Rep InternetGateway = D1 ('MetaData "InternetGateway" "Amazonka.EC2.Types.InternetGateway" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "InternetGateway'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InternetGatewayAttachment])) :*: S1 ('MetaSel ('Just "ownerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "internetGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newInternetGateway Source #

Create a value of InternetGateway 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:attachments:InternetGateway', internetGateway_attachments - Any VPCs attached to the internet gateway.

$sel:ownerId:InternetGateway', internetGateway_ownerId - The ID of the Amazon Web Services account that owns the internet gateway.

$sel:tags:InternetGateway', internetGateway_tags - Any tags assigned to the internet gateway.

$sel:internetGatewayId:InternetGateway', internetGateway_internetGatewayId - The ID of the internet gateway.

internetGateway_ownerId :: Lens' InternetGateway (Maybe Text) Source #

The ID of the Amazon Web Services account that owns the internet gateway.

internetGateway_tags :: Lens' InternetGateway (Maybe [Tag]) Source #

Any tags assigned to the internet gateway.