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