Copyright | (c) 2013-2018 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 |
Network.AWS.ELB.DetachLoadBalancerFromSubnets
Description
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 #
Arguments
:: Text | |
-> DetachLoadBalancerFromSubnets |
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:
dlbfsLoadBalancerName
- The name of the load balancer.dlbfsSubnets
- The IDs of the subnets.
data DetachLoadBalancerFromSubnets #
Contains the parameters for DetachLoadBalancerFromSubnets.
See: detachLoadBalancerFromSubnets
smart constructor.
Instances
Request Lenses
dlbfsLoadBalancerName :: Lens' DetachLoadBalancerFromSubnets Text #
The name of the load balancer.
dlbfsSubnets :: Lens' DetachLoadBalancerFromSubnets [Text] #
The IDs of the subnets.
Destructuring the Response
detachLoadBalancerFromSubnetsResponse #
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:
dlbfsrsSubnets
- The IDs of the remaining subnets for the load balancer.dlbfsrsResponseStatus
- -- | The response status code.
data DetachLoadBalancerFromSubnetsResponse #
Contains the output of DetachLoadBalancerFromSubnets.
See: detachLoadBalancerFromSubnetsResponse
smart constructor.
Instances
Response Lenses
dlbfsrsSubnets :: Lens' DetachLoadBalancerFromSubnetsResponse [Text] #
The IDs of the remaining subnets for the load balancer.
dlbfsrsResponseStatus :: Lens' DetachLoadBalancerFromSubnetsResponse Int #
- - | The response status code.