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

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

See: AWS API Reference for DeleteVPCEndpoints.

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:

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:

Response Lenses

dversUnsuccessful :: Lens' DeleteVPCEndpointsResponse [UnsuccessfulItem] Source

Information about the endpoints that were not successfully deleted.