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 |
Removes the specified subnets from the set of configured subnets for the load balancer.
After a subnet is removed, all EC2 instances registered with the load
balancer in the removed subnet go into the OutOfService
state. Then,
the load balancer balances the traffic among the remaining routable
subnets.
- detachLoadBalancerFromSubnets :: Text -> DetachLoadBalancerFromSubnets
- data DetachLoadBalancerFromSubnets
- dlbfsLoadBalancerName :: Lens' DetachLoadBalancerFromSubnets Text
- dlbfsSubnets :: Lens' DetachLoadBalancerFromSubnets [Text]
- detachLoadBalancerFromSubnetsResponse :: Int -> DetachLoadBalancerFromSubnetsResponse
- data DetachLoadBalancerFromSubnetsResponse
- dlbfsrsSubnets :: Lens' DetachLoadBalancerFromSubnetsResponse [Text]
- dlbfsrsResponseStatus :: Lens' DetachLoadBalancerFromSubnetsResponse Int
Creating a Request
detachLoadBalancerFromSubnets Source
Creates a value of DetachLoadBalancerFromSubnets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DetachLoadBalancerFromSubnets Source
See: detachLoadBalancerFromSubnets
smart constructor.
Request Lenses
dlbfsLoadBalancerName :: Lens' DetachLoadBalancerFromSubnets Text Source
The name of the load balancer.
dlbfsSubnets :: Lens' DetachLoadBalancerFromSubnets [Text] Source
The IDs of the subnets.
Destructuring the Response
detachLoadBalancerFromSubnetsResponse Source
Creates a value of DetachLoadBalancerFromSubnetsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DetachLoadBalancerFromSubnetsResponse Source
See: detachLoadBalancerFromSubnetsResponse
smart constructor.
Response Lenses
dlbfsrsSubnets :: Lens' DetachLoadBalancerFromSubnetsResponse [Text] Source
The IDs of the remaining subnets for the load balancer.
dlbfsrsResponseStatus :: Lens' DetachLoadBalancerFromSubnetsResponse Int Source
The response status code.