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 |
Detaches one or more Classic load balancers from the specified Auto Scaling group.
Note that this operation detaches only Classic load balancers. If you have Application load balancers, use DetachLoadBalancerTargetGroups
instead.
When you detach a load balancer, it enters the Removing
state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using DescribeLoadBalancers
. Note that the instances remain running.
- detachLoadBalancers :: Text -> DetachLoadBalancers
- data DetachLoadBalancers
- dAutoScalingGroupName :: Lens' DetachLoadBalancers Text
- dLoadBalancerNames :: Lens' DetachLoadBalancers [Text]
- detachLoadBalancersResponse :: Int -> DetachLoadBalancersResponse
- data DetachLoadBalancersResponse
- dlbsrsResponseStatus :: Lens' DetachLoadBalancersResponse Int
Creating a Request
Creates a value of DetachLoadBalancers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dAutoScalingGroupName
- The name of the Auto Scaling group.dLoadBalancerNames
- One or more load balancer names.
data DetachLoadBalancers Source #
Contains the parameters for DetachLoadBalancers.
See: detachLoadBalancers
smart constructor.
Request Lenses
dAutoScalingGroupName :: Lens' DetachLoadBalancers Text Source #
The name of the Auto Scaling group.
dLoadBalancerNames :: Lens' DetachLoadBalancers [Text] Source #
One or more load balancer names.
Destructuring the Response
detachLoadBalancersResponse Source #
Creates a value of DetachLoadBalancersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlbsrsResponseStatus
- -- | The response status code.
data DetachLoadBalancersResponse Source #
Contains the output for DetachLoadBalancers.
See: detachLoadBalancersResponse
smart constructor.
Response Lenses
dlbsrsResponseStatus :: Lens' DetachLoadBalancersResponse Int Source #
- - | The response status code.