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