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