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.ELBv2.DeleteLoadBalancer
Description
Deletes the specified load balancer and its attached listeners.
You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds.
Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them.
Creating a Request
Arguments
:: Text | |
-> DeleteLoadBalancer |
Creates a value of DeleteLoadBalancer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteLoadBalancer Source #
Contains the parameters for DeleteLoadBalancer.
See: deleteLoadBalancer
smart constructor.
Instances
Request Lenses
dlbLoadBalancerARN :: Lens' DeleteLoadBalancer Text Source #
The Amazon Resource Name (ARN) of the load balancer.
Destructuring the Response
deleteLoadBalancerResponse Source #
Arguments
:: Int | |
-> DeleteLoadBalancerResponse |
Creates a value of DeleteLoadBalancerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteLoadBalancerResponse Source #
Contains the output of DeleteLoadBalancer.
See: deleteLoadBalancerResponse
smart constructor.
Instances
Response Lenses
drsResponseStatus :: Lens' DeleteLoadBalancerResponse Int Source #
The response status code.