| 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 |
Network.AWS.AutoScaling.AttachLoadBalancers
Description
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
Arguments
| :: Text | |
| -> AttachLoadBalancers |
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:
albAutoScalingGroupName- The name of the group.albLoadBalancerNames- One or more load balancer names.
data AttachLoadBalancers Source #
Contains the parameters for AttachLoadBalancers.
See: attachLoadBalancers smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> AttachLoadBalancersResponse |
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:
albrsResponseStatus- -- | The response status code.
data AttachLoadBalancersResponse Source #
Contains the output of AttachLoadBalancers.
See: attachLoadBalancersResponse smart constructor.
Instances
Response Lenses
albrsResponseStatus :: Lens' AttachLoadBalancersResponse Int Source #
- - | The response status code.