Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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:
albAutoScalingGroupName
- The name of the group.albLoadBalancerNames
- One or more load balancer names.
data AttachLoadBalancers Source #
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:
albrsResponseStatus
- -- | The response status code.
data AttachLoadBalancersResponse Source #
See: attachLoadBalancersResponse
smart constructor.
Response Lenses
albrsResponseStatus :: Lens' AttachLoadBalancersResponse Int Source #
- - | The response status code.