amazonka-ec2-1.4.5: 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.DeleteEgressOnlyInternetGateway

Contents

Description

Deletes an egress-only Internet gateway.

Synopsis

Creating a Request

deleteEgressOnlyInternetGateway #

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

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

  • deoigeDryRun - 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 .
  • deoigeEgressOnlyInternetGatewayId - The ID of the egress-only Internet gateway.

data DeleteEgressOnlyInternetGateway #

See: deleteEgressOnlyInternetGateway smart constructor.

Instances

Eq DeleteEgressOnlyInternetGateway # 
Data DeleteEgressOnlyInternetGateway # 

Methods

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

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

toConstr :: DeleteEgressOnlyInternetGateway -> Constr #

dataTypeOf :: DeleteEgressOnlyInternetGateway -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteEgressOnlyInternetGateway # 
Show DeleteEgressOnlyInternetGateway # 
Generic DeleteEgressOnlyInternetGateway # 
Hashable DeleteEgressOnlyInternetGateway # 
NFData DeleteEgressOnlyInternetGateway # 
AWSRequest DeleteEgressOnlyInternetGateway # 
ToQuery DeleteEgressOnlyInternetGateway # 
ToPath DeleteEgressOnlyInternetGateway # 
ToHeaders DeleteEgressOnlyInternetGateway # 
type Rep DeleteEgressOnlyInternetGateway # 
type Rep DeleteEgressOnlyInternetGateway = D1 (MetaData "DeleteEgressOnlyInternetGateway" "Network.AWS.EC2.DeleteEgressOnlyInternetGateway" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeleteEgressOnlyInternetGateway'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_deoigeDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_deoigeEgressOnlyInternetGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteEgressOnlyInternetGateway # 

Request Lenses

deoigeDryRun :: Lens' DeleteEgressOnlyInternetGateway (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 .

deoigeEgressOnlyInternetGatewayId :: Lens' DeleteEgressOnlyInternetGateway Text #

The ID of the egress-only Internet gateway.

Destructuring the Response

deleteEgressOnlyInternetGatewayResponse #

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

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

data DeleteEgressOnlyInternetGatewayResponse #

Instances

Eq DeleteEgressOnlyInternetGatewayResponse # 
Data DeleteEgressOnlyInternetGatewayResponse # 

Methods

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

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

toConstr :: DeleteEgressOnlyInternetGatewayResponse -> Constr #

dataTypeOf :: DeleteEgressOnlyInternetGatewayResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteEgressOnlyInternetGatewayResponse # 
Show DeleteEgressOnlyInternetGatewayResponse # 
Generic DeleteEgressOnlyInternetGatewayResponse # 
NFData DeleteEgressOnlyInternetGatewayResponse # 
type Rep DeleteEgressOnlyInternetGatewayResponse # 
type Rep DeleteEgressOnlyInternetGatewayResponse = D1 (MetaData "DeleteEgressOnlyInternetGatewayResponse" "Network.AWS.EC2.DeleteEgressOnlyInternetGateway" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeleteEgressOnlyInternetGatewayResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_delrsReturnCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_delrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

delrsReturnCode :: Lens' DeleteEgressOnlyInternetGatewayResponse (Maybe Bool) #

Returns true if the request succeeds; otherwise, it returns an error.