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.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 VPC endpoint IDs.

data DeleteVPCEndpoints Source #

Contains the parameters for DeleteVpcEndpoints.

See: deleteVPCEndpoints smart constructor.

Instances
Eq DeleteVPCEndpoints Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

Data DeleteVPCEndpoints Source # 
Instance details

Defined in Network.AWS.EC2.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 Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

Show DeleteVPCEndpoints Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

Generic DeleteVPCEndpoints Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

Associated Types

type Rep DeleteVPCEndpoints :: Type -> Type #

Hashable DeleteVPCEndpoints Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

AWSRequest DeleteVPCEndpoints Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

Associated Types

type Rs DeleteVPCEndpoints :: Type #

ToHeaders DeleteVPCEndpoints Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

ToPath DeleteVPCEndpoints Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

ToQuery DeleteVPCEndpoints Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

NFData DeleteVPCEndpoints Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

Methods

rnf :: DeleteVPCEndpoints -> () #

type Rep DeleteVPCEndpoints Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

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

Defined in Network.AWS.EC2.DeleteVPCEndpoints

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 VPC 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 # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

Data DeleteVPCEndpointsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

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

Defined in Network.AWS.EC2.DeleteVPCEndpoints

Show DeleteVPCEndpointsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

Generic DeleteVPCEndpointsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

Associated Types

type Rep DeleteVPCEndpointsResponse :: Type -> Type #

NFData DeleteVPCEndpointsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

type Rep DeleteVPCEndpointsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteVPCEndpoints

type Rep DeleteVPCEndpointsResponse = D1 (MetaData "DeleteVPCEndpointsResponse" "Network.AWS.EC2.DeleteVPCEndpoints" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DeleteVPCEndpointsResponse'" PrefixI True) (S1 (MetaSel (Just "_dversUnsuccessful") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UnsuccessfulItem])) :*: S1 (MetaSel (Just "_dversResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dversUnsuccessful :: Lens' DeleteVPCEndpointsResponse [UnsuccessfulItem] Source #

Information about the VPC endpoints that were not successfully deleted.