amazonka-ec2-1.4.4: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.AttachInternetGateway

Contents

Description

Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, see the Amazon Virtual Private Cloud User Guide.

Synopsis

Creating a Request

attachInternetGateway Source #

Creates a value of AttachInternetGateway with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AttachInternetGateway Source #

Contains the parameters for AttachInternetGateway.

See: attachInternetGateway smart constructor.

Instances

Eq AttachInternetGateway Source # 
Data AttachInternetGateway Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AttachInternetGateway -> c AttachInternetGateway #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AttachInternetGateway #

toConstr :: AttachInternetGateway -> Constr #

dataTypeOf :: AttachInternetGateway -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AttachInternetGateway) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AttachInternetGateway) #

gmapT :: (forall b. Data b => b -> b) -> AttachInternetGateway -> AttachInternetGateway #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AttachInternetGateway -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AttachInternetGateway -> r #

gmapQ :: (forall d. Data d => d -> u) -> AttachInternetGateway -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AttachInternetGateway -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AttachInternetGateway -> m AttachInternetGateway #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AttachInternetGateway -> m AttachInternetGateway #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AttachInternetGateway -> m AttachInternetGateway #

Read AttachInternetGateway Source # 
Show AttachInternetGateway Source # 
Generic AttachInternetGateway Source # 
Hashable AttachInternetGateway Source # 
NFData AttachInternetGateway Source # 

Methods

rnf :: AttachInternetGateway -> () #

AWSRequest AttachInternetGateway Source # 
ToPath AttachInternetGateway Source # 
ToHeaders AttachInternetGateway Source # 
ToQuery AttachInternetGateway Source # 
type Rep AttachInternetGateway Source # 
type Rep AttachInternetGateway = D1 (MetaData "AttachInternetGateway" "Network.AWS.EC2.AttachInternetGateway" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "AttachInternetGateway'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aigDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_aigInternetGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_aigVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs AttachInternetGateway Source # 

Request Lenses

aigDryRun :: Lens' AttachInternetGateway (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

aigInternetGatewayId :: Lens' AttachInternetGateway Text Source #

The ID of the Internet gateway.

Destructuring the Response

attachInternetGatewayResponse :: AttachInternetGatewayResponse Source #

Creates a value of AttachInternetGatewayResponse with the minimum fields required to make a request.

data AttachInternetGatewayResponse Source #

See: attachInternetGatewayResponse smart constructor.

Instances

Eq AttachInternetGatewayResponse Source # 
Data AttachInternetGatewayResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AttachInternetGatewayResponse -> c AttachInternetGatewayResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AttachInternetGatewayResponse #

toConstr :: AttachInternetGatewayResponse -> Constr #

dataTypeOf :: AttachInternetGatewayResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AttachInternetGatewayResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AttachInternetGatewayResponse) #

gmapT :: (forall b. Data b => b -> b) -> AttachInternetGatewayResponse -> AttachInternetGatewayResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AttachInternetGatewayResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AttachInternetGatewayResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> AttachInternetGatewayResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AttachInternetGatewayResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AttachInternetGatewayResponse -> m AttachInternetGatewayResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AttachInternetGatewayResponse -> m AttachInternetGatewayResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AttachInternetGatewayResponse -> m AttachInternetGatewayResponse #

Read AttachInternetGatewayResponse Source # 
Show AttachInternetGatewayResponse Source # 
Generic AttachInternetGatewayResponse Source # 
NFData AttachInternetGatewayResponse Source # 
type Rep AttachInternetGatewayResponse Source # 
type Rep AttachInternetGatewayResponse = D1 (MetaData "AttachInternetGatewayResponse" "Network.AWS.EC2.AttachInternetGateway" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "AttachInternetGatewayResponse'" PrefixI False) U1)