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 target groups to the specified Auto Scaling group.
To describe the target groups for an Auto Scaling group, use DescribeLoadBalancerTargetGroups. To detach the target group from the Auto Scaling group, use DetachLoadBalancerTargetGroups.
For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide.
- attachLoadBalancerTargetGroups :: Text -> AttachLoadBalancerTargetGroups
- data AttachLoadBalancerTargetGroups
- albtgAutoScalingGroupName :: Lens' AttachLoadBalancerTargetGroups Text
- albtgTargetGroupARNs :: Lens' AttachLoadBalancerTargetGroups [Text]
- attachLoadBalancerTargetGroupsResponse :: Int -> AttachLoadBalancerTargetGroupsResponse
- data AttachLoadBalancerTargetGroupsResponse
- albtgrsResponseStatus :: Lens' AttachLoadBalancerTargetGroupsResponse Int
Creating a Request
attachLoadBalancerTargetGroups Source #
Creates a value of AttachLoadBalancerTargetGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachLoadBalancerTargetGroups Source #
Contains the parameters for AttachLoadBalancerTargetGroups.
See: attachLoadBalancerTargetGroups
smart constructor.
Request Lenses
albtgAutoScalingGroupName :: Lens' AttachLoadBalancerTargetGroups Text Source #
The name of the Auto Scaling group.
albtgTargetGroupARNs :: Lens' AttachLoadBalancerTargetGroups [Text] Source #
The Amazon Resource Names (ARN) of the target groups.
Destructuring the Response
attachLoadBalancerTargetGroupsResponse Source #
Creates a value of AttachLoadBalancerTargetGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachLoadBalancerTargetGroupsResponse Source #
See: attachLoadBalancerTargetGroupsResponse
smart constructor.
Response Lenses
albtgrsResponseStatus :: Lens' AttachLoadBalancerTargetGroupsResponse Int Source #
The response status code.