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 |
Attaches one or more Classic load balancers to the specified Auto Scaling group.
To attach an Application load balancer instead, see AttachLoadBalancerTargetGroups.
To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers. To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers.
For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide.
- attachLoadBalancers :: Text -> AttachLoadBalancers
- data AttachLoadBalancers
- albAutoScalingGroupName :: Lens' AttachLoadBalancers Text
- albLoadBalancerNames :: Lens' AttachLoadBalancers [Text]
- attachLoadBalancersResponse :: Int -> AttachLoadBalancersResponse
- data AttachLoadBalancersResponse
- albrsResponseStatus :: Lens' AttachLoadBalancersResponse Int
Creating a Request
Creates a value of AttachLoadBalancers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachLoadBalancers Source #
Contains the parameters for AttachLoadBalancers.
See: attachLoadBalancers
smart constructor.
Request Lenses
albAutoScalingGroupName :: Lens' AttachLoadBalancers Text Source #
The name of the group.
albLoadBalancerNames :: Lens' AttachLoadBalancers [Text] Source #
One or more load balancer names.
Destructuring the Response
attachLoadBalancersResponse Source #
Creates a value of AttachLoadBalancersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachLoadBalancersResponse Source #
Contains the output of AttachLoadBalancers.
See: attachLoadBalancersResponse
smart constructor.
Response Lenses
albrsResponseStatus :: Lens' AttachLoadBalancersResponse Int Source #
The response status code.