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.DeleteVPCEndpoints

Contents

Description

Deletes one or more specified VPC endpoints. Deleting the endpoint also deletes the endpoint routes in the route tables that were associated with the endpoint.

Synopsis

Creating a Request

deleteVPCEndpoints :: DeleteVPCEndpoints #

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 #

Contains the parameters for DeleteVpcEndpoints.

See: deleteVPCEndpoints smart constructor.

Instances

Eq DeleteVPCEndpoints # 
Data DeleteVPCEndpoints # 

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 # 
Show DeleteVPCEndpoints # 
Generic DeleteVPCEndpoints # 
Hashable DeleteVPCEndpoints # 
NFData DeleteVPCEndpoints # 

Methods

rnf :: DeleteVPCEndpoints -> () #

AWSRequest DeleteVPCEndpoints # 
ToQuery DeleteVPCEndpoints # 
ToPath DeleteVPCEndpoints # 
ToHeaders DeleteVPCEndpoints # 
type Rep DeleteVPCEndpoints # 
type Rep DeleteVPCEndpoints = D1 (MetaData "DeleteVPCEndpoints" "Network.AWS.EC2.DeleteVPCEndpoints" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" 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 # 

Request Lenses

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

dveVPCEndpointIds :: Lens' DeleteVPCEndpoints [Text] #

One or more endpoint IDs.

Destructuring the Response

deleteVPCEndpointsResponse #

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 #

Contains the output of DeleteVpcEndpoints.

See: deleteVPCEndpointsResponse smart constructor.

Instances

Eq DeleteVPCEndpointsResponse # 
Data DeleteVPCEndpointsResponse # 

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 # 
Show DeleteVPCEndpointsResponse # 
Generic DeleteVPCEndpointsResponse # 
NFData DeleteVPCEndpointsResponse # 
type Rep DeleteVPCEndpointsResponse # 
type Rep DeleteVPCEndpointsResponse = D1 (MetaData "DeleteVPCEndpointsResponse" "Network.AWS.EC2.DeleteVPCEndpoints" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeleteVPCEndpointsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dversUnsuccessful") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UnsuccessfulItem]))) (S1 (MetaSel (Just Symbol "_dversResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dversUnsuccessful :: Lens' DeleteVPCEndpointsResponse [UnsuccessfulItem] #

Information about the endpoints that were not successfully deleted.

dversResponseStatus :: Lens' DeleteVPCEndpointsResponse Int #

  • - | The response status code.