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 #

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 #

Contains the parameters for DeleteInternetGateway.

See: deleteInternetGateway smart constructor.

Instances
Eq DeleteInternetGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Data DeleteInternetGateway # 
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 # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Show DeleteInternetGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Generic DeleteInternetGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Associated Types

type Rep DeleteInternetGateway :: Type -> Type #

Hashable DeleteInternetGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

AWSRequest DeleteInternetGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Associated Types

type Rs DeleteInternetGateway :: Type #

ToHeaders DeleteInternetGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

ToPath DeleteInternetGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

ToQuery DeleteInternetGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

NFData DeleteInternetGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Methods

rnf :: DeleteInternetGateway -> () #

type Rep DeleteInternetGateway # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

type Rep DeleteInternetGateway = D1 (MetaData "DeleteInternetGateway" "Network.AWS.EC2.DeleteInternetGateway" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" 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 # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Request Lenses

digiDryRun :: Lens' DeleteInternetGateway (Maybe Bool) #

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 #

The ID of the Internet gateway.

Destructuring the Response

deleteInternetGatewayResponse :: DeleteInternetGatewayResponse #

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

data DeleteInternetGatewayResponse #

See: deleteInternetGatewayResponse smart constructor.

Instances
Eq DeleteInternetGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Data DeleteInternetGatewayResponse # 
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 # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Show DeleteInternetGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Generic DeleteInternetGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

Associated Types

type Rep DeleteInternetGatewayResponse :: Type -> Type #

NFData DeleteInternetGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

type Rep DeleteInternetGatewayResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteInternetGateway

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