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 |
Adds one or more subnets to the set of configured subnets for the specified load balancer.
The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Elastic Load Balancing Developer Guide.
- attachLoadBalancerToSubnets :: Text -> AttachLoadBalancerToSubnets
- data AttachLoadBalancerToSubnets
- albtsLoadBalancerName :: Lens' AttachLoadBalancerToSubnets Text
- albtsSubnets :: Lens' AttachLoadBalancerToSubnets [Text]
- attachLoadBalancerToSubnetsResponse :: Int -> AttachLoadBalancerToSubnetsResponse
- data AttachLoadBalancerToSubnetsResponse
- albtsrsSubnets :: Lens' AttachLoadBalancerToSubnetsResponse [Text]
- albtsrsResponseStatus :: Lens' AttachLoadBalancerToSubnetsResponse Int
Creating a Request
attachLoadBalancerToSubnets Source #
Creates a value of AttachLoadBalancerToSubnets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachLoadBalancerToSubnets Source #
See: attachLoadBalancerToSubnets
smart constructor.
Request Lenses
albtsLoadBalancerName :: Lens' AttachLoadBalancerToSubnets Text Source #
The name of the load balancer.
albtsSubnets :: Lens' AttachLoadBalancerToSubnets [Text] Source #
The IDs of the subnets to add for the load balancer. You can add only one subnet per Availability Zone.
Destructuring the Response
attachLoadBalancerToSubnetsResponse Source #
Creates a value of AttachLoadBalancerToSubnetsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachLoadBalancerToSubnetsResponse Source #
See: attachLoadBalancerToSubnetsResponse
smart constructor.
Response Lenses
albtsrsSubnets :: Lens' AttachLoadBalancerToSubnetsResponse [Text] Source #
The IDs of the subnets attached to the load balancer.
albtsrsResponseStatus :: Lens' AttachLoadBalancerToSubnetsResponse Int Source #
The response status code.