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 Application 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:
dlbLoadBalancerARN
- The Amazon Resource Name (ARN) of the load balancer.
data DeleteLoadBalancer #
Contains the parameters for DeleteLoadBalancer.
See: deleteLoadBalancer
smart constructor.
Instances
Request Lenses
dlbLoadBalancerARN :: Lens' DeleteLoadBalancer Text #
The Amazon Resource Name (ARN) of the load balancer.
Destructuring the Response
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:
drsResponseStatus
- -- | The response status code.
data DeleteLoadBalancerResponse #
Contains the output of DeleteLoadBalancer.
See: deleteLoadBalancerResponse
smart constructor.
Response Lenses
drsResponseStatus :: Lens' DeleteLoadBalancerResponse Int #
- - | The response status code.