Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.EC2.DeleteVPCEndpoints
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.
- deleteVPCEndpoints :: DeleteVPCEndpoints
- data DeleteVPCEndpoints
- dveDryRun :: Lens' DeleteVPCEndpoints (Maybe Bool)
- dveVPCEndpointIds :: Lens' DeleteVPCEndpoints [Text]
- deleteVPCEndpointsResponse :: Int -> DeleteVPCEndpointsResponse
- data DeleteVPCEndpointsResponse
- dversUnsuccessful :: Lens' DeleteVPCEndpointsResponse [UnsuccessfulItem]
- dversResponseStatus :: Lens' DeleteVPCEndpointsResponse Int
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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dveVPCEndpointIds
- One or more endpoint IDs.
data DeleteVPCEndpoints #
Contains the parameters for DeleteVpcEndpoints.
See: deleteVPCEndpoints
smart constructor.
Instances
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
Arguments
:: Int | |
-> 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:
dversUnsuccessful
- Information about the endpoints that were not successfully deleted.dversResponseStatus
- -- | The response status code.
data DeleteVPCEndpointsResponse #
Contains the output of DeleteVpcEndpoints.
See: deleteVPCEndpointsResponse
smart constructor.
Response Lenses
dversUnsuccessful :: Lens' DeleteVPCEndpointsResponse [UnsuccessfulItem] #
Information about the endpoints that were not successfully deleted.
dversResponseStatus :: Lens' DeleteVPCEndpointsResponse Int #
- - | The response status code.