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

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

Network.AWS.EC2.DeleteInternetGateway

Contents

Description

Deletes the specified Internet gateway. You must detach the Internet gateway from the VPC before you can delete it.

Synopsis

Creating a Request

deleteInternetGateway Source #

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

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

  • digiDryRun - 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 .
  • digiInternetGatewayId - The ID of the Internet gateway.

data DeleteInternetGateway Source #

Contains the parameters for DeleteInternetGateway.

See: deleteInternetGateway smart constructor.

Instances
Eq DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Data DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Methods

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

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

toConstr :: DeleteInternetGateway -> Constr #

dataTypeOf :: DeleteInternetGateway -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Show DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Generic DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Associated Types

type Rep DeleteInternetGateway :: Type -> Type #

Hashable DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

AWSRequest DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Associated Types

type Rs DeleteInternetGateway :: Type #

ToHeaders DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

ToPath DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

ToQuery DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

NFData DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Methods

rnf :: DeleteInternetGateway -> () #

type Rep DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

type Rep DeleteInternetGateway = D1 (MetaData "DeleteInternetGateway" "Network.AWS.EC2.DeleteInternetGateway" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DeleteInternetGateway'" PrefixI True) (S1 (MetaSel (Just "_digiDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_digiInternetGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteInternetGateway Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Request Lenses

digiDryRun :: Lens' DeleteInternetGateway (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 .

digiInternetGatewayId :: Lens' DeleteInternetGateway Text Source #

The ID of the Internet gateway.

Destructuring the Response

deleteInternetGatewayResponse :: DeleteInternetGatewayResponse Source #

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

data DeleteInternetGatewayResponse Source #

See: deleteInternetGatewayResponse smart constructor.

Instances
Eq DeleteInternetGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Data DeleteInternetGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Methods

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

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

toConstr :: DeleteInternetGatewayResponse -> Constr #

dataTypeOf :: DeleteInternetGatewayResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteInternetGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Show DeleteInternetGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Generic DeleteInternetGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Associated Types

type Rep DeleteInternetGatewayResponse :: Type -> Type #

NFData DeleteInternetGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

type Rep DeleteInternetGatewayResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

type Rep DeleteInternetGatewayResponse = D1 (MetaData "DeleteInternetGatewayResponse" "Network.AWS.EC2.DeleteInternetGateway" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DeleteInternetGatewayResponse'" PrefixI False) (U1 :: Type -> Type))