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

Copyright(c) 2013-2017 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.DeleteVPCEndpoints

Contents

Description

Deletes one or more specified VPC endpoints. Deleting a gateway endpoint also deletes the endpoint routes in the route tables that were associated with the endpoint. Deleting an interface endpoint deletes the endpoint network interfaces.

Synopsis

Creating a Request

deleteVPCEndpoints :: DeleteVPCEndpoints Source #

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

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

  • dveDryRun - 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 .
  • dveVPCEndpointIds - One or more endpoint IDs.

data DeleteVPCEndpoints Source #

Contains the parameters for DeleteVpcEndpoints.

See: deleteVPCEndpoints smart constructor.

Instances

Eq DeleteVPCEndpoints Source # 
Data DeleteVPCEndpoints Source # 

Methods

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

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

toConstr :: DeleteVPCEndpoints -> Constr #

dataTypeOf :: DeleteVPCEndpoints -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteVPCEndpoints Source # 
Show DeleteVPCEndpoints Source # 
Generic DeleteVPCEndpoints Source # 
Hashable DeleteVPCEndpoints Source # 
NFData DeleteVPCEndpoints Source # 

Methods

rnf :: DeleteVPCEndpoints -> () #

AWSRequest DeleteVPCEndpoints Source # 
ToQuery DeleteVPCEndpoints Source # 
ToPath DeleteVPCEndpoints Source # 
ToHeaders DeleteVPCEndpoints Source # 
type Rep DeleteVPCEndpoints Source # 
type Rep DeleteVPCEndpoints = D1 (MetaData "DeleteVPCEndpoints" "Network.AWS.EC2.DeleteVPCEndpoints" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "DeleteVPCEndpoints'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dveDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dveVPCEndpointIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs DeleteVPCEndpoints Source # 

Request Lenses

dveDryRun :: Lens' DeleteVPCEndpoints (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 .

dveVPCEndpointIds :: Lens' DeleteVPCEndpoints [Text] Source #

One or more endpoint IDs.

Destructuring the Response

deleteVPCEndpointsResponse Source #

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

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

data DeleteVPCEndpointsResponse Source #

Contains the output of DeleteVpcEndpoints.

See: deleteVPCEndpointsResponse smart constructor.

Instances

Eq DeleteVPCEndpointsResponse Source # 
Data DeleteVPCEndpointsResponse Source # 

Methods

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

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

toConstr :: DeleteVPCEndpointsResponse -> Constr #

dataTypeOf :: DeleteVPCEndpointsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteVPCEndpointsResponse Source # 
Show DeleteVPCEndpointsResponse Source # 
Generic DeleteVPCEndpointsResponse Source # 
NFData DeleteVPCEndpointsResponse Source # 
type Rep DeleteVPCEndpointsResponse Source # 
type Rep DeleteVPCEndpointsResponse = D1 (MetaData "DeleteVPCEndpointsResponse" "Network.AWS.EC2.DeleteVPCEndpoints" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "DeleteVPCEndpointsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dversUnsuccessful") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UnsuccessfulItem]))) (S1 (MetaSel (Just Symbol "_dversResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dversUnsuccessful :: Lens' DeleteVPCEndpointsResponse [UnsuccessfulItem] Source #

Information about the endpoints that were not successfully deleted.