Copyright | (c) 2013-2017 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 |
Network.AWS.ELBv2.DeleteLoadBalancer
Description
Deletes the specified Application Load Balancer or Network 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 Source #
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:
drsResponseStatus
- -- | The response status code.
Response Lenses
drsResponseStatus :: Lens' DeleteLoadBalancerResponse Int Source #
- - | The response status code.