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 Classic Load Balancers 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:
albtsLoadBalancerName
- The name of the load balancer.albtsSubnets
- The IDs of the subnets to add. You can add only one subnet per Availability Zone.
data AttachLoadBalancerToSubnets Source #
Contains the parameters for AttachLoaBalancerToSubnets.
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. 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:
albtsrsSubnets
- The IDs of the subnets attached to the load balancer.albtsrsResponseStatus
- -- | The response status code.
data AttachLoadBalancerToSubnetsResponse Source #
Contains the output of AttachLoadBalancerToSubnets.
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.