Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes one or more specified VPC endpoints. You can delete any of the following types of VPC endpoints.
- Gateway endpoint,
- Gateway Load Balancer endpoint,
- Interface endpoint
The following rules apply when you delete a VPC endpoint:
- When you delete a gateway endpoint, we delete the endpoint routes in the route tables that are associated with the endpoint.
When you delete a Gateway Load Balancer endpoint, we delete the endpoint network interfaces.
You can only delete Gateway Load Balancer endpoints when the routes that are associated with the endpoint are deleted.
- When you delete an interface endpoint, we delete the endpoint network interfaces.
Synopsis
- data DeleteVpcEndpoints = DeleteVpcEndpoints' {
- dryRun :: Maybe Bool
- vpcEndpointIds :: [Text]
- newDeleteVpcEndpoints :: DeleteVpcEndpoints
- deleteVpcEndpoints_dryRun :: Lens' DeleteVpcEndpoints (Maybe Bool)
- deleteVpcEndpoints_vpcEndpointIds :: Lens' DeleteVpcEndpoints [Text]
- data DeleteVpcEndpointsResponse = DeleteVpcEndpointsResponse' {}
- newDeleteVpcEndpointsResponse :: Int -> DeleteVpcEndpointsResponse
- deleteVpcEndpointsResponse_unsuccessful :: Lens' DeleteVpcEndpointsResponse (Maybe [UnsuccessfulItem])
- deleteVpcEndpointsResponse_httpStatus :: Lens' DeleteVpcEndpointsResponse Int
Creating a Request
data DeleteVpcEndpoints Source #
Contains the parameters for DeleteVpcEndpoints.
See: newDeleteVpcEndpoints
smart constructor.
DeleteVpcEndpoints' | |
|
Instances
newDeleteVpcEndpoints :: DeleteVpcEndpoints Source #
Create a value of DeleteVpcEndpoints
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DeleteVpcEndpoints'
, deleteVpcEndpoints_dryRun
- 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
.
$sel:vpcEndpointIds:DeleteVpcEndpoints'
, deleteVpcEndpoints_vpcEndpointIds
- One or more VPC endpoint IDs.
Request Lenses
deleteVpcEndpoints_dryRun :: 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
.
deleteVpcEndpoints_vpcEndpointIds :: Lens' DeleteVpcEndpoints [Text] Source #
One or more VPC endpoint IDs.
Destructuring the Response
data DeleteVpcEndpointsResponse Source #
Contains the output of DeleteVpcEndpoints.
See: newDeleteVpcEndpointsResponse
smart constructor.
DeleteVpcEndpointsResponse' | |
|
Instances
newDeleteVpcEndpointsResponse Source #
Create a value of DeleteVpcEndpointsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:unsuccessful:DeleteVpcEndpointsResponse'
, deleteVpcEndpointsResponse_unsuccessful
- Information about the VPC endpoints that were not successfully deleted.
$sel:httpStatus:DeleteVpcEndpointsResponse'
, deleteVpcEndpointsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteVpcEndpointsResponse_unsuccessful :: Lens' DeleteVpcEndpointsResponse (Maybe [UnsuccessfulItem]) Source #
Information about the VPC endpoints that were not successfully deleted.
deleteVpcEndpointsResponse_httpStatus :: Lens' DeleteVpcEndpointsResponse Int Source #
The response's http status code.