Copyright | (c) 2013-2015 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 load balancers to the specified Auto Scaling group.
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 Developer Guide.
See: AWS API Reference for AttachLoadBalancers.
- attachLoadBalancers :: AttachLoadBalancers
- data AttachLoadBalancers
- albAutoScalingGroupName :: Lens' AttachLoadBalancers (Maybe Text)
- albLoadBalancerNames :: Lens' AttachLoadBalancers [Text]
- attachLoadBalancersResponse :: Int -> AttachLoadBalancersResponse
- data AttachLoadBalancersResponse
- albrsStatus :: Lens' AttachLoadBalancersResponse Int
Creating a Request
attachLoadBalancers :: AttachLoadBalancers Source
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
See: attachLoadBalancers
smart constructor.
Request Lenses
albAutoScalingGroupName :: Lens' AttachLoadBalancers (Maybe 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
See: attachLoadBalancersResponse
smart constructor.
Response Lenses
albrsStatus :: Lens' AttachLoadBalancersResponse Int Source
The response status code.